math-research-ledger 1.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. math_research_ledger-1.5.2/.codex-plugin/plugin.json +12 -0
  2. math_research_ledger-1.5.2/.mcp.json +8 -0
  3. math_research_ledger-1.5.2/CHANGELOG.md +235 -0
  4. math_research_ledger-1.5.2/LICENSE +201 -0
  5. math_research_ledger-1.5.2/MANIFEST.in +25 -0
  6. math_research_ledger-1.5.2/PKG-INFO +239 -0
  7. math_research_ledger-1.5.2/README.md +211 -0
  8. math_research_ledger-1.5.2/README.zh-CN.md +150 -0
  9. math_research_ledger-1.5.2/benchmarks/__init__.py +1 -0
  10. math_research_ledger-1.5.2/benchmarks/continuity/README.md +52 -0
  11. math_research_ledger-1.5.2/benchmarks/continuity/__init__.py +1 -0
  12. math_research_ledger-1.5.2/benchmarks/continuity/corpus.py +246 -0
  13. math_research_ledger-1.5.2/benchmarks/continuity/evaluate.py +243 -0
  14. math_research_ledger-1.5.2/benchmarks/continuity/gold.json +26 -0
  15. math_research_ledger-1.5.2/benchmarks/continuity/tasks.json +24 -0
  16. math_research_ledger-1.5.2/benchmarks/precision/README.md +35 -0
  17. math_research_ledger-1.5.2/benchmarks/precision/__init__.py +1 -0
  18. math_research_ledger-1.5.2/benchmarks/precision/corpus.py +116 -0
  19. math_research_ledger-1.5.2/benchmarks/precision/evaluate.py +95 -0
  20. math_research_ledger-1.5.2/docs/adapter-contract.md +91 -0
  21. math_research_ledger-1.5.2/docs/architecture.md +146 -0
  22. math_research_ledger-1.5.2/docs/archive/2026-10/README.md +25 -0
  23. math_research_ledger-1.5.2/docs/archive/2026-10/context-precision-after-vertical-slice-2026-10-22.md +174 -0
  24. math_research_ledger-1.5.2/docs/archive/2026-10/core-product-audit-2026-10-22.md +492 -0
  25. math_research_ledger-1.5.2/docs/archive/2026-10/dsh-adaptation-handoff-2026-10-22.md +233 -0
  26. math_research_ledger-1.5.2/docs/archive/2026-10/dsh-host-acceptance-2026-10-23.md +53 -0
  27. math_research_ledger-1.5.2/docs/archive/2026-10/dsh-plugin-report.md +168 -0
  28. math_research_ledger-1.5.2/docs/archive/2026-10/finalization-report.md +294 -0
  29. math_research_ledger-1.5.2/docs/archive/2026-10/p0-continuity-evaluation-2026-10-22.md +227 -0
  30. math_research_ledger-1.5.2/docs/archive/2026-10/p0-dependency-closure-2026-10-22.md +193 -0
  31. math_research_ledger-1.5.2/docs/archive/2026-10/p0-episode-integrity-2026-10-22.md +207 -0
  32. math_research_ledger-1.5.2/docs/archive/2026-10/read-only-checkpoint-2026-10-23.md +185 -0
  33. math_research_ledger-1.5.2/docs/archive/2026-10/release-cleanup-2026-10-23.md +264 -0
  34. math_research_ledger-1.5.2/docs/archive/2026-10/rewrite-report.md +134 -0
  35. math_research_ledger-1.5.2/docs/archive/2026-10/vertical-slice-continuity-hardening-2026-10-22.md +260 -0
  36. math_research_ledger-1.5.2/docs/archive/2026-10/vertical-slice-p1-run1-2026-10-22.md +71 -0
  37. math_research_ledger-1.5.2/docs/archive/2026-10/windows-lock-fix.md +119 -0
  38. math_research_ledger-1.5.2/docs/archive/2026-10/workspace-scope-2026-10-23.md +181 -0
  39. math_research_ledger-1.5.2/docs/codex-mcp.md +199 -0
  40. math_research_ledger-1.5.2/docs/codex-session-acceptance.md +151 -0
  41. math_research_ledger-1.5.2/docs/design-convergence-2026-11-03.md +49 -0
  42. math_research_ledger-1.5.2/docs/development.md +243 -0
  43. math_research_ledger-1.5.2/docs/dsh-agent-workspace-acceptance.md +139 -0
  44. math_research_ledger-1.5.2/docs/dsh-first-finalization.md +316 -0
  45. math_research_ledger-1.5.2/docs/formalization-v0.md +13 -0
  46. math_research_ledger-1.5.2/docs/harness-capability-matrix.md +87 -0
  47. math_research_ledger-1.5.2/docs/known-limitations.md +66 -0
  48. math_research_ledger-1.5.2/docs/problem-lifecycle.md +123 -0
  49. math_research_ledger-1.5.2/docs/releases/v1.2.2.md +81 -0
  50. math_research_ledger-1.5.2/docs/releases/v1.3.0.md +125 -0
  51. math_research_ledger-1.5.2/docs/releases/v1.4.0.md +67 -0
  52. math_research_ledger-1.5.2/docs/releases/v1.5.0.md +81 -0
  53. math_research_ledger-1.5.2/docs/releases/v1.5.1.md +45 -0
  54. math_research_ledger-1.5.2/docs/releases/v1.5.2.md +37 -0
  55. math_research_ledger-1.5.2/docs/research-assets.md +7 -0
  56. math_research_ledger-1.5.2/docs/research-episode.md +106 -0
  57. math_research_ledger-1.5.2/docs/research-workspaces.md +55 -0
  58. math_research_ledger-1.5.2/examples/demo_research_episode.md +31 -0
  59. math_research_ledger-1.5.2/integrations/deepseek-harness/README.md +167 -0
  60. math_research_ledger-1.5.2/integrations/deepseek-harness/agent-host-smoke.cjs +168 -0
  61. math_research_ledger-1.5.2/integrations/deepseek-harness/compatibility-smoke.cjs +25 -0
  62. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/README.md +66 -0
  63. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/cordis.patch.yml +15 -0
  64. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/icon.svg +5 -0
  65. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/locale/en.json +1 -0
  66. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/locale/zh.json +1 -0
  67. math_research_ledger-1.5.2/integrations/deepseek-harness/config-bundle/package.json +10 -0
  68. math_research_ledger-1.5.2/integrations/deepseek-harness/desktop-account.patch.yml +15 -0
  69. math_research_ledger-1.5.2/integrations/deepseek-harness/discovery-smoke.cjs +58 -0
  70. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/README.md +114 -0
  71. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/activation.cjs +298 -0
  72. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/cordis.patch.yml +4 -0
  73. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/index.cjs +108 -0
  74. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/locale/en.json +1 -0
  75. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/locale/zh.json +1 -0
  76. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/package.json +22 -0
  77. math_research_ledger-1.5.2/integrations/deepseek-harness/host-plugin/runtime.cjs +90 -0
  78. math_research_ledger-1.5.2/integrations/deepseek-harness/host-smoke.cjs +71 -0
  79. math_research_ledger-1.5.2/integrations/deepseek-harness/math-research-ledger.patch.yml +12 -0
  80. math_research_ledger-1.5.2/mcp.json +10 -0
  81. math_research_ledger-1.5.2/plugin.json +28 -0
  82. math_research_ledger-1.5.2/pyproject.toml +68 -0
  83. math_research_ledger-1.5.2/scripts/codex_plugin_smoke.py +465 -0
  84. math_research_ledger-1.5.2/scripts/evaluate_context_precision.py +27 -0
  85. math_research_ledger-1.5.2/scripts/evaluate_continuity.py +31 -0
  86. math_research_ledger-1.5.2/scripts/prepare_continuity_candidates.py +154 -0
  87. math_research_ledger-1.5.2/scripts/prepare_dsh_config_bundle.py +281 -0
  88. math_research_ledger-1.5.2/scripts/prepare_local_plugin.py +40 -0
  89. math_research_ledger-1.5.2/scripts/release_gate.py +188 -0
  90. math_research_ledger-1.5.2/scripts/replay_continuation_navigation.py +130 -0
  91. math_research_ledger-1.5.2/scripts/seed_mcp_smoke.py +68 -0
  92. math_research_ledger-1.5.2/scripts/smr_mcp.py +17 -0
  93. math_research_ledger-1.5.2/scripts/workspace_inventory.py +83 -0
  94. math_research_ledger-1.5.2/setup.cfg +4 -0
  95. math_research_ledger-1.5.2/skills/continue-research/SKILL.md +37 -0
  96. math_research_ledger-1.5.2/src/math_research/__init__.py +3 -0
  97. math_research_ledger-1.5.2/src/math_research/cli/__init__.py +1 -0
  98. math_research_ledger-1.5.2/src/math_research/cli/__main__.py +3 -0
  99. math_research_ledger-1.5.2/src/math_research/cli/main.py +337 -0
  100. math_research_ledger-1.5.2/src/math_research/core/__init__.py +1 -0
  101. math_research_ledger-1.5.2/src/math_research/core/atomicio.py +184 -0
  102. math_research_ledger-1.5.2/src/math_research/core/config.py +60 -0
  103. math_research_ledger-1.5.2/src/math_research/core/errors.py +59 -0
  104. math_research_ledger-1.5.2/src/math_research/core/hashing.py +18 -0
  105. math_research_ledger-1.5.2/src/math_research/core/integrity.py +24 -0
  106. math_research_ledger-1.5.2/src/math_research/core/jsonl.py +156 -0
  107. math_research_ledger-1.5.2/src/math_research/core/limits.py +3 -0
  108. math_research_ledger-1.5.2/src/math_research/core/migration.py +102 -0
  109. math_research_ledger-1.5.2/src/math_research/core/paths.py +132 -0
  110. math_research_ledger-1.5.2/src/math_research/core/process.py +211 -0
  111. math_research_ledger-1.5.2/src/math_research/core/redaction.py +11 -0
  112. math_research_ledger-1.5.2/src/math_research/core/refs.py +25 -0
  113. math_research_ledger-1.5.2/src/math_research/core/research_agents.md +42 -0
  114. math_research_ledger-1.5.2/src/math_research/core/textnorm.py +89 -0
  115. math_research_ledger-1.5.2/src/math_research/core/workspace.py +42 -0
  116. math_research_ledger-1.5.2/src/math_research/ledger/__init__.py +1 -0
  117. math_research_ledger-1.5.2/src/math_research/ledger/archive.py +257 -0
  118. math_research_ledger-1.5.2/src/math_research/ledger/assets.py +539 -0
  119. math_research_ledger-1.5.2/src/math_research/ledger/bindings.py +152 -0
  120. math_research_ledger-1.5.2/src/math_research/ledger/checkpoint.py +275 -0
  121. math_research_ledger-1.5.2/src/math_research/ledger/continuation.py +232 -0
  122. math_research_ledger-1.5.2/src/math_research/ledger/decomposition.py +227 -0
  123. math_research_ledger-1.5.2/src/math_research/ledger/dependencies.py +39 -0
  124. math_research_ledger-1.5.2/src/math_research/ledger/episodes.py +1221 -0
  125. math_research_ledger-1.5.2/src/math_research/ledger/epistemics.py +52 -0
  126. math_research_ledger-1.5.2/src/math_research/ledger/handoff.py +291 -0
  127. math_research_ledger-1.5.2/src/math_research/ledger/history.py +55 -0
  128. math_research_ledger-1.5.2/src/math_research/ledger/identity.py +190 -0
  129. math_research_ledger-1.5.2/src/math_research/ledger/manifest.py +650 -0
  130. math_research_ledger-1.5.2/src/math_research/ledger/persistence.py +52 -0
  131. math_research_ledger-1.5.2/src/math_research/ledger/premises.py +158 -0
  132. math_research_ledger-1.5.2/src/math_research/ledger/preview.py +350 -0
  133. math_research_ledger-1.5.2/src/math_research/ledger/projection.py +90 -0
  134. math_research_ledger-1.5.2/src/math_research/ledger/provisional.py +141 -0
  135. math_research_ledger-1.5.2/src/math_research/ledger/publication.py +69 -0
  136. math_research_ledger-1.5.2/src/math_research/ledger/readers.py +43 -0
  137. math_research_ledger-1.5.2/src/math_research/ledger/records/__init__.py +1 -0
  138. math_research_ledger-1.5.2/src/math_research/ledger/records/claims.py +621 -0
  139. math_research_ledger-1.5.2/src/math_research/ledger/records/counterexamples.py +100 -0
  140. math_research_ledger-1.5.2/src/math_research/ledger/records/evidence_content.py +150 -0
  141. math_research_ledger-1.5.2/src/math_research/ledger/records/experiments.py +55 -0
  142. math_research_ledger-1.5.2/src/math_research/ledger/records/models.py +423 -0
  143. math_research_ledger-1.5.2/src/math_research/ledger/records/store.py +668 -0
  144. math_research_ledger-1.5.2/src/math_research/ledger/records/validation.py +99 -0
  145. math_research_ledger-1.5.2/src/math_research/ledger/records/write_boundary.py +69 -0
  146. math_research_ledger-1.5.2/src/math_research/ledger/relations/__init__.py +1 -0
  147. math_research_ledger-1.5.2/src/math_research/ledger/relations/content.py +61 -0
  148. math_research_ledger-1.5.2/src/math_research/ledger/relations/edges.py +204 -0
  149. math_research_ledger-1.5.2/src/math_research/ledger/relations/ledger.py +574 -0
  150. math_research_ledger-1.5.2/src/math_research/ledger/relations/models.py +148 -0
  151. math_research_ledger-1.5.2/src/math_research/ledger/relations/policy.py +71 -0
  152. math_research_ledger-1.5.2/src/math_research/ledger/source_reader.py +300 -0
  153. math_research_ledger-1.5.2/src/math_research/ledger/source_records.py +134 -0
  154. math_research_ledger-1.5.2/src/math_research/ledger/source_review.py +52 -0
  155. math_research_ledger-1.5.2/src/math_research/ledger/sources.py +159 -0
  156. math_research_ledger-1.5.2/src/math_research/ledger/state.py +535 -0
  157. math_research_ledger-1.5.2/src/math_research/ledger/target.py +67 -0
  158. math_research_ledger-1.5.2/src/math_research/ledger/verification/__init__.py +1 -0
  159. math_research_ledger-1.5.2/src/math_research/ledger/verification/proofs.py +88 -0
  160. math_research_ledger-1.5.2/src/math_research/mcp/__init__.py +1 -0
  161. math_research_ledger-1.5.2/src/math_research/mcp/adapter.py +471 -0
  162. math_research_ledger-1.5.2/src/math_research/mcp/server.py +255 -0
  163. math_research_ledger-1.5.2/src/math_research/retrieval/__init__.py +1 -0
  164. math_research_ledger-1.5.2/src/math_research/retrieval/context.py +1012 -0
  165. math_research_ledger-1.5.2/src/math_research/retrieval/continuation_selection.py +101 -0
  166. math_research_ledger-1.5.2/src/math_research/retrieval/embeddings.py +19 -0
  167. math_research_ledger-1.5.2/src/math_research/retrieval/index.py +515 -0
  168. math_research_ledger-1.5.2/src/math_research/retrieval/memory_policy.py +43 -0
  169. math_research_ledger-1.5.2/src/math_research/retrieval/packet.py +389 -0
  170. math_research_ledger-1.5.2/src/math_research/retrieval/policy.py +372 -0
  171. math_research_ledger-1.5.2/src/math_research/retrieval/recall.py +737 -0
  172. math_research_ledger-1.5.2/src/math_research/retrieval/related_research.py +269 -0
  173. math_research_ledger-1.5.2/src/math_research/retrieval/research_map.py +251 -0
  174. math_research_ledger-1.5.2/src/math_research/retrieval/selection.py +861 -0
  175. math_research_ledger-1.5.2/src/math_research/services/__init__.py +1 -0
  176. math_research_ledger-1.5.2/src/math_research/services/acceptance.py +138 -0
  177. math_research_ledger-1.5.2/src/math_research/services/ingest.py +172 -0
  178. math_research_ledger-1.5.2/src/math_research/services/problems.py +225 -0
  179. math_research_ledger-1.5.2/src/math_research/services/research.py +155 -0
  180. math_research_ledger-1.5.2/src/math_research/services/retrieval.py +150 -0
  181. math_research_ledger-1.5.2/src/math_research/services/review.py +91 -0
  182. math_research_ledger-1.5.2/src/math_research/services/stale.py +65 -0
  183. math_research_ledger-1.5.2/src/math_research/services/verification.py +252 -0
  184. math_research_ledger-1.5.2/src/math_research/verification/__init__.py +1 -0
  185. math_research_ledger-1.5.2/src/math_research/verification/authority.py +40 -0
  186. math_research_ledger-1.5.2/src/math_research/verification/formal/__init__.py +17 -0
  187. math_research_ledger-1.5.2/src/math_research/verification/formal/checker.py +296 -0
  188. math_research_ledger-1.5.2/src/math_research/verification/formal/freeze.py +126 -0
  189. math_research_ledger-1.5.2/src/math_research/verification/formal/models.py +95 -0
  190. math_research_ledger-1.5.2/src/math_research/verification/freshness.py +148 -0
  191. math_research_ledger-1.5.2/src/math_research/verification/models.py +87 -0
  192. math_research_ledger-1.5.2/src/math_research/verification/review.py +39 -0
  193. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/PKG-INFO +239 -0
  194. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/SOURCES.txt +228 -0
  195. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/dependency_links.txt +1 -0
  196. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/entry_points.txt +6 -0
  197. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/requires.txt +16 -0
  198. math_research_ledger-1.5.2/src/math_research_ledger.egg-info/top_level.txt +1 -0
  199. math_research_ledger-1.5.2/tests/core_contracts/conftest.py +16 -0
  200. math_research_ledger-1.5.2/tests/core_contracts/dsh_activation_paths.test.cjs +424 -0
  201. math_research_ledger-1.5.2/tests/core_contracts/dsh_runtime_contract.cjs +108 -0
  202. math_research_ledger-1.5.2/tests/core_contracts/test_assets.py +337 -0
  203. math_research_ledger-1.5.2/tests/core_contracts/test_authority.py +166 -0
  204. math_research_ledger-1.5.2/tests/core_contracts/test_checkpoint.py +156 -0
  205. math_research_ledger-1.5.2/tests/core_contracts/test_checkpoint_read.py +567 -0
  206. math_research_ledger-1.5.2/tests/core_contracts/test_context_precision.py +111 -0
  207. math_research_ledger-1.5.2/tests/core_contracts/test_continuation.py +254 -0
  208. math_research_ledger-1.5.2/tests/core_contracts/test_continuity_benchmark.py +63 -0
  209. math_research_ledger-1.5.2/tests/core_contracts/test_continuity_hardening.py +341 -0
  210. math_research_ledger-1.5.2/tests/core_contracts/test_dependencies.py +62 -0
  211. math_research_ledger-1.5.2/tests/core_contracts/test_dependency_closure.py +549 -0
  212. math_research_ledger-1.5.2/tests/core_contracts/test_design_convergence.py +325 -0
  213. math_research_ledger-1.5.2/tests/core_contracts/test_dsh_config_bundle.py +265 -0
  214. math_research_ledger-1.5.2/tests/core_contracts/test_dsh_host_plugin.py +181 -0
  215. math_research_ledger-1.5.2/tests/core_contracts/test_episode_integrity.py +568 -0
  216. math_research_ledger-1.5.2/tests/core_contracts/test_file_lock.py +390 -0
  217. math_research_ledger-1.5.2/tests/core_contracts/test_formal.py +369 -0
  218. math_research_ledger-1.5.2/tests/core_contracts/test_harness.py +57 -0
  219. math_research_ledger-1.5.2/tests/core_contracts/test_interfaces.py +175 -0
  220. math_research_ledger-1.5.2/tests/core_contracts/test_ledger.py +157 -0
  221. math_research_ledger-1.5.2/tests/core_contracts/test_lock_mcp.py +73 -0
  222. math_research_ledger-1.5.2/tests/core_contracts/test_mcp_scope.py +321 -0
  223. math_research_ledger-1.5.2/tests/core_contracts/test_mcp_transport.py +567 -0
  224. math_research_ledger-1.5.2/tests/core_contracts/test_migration.py +106 -0
  225. math_research_ledger-1.5.2/tests/core_contracts/test_packet.py +74 -0
  226. math_research_ledger-1.5.2/tests/core_contracts/test_plugin.py +89 -0
  227. math_research_ledger-1.5.2/tests/core_contracts/test_problem_lifecycle.py +456 -0
  228. math_research_ledger-1.5.2/tests/core_contracts/test_release_gate.py +175 -0
  229. math_research_ledger-1.5.2/tests/core_contracts/test_verification_services.py +125 -0
  230. math_research_ledger-1.5.2/tests/core_contracts/test_workspace.py +129 -0
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "math-research-ledger",
3
+ "version": "1.5.2",
4
+ "description": "Persistent research memory, context, dependencies and verification for mathematical research agents.",
5
+ "skills": "./skills/",
6
+ "mcpServers": "./.mcp.json",
7
+ "interface": {
8
+ "displayName": "MathResearch Ledger",
9
+ "shortDescription": "Persistent mathematical research state across sessions",
10
+ "category": "Developer Tools"
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "math-research-ledger": {
4
+ "command": "python",
5
+ "args": ["-B", "-m", "math_research.mcp.server", "--workspace", "."]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,235 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## [1.5.2] - 2026-11-27
6
+
7
+ ### Changed
8
+
9
+ - Prepare the DSH Host for npm package-name installation and native registry
10
+ updates. Add public npm metadata and bounded peer compatibility declarations.
11
+ - The Host accepts stable Ledger 1.5.x runtimes on Python 3.11+ and reports a
12
+ version mismatch with an explicit pip repair command. Compatible runtimes do
13
+ not have to match the Host patch version.
14
+ - Add a manual OIDC registry publication workflow that reuses verified GitHub
15
+ Release assets and checks that matching Python distributions are public before
16
+ npm publication. v1.5.2 is released on GitHub first; registry publication is a
17
+ separate maintainer operation. Core/MCP behavior and research data are unchanged.
18
+
19
+ See [the 1.5.2 release notes](docs/releases/v1.5.2.md).
20
+
21
+ ## [1.5.1] - 2026-11-27
22
+
23
+ ### Fixed
24
+
25
+ - Install the public DSH Agent Host tarball directly, without rendering a local
26
+ Python path into the package. On an activated workspace, the Host discovers
27
+ Python on its PATH or uses an optional, authoritative Profile override.
28
+ - Diagnose a missing, stale, or incomplete Python runtime before activation writes.
29
+ Rebuild moved Python environments at their destination instead of copying a venv.
30
+ - Retire the old Host package preparation script. The manual single-workspace
31
+ fallback remains separate. No Core/MCP behavior or research-data migration changed.
32
+
33
+ See [the 1.5.1 release notes](docs/releases/v1.5.1.md) for migration and verification.
34
+
35
+ ## [1.5.0] - 2026-11-03
36
+
37
+ ### Changed
38
+
39
+ - Align Python runtime, Host plugin, fallback Bundle and compatibility manifests at 1.5.0.
40
+ - Additive MCP schema changes on the existing eleven tools: input arguments
41
+ `research_search.kind` and `research_update_problem.primary_claim_id`; output
42
+ fields `research_review_packet.problem_context` and
43
+ `research_stale_report.scope` / `counts_are_scoped`.
44
+ - Pin all eleven public MCP input schemas. Search kind filters use the audited finite
45
+ public search enum and reject unknown kinds. Exact identities excluded by
46
+ a valid kind return no hits without lexical fallback; prefer `problem_id + kind`.
47
+ - Expose text-only versus Claim-bound primary targets explicitly in status.
48
+ Lifecycle is authoritative for project management, independent of verification
49
+ and acceptance; legacy status remains disk/hash compatibility-only.
50
+ - Include Problem mathematical context in advisory review packet versions while
51
+ excluding editable project metadata. Newly submitted reports must pin the new
52
+ packet version; historical reports remain unchanged.
53
+
54
+ ### Fixed
55
+
56
+ - `ledger update-problem PROBLEM CLAIM` binds a primary Claim without a revision
57
+ flag. MCP/service designation still requires explicit `revision_kind="semantic"`.
58
+ - Binding-only semantic revisions retain statement authority while preserving the
59
+ existing version/snapshot/dependency-freshness mechanism. Only actual statement
60
+ or primary-target text changes reset statement authority to provisional.
61
+
62
+ Code-level verification only. DSH live acceptance NOT performed; left for DSH.
63
+ See [the design-convergence notes](docs/releases/v1.5.0.md).
64
+
65
+ ## [1.4.0] - 2026-11-03
66
+
67
+ ### Changed
68
+
69
+ - DSH Host activation is workspace-gated. The Host entry may stay globally ON, but
70
+ it now mounts the Ledger MCP client only for a new Agent whose exact session root
71
+ contains a `.math-research-ledger-link` pointer naming one in-root Ledger state
72
+ directory. No pointer means zero Ledger tools, no Python MCP process and no
73
+ automatic state creation. There is no ancestor search or workspace scan.
74
+ - Add the native human command `/math-research-ledger enable [directory]` for
75
+ explicit initialization. It uses the normal `math_research` CLI once and rejects
76
+ `..`, absolute paths outside the exact session root, and symlink/junction escapes.
77
+ No resident model-facing bootstrap tool is added.
78
+ - Existing workspaces get a pointer only; `D:\Math Research` keeps its current
79
+ Ledger files unchanged.
80
+ - DSH Host package is 1.4.0 and contains one additional file, `activation.cjs`.
81
+ Core, MCP tool semantics, Research Episode semantics and workspace binding are
82
+ unchanged. The Python runtime remains 1.3.0-compatible.
83
+
84
+ ### Fixed
85
+
86
+ - An unknown Problem reports the **existing Problems** by name and states that a new
87
+ Problem must be created explicitly, instead of listing a numeric range that looked
88
+ like an ID allowlist. The check is still an existence check over the real dossiers.
89
+ - `research_update_problem` no longer rejects a non-canonical Problem ID shape before
90
+ the existence check; storage keeps its path-safety validation. Problem numbers carry
91
+ no meaning beyond identity.
92
+
93
+ ## [1.3.1] - 2026-11-01
94
+
95
+ ### Fixed
96
+
97
+ - Host packaging only: relax `engines.dsh`, `@deepseek-ai/dsh-agent` and
98
+ `@deepseek-ai/dsh-mcp-client` to `0.2.x`. DSH checks ranges with
99
+ `includePrerelease: true`, accepting all 0.2-series RCs and patches while excluding
100
+ 0.3-series prereleases and releases. No per-RC allowlist or adapter is needed;
101
+ revisit compatibility only for an observed loading failure or regression.
102
+ - The Host artifact is 1.3.1; the unchanged Python Ledger runtime remains 1.3.0.
103
+ No Core, MCP tools, workspace binding or Host lifecycle changes.
104
+
105
+ ## [1.3.0] - 2026-10-31
106
+
107
+ **Protocol-neutral, DSH-first, other Harnesses on demand.** This release consolidates
108
+ the support-policy work recorded on 2026-10-30; those test results remain historical.
109
+ The 2026-10-31 release verification passed: full suite 657 passed / 1 skipped;
110
+ required Core/MCP/DSH gate 655 passed / 1 skipped / 2 deselected, plus two passing
111
+ Codex packaging compatibility cases and 17 passing actual DSH Host scenarios.
112
+ See the [release notes](docs/releases/v1.3.0.md) for checks and unverified boundaries;
113
+ commit-specific hosted CI and publication results belong to the GitHub Release.
114
+
115
+ ### Changed
116
+
117
+ - Clarify the protocol-neutral, DSH-first product: Tier 1 official DeepSeek Harness
118
+ is actively developed, documented, regression-tested and release-blocking; Tier 2
119
+ Codex is retained best-effort compatibility; Tier 3 adapters are added on demand
120
+ only after a real use case. Shared Core/MCP semantics remain Harness-independent.
121
+ - Make the official DSH Agent Host plugin, displayed as **MathResearch Ledger for
122
+ DSH**, the default installation path. Add English/Chinese Host locales: the public
123
+ npm package intentionally grows from the historical five-file layout to seven
124
+ files. Stable package IDs, MCP server name and runtime behavior are retained.
125
+ - Keep the config-only Bundle as manual / single-workspace fallback only and mutually
126
+ exclusive with Host. Installation guidance is not a claim that a user's Profile
127
+ has been activated.
128
+ - Retain the standard eleven-tool MCP server and existing research data semantics.
129
+ No Core/MCP breaking change or research-schema migration is introduced.
130
+ - Define the release gate as Core + MCP + actual DSH Host acceptance. Dedicated
131
+ Codex regression is optional; Codex-only issues normally do not block a release
132
+ unless they reveal a shared Core/MCP semantic failure.
133
+ - Add development/release-runner instructions and separate historical acceptance
134
+ from current deployment observations. The 2026-10-30 audit found both DSH packages
135
+ registered as dependencies but neither selected in bundles. No historical test
136
+ count or GUI acceptance is claimed as a new result by this documentation update.
137
+
138
+ ## [1.2.2] - 2026-10-26
139
+
140
+ ### Added
141
+
142
+ - Problem lifecycle MCP tools: `research_create_problem` and `research_update_problem`,
143
+ with preview and explicit metadata/lifecycle versus semantic revision boundaries.
144
+ - Codex session-workspace bundled MCP and DSH per-Agent Host plugin integration.
145
+ - Shared adapter contract and measured Harness capability matrix.
146
+
147
+ ### Changed
148
+
149
+ - Codex's normal deployment bundles Skill and MCP; project-level direct MCP is fallback.
150
+ - DSH Host plugin is recommended; config-only Bundle is manual / single-workspace fallback.
151
+ - Explicit MCP workspace binding enforces the supplied exact root.
152
+
153
+ ### Fixed
154
+
155
+ - Explicit state-directory compatibility aliases can no longer bind a parent Ledger
156
+ through MCP. Shared human path-helper compatibility remains available.
157
+ - Runtime/deployment documentation clarifies installation, refresh and restart requirements.
158
+
159
+ ## 1.2.1 — 2026-10-23
160
+
161
+ ### Added / Changed
162
+
163
+ - Pure MCP reads no longer need a writable state-directory lock. Optimistic checkpoint
164
+ consistency uses generation/content fencing and bounded replay; interrupted journals fail closed.
165
+ - MCP sessions pin one workspace at startup. Tool-level `workspace` asserts that pin,
166
+ rather than selecting another workspace.
167
+ - DSH uses a configuration-only Bundle with its native MCP client and an external
168
+ persistent Python runtime. Python 3.12 is the recommended deployment path.
169
+
170
+ ### Compatibility
171
+
172
+ - Deployments relying on arbitrary tool-provided workspace paths must use startup
173
+ `--workspace` / `MRL_WORKSPACE`; MCP roots do not grant scope.
174
+ - All concurrent Ledger writers should run the 1.2.1+ generation protocol.
175
+
176
+ ### Validation
177
+
178
+ - Windows Codex and DSH real Host read-only acceptance passed; DSH synthetic write passed.
179
+
180
+ ## 1.2.0
181
+
182
+ ### Research state safety
183
+
184
+ - Resolve Episode-local, candidate and qualified identities through one scoped contract.
185
+ Preserve authored dependency versions; missing historical pins remain UNKNOWN.
186
+ - Separate UNKNOWN from STALE and expose conditional or blocked premise eligibility
187
+ consistently. Current or canonical state does not imply verified truth.
188
+ - Bound Windows lock contention and transient access retries, surface permission failures,
189
+ and run synchronous MCP services off the event loop.
190
+
191
+ ### Episode integrity
192
+
193
+ - Preview structured increments with `research_ingest_episode(dry_run=true)` before
194
+ publication; retain explicit archive-only capture and provisional authority gates.
195
+ - Validate archived source digests and authoritative JSONL reads. Damaged content fails
196
+ closed instead of silently becoming a positive premise.
197
+
198
+ ### Continuation and context
199
+
200
+ - Restore an explicitly chosen Problem, its primary target, risks and latest meaningful
201
+ checkpoint; navigate checkpoint outputs through persisted publication mappings.
202
+ - Resolve exact identifiers before lexical search and provide bounded pagination guidance.
203
+ - Select continuation context from the target's recorded checkpoint relationships.
204
+ Optional proofs provide navigation before full-text reading; spare budget need not be filled.
205
+ - Document free research with event-triggered memory. Plugin availability does not require
206
+ retrieval every turn. Synthetic continuity and precision benchmarks are reproducible;
207
+ they do not establish long-term mathematical research reliability.
208
+
209
+ ### Harness integration
210
+
211
+ - Document Codex project-scoped enablement and installer behavior, preserving all nine MCP
212
+ tools, existing CLI aliases and the `math_research` import namespace.
213
+ - Include a native DeepSeek Harness Bundle and explicit Python installer. Historical
214
+ isolated Host checks passed; real Windows workspace acceptance remains incomplete at
215
+ the reported integrity boundary. Windows DSH troubleshooting is paused. The plugin
216
+ does not change ACLs, integrity labels, authentication or Full Access settings.
217
+
218
+ ### Distribution and documentation
219
+
220
+ - Test Python 3.11 and 3.12 on Linux and Windows CI; align the build backend minimum
221
+ with PEP 639 license metadata and the package author with the plugin identity.
222
+ - Include the build backend in development dependencies for non-isolated packaging
223
+ tests, and retain subprocess diagnostics when a Bundle build fails.
224
+ - Add a user-first quickstart, clarify the MCP acceptance workflow boundary and input
225
+ limits, and move historical engineering reports into a dated archive.
226
+ - Keep DSH experimental and record deferred compatibility work separately from this release.
227
+
228
+ Checked is not accepted; canonical is not verified. Historical verification and acceptance
229
+ receipts remain historical evidence. No automatic acceptance or canonicalization is added.
230
+
231
+ ## 1.1.0 — repository baseline
232
+
233
+ Established the MathResearch Ledger identity, separate research workspaces, typed Research
234
+ Episodes, nine direct MCP tools and local Codex integration. This entry describes the
235
+ repository baseline and does not assert a package-registry release or a Git tag.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Maximilian Behr
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,25 @@
1
+ include plugin.json mcp.json README.zh-CN.md
2
+ include CHANGELOG.md
3
+ include .codex-plugin/plugin.json
4
+ include .mcp.json
5
+ recursive-include scripts *.py
6
+ recursive-include skills *.md
7
+ include integrations/deepseek-harness/*.md
8
+ include integrations/deepseek-harness/*.yml
9
+ include integrations/deepseek-harness/*.cjs
10
+ include integrations/deepseek-harness/config-bundle/README.md
11
+ include integrations/deepseek-harness/config-bundle/cordis.patch.yml
12
+ include integrations/deepseek-harness/config-bundle/package.json
13
+ include integrations/deepseek-harness/config-bundle/locale/en.json
14
+ include integrations/deepseek-harness/config-bundle/locale/zh.json
15
+ include integrations/deepseek-harness/config-bundle/icon.svg
16
+ include integrations/deepseek-harness/host-plugin/*.cjs
17
+ include integrations/deepseek-harness/host-plugin/*.json
18
+ include integrations/deepseek-harness/host-plugin/*.yml
19
+ include integrations/deepseek-harness/host-plugin/*.md
20
+ include integrations/deepseek-harness/host-plugin/locale/*.json
21
+ recursive-include docs *.md
22
+ recursive-include examples *.md
23
+ recursive-include tests *.py *.cjs
24
+ recursive-include benchmarks *.py *.json *.md
25
+ global-exclude *.py[cod]