dsh-vibe-math 2.7.3 → 2.8.1

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 (106) hide show
  1. package/LICENSE +21 -21
  2. package/README.en.md +682 -682
  3. package/README.md +683 -683
  4. package/docs/AUDIT-CHECKLIST.md +758 -744
  5. package/docs/COMPAT-AUDIT-ROUND2.md +351 -351
  6. package/docs/COMPAT-AUDIT-ROUND3.md +154 -154
  7. package/docs/audit-methodology.md +93 -0
  8. package/docs/final-paper.md +172 -172
  9. package/docs/formal-verification.md +613 -588
  10. package/docs/generate_framework_diagram_v2.py +114 -114
  11. package/docs/generate_framework_diagram_v3.py +127 -127
  12. package/docs/math-computation.md +195 -194
  13. package/docs/release-notes/README.en.md +2 -0
  14. package/docs/release-notes/README.md +2 -0
  15. package/docs/release-notes/RELEASE-NOTES-2.0.22.md +112 -112
  16. package/docs/release-notes/RELEASE-NOTES-2.1.0.md +143 -143
  17. package/docs/release-notes/RELEASE-NOTES-2.2.0.md +266 -266
  18. package/docs/release-notes/RELEASE-NOTES-2.2.1.md +43 -43
  19. package/docs/release-notes/RELEASE-NOTES-2.2.2.md +88 -88
  20. package/docs/release-notes/RELEASE-NOTES-2.3.0.md +207 -207
  21. package/docs/release-notes/RELEASE-NOTES-2.3.1.md +134 -134
  22. package/docs/release-notes/RELEASE-NOTES-2.3.10.md +105 -105
  23. package/docs/release-notes/RELEASE-NOTES-2.3.11.md +57 -57
  24. package/docs/release-notes/RELEASE-NOTES-2.3.12.md +80 -80
  25. package/docs/release-notes/RELEASE-NOTES-2.3.2.md +145 -145
  26. package/docs/release-notes/RELEASE-NOTES-2.3.3.md +115 -115
  27. package/docs/release-notes/RELEASE-NOTES-2.3.4.md +69 -69
  28. package/docs/release-notes/RELEASE-NOTES-2.3.5.md +63 -63
  29. package/docs/release-notes/RELEASE-NOTES-2.3.6.md +66 -66
  30. package/docs/release-notes/RELEASE-NOTES-2.3.7.md +59 -59
  31. package/docs/release-notes/RELEASE-NOTES-2.3.8.md +45 -45
  32. package/docs/release-notes/RELEASE-NOTES-2.3.9.md +70 -70
  33. package/docs/release-notes/RELEASE-NOTES-2.8.0.en.md +65 -0
  34. package/docs/release-notes/RELEASE-NOTES-2.8.0.md +65 -0
  35. package/docs/release-notes/RELEASE-NOTES-2.8.1.en.md +49 -0
  36. package/docs/release-notes/RELEASE-NOTES-2.8.1.md +49 -0
  37. package/docs/release-playbook.md +111 -0
  38. package/docs/slv-playbook.md +117 -0
  39. package/docs/test-timing.md +158 -157
  40. package/docs//346/236/266/346/236/204/345/233/276.md +77 -77
  41. package/installer.js +792 -792
  42. package/package.json +18 -3
  43. package/prompt-corpus-v2/formal-verify-v2.json +2 -2
  44. package/prompt-corpus-v2/formal-verify-v2.md +4 -0
  45. package/prompt-corpus-v3/formal-verify-v3.json +7 -7
  46. package/prompt-corpus-v3/formal-verify-v3.md +14 -0
  47. package/prompt-corpus-v5/prompt-corpus-v5.json +61 -61
  48. package/prompt-corpus-v5/prompt-corpus-v5.md +122 -0
  49. package/scripts/clean-temp.mjs +234 -0
  50. package/scripts/release-check.mjs +181 -0
  51. package/tests/audit-engine-faces.mjs +298 -0
  52. package/tests/audit-formal-sensitivity.mjs +345 -342
  53. package/tests/audit-installer-compat.test.mjs +256 -256
  54. package/tests/audit-math-computation-sensitivity.mjs +1 -1
  55. package/tests/audit-persona-sensitivity.mjs +323 -323
  56. package/tests/audit-persona-surface.test.mjs +431 -431
  57. package/tests/audit-prompt-duplication.mutants.mjs +3 -2
  58. package/tests/audit-prompt-invariants.mjs +589 -546
  59. package/tests/audit-registration.mjs +78 -78
  60. package/tests/audit-spec-traceability.mjs +193 -193
  61. package/tests/audit-status-report-fields.mjs +172 -172
  62. package/tests/audit-v5-integrity.mjs +795 -795
  63. package/tests/audit-v5-sensitivity.mjs +433 -432
  64. package/tests/e2e-v5-round2.test.mjs +2453 -2426
  65. package/tests/formal-verify-v2.test.mjs +1806 -1800
  66. package/tests/formal-verify-v3.test.mjs +1757 -1750
  67. package/tests/formal-verify-v4.test.mjs +2114 -2106
  68. package/tests/formal-verify-v5.test.mjs +774 -767
  69. package/tests/math-computation-discovery.mutants.mjs +3 -3
  70. package/tests/math-computation-shared.test.mjs +122 -5
  71. package/tests/math-computation-v2.test.mjs +14 -2
  72. package/tests/math-computation-v3.test.mjs +14 -2
  73. package/tests/math-computation-v4.test.mjs +739 -739
  74. package/tests/prompt-v5-integrity.test.mjs +1291 -1291
  75. package/tests/release-check.mutants.mjs +78 -0
  76. package/tests/run-tests.mjs +393 -332
  77. package/tests/selfdrive-v5.mjs +560 -560
  78. package/tests/temp-hygiene.mutants.mjs +80 -0
  79. package/tests/v2-fix-probes.mutants.mjs +4 -0
  80. package/tests/v2-fix-probes.test.mjs +1034 -1033
  81. package/tests/v2v3-interrupt.mutants.mjs +111 -0
  82. package/tests/v3-fix-probes.mutants.mjs +99 -95
  83. package/tests/v3-fix-probes.test.mjs +891 -890
  84. package/tests/v4-final-paper.mutants.mjs +116 -0
  85. package/tests/v4-final-paper.test.mjs +628 -0
  86. package/tests/v5-institute-fixes.mutants.mjs +218 -190
  87. package/vibe-math-v2/agent.cordis.yml +376 -376
  88. package/vibe-math-v2/math-computation.js +17 -15
  89. package/vibe-math-v2/preset.yml +2 -2
  90. package/vibe-math-v2/v2/347/232/204/351/242/235/345/244/226/350/246/201/346/261/202.txt +21 -21
  91. package/vibe-math-v2/vibe-math-v2.js +5078 -5011
  92. package/vibe-math-v2//345/256/236/347/216/260/346/226/271/346/241/210.md +486 -486
  93. package/vibe-math-v3/agent.cordis.yml +420 -420
  94. package/vibe-math-v3/math-computation.js +17 -15
  95. package/vibe-math-v3/preset.yml +2 -2
  96. package/vibe-math-v3/vibe-math-v3.js +6215 -6149
  97. package/vibe-math-v3//345/256/236/347/216/260/346/226/271/346/241/210.md +649 -649
  98. package/vibe-math-v4/agent.cordis.yml +438 -438
  99. package/vibe-math-v4/math-computation.js +17 -15
  100. package/vibe-math-v4/preset.yml +2 -2
  101. package/vibe-math-v4/vibe-math-v4.js +4520 -4422
  102. package/vibe-math-v4//345/256/236/347/216/260/346/226/271/346/241/210.md +1015 -1015
  103. package/vibe-math-v5/math-computation.js +17 -15
  104. package/vibe-math-v5/vibe-math-v5.js +93 -11
  105. package/vibe-math-v5//345/256/236/347/216/260/346/226/271/346/241/210.md +1728 -1728
  106. package/vibe-math-v5//346/236/266/346/236/204/345/233/276.md +693 -693
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-vibe-math",
3
3
  "description": "Multi-agent mathematical problem-solving & verification frameworks for DeepSeek Harness — FOUR agent presets in one install: vibe-math-v2 (probability-driven, classic: qs.json + Propos knowledge base + explorer→solver→review/debate verdict), vibe-math-v3 (THIRD-generation, classic: paper-style Markdown knowledge base with Problems/Progress/Propos/Methods/Verified + planner-agent scheduling that decides the next N actions + universal theory/method invention library + agents write their own Markdown directly via a per-file write lock), and vibe-math-v4 (FOURTH-generation: persistent self-organizing resident subagents that message & meet to decide all tasks, verify only by unanimous consensus, /compact at a context threshold, and stop only when all agree the problem is solved), and vibe-math-v5 (FIFTH-generation research institute: an academician as the organizational centre who decomposes and ASSIGNS work and chairs meetings; permanent researchers who hold the vote and may hire/fire their own temp workers; temp workers with no vote; a group chat and meetings; a durable per-recipient mailbox; a compare-and-set task DAG; and a boolean m-vote consensus rule where an object enters Verified/ only when at least m voting members agree AND every one of them returns exactly 1 or exactly 0). Installing this bundle auto-installs all four presets (v1 was removed at v2.0.0). Each preset also writes a FINAL PAPER by default when its run concludes — and does so BEFORE the run is marked complete: on v4/v5 the team co-authors its parts, merges them, cross-reviews, and the editor named by paperEditor finalises; the output is Paper/<run or institute id>/{paper.md,paper.tex,paper.pdf when a LaTeX engine is detected,paper.meta.json,paper.log.md} (params finalPaper/paperFormat/paperLanguage/paperCompilePdf/paperLatexCommand, plus paperEditor on v4/v5; see docs/final-paper.md).",
4
- "version": "2.7.3",
4
+ "version": "2.8.1",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": "^22.19.0 || >=24.0.0",
@@ -77,6 +77,10 @@
77
77
  "tests/math-computation-discovery.mutants.mjs",
78
78
  "tests/math-computation-archive-rerun.mutants.mjs",
79
79
  "tests/v2-list-agents-and-next-step.mutants.mjs",
80
+ "docs/audit-methodology.md",
81
+ "docs/release-playbook.md",
82
+ "docs/slv-playbook.md",
83
+ "tests/audit-engine-faces.mjs",
80
84
  "tests/audit-path-discipline.mutants.mjs",
81
85
  "tests/audit-path-discipline.mjs",
82
86
  "tests/audit-math-computation-contract.mjs",
@@ -110,6 +114,8 @@
110
114
  "prompt-corpus-v5/prompt-corpus-v5.md",
111
115
  "tests/prompt-v5-integrity.test.mjs",
112
116
  "tests/run-tests.mjs",
117
+ "tests/v4-final-paper.test.mjs",
118
+ "tests/v4-final-paper.mutants.mjs",
113
119
  "tests/run-tests.mutants.mjs",
114
120
  "screenshots.json",
115
121
  "tests/selfdrive-v5.mjs",
@@ -180,6 +186,11 @@
180
186
  "tests/audit-installer-policy.test.mjs",
181
187
  "scripts/build-preset-rows.mjs",
182
188
  "scripts/update-doc-counts.mjs",
189
+ "scripts/clean-temp.mjs",
190
+ "scripts/release-check.mjs",
191
+ "tests/temp-hygiene.mutants.mjs",
192
+ "tests/v2v3-interrupt.mutants.mjs",
193
+ "tests/release-check.mutants.mjs",
183
194
  "preset-declaration.js",
184
195
  "tests/audit-preset-rows.test.mjs",
185
196
  "docs/COMPAT-AUDIT-ROUND3.md",
@@ -191,7 +202,11 @@
191
202
  "docs/release-notes/RELEASE-NOTES-2.7.2.md",
192
203
  "docs/release-notes/RELEASE-NOTES-2.7.2.en.md",
193
204
  "docs/release-notes/RELEASE-NOTES-2.7.3.md",
194
- "docs/release-notes/RELEASE-NOTES-2.7.3.en.md"
205
+ "docs/release-notes/RELEASE-NOTES-2.7.3.en.md",
206
+ "docs/release-notes/RELEASE-NOTES-2.8.0.md",
207
+ "docs/release-notes/RELEASE-NOTES-2.8.0.en.md",
208
+ "docs/release-notes/RELEASE-NOTES-2.8.1.md",
209
+ "docs/release-notes/RELEASE-NOTES-2.8.1.en.md"
195
210
  ],
196
211
  "license": "MIT",
197
212
  "keywords": [
@@ -221,7 +236,7 @@
221
236
  },
222
237
  "minVersion": "0.1.2-alpha.4",
223
238
  "testedVersion": "0.2.0-rc.2",
224
- "compatNote": "v2.7.3 补丁版:只含修复与验证加固,既有行为契约不变。① v5 邮袋:确认(ack)只在发送成功后发生,未确认的消息下次仍会重投(此前失败唤醒可能丢信);同一轮不重复 prepend。② v5 入会与恢复:入会提示带真实轮次(从 轮次 1 起,不再出现 轮次 0),失败启动不消耗轮次;失败恢复不再清空既有编号(重建后从原编号继续)。③ v5 论文定稿:必需产物(paper.md/paper.tex/paper.meta.json/paper.log.md)写失败会具名告警一次并说明后果与补偿路径,产物清单只列真正落盘者,重跑幂等补写且不重复告警。④ v5 任务 CAS:被拒的陈旧 expected_revision 不改变任务(回读 revision/ownerId/status 不变)。⑤ v5 成员库路径契约:文档根与框架实际根不一致会被具名指出,且该提示会进入 report() 诊断。⑥ v4:Lean 库索引写失败具名一次(带 lib=/proved= 与 STALE until the next successful rebuild),覆盖全部调用点且不改变工具返回值;当前项目标记(.current)写失败同样具名一次。⑦ 安装器用户可见输出只用中文标签,每个动作只报一次;备份与既有文件判定改为报告级。⑧ 文档中 8 处仍描述「先 ack 再构造」的旧顺序已改正,并新增文↔码配对检查防止回流。参数名与默认值、数据格式、目录结构均未变;DSH 支撑窗口不变;无需迁移。",
239
+ "compatNote": "v2.8.1 补丁版:修掉上一版说明里如实写出的「已知限制」——v4 的最终文稿此前不说明引擎缺失/编译失败。① v4 交付的 paper.md 与 paper.tex 现在各自写明编译结果(未检测到引擎 ⇒ 只产出 tex+md;PDF 编译失败 ⇒ 已保留 tex/md),恰好一次且定稿重入不重复;论文的章节结构与其它字段未变。② 新增随包脚本 scripts/release-check.mjs:把发布前逐项核对做成一条命令(版本三处一致、当前版本两份发布说明的章节顺序与 files[] 登记、compatNote 是否提到当前版本、npm pack 声明缺失=0、开发专用文件不随包、包内无 CRLF),并配 4 条单点变异自证非空转。参数名与默认值、数据格式与目录结构均未变;DSH 支撑窗口不变;无需迁移。",
225
240
  "compatibility": {
226
241
  "dshReleases": {
227
242
  "0.1.2-alpha.4": "compatible",
@@ -262,7 +262,7 @@
262
262
  "kind": "spawn",
263
263
  "case": "persist",
264
264
  "label": "paper-writer:proj",
265
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n\nKEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v2 (single-author)\nPROJECT: proj\n\n[ORIGINAL PROBLEMS] (qs/qs.json)\n- (none)\n\n[PROPOSITIONS] (Propos/*.json)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/pPersist.lean\n- Progress_Logs/report.json\n- Verified/Lean/pPersist.lean\n- VibeMath_State/formal.json\n- qs/qs.json"
265
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n\nKEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v2 (single-author)\nPROJECT: proj\n\n[ORIGINAL PROBLEMS] (qs/qs.json)\n- (none)\n\n[PROPOSITIONS] (Propos/*.json)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/pPersist.lean\n- Progress_Logs/report.json\n- Verified/Lean/pPersist.lean\n- VibeMath_State/formal.json\n- qs/qs.json"
266
266
  },
267
267
  {
268
268
  "kind": "spawn",
@@ -742,7 +742,7 @@
742
742
  "kind": "spawn",
743
743
  "case": "push-report",
744
744
  "label": "paper-writer:proj",
745
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n\nKEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v2 (single-author)\nPROJECT: proj\n\n[ORIGINAL PROBLEMS] (qs/qs.json)\n- (none)\n\n[PROPOSITIONS] (Propos/*.json)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Progress_Logs/report.json\n- qs/qs.json"
745
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n\nKEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v2 (single-author)\nPROJECT: proj\n\n[ORIGINAL PROBLEMS] (qs/qs.json)\n- (none)\n\n[PROPOSITIONS] (Propos/*.json)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Progress_Logs/report.json\n- qs/qs.json"
746
746
  },
747
747
  {
748
748
  "kind": "push",
@@ -3430,6 +3430,8 @@ HARD RULES:
3430
3430
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
3431
3431
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
3432
3432
 
3433
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
3434
+
3433
3435
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
3434
3436
 
3435
3437
  KEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).
@@ -9227,6 +9229,8 @@ HARD RULES:
9227
9229
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
9228
9230
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
9229
9231
 
9232
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
9233
+
9230
9234
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
9231
9235
 
9232
9236
  KEY CASE IS PART OF THE REPLY CONTRACT: the verifier reply uses `Result`/`Reason` (capitalised; the debate round adds `changed`), while every other reply uses lowercase keys exactly as shown (`directions`, `lemmas`, `status`, `solution`, `solution_probability`). The parser matches keys EXACTLY, case-sensitively, and accepts NO aliases (e.g. `result` is not read).
@@ -22,7 +22,7 @@
22
22
  "kind": "spawn",
23
23
  "label": "paper-writer:lean-off",
24
24
  "root": "sess-A",
25
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-off\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-off | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 陈述=关模式下的普通命题\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-off_<TIME>.json\n- Propos/数论/p-off.md\n- State/index.json\n- Verified/命题/p-off.md"
25
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-off\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-off | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 陈述=关模式下的普通命题\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-off_<TIME>.json\n- Propos/数论/p-off.md\n- State/index.json\n- Verified/命题/p-off.md"
26
26
  },
27
27
  {
28
28
  "kind": "spawn",
@@ -124,7 +124,7 @@
124
124
  "kind": "spawn",
125
125
  "label": "paper-writer:lean-verify",
126
126
  "root": "sess-E",
127
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-verify\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-enc | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=none | 陈述=鼓励模式下的忠实性审查\n · 已检验通过:证明#0 | mock 第二轮一致\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-enc_<TIME>.json\n- Propos/数论/p-enc.md\n- State/formal.json\n- State/index.json\n- Verified/命题/p-enc.md"
127
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-verify\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-enc | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=none | 陈述=鼓励模式下的忠实性审查\n · 已检验通过:证明#0 | mock 第二轮一致\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-enc_<TIME>.json\n- Propos/数论/p-enc.md\n- State/formal.json\n- State/index.json\n- Verified/命题/p-enc.md"
128
128
  },
129
129
  {
130
130
  "kind": "spawn",
@@ -274,7 +274,7 @@
274
274
  "kind": "spawn",
275
275
  "label": "paper-writer:lean-reply",
276
276
  "root": "sess-H",
277
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-reply\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-reply | 概率=0.5 | 状态=未定论 | 优先级=1 | 价值/关键性=0.5 | 来源问题= | 形式化=blocked | 陈述=用回执记录阻塞\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- 未定论:命题 p-reply(概率=0.5)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Logs/Verification/r-p-reply_<TIME>.json\n- Propos/数论/p-reply.md\n- State/formal.json\n- State/index.json"
277
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-reply\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-reply | 概率=0.5 | 状态=未定论 | 优先级=1 | 价值/关键性=0.5 | 来源问题= | 形式化=blocked | 陈述=用回执记录阻塞\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- 未定论:命题 p-reply(概率=0.5)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Logs/Verification/r-p-reply_<TIME>.json\n- Propos/数论/p-reply.md\n- State/formal.json\n- State/index.json"
278
278
  },
279
279
  {
280
280
  "kind": "spawn",
@@ -352,7 +352,7 @@
352
352
  "kind": "spawn",
353
353
  "label": "paper-writer:lean-defect-nonote",
354
354
  "root": "sess-J",
355
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-defect-nonote\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-nonote-defect | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=passed(Verified/Lean/p-nonote-defect.lean) | 陈述=没有偏差说明的缺陷回执\n · 已检验通过:证明#0 | 觉得不忠实但没写清楚\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-nonote-defect.lean\n- Logs/Verification/r-p-nonote-defect_<TIME>.json\n- Propos/数论/p-nonote-defect.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-nonote-defect.lean\n- Verified/命题/p-nonote-defect.md"
355
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-defect-nonote\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-nonote-defect | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=passed(Verified/Lean/p-nonote-defect.lean) | 陈述=没有偏差说明的缺陷回执\n · 已检验通过:证明#0 | 觉得不忠实但没写清楚\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-nonote-defect.lean\n- Logs/Verification/r-p-nonote-defect_<TIME>.json\n- Propos/数论/p-nonote-defect.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-nonote-defect.lean\n- Verified/命题/p-nonote-defect.md"
356
356
  },
357
357
  {
358
358
  "kind": "spawn",
@@ -394,7 +394,7 @@
394
394
  "kind": "spawn",
395
395
  "label": "paper-writer:lean-defect-nodelete",
396
396
  "root": "sess-K",
397
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-defect-nodelete\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-nodelete | 概率=0.5 | 状态=未定论 | 优先级=1 | 价值/关键性=0.5 | 来源问题= | 形式化=attempted | 陈述=宿主无法删除文件时的撤回\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- 未定论:命题 p-nodelete(概率=0.5)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-nodelete.lean\n- Logs/Verification/r-p-nodelete_<TIME>.json\n- Propos/数论/p-nodelete.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-nodelete.lean"
397
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-defect-nodelete\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-nodelete | 概率=0.5 | 状态=未定论 | 优先级=1 | 价值/关键性=0.5 | 来源问题= | 形式化=attempted | 陈述=宿主无法删除文件时的撤回\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- 未定论:命题 p-nodelete(概率=0.5)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-nodelete.lean\n- Logs/Verification/r-p-nodelete_<TIME>.json\n- Propos/数论/p-nodelete.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-nodelete.lean"
398
398
  },
399
399
  {
400
400
  "kind": "spawn",
@@ -418,7 +418,7 @@
418
418
  "kind": "spawn",
419
419
  "label": "paper-writer:lean-stale-card",
420
420
  "root": "sess-L",
421
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-stale-card\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-stale | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=passed(Verified/Lean/p-stale.lean) | 陈述=定论后才被认定形式化不忠实\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-stale.lean\n- Logs/Verification/r-p-stale_<TIME>.json\n- Propos/数论/p-stale.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-stale.lean\n- Verified/命题/p-stale.md"
421
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: lean-stale-card\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-stale | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 形式化=passed(Verified/Lean/p-stale.lean) | 陈述=定论后才被认定形式化不忠实\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Formal/Index.md\n- Formal/TODO.md\n- Formal/p-stale.lean\n- Logs/Verification/r-p-stale_<TIME>.json\n- Propos/数论/p-stale.md\n- State/formal.json\n- State/index.json\n- Verified/Lean/p-stale.lean\n- Verified/命题/p-stale.md"
422
422
  },
423
423
  {
424
424
  "kind": "spawn",
@@ -706,7 +706,7 @@
706
706
  "kind": "spawn",
707
707
  "label": "paper-writer:d4-votecount",
708
708
  "root": "sess-^",
709
- "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: d4-votecount\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-d4 | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 陈述=D4 票数单一来源\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-d4_<TIME>.json\n- Propos/数论/p-d4.md\n- State/index.json\n- Verified/命题/p-d4.md"
709
+ "prompt": "You are the DEDICATED PAPER WRITER (single-author mode) of a math research run that has just CONVERGED.\nWrite its final paper in 中文(Chinese), using ONLY the evidence in the MATERIAL section below.\n\nHARD RULES:\n- NEVER invent content: no new proposition, no new computation, no citation that is not in the MATERIAL.\n- Unresolved or refuted items MUST be explicitly labelled (「未定论」/「已被否证」, or \"unresolved\"/\"refuted\" in English); never present them as established.\n- Fixed 9-section skeleton — provide bodies for these EXACT `## ` headings (the framework writes the headings, author/date and the evidence index itself):\n 1. 摘要 — 1 标题、作者、日期、摘要(原问题 + 主要结论)\n 2. 引言与问题背景 — 2 原问题的完整陈述\n 3. 原问题的完整解法 — 3 最终答案 + 完整推理链\n 4. 已检验通过的命题 — 4 逐条列出,含判定为真的估计值与证据来源\n 5. 已解决的子问题与中间成果 — 5\n 6. 创造或发现的有价值之物 — 6 方法、理论、思想、有价值经验、数学理解\n 7. 规律总结 — 7 从上述条目归纳出的可复用规律\n 8. 讨论、局限与展望 — 8\n 9. 附录:证据与文件索引 — 9 Verified/、Logs/、关键卡片路径\n- A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).\n- Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.\n\nLATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat \"not detected\" as a failure.\n\nOUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:\n{\"title\":\"<paper title>\",\"abstract\":\"<original problem + main results>\",\"sections\":[{\"name\":\"<one of the 9 headings>\",\"body\":\"<markdown>\"}, ...]}\n\nMATERIAL (evidence only — do not add anything beyond it):\nPRESET: vibe-math-v3 (single-author)\nPROJECT: d4-votecount\n\n[ORIGINAL PROBLEMS] (Problems/*.md)\n- (none)\n\n[PROPOSITIONS] (Propos/<分类>/<id>.md)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- id=p-d4 | 概率=1 | 状态=已验证·真 | 优先级=never | 价值/关键性=0.5 | 来源问题= | 陈述=D4 票数单一来源\n · 已检验通过:证明#0 | mock 裁决 1\n\n[METHODS / ARTEFACTS] (Methods/ + 全局 VibeMath/Methods/)\n(路径说明:成员/子代理的文件工具按**会话 cwd** 解析相对路径,因此上面列出的相对路径都必须先拼上**项目根的绝对前缀**再使用;计算产物请用回执里的绝对字段 `receipt.scriptAbs`,或把 `receipt.cwd` 与 `receipt.scriptPath` 拼起来。)\n- (none)\n\n[STILL UNVERIFIED — v3 的完整性判据 leftoverVerify(buildVerifyCandidates);必须标注为未决]\n- (none — 没有待验证对象)\n\n[UNRESOLVED / REFUTED — 论文里必须显式标注,不得当成已成立的结论]\n- (none — 所有对象均已定论)\n\n[EVIDENCE INDEX] (only files that exist)\n- Logs/Verification/r-p-d4_<TIME>.json\n- Propos/数论/p-d4.md\n- State/index.json\n- Verified/命题/p-d4.md"
710
710
  }
711
711
  ]
712
712
  }
@@ -162,6 +162,8 @@ HARD RULES:
162
162
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
163
163
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
164
164
 
165
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
166
+
165
167
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
166
168
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
167
169
 
@@ -1162,6 +1164,8 @@ HARD RULES:
1162
1164
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
1163
1165
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
1164
1166
 
1167
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
1168
+
1165
1169
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
1166
1170
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
1167
1171
 
@@ -2723,6 +2727,8 @@ HARD RULES:
2723
2727
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
2724
2728
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
2725
2729
 
2730
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
2731
+
2726
2732
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
2727
2733
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
2728
2734
 
@@ -3498,6 +3504,8 @@ HARD RULES:
3498
3504
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
3499
3505
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
3500
3506
 
3507
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
3508
+
3501
3509
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
3502
3510
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
3503
3511
 
@@ -3897,6 +3905,8 @@ HARD RULES:
3897
3905
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
3898
3906
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
3899
3907
 
3908
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
3909
+
3900
3910
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
3901
3911
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
3902
3912
 
@@ -4132,6 +4142,8 @@ HARD RULES:
4132
4142
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
4133
4143
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
4134
4144
 
4145
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
4146
+
4135
4147
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
4136
4148
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
4137
4149
 
@@ -6816,6 +6828,8 @@ HARD RULES:
6816
6828
  - A section with no evidence must be exactly 「(本节暂无证据支持的内容——不编造。)」 (do not pad it).
6817
6829
  - Markdown subset only: `#`/`##`/`###`, `- ` lists, `**bold**`, `*em*`, `` `code` ``, and inline math as `$...$`. No tables, images, footnotes or raw HTML.
6818
6830
 
6831
+ LATEX-MISSING GUIDANCE: When no LaTeX engine is detected: (1) probe only the documented common TeX roots and PATH (e.g. where xelatex, latexmk --version) - never scan whole drives; (2) once the absolute path is found, write it into paperLatexCommand, re-detect, then continue; (3) if it is still missing, ask the user once (installing TeX requires the user's explicit approval); (4) with no answer, degrade exactly as today (deliver paper.tex and paper.md only). Hard boundaries: never auto-install; never write outside the workspace; never treat "not detected" as a failure.
6832
+
6819
6833
  OUTPUT CONTRACT — respond with ONLY one ```json code fence, no prose:
6820
6834
  {"title":"<paper title>","abstract":"<original problem + main results>","sections":[{"name":"<one of the 9 headings>","body":"<markdown>"}, ...]}
6821
6835