wtf-p 0.8.0 → 0.8.2

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 (656) hide show
  1. package/README.md +34 -19
  2. package/bin/lib/adapter-compiler.js +411 -78
  3. package/bin/lib/clio-registration.js +44 -17
  4. package/bin/uninstall.js +19 -4
  5. package/package.json +3 -3
  6. package/protocol/actions/advance.json +232 -0
  7. package/protocol/actions/checkpoint.json +10 -1
  8. package/protocol/actions/execute-outline.json +10 -2
  9. package/protocol/actions/export-latex.json +15 -2
  10. package/protocol/actions/plan-revision.json +22 -4
  11. package/protocol/actions/polish-prose.json +13 -3
  12. package/protocol/actions/research-gap.json +16 -3
  13. package/protocol/actions/verify-work.json +13 -4
  14. package/protocol/aliases.lock.json +1 -0
  15. package/protocol/catalog.json +4 -2
  16. package/protocol/project/README.md +39 -0
  17. package/protocol/project/schemas/interaction.schema.json +100 -0
  18. package/protocol/project/templates/interaction.json +16 -0
  19. package/protocol/roles/research-synthesizer.md +1 -1
  20. package/protocol/skills/wtfp-deliver-research/SKILL.md +1 -1
  21. package/protocol/skills/wtfp-deliver-research/references/actions.md +2 -2
  22. package/protocol/skills/wtfp-manage-project/SKILL.md +2 -1
  23. package/protocol/skills/wtfp-manage-project/references/actions.md +13 -1
  24. package/protocol/skills/wtfp-plan-section/SKILL.md +1 -1
  25. package/protocol/skills/wtfp-plan-section/references/actions.md +4 -3
  26. package/protocol/skills/wtfp-research-literature/SKILL.md +1 -1
  27. package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
  28. package/protocol/skills/wtfp-review-manuscript/SKILL.md +1 -1
  29. package/protocol/skills/wtfp-review-manuscript/references/actions.md +2 -1
  30. package/protocol/skills/wtfp-write-section/SKILL.md +1 -1
  31. package/protocol/skills/wtfp-write-section/references/actions.md +1 -1
  32. package/protocol/workflows/advance.md +38 -0
  33. package/protocol/workflows/checkpoint.md +2 -2
  34. package/protocol/workflows/discuss-section.md +1 -1
  35. package/protocol/workflows/execute-outline.md +2 -2
  36. package/protocol/workflows/export-latex.md +4 -4
  37. package/protocol/workflows/plan-revision.md +4 -3
  38. package/protocol/workflows/plan-section.md +3 -3
  39. package/protocol/workflows/polish-prose.md +3 -3
  40. package/protocol/workflows/research-gap.md +5 -5
  41. package/protocol/workflows/verify-work.md +5 -3
  42. package/protocol/workflows/write-section.md +4 -4
  43. package/vendors/antigravity/.wtfp-generated.json +195 -183
  44. package/vendors/antigravity/actions/advance.json +232 -0
  45. package/vendors/antigravity/actions/checkpoint.json +10 -1
  46. package/vendors/antigravity/actions/execute-outline.json +10 -2
  47. package/vendors/antigravity/actions/export-latex.json +15 -2
  48. package/vendors/antigravity/actions/plan-revision.json +22 -4
  49. package/vendors/antigravity/actions/polish-prose.json +13 -3
  50. package/vendors/antigravity/actions/research-gap.json +16 -3
  51. package/vendors/antigravity/actions/verify-work.json +13 -4
  52. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
  53. package/vendors/antigravity/aliases.lock.json +1 -0
  54. package/vendors/antigravity/catalog.json +4 -2
  55. package/vendors/antigravity/compatibility/action-availability.json +13 -1
  56. package/vendors/antigravity/plugin.json +2 -1
  57. package/vendors/antigravity/project/README.md +39 -0
  58. package/vendors/antigravity/project/schemas/interaction.schema.json +100 -0
  59. package/vendors/antigravity/project/templates/interaction.json +16 -0
  60. package/vendors/antigravity/roles/research-synthesizer.md +1 -1
  61. package/vendors/antigravity/rules/wtfp-project-state.md +43 -1
  62. package/vendors/antigravity/{commands/wtfp-add-todo.md → skills/wtfp-add-todo/SKILL.md} +2 -3
  63. package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
  64. package/vendors/antigravity/{commands/wtfp-analyze-bib.md → skills/wtfp-analyze-bib/SKILL.md} +2 -1
  65. package/vendors/antigravity/{commands/wtfp-audit-milestone.md → skills/wtfp-audit-milestone/SKILL.md} +2 -1
  66. package/vendors/antigravity/{commands/wtfp-check-refs.md → skills/wtfp-check-refs/SKILL.md} +2 -1
  67. package/vendors/antigravity/{commands/wtfp-check-todos.md → skills/wtfp-check-todos/SKILL.md} +2 -1
  68. package/vendors/antigravity/{commands/wtfp-checkpoint.md → skills/wtfp-checkpoint/SKILL.md} +4 -17
  69. package/vendors/antigravity/{commands/wtfp-contribute.md → skills/wtfp-contribute/SKILL.md} +2 -1
  70. package/vendors/antigravity/{commands/wtfp-create-outline.md → skills/wtfp-create-outline/SKILL.md} +2 -9
  71. package/vendors/antigravity/{commands/wtfp-create-poster.md → skills/wtfp-create-poster/SKILL.md} +3 -7
  72. package/vendors/antigravity/{commands/wtfp-create-slides.md → skills/wtfp-create-slides/SKILL.md} +3 -7
  73. package/vendors/antigravity/skills/wtfp-deliver-research/SKILL.md +1 -1
  74. package/vendors/antigravity/skills/wtfp-deliver-research/references/actions.md +2 -2
  75. package/vendors/antigravity/{commands/wtfp-discuss-section.md → skills/wtfp-discuss-section/SKILL.md} +3 -6
  76. package/vendors/antigravity/{commands/wtfp-execute-outline.md → skills/wtfp-execute-outline/SKILL.md} +4 -13
  77. package/vendors/antigravity/{commands/wtfp-export-latex.md → skills/wtfp-export-latex/SKILL.md} +2 -1
  78. package/vendors/antigravity/{commands/wtfp-help.md → skills/wtfp-help/SKILL.md} +4 -3
  79. package/vendors/antigravity/{commands/wtfp-insert-section.md → skills/wtfp-insert-section/SKILL.md} +2 -1
  80. package/vendors/antigravity/{commands/wtfp-list-assumptions.md → skills/wtfp-list-assumptions/SKILL.md} +3 -11
  81. package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
  82. package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
  83. package/vendors/antigravity/{commands/wtfp-map-project.md → skills/wtfp-map-project/SKILL.md} +2 -1
  84. package/vendors/antigravity/{commands/wtfp-new-paper.md → skills/wtfp-new-paper/SKILL.md} +2 -1
  85. package/vendors/antigravity/{commands/wtfp-pause-writing.md → skills/wtfp-pause-writing/SKILL.md} +2 -7
  86. package/vendors/antigravity/{commands/wtfp-plan-milestone-gaps.md → skills/wtfp-plan-milestone-gaps/SKILL.md} +2 -7
  87. package/vendors/antigravity/{commands/wtfp-plan-revision.md → skills/wtfp-plan-revision/SKILL.md} +10 -10
  88. package/vendors/antigravity/skills/wtfp-plan-section/SKILL.md +1 -1
  89. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +4 -3
  90. package/vendors/antigravity/{commands/wtfp-polish-prose.md → skills/wtfp-polish-prose/SKILL.md} +9 -10
  91. package/vendors/antigravity/{commands/wtfp-progress.md → skills/wtfp-progress/SKILL.md} +3 -23
  92. package/vendors/antigravity/{commands/wtfp-quick.md → skills/wtfp-quick/SKILL.md} +2 -5
  93. package/vendors/antigravity/{commands/wtfp-remove-section.md → skills/wtfp-remove-section/SKILL.md} +2 -1
  94. package/vendors/antigravity/{commands/wtfp-report-bug.md → skills/wtfp-report-bug/SKILL.md} +2 -1
  95. package/vendors/antigravity/{commands/wtfp-request-feature.md → skills/wtfp-request-feature/SKILL.md} +2 -1
  96. package/vendors/antigravity/{commands/wtfp-research-gap.md → skills/wtfp-research-gap/SKILL.md} +2 -1
  97. package/vendors/antigravity/skills/wtfp-research-literature/SKILL.md +1 -1
  98. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
  99. package/vendors/antigravity/{commands/wtfp-resume-writing.md → skills/wtfp-resume-writing/SKILL.md} +2 -13
  100. package/vendors/antigravity/skills/wtfp-review-manuscript/SKILL.md +1 -1
  101. package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
  102. package/vendors/antigravity/{commands/wtfp-review-section.md → skills/wtfp-review-section/SKILL.md} +2 -9
  103. package/vendors/antigravity/{commands/wtfp-settings.md → skills/wtfp-settings/SKILL.md} +2 -1
  104. package/vendors/antigravity/{commands/wtfp-submit-milestone.md → skills/wtfp-submit-milestone/SKILL.md} +2 -13
  105. package/vendors/antigravity/{commands/wtfp-update.md → skills/wtfp-update/SKILL.md} +2 -1
  106. package/vendors/antigravity/{commands/wtfp-verify-work.md → skills/wtfp-verify-work/SKILL.md} +9 -6
  107. package/vendors/antigravity/skills/wtfp-write-section/SKILL.md +1 -1
  108. package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +1 -1
  109. package/vendors/antigravity/tools/README.md +1 -1
  110. package/vendors/antigravity/workflows/advance.md +38 -0
  111. package/vendors/antigravity/workflows/checkpoint.md +2 -2
  112. package/vendors/antigravity/workflows/discuss-section.md +1 -1
  113. package/vendors/antigravity/workflows/execute-outline.md +2 -2
  114. package/vendors/antigravity/workflows/export-latex.md +4 -4
  115. package/vendors/antigravity/workflows/plan-revision.md +4 -3
  116. package/vendors/antigravity/workflows/plan-section.md +3 -3
  117. package/vendors/antigravity/workflows/polish-prose.md +3 -3
  118. package/vendors/antigravity/workflows/research-gap.md +5 -5
  119. package/vendors/antigravity/workflows/verify-work.md +5 -3
  120. package/vendors/antigravity/workflows/write-section.md +4 -4
  121. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  122. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  123. package/vendors/claude/.wtfp-generated.json +135 -111
  124. package/vendors/claude/actions/advance.json +232 -0
  125. package/vendors/claude/actions/checkpoint.json +10 -1
  126. package/vendors/claude/actions/execute-outline.json +10 -2
  127. package/vendors/claude/actions/export-latex.json +15 -2
  128. package/vendors/claude/actions/plan-revision.json +22 -4
  129. package/vendors/claude/actions/polish-prose.json +13 -3
  130. package/vendors/claude/actions/research-gap.json +16 -3
  131. package/vendors/claude/actions/verify-work.json +13 -4
  132. package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
  133. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +7 -8
  134. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  135. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  136. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +9 -10
  137. package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  138. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +7 -8
  139. package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  140. package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  141. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  142. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +9 -10
  143. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  144. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-draft-review.md +1 -1
  145. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-plan-section.md +1 -1
  146. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +8 -2
  147. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
  148. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +26 -8
  149. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +12 -16
  150. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +26 -8
  151. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +11 -0
  152. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +13 -16
  153. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +25 -10
  154. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +12 -6
  155. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +12 -6
  156. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +12 -5
  157. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +27 -14
  158. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +16 -12
  159. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  160. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +11 -0
  161. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +7 -10
  162. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/map-project.md +8 -0
  163. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +11 -0
  164. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +8 -6
  165. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +11 -6
  166. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +19 -9
  167. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +28 -17
  168. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +32 -11
  169. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +10 -22
  170. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +25 -6
  171. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +37 -16
  172. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +11 -12
  173. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +22 -10
  174. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +11 -0
  175. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +11 -12
  176. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +18 -5
  177. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +29 -16
  178. package/vendors/claude/aliases.lock.json +1 -0
  179. package/vendors/claude/catalog.json +4 -2
  180. package/vendors/claude/commands/add-todo.md +0 -2
  181. package/vendors/claude/commands/advance.md +16 -0
  182. package/vendors/claude/commands/analyze-bib.md +0 -6
  183. package/vendors/claude/commands/audit-milestone.md +0 -16
  184. package/vendors/claude/commands/check-refs.md +0 -6
  185. package/vendors/claude/commands/checkpoint.md +2 -16
  186. package/vendors/claude/commands/create-outline.md +0 -8
  187. package/vendors/claude/commands/create-poster.md +1 -6
  188. package/vendors/claude/commands/create-slides.md +1 -6
  189. package/vendors/claude/commands/discuss-section.md +1 -5
  190. package/vendors/claude/commands/execute-outline.md +2 -12
  191. package/vendors/claude/commands/export-latex.md +4 -12
  192. package/vendors/claude/commands/help.md +1 -1
  193. package/vendors/claude/commands/list-assumptions.md +1 -10
  194. package/vendors/claude/commands/pause-writing.md +0 -6
  195. package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
  196. package/vendors/claude/commands/plan-revision.md +8 -9
  197. package/vendors/claude/commands/plan-section.md +3 -15
  198. package/vendors/claude/commands/polish-prose.md +7 -9
  199. package/vendors/claude/commands/progress.md +1 -22
  200. package/vendors/claude/commands/quick.md +0 -4
  201. package/vendors/claude/commands/research-gap.md +5 -13
  202. package/vendors/claude/commands/resume-writing.md +0 -12
  203. package/vendors/claude/commands/review-section.md +0 -8
  204. package/vendors/claude/commands/submit-milestone.md +0 -12
  205. package/vendors/claude/commands/verify-work.md +7 -5
  206. package/vendors/claude/commands/write-section.md +4 -14
  207. package/vendors/claude/compatibility/action-availability.json +10 -1
  208. package/vendors/claude/output-styles/wtfp-academic-writing.md +7 -7
  209. package/vendors/claude/plugin.json +15 -1
  210. package/vendors/claude/project/README.md +39 -0
  211. package/vendors/claude/project/schemas/interaction.schema.json +100 -0
  212. package/vendors/claude/project/templates/interaction.json +16 -0
  213. package/vendors/claude/roles/research-synthesizer.md +1 -1
  214. package/vendors/claude/skills/wtfp-deliver-research/SKILL.md +1 -1
  215. package/vendors/claude/skills/wtfp-deliver-research/references/actions.md +2 -2
  216. package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
  217. package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
  218. package/vendors/claude/skills/wtfp-plan-section/SKILL.md +1 -1
  219. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +4 -3
  220. package/vendors/claude/skills/wtfp-research-literature/SKILL.md +1 -1
  221. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
  222. package/vendors/claude/skills/wtfp-review-manuscript/SKILL.md +1 -1
  223. package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
  224. package/vendors/claude/skills/wtfp-write-section/SKILL.md +1 -1
  225. package/vendors/claude/skills/wtfp-write-section/references/actions.md +1 -1
  226. package/vendors/claude/tools/README.md +1 -1
  227. package/vendors/claude/workflows/advance.md +38 -0
  228. package/vendors/claude/workflows/checkpoint.md +2 -2
  229. package/vendors/claude/workflows/discuss-section.md +1 -1
  230. package/vendors/claude/workflows/execute-outline.md +2 -2
  231. package/vendors/claude/workflows/export-latex.md +4 -4
  232. package/vendors/claude/workflows/plan-revision.md +4 -3
  233. package/vendors/claude/workflows/plan-section.md +3 -3
  234. package/vendors/claude/workflows/polish-prose.md +3 -3
  235. package/vendors/claude/workflows/research-gap.md +5 -5
  236. package/vendors/claude/workflows/verify-work.md +5 -3
  237. package/vendors/claude/workflows/write-section.md +4 -4
  238. package/vendors/clio-extension/.wtfp-generated.json +73 -13
  239. package/vendors/clio-extension/actions/advance.json +232 -0
  240. package/vendors/clio-extension/actions/checkpoint.json +10 -1
  241. package/vendors/clio-extension/actions/execute-outline.json +10 -2
  242. package/vendors/clio-extension/actions/export-latex.json +15 -2
  243. package/vendors/clio-extension/actions/plan-revision.json +22 -4
  244. package/vendors/clio-extension/actions/polish-prose.json +13 -3
  245. package/vendors/clio-extension/actions/research-gap.json +16 -3
  246. package/vendors/clio-extension/actions/verify-work.json +13 -4
  247. package/vendors/clio-extension/clio-coder-extension.yaml +48 -10
  248. package/vendors/clio-extension/compatibility/action-availability.json +11 -5
  249. package/vendors/clio-extension/project/schemas/interaction.schema.json +100 -0
  250. package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
  251. package/vendors/clio-extension/project/templates/config.json +31 -0
  252. package/vendors/clio-extension/project/templates/decisions.json +35 -0
  253. package/vendors/clio-extension/project/templates/evidence.json +18 -0
  254. package/vendors/clio-extension/project/templates/interaction.json +16 -0
  255. package/vendors/clio-extension/project/templates/manifest.json +30 -0
  256. package/vendors/clio-extension/project/templates/outline.json +38 -0
  257. package/vendors/clio-extension/project/templates/section.json +32 -0
  258. package/vendors/clio-extension/project/templates/source.json +20 -0
  259. package/vendors/clio-extension/project/templates/state.json +22 -0
  260. package/vendors/clio-extension/project/templates/validation.json +32 -0
  261. package/vendors/clio-extension/runtime/claim-coverage.cjs +332 -0
  262. package/vendors/clio-extension/runtime/desk-trust.cjs +112 -0
  263. package/vendors/clio-extension/runtime/extension.test.ts +2034 -65
  264. package/vendors/clio-extension/runtime/extension.ts +3032 -435
  265. package/vendors/clio-extension/runtime/write-guard.json +629 -18
  266. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  267. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +55 -39
  268. package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
  269. package/vendors/codex/plugins/wtfp/actions/checkpoint.json +10 -1
  270. package/vendors/codex/plugins/wtfp/actions/execute-outline.json +10 -2
  271. package/vendors/codex/plugins/wtfp/actions/export-latex.json +15 -2
  272. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +22 -4
  273. package/vendors/codex/plugins/wtfp/actions/polish-prose.json +13 -3
  274. package/vendors/codex/plugins/wtfp/actions/research-gap.json +16 -3
  275. package/vendors/codex/plugins/wtfp/actions/verify-work.json +13 -4
  276. package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
  277. package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
  278. package/vendors/codex/plugins/wtfp/catalog.json +4 -2
  279. package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
  280. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  281. package/vendors/codex/plugins/wtfp/project/README.md +39 -0
  282. package/vendors/codex/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  283. package/vendors/codex/plugins/wtfp/project/templates/interaction.json +16 -0
  284. package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
  285. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  286. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  287. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  288. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  289. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  290. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  291. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  292. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  293. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  294. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  295. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  296. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  297. package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
  298. package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
  299. package/vendors/codex/plugins/wtfp/workflows/checkpoint.md +2 -2
  300. package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
  301. package/vendors/codex/plugins/wtfp/workflows/execute-outline.md +2 -2
  302. package/vendors/codex/plugins/wtfp/workflows/export-latex.md +4 -4
  303. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +4 -3
  304. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +3 -3
  305. package/vendors/codex/plugins/wtfp/workflows/polish-prose.md +3 -3
  306. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +5 -5
  307. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +5 -3
  308. package/vendors/codex/plugins/wtfp/workflows/write-section.md +4 -4
  309. package/vendors/copilot/.wtfp-generated.json +74 -54
  310. package/vendors/copilot/marketplace.json +2 -2
  311. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  312. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +79 -59
  313. package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
  314. package/vendors/copilot/plugins/wtfp/actions/checkpoint.json +10 -1
  315. package/vendors/copilot/plugins/wtfp/actions/execute-outline.json +10 -2
  316. package/vendors/copilot/plugins/wtfp/actions/export-latex.json +15 -2
  317. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +22 -4
  318. package/vendors/copilot/plugins/wtfp/actions/polish-prose.json +13 -3
  319. package/vendors/copilot/plugins/wtfp/actions/research-gap.json +16 -3
  320. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +13 -4
  321. package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
  322. package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
  323. package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
  324. package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
  325. package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
  326. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +2 -16
  327. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
  328. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
  329. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
  330. package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
  331. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +2 -12
  332. package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
  333. package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
  334. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
  335. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
  336. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +8 -9
  337. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +3 -15
  338. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +7 -9
  339. package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
  340. package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
  341. package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
  342. package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +0 -8
  343. package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
  344. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +7 -5
  345. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +4 -14
  346. package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
  347. package/vendors/copilot/plugins/wtfp/project/README.md +39 -0
  348. package/vendors/copilot/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  349. package/vendors/copilot/plugins/wtfp/project/templates/interaction.json +16 -0
  350. package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
  351. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  352. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  353. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  354. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  355. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  356. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  357. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  358. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  359. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  360. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  361. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  362. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  363. package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
  364. package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
  365. package/vendors/copilot/plugins/wtfp/workflows/checkpoint.md +2 -2
  366. package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
  367. package/vendors/copilot/plugins/wtfp/workflows/execute-outline.md +2 -2
  368. package/vendors/copilot/plugins/wtfp/workflows/export-latex.md +4 -4
  369. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +4 -3
  370. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +3 -3
  371. package/vendors/copilot/plugins/wtfp/workflows/polish-prose.md +3 -3
  372. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +5 -5
  373. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +5 -3
  374. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +4 -4
  375. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
  376. package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
  377. package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
  378. package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
  379. package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
  380. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
  381. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/SKILL.md +1 -1
  382. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/references/actions.md +2 -2
  383. package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
  384. package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
  385. package/vendors/copilot/project/.github/skills/wtfp-plan-section/SKILL.md +1 -1
  386. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +4 -3
  387. package/vendors/copilot/project/.github/skills/wtfp-research-literature/SKILL.md +1 -1
  388. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
  389. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/SKILL.md +1 -1
  390. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
  391. package/vendors/copilot/project/.github/skills/wtfp-write-section/SKILL.md +1 -1
  392. package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +1 -1
  393. package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
  394. package/vendors/copilot/project/.github/wtfp/actions/checkpoint.json +10 -1
  395. package/vendors/copilot/project/.github/wtfp/actions/execute-outline.json +10 -2
  396. package/vendors/copilot/project/.github/wtfp/actions/export-latex.json +15 -2
  397. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +22 -4
  398. package/vendors/copilot/project/.github/wtfp/actions/polish-prose.json +13 -3
  399. package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +16 -3
  400. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +13 -4
  401. package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
  402. package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
  403. package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
  404. package/vendors/copilot/project/.github/wtfp/project/README.md +39 -0
  405. package/vendors/copilot/project/.github/wtfp/project/schemas/interaction.schema.json +100 -0
  406. package/vendors/copilot/project/.github/wtfp/project/templates/interaction.json +16 -0
  407. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
  408. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  409. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  410. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  411. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
  412. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  413. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  414. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  415. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  416. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  417. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  418. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  419. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  420. package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
  421. package/vendors/copilot/project/.github/wtfp/workflows/checkpoint.md +2 -2
  422. package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
  423. package/vendors/copilot/project/.github/wtfp/workflows/execute-outline.md +2 -2
  424. package/vendors/copilot/project/.github/wtfp/workflows/export-latex.md +4 -4
  425. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +4 -3
  426. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +3 -3
  427. package/vendors/copilot/project/.github/wtfp/workflows/polish-prose.md +3 -3
  428. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +5 -5
  429. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +5 -3
  430. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +4 -4
  431. package/vendors/copilot/project/README.md +1 -1
  432. package/vendors/gemini/.wtfp-generated.json +84 -64
  433. package/vendors/gemini/actions/advance.json +232 -0
  434. package/vendors/gemini/actions/checkpoint.json +10 -1
  435. package/vendors/gemini/actions/execute-outline.json +10 -2
  436. package/vendors/gemini/actions/export-latex.json +15 -2
  437. package/vendors/gemini/actions/plan-revision.json +22 -4
  438. package/vendors/gemini/actions/polish-prose.json +13 -3
  439. package/vendors/gemini/actions/research-gap.json +16 -3
  440. package/vendors/gemini/actions/verify-work.json +13 -4
  441. package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
  442. package/vendors/gemini/aliases.lock.json +1 -0
  443. package/vendors/gemini/catalog.json +4 -2
  444. package/vendors/gemini/commands/wtfp/add-todo.toml +54 -144
  445. package/vendors/gemini/commands/wtfp/advance.toml +14 -0
  446. package/vendors/gemini/commands/wtfp/check-todos.toml +54 -2
  447. package/vendors/gemini/commands/wtfp/checkpoint.toml +66 -738
  448. package/vendors/gemini/commands/wtfp/create-outline.toml +39 -431
  449. package/vendors/gemini/commands/wtfp/create-poster.toml +43 -299
  450. package/vendors/gemini/commands/wtfp/create-slides.toml +43 -299
  451. package/vendors/gemini/commands/wtfp/discuss-section.toml +45 -262
  452. package/vendors/gemini/commands/wtfp/execute-outline.toml +53 -486
  453. package/vendors/gemini/commands/wtfp/help.toml +44 -3
  454. package/vendors/gemini/commands/wtfp/insert-section.toml +44 -4
  455. package/vendors/gemini/commands/wtfp/list-assumptions.toml +45 -513
  456. package/vendors/gemini/commands/wtfp/map-project.toml +39 -0
  457. package/vendors/gemini/commands/wtfp/new-paper.toml +39 -0
  458. package/vendors/gemini/commands/wtfp/pause-writing.toml +54 -309
  459. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +42 -370
  460. package/vendors/gemini/commands/wtfp/plan-revision.toml +229 -277
  461. package/vendors/gemini/commands/wtfp/plan-section.toml +47 -629
  462. package/vendors/gemini/commands/wtfp/polish-prose.toml +217 -268
  463. package/vendors/gemini/commands/wtfp/progress.toml +55 -1143
  464. package/vendors/gemini/commands/wtfp/quick.toml +41 -220
  465. package/vendors/gemini/commands/wtfp/resume-writing.toml +54 -698
  466. package/vendors/gemini/commands/wtfp/review-section.toml +42 -411
  467. package/vendors/gemini/commands/wtfp/settings.toml +54 -2
  468. package/vendors/gemini/commands/wtfp/submit-milestone.toml +42 -620
  469. package/vendors/gemini/commands/wtfp/verify-work.toml +169 -57
  470. package/vendors/gemini/commands/wtfp/write-section.toml +45 -486
  471. package/vendors/gemini/compatibility/action-availability.json +13 -1
  472. package/vendors/gemini/gemini-extension.json +1 -1
  473. package/vendors/gemini/project/README.md +39 -0
  474. package/vendors/gemini/project/schemas/interaction.schema.json +100 -0
  475. package/vendors/gemini/project/templates/interaction.json +16 -0
  476. package/vendors/gemini/roles/research-synthesizer.md +1 -1
  477. package/vendors/gemini/skills/wtfp-deliver-research/SKILL.md +1 -1
  478. package/vendors/gemini/skills/wtfp-deliver-research/references/actions.md +2 -2
  479. package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
  480. package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
  481. package/vendors/gemini/skills/wtfp-plan-section/SKILL.md +1 -1
  482. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +4 -3
  483. package/vendors/gemini/skills/wtfp-research-literature/SKILL.md +1 -1
  484. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
  485. package/vendors/gemini/skills/wtfp-review-manuscript/SKILL.md +1 -1
  486. package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
  487. package/vendors/gemini/skills/wtfp-write-section/SKILL.md +1 -1
  488. package/vendors/gemini/skills/wtfp-write-section/references/actions.md +1 -1
  489. package/vendors/gemini/tools/README.md +1 -1
  490. package/vendors/gemini/workflows/advance.md +38 -0
  491. package/vendors/gemini/workflows/checkpoint.md +2 -2
  492. package/vendors/gemini/workflows/discuss-section.md +1 -1
  493. package/vendors/gemini/workflows/execute-outline.md +2 -2
  494. package/vendors/gemini/workflows/export-latex.md +4 -4
  495. package/vendors/gemini/workflows/plan-revision.md +4 -3
  496. package/vendors/gemini/workflows/plan-section.md +3 -3
  497. package/vendors/gemini/workflows/polish-prose.md +3 -3
  498. package/vendors/gemini/workflows/research-gap.md +5 -5
  499. package/vendors/gemini/workflows/verify-work.md +5 -3
  500. package/vendors/gemini/workflows/write-section.md +4 -4
  501. package/vendors/opencode/.wtfp-generated.json +83 -63
  502. package/vendors/opencode/actions/advance.json +232 -0
  503. package/vendors/opencode/actions/checkpoint.json +10 -1
  504. package/vendors/opencode/actions/execute-outline.json +10 -2
  505. package/vendors/opencode/actions/export-latex.json +15 -2
  506. package/vendors/opencode/actions/plan-revision.json +22 -4
  507. package/vendors/opencode/actions/polish-prose.json +13 -3
  508. package/vendors/opencode/actions/research-gap.json +16 -3
  509. package/vendors/opencode/actions/verify-work.json +13 -4
  510. package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
  511. package/vendors/opencode/aliases.lock.json +1 -0
  512. package/vendors/opencode/catalog.json +4 -2
  513. package/vendors/opencode/commands/wtfp/add-todo.md +54 -144
  514. package/vendors/opencode/commands/wtfp/advance.md +16 -0
  515. package/vendors/opencode/commands/wtfp/check-todos.md +54 -2
  516. package/vendors/opencode/commands/wtfp/checkpoint.md +66 -738
  517. package/vendors/opencode/commands/wtfp/create-outline.md +39 -431
  518. package/vendors/opencode/commands/wtfp/create-poster.md +43 -299
  519. package/vendors/opencode/commands/wtfp/create-slides.md +43 -299
  520. package/vendors/opencode/commands/wtfp/discuss-section.md +45 -262
  521. package/vendors/opencode/commands/wtfp/execute-outline.md +53 -486
  522. package/vendors/opencode/commands/wtfp/help.md +44 -3
  523. package/vendors/opencode/commands/wtfp/insert-section.md +44 -4
  524. package/vendors/opencode/commands/wtfp/list-assumptions.md +45 -513
  525. package/vendors/opencode/commands/wtfp/map-project.md +39 -0
  526. package/vendors/opencode/commands/wtfp/new-paper.md +39 -0
  527. package/vendors/opencode/commands/wtfp/pause-writing.md +54 -309
  528. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +42 -370
  529. package/vendors/opencode/commands/wtfp/plan-revision.md +229 -277
  530. package/vendors/opencode/commands/wtfp/plan-section.md +47 -629
  531. package/vendors/opencode/commands/wtfp/polish-prose.md +217 -268
  532. package/vendors/opencode/commands/wtfp/progress.md +55 -1143
  533. package/vendors/opencode/commands/wtfp/quick.md +41 -220
  534. package/vendors/opencode/commands/wtfp/resume-writing.md +54 -698
  535. package/vendors/opencode/commands/wtfp/review-section.md +42 -411
  536. package/vendors/opencode/commands/wtfp/settings.md +54 -2
  537. package/vendors/opencode/commands/wtfp/submit-milestone.md +42 -620
  538. package/vendors/opencode/commands/wtfp/verify-work.md +169 -57
  539. package/vendors/opencode/commands/wtfp/write-section.md +45 -486
  540. package/vendors/opencode/compatibility/action-availability.json +13 -1
  541. package/vendors/opencode/project/README.md +39 -0
  542. package/vendors/opencode/project/schemas/interaction.schema.json +100 -0
  543. package/vendors/opencode/project/templates/interaction.json +16 -0
  544. package/vendors/opencode/roles/research-synthesizer.md +1 -1
  545. package/vendors/opencode/skills/wtfp-deliver-research/SKILL.md +1 -1
  546. package/vendors/opencode/skills/wtfp-deliver-research/references/actions.md +2 -2
  547. package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
  548. package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
  549. package/vendors/opencode/skills/wtfp-plan-section/SKILL.md +1 -1
  550. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +4 -3
  551. package/vendors/opencode/skills/wtfp-research-literature/SKILL.md +1 -1
  552. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
  553. package/vendors/opencode/skills/wtfp-review-manuscript/SKILL.md +1 -1
  554. package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
  555. package/vendors/opencode/skills/wtfp-write-section/SKILL.md +1 -1
  556. package/vendors/opencode/skills/wtfp-write-section/references/actions.md +1 -1
  557. package/vendors/opencode/tools/README.md +1 -1
  558. package/vendors/opencode/workflows/advance.md +38 -0
  559. package/vendors/opencode/workflows/checkpoint.md +2 -2
  560. package/vendors/opencode/workflows/discuss-section.md +1 -1
  561. package/vendors/opencode/workflows/execute-outline.md +2 -2
  562. package/vendors/opencode/workflows/export-latex.md +4 -4
  563. package/vendors/opencode/workflows/plan-revision.md +4 -3
  564. package/vendors/opencode/workflows/plan-section.md +3 -3
  565. package/vendors/opencode/workflows/polish-prose.md +3 -3
  566. package/vendors/opencode/workflows/research-gap.md +5 -5
  567. package/vendors/opencode/workflows/verify-work.md +5 -3
  568. package/vendors/opencode/workflows/write-section.md +4 -4
  569. package/vendors/plugin/.wtfp-generated.json +101 -81
  570. package/vendors/plugin/actions/advance.json +232 -0
  571. package/vendors/plugin/actions/checkpoint.json +10 -1
  572. package/vendors/plugin/actions/execute-outline.json +10 -2
  573. package/vendors/plugin/actions/export-latex.json +15 -2
  574. package/vendors/plugin/actions/plan-revision.json +22 -4
  575. package/vendors/plugin/actions/polish-prose.json +13 -3
  576. package/vendors/plugin/actions/research-gap.json +16 -3
  577. package/vendors/plugin/actions/verify-work.json +13 -4
  578. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +7 -8
  579. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  580. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  581. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +9 -10
  582. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  583. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +7 -8
  584. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  585. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  586. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  587. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +9 -10
  588. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  589. package/vendors/plugin/ai.iowarp.clio/playbooks/wtfp-draft-review.md +1 -1
  590. package/vendors/plugin/ai.iowarp.clio/playbooks/wtfp-plan-section.md +1 -1
  591. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +21 -4
  592. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
  593. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +27 -8
  594. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +26 -5
  595. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +40 -7
  596. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +25 -5
  597. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +27 -7
  598. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +26 -8
  599. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +27 -13
  600. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +27 -13
  601. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +26 -6
  602. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +42 -9
  603. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +35 -24
  604. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  605. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +25 -5
  606. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +21 -17
  607. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +21 -4
  608. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +25 -5
  609. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +21 -4
  610. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +25 -5
  611. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +33 -20
  612. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +42 -10
  613. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +43 -10
  614. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +26 -30
  615. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +40 -7
  616. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +51 -13
  617. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +25 -5
  618. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +36 -7
  619. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +25 -5
  620. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +27 -5
  621. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +30 -8
  622. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +44 -11
  623. package/vendors/plugin/aliases.lock.json +1 -0
  624. package/vendors/plugin/catalog.json +4 -2
  625. package/vendors/plugin/compatibility/action-availability.json +11 -5
  626. package/vendors/plugin/plugin.json +16 -2
  627. package/vendors/plugin/project/README.md +39 -0
  628. package/vendors/plugin/project/schemas/interaction.schema.json +100 -0
  629. package/vendors/plugin/project/templates/interaction.json +16 -0
  630. package/vendors/plugin/roles/research-synthesizer.md +1 -1
  631. package/vendors/plugin/skills/wtfp-deliver-research/SKILL.md +1 -1
  632. package/vendors/plugin/skills/wtfp-deliver-research/references/actions.md +2 -2
  633. package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
  634. package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
  635. package/vendors/plugin/skills/wtfp-plan-section/SKILL.md +1 -1
  636. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +4 -3
  637. package/vendors/plugin/skills/wtfp-research-literature/SKILL.md +1 -1
  638. package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
  639. package/vendors/plugin/skills/wtfp-review-manuscript/SKILL.md +1 -1
  640. package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
  641. package/vendors/plugin/skills/wtfp-write-section/SKILL.md +1 -1
  642. package/vendors/plugin/skills/wtfp-write-section/references/actions.md +1 -1
  643. package/vendors/plugin/tools/README.md +1 -1
  644. package/vendors/plugin/workflows/advance.md +38 -0
  645. package/vendors/plugin/workflows/checkpoint.md +2 -2
  646. package/vendors/plugin/workflows/discuss-section.md +1 -1
  647. package/vendors/plugin/workflows/execute-outline.md +2 -2
  648. package/vendors/plugin/workflows/export-latex.md +4 -4
  649. package/vendors/plugin/workflows/plan-revision.md +4 -3
  650. package/vendors/plugin/workflows/plan-section.md +3 -3
  651. package/vendors/plugin/workflows/polish-prose.md +3 -3
  652. package/vendors/plugin/workflows/research-gap.md +5 -5
  653. package/vendors/plugin/workflows/verify-work.md +5 -3
  654. package/vendors/plugin/workflows/write-section.md +4 -4
  655. package/vendors/antigravity/commands/wtfp-plan-section.md +0 -78
  656. package/vendors/antigravity/commands/wtfp-write-section.md +0 -77
@@ -31,21 +31,34 @@
31
31
  "project://sections/{section}",
32
32
  "project://sections/{section}/context",
33
33
  "project://sources/{source}",
34
- "project://evidence/{evidence}"
34
+ "project://evidence/{evidence}",
35
+ "project://sections/{section}/research"
35
36
  ],
36
37
  "produces": [
37
38
  {
38
39
  "uri": "project://sources/{source}",
39
40
  "mode": "create"
40
41
  },
42
+ {
43
+ "uri": "project://sources/{source}",
44
+ "mode": "update"
45
+ },
41
46
  {
42
47
  "uri": "project://evidence/{evidence}",
43
48
  "mode": "create"
44
49
  },
50
+ {
51
+ "uri": "project://evidence/{evidence}",
52
+ "mode": "update"
53
+ },
45
54
  {
46
55
  "uri": "project://sections/{section}/research",
47
56
  "mode": "create"
48
57
  },
58
+ {
59
+ "uri": "project://sections/{section}/research",
60
+ "mode": "update"
61
+ },
49
62
  {
50
63
  "uri": "project://sections/{section}",
51
64
  "mode": "update"
@@ -76,11 +89,11 @@
76
89
  },
77
90
  {
78
91
  "id": "filesystem.modify",
79
- "scope": "project://sections/{section}"
92
+ "scope": "project://sections/{section}, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research"
80
93
  },
81
94
  {
82
95
  "id": "filesystem.read",
83
- "scope": "project://manifest, project://config, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sources/{source}, project://evidence/{evidence}"
96
+ "scope": "project://manifest, project://config, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research"
84
97
  },
85
98
  {
86
99
  "id": "network.fetch",
@@ -24,13 +24,22 @@
24
24
  "project://sections/{section}",
25
25
  "project://sections/{section}/plans/{plan}",
26
26
  "project://evidence/{evidence}",
27
- "project://paper/{artifact}"
27
+ "project://paper/{artifact}",
28
+ "project://validations/{validation}"
28
29
  ],
29
30
  "produces": [
30
31
  {
31
32
  "uri": "project://validations/{validation}",
32
33
  "mode": "create"
33
34
  },
35
+ {
36
+ "uri": "project://validations/{validation}",
37
+ "mode": "update"
38
+ },
39
+ {
40
+ "uri": "project://checkpoints/{checkpoint}",
41
+ "mode": "create"
42
+ },
34
43
  {
35
44
  "uri": "project://sections/{section}",
36
45
  "mode": "update"
@@ -45,7 +54,7 @@
45
54
  "effects": [
46
55
  {
47
56
  "id": "filesystem.create",
48
- "scope": "selected section verification artifact"
57
+ "scope": "selected section verification artifact and its acceptance checkpoint"
49
58
  },
50
59
  {
51
60
  "id": "filesystem.modify",
@@ -53,11 +62,11 @@
53
62
  },
54
63
  {
55
64
  "id": "filesystem.read",
56
- "scope": "project://state, project://sections/{section}, project://sections/{section}/plans/{plan}, project://evidence/{evidence}, project://paper/{artifact}"
65
+ "scope": "project://state, project://sections/{section}, project://sections/{section}/plans/{plan}, project://evidence/{evidence}, project://paper/{artifact}, project://validations/{validation}"
57
66
  },
58
67
  {
59
68
  "id": "user.gate",
60
- "scope": "each failed or disputed verification check"
69
+ "scope": "each failed or disputed verification check, and the author's acceptance of the section"
61
70
  }
62
71
  ]
63
72
  }
@@ -3,6 +3,7 @@
3
3
  "namespace": "wtfp",
4
4
  "aliases": [
5
5
  { "action": "add-todo", "alias": "wtfp:add-todo" },
6
+ { "action": "advance", "alias": "wtfp:advance" },
6
7
  { "action": "analyze-bib", "alias": "wtfp:analyze-bib" },
7
8
  { "action": "audit-milestone", "alias": "wtfp:audit-milestone" },
8
9
  { "action": "check-refs", "alias": "wtfp:check-refs" },
@@ -3,13 +3,14 @@
3
3
  "version": 1,
4
4
  "namespace": "wtfp",
5
5
  "counts": {
6
- "actions": 36,
7
- "domainActions": 31,
6
+ "actions": 37,
7
+ "domainActions": 32,
8
8
  "operations": 5,
9
9
  "skills": 7
10
10
  },
11
11
  "actions": [
12
12
  { "contract": "protocol://actions/add-todo.json", "id": "add-todo" },
13
+ { "contract": "protocol://actions/advance.json", "id": "advance" },
13
14
  { "contract": "protocol://actions/analyze-bib.json", "id": "analyze-bib" },
14
15
  { "contract": "protocol://actions/audit-milestone.json", "id": "audit-milestone" },
15
16
  { "contract": "protocol://actions/check-refs.json", "id": "check-refs" },
@@ -69,6 +70,7 @@
69
70
  {
70
71
  "actions": [
71
72
  "add-todo",
73
+ "advance",
72
74
  "check-todos",
73
75
  "checkpoint",
74
76
  "pause-writing",
@@ -18,6 +18,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
18
18
  | `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
19
19
  | `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
20
20
  | `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
21
+ | `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
21
22
 
22
23
  The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
23
24
 
@@ -49,6 +50,8 @@ The JSON records above are the interoperable source of truth, while research and
49
50
  - Keep the manifest's `materials`, `manuscripts`, `deliverables`, and `archives` indexes synchronized with authored artifacts. Section records retain immutable plan/review history arrays, their current handoff, and linked checkpoints instead of hiding those relationships in prose.
50
51
  - Keep authored prose, context, research, plans, reviews, summaries, handoffs, and deliverables in their native format. Link those artifacts from the relevant record instead of treating a Markdown control document as project state.
51
52
  - Reconcile state from records and verified artifacts. Never infer lifecycle status from legacy `PROJECT.md`, `ROADMAP.md`, or `STATE.md` files.
53
+ - Read a large source or manuscript by section: search it, then read the bounded range that matters. A whole-file read of a long document can exhaust a host's per-turn observation budget and end the action before it asks the author anything.
54
+ - An author's request is never permission to write outside the running action's declared outputs. Do the part this action declares, then end by naming the action that owns the rest (for example `research-gap` for source or evidence records) as the next step. Do not ask again or weigh the request against the contract; the contract decides.
52
55
  - A workflow must not initialize a repository, create or switch branches, stage, commit, merge, push, or publish as an incidental side effect. An action that declares a `vcs.*` or external effect must preview the exact operation and cross a separate user gate immediately before that effect. Otherwise it may return only a non-executed handoff.
53
56
 
54
57
  ## Invariants
@@ -62,4 +65,40 @@ The JSON records above are the interoperable source of truth, while research and
62
65
  - Validation records report findings and never imply that a mutation was applied.
63
66
  - Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
64
67
 
68
+ ## Author answers and approvals
69
+
70
+ A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
71
+
72
+ - `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
73
+ - `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
74
+ - `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
75
+ - `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
76
+
77
+ A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
78
+
79
+ On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
80
+
81
+ A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
82
+
83
+ Each path through an author gate on an attesting host, and what it leaves behind:
84
+
85
+ | Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
86
+ | --- | --- | --- | --- |
87
+ | Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
88
+ | Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
89
+ | Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
90
+ | Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
91
+ | Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
92
+ | Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
93
+ | Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
94
+ | Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
95
+ | Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
96
+ | Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
97
+
98
+ ## Concurrent updates and recovery
99
+
100
+ An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
101
+
102
+ Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
103
+
65
104
  `templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
@@ -0,0 +1,100 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/interaction/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "allOf": [
7
+ {
8
+ "if": {
9
+ "required": ["kind"],
10
+ "properties": { "kind": { "const": "checkpoint-answer" } }
11
+ },
12
+ "then": {
13
+ "properties": {
14
+ "subject_uri": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
15
+ "outcome": { "enum": ["selected", "done", "waived", "kept-pending", "discarded-stale"] }
16
+ }
17
+ },
18
+ "else": {
19
+ "properties": {
20
+ "outcome": { "enum": ["approved", "declined", "discarded-stale"] }
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "if": {
26
+ "required": ["outcome"],
27
+ "properties": { "outcome": { "const": "selected" } }
28
+ },
29
+ "then": { "required": ["selected_option"] },
30
+ "else": { "not": { "required": ["selected_option"] } }
31
+ },
32
+ {
33
+ "if": {
34
+ "required": ["channel"],
35
+ "properties": { "channel": { "const": "attested-interview" } }
36
+ },
37
+ "then": { "required": ["seal"] },
38
+ "else": { "not": { "required": ["seal"] } }
39
+ }
40
+ ],
41
+ "required": [
42
+ "schema",
43
+ "id",
44
+ "project_id",
45
+ "kind",
46
+ "subject_uri",
47
+ "channel",
48
+ "outcome",
49
+ "presented",
50
+ "asked_at",
51
+ "answered_at"
52
+ ],
53
+ "properties": {
54
+ "schema": { "const": "wtfp.project.interaction/v1" },
55
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
56
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
57
+ "kind": { "enum": ["checkpoint-answer", "record-change"] },
58
+ "subject_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
59
+ "channel": { "enum": ["attested-interview", "host-prompt"] },
60
+ "outcome": {
61
+ "enum": ["selected", "done", "waived", "kept-pending", "approved", "declined", "discarded-stale"]
62
+ },
63
+ "selected_option": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
64
+ "presented": {
65
+ "type": "object",
66
+ "additionalProperties": false,
67
+ "required": ["content_sha256", "options"],
68
+ "properties": {
69
+ "content_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
70
+ "options": {
71
+ "type": "array",
72
+ "items": { "type": "string", "minLength": 1 },
73
+ "uniqueItems": true
74
+ },
75
+ "base_sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" },
76
+ "artifact": {
77
+ "type": "object",
78
+ "additionalProperties": false,
79
+ "required": ["uri", "sha256"],
80
+ "properties": {
81
+ "uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
82
+ "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "asked_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
88
+ "answered_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
89
+ "seal": {
90
+ "type": "object",
91
+ "additionalProperties": false,
92
+ "required": ["method", "key_id", "mac"],
93
+ "properties": {
94
+ "method": { "const": "hmac-sha256" },
95
+ "key_id": { "type": "string", "pattern": "^[a-f0-9]{16}$" },
96
+ "mac": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
97
+ }
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "schema": "wtfp.project.interaction/v1",
3
+ "id": "interaction-contribution-framing",
4
+ "project_id": "portable-research-demo",
5
+ "kind": "checkpoint-answer",
6
+ "subject_uri": "project://checkpoints/checkpoint-contribution-framing",
7
+ "channel": "host-prompt",
8
+ "outcome": "selected",
9
+ "selected_option": "protocol-contribution",
10
+ "presented": {
11
+ "content_sha256": "e7f2159eb2d8e77524833d50f6967684954ddec0ca5af53b05867da46ddf26e0",
12
+ "options": ["protocol-contribution", "workflow-contribution"]
13
+ },
14
+ "asked_at": "2026-08-28T12:45:00Z",
15
+ "answered_at": "2026-08-28T12:52:00Z"
16
+ }
@@ -42,7 +42,7 @@ Investigate the literature needed to plan and write a specific section well. The
42
42
  ## Boundaries
43
43
 
44
44
  - This is a `mutation-report` role. It may write only the research and suggestion artifacts authorized by the invoking action.
45
- - An operator-configured, trusted read-only CiteNexus MCP connection may search bounded public scholarly metadata without a second per-query gate. In an explicitly selected full-auto host session for this research action, `citation-search --backend=cite-nexus` may also search `crossref`, `datacite`, `europe_pmc`, or `arxiv` without another gate. Other providers or modes require explicit network approval naming providers and query bounds. Honor offline flags and host refusals. Returned results stay candidates, and this role never performs a bibliography write.
45
+ - An operator-configured, trusted read-only CiteNexus MCP connection may search bounded public scholarly metadata without a second per-query gate. In a host session the operator explicitly started without per-call approval cards, for this research action, `citation-search --backend=cite-nexus` may also search `crossref`, `datacite`, `europe_pmc`, or `arxiv` without another gate. Other providers or modes require explicit network approval naming providers and query bounds. Honor offline flags and host refusals. Returned results stay candidates, and this role never performs a bibliography write.
46
46
  - Never fabricate a citation, identifier, quotation, metadata field, source conclusion, or claim of exhaustive coverage.
47
47
  - Never overwrite an existing `project://sources/{source}` record. Additions remain provisional until identity and provenance are verified by an authorized action.
48
48
  - Do not explore alternatives that author decisions explicitly deferred or rejected.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-deliver-research
3
- description: This skill packages completed research for publication and presentation. It activates when an agent needs to export a manuscript to LaTeX, archive a draft or submission milestone, create research slides, design an academic poster, or perform the WTF-P export-latex, submit-milestone, create-slides, or create-poster actions.
3
+ description: This skill turns completed academic papers into conference posters, presentation slides, LaTeX exports, and archived submission milestones. It activates when an agent needs to export a manuscript to LaTeX, archive a draft or submission milestone, create research slides, design an academic poster, or perform the WTF-P export-latex, submit-milestone, create-slides, or create-poster actions.
4
4
  ---
5
5
 
6
6
  # Deliver WTF-P Research
@@ -34,13 +34,13 @@ Contract: [protocol/actions/submit-milestone.json](../../../actions/submit-miles
34
34
  2. Gather reproducible statistics from records and verified artifacts: completed sections, actual and target words, verified citations, figures, tables, validations, and open issues.
35
35
  3. Read the current milestone `project://validations/{validation}` and compare its recorded input revisions or hashes with current resources. Warn if missing, failed, or stale.
36
36
  4. If work is incomplete, present the exact omissions and require explicit approval to archive an incomplete milestone. Never label it submission-ready implicitly.
37
- 5. Present a complete effect preview: final `project://archives/{archive}/{artifact}` resources, exact record/artifact revisions copied, manifest/state transitions, and any completion-status reset. VCS and remote effects are outside this action.
37
+ 5. Present a complete effect preview: final `project://archives/{archive}/{artifact}` resources, exact record/artifact revisions copied, and manifest/state transitions. VCS and remote effects are outside this action.
38
38
  6. Build the archive in an adapter-provided temporary sibling location. Copy exact manifest, config, state, decisions, outline, section records and authored artifacts, sources, evidence, validations, manuscript, and delivery manifest according to policy.
39
39
  7. Write archive metadata with label, date, status, source record revisions and artifact hashes, statistics, known issues, and included-resource hashes.
40
40
  8. Verify every archived hash and required resource before atomically publishing the final archive URI. On failure, leave active records untouched and report recovery material.
41
41
  9. Add the archive URI and delivery metadata to the manifest's author-approved artifact inventory only where the schema permits; otherwise keep history in the archive manifest rather than a Markdown index.
42
42
  10. Change a requirement, claim, or section status only when a current validation and evidence support the transition.
43
- 11. Only after archive verification, preview any state transition for a revision round. Preserve stable section IDs, keep the archive immutable, and require approval before resetting completion statuses.
43
+ 11. Only after archive verification, preview any state transition for a revision round. Preserve stable section IDs and keep the archive immutable. This action never resets section completion statuses; a revision round reopens each section through `plan-revision` and an approved revision plan.
44
44
  12. Re-read archive, manifest, outline, section records, and state; verify they agree. Report archive URI, hashes/revisions, readiness caveats, and next action. Return any desired VCS operation as a non-executed handoff.
45
45
 
46
46
  Completion requires an independently verified immutable archive before any active-state reset.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-manage-project
3
- description: This skill coordinates the durable state of a research-writing project. It activates when an agent needs to report progress, pause or resume work, save or restore a checkpoint, edit project settings, capture or review todos, choose the next workflow, or perform the WTF-P progress, pause-writing, resume-writing, checkpoint, settings, add-todo, or check-todos actions.
3
+ description: This skill coordinates the durable state of a research-writing project. It activates when an agent needs to report progress, pause or resume work, save or restore a checkpoint, edit project settings, capture or review todos, choose the next workflow, run the next writing actions automatically until the author must decide, or perform the WTF-P advance, progress, pause-writing, resume-writing, checkpoint, settings, add-todo, or check-todos actions.
4
4
  ---
5
5
 
6
6
  # Manage a WTF-P Project
@@ -10,6 +10,7 @@ Keep project state honest, resumable, and useful for routing the next academic a
10
10
  ## Select the action
11
11
 
12
12
  - Use `progress` to reconcile artifacts and recommend the next step.
13
+ - Use `advance` to run the next writing actions automatically, one driver-selected step at a time, until a gate needs the author.
13
14
  - Use `pause-writing` or `resume-writing` to create and consume a session handoff.
14
15
  - Use `checkpoint` to save, list, or restore named snapshots.
15
16
  - Use `settings` to inspect and edit project policy.
@@ -10,11 +10,23 @@ Contract: [protocol/actions/progress.json](../../../actions/progress.json)
10
10
  2. Reconcile outline entries with `project://sections/{section}`, linked plans, summaries, reviews, source/evidence records, validations, manuscript outputs, handoffs, and active checkpoints.
11
11
  3. Calculate actual and target sections and words, section statuses, unresolved validation issues, and active checkpoints from records and verified artifacts. State the counting method and every discrepancy.
12
12
  4. Summarize recent factual transitions, author decisions, completed work, and blockers.
13
- 5. Route by evidence: active checkpoint to resumption; validation issue to revision planning; approved plan to writing; ready unplanned section to discussion/research/planning; written unreviewed section to review; complete outline to milestone audit.
13
+ 5. Route by evidence: active checkpoint to resumption; outline entries without a section record, or an outline without a passing outline validation, to `create-outline`, the only action that creates section records; validation issue to revision planning; approved plan to writing; ready unplanned section to discussion/research/planning; written unreviewed section to review; a reviewed section with no `verify-work` validation since its latest review to `verify-work`; a verify-work acceptance checkpoint resolved `revise` to `plan-revision`, and one resolved `accept` while the section is not yet complete back to `verify-work`, which applies it; complete outline to milestone audit.
14
14
  6. Offer one primary next action plus bounded alternatives. Do not execute it without author confirmation.
15
15
 
16
16
  Completion requires evidence-backed status, surfaced inconsistencies, and a reasoned next action without state mutation.
17
17
 
18
+ ## `advance`
19
+
20
+ Contract: [protocol/actions/advance.json](../../../actions/advance.json)
21
+
22
+ 1. Require initialized project state; otherwise name `new-paper` or `map-project` and stop.
23
+ 2. Ask the host's driver for the next step. Only the driver selects the action and section, from project state by the `progress` ladder, and it confines the step to that action's declared outputs.
24
+ 3. For a pending gate, put it to the author through the host's gate interaction. Continue only after the author's answer; a kept, declined, or unaskable gate ends the run.
25
+ 4. For an action, follow that action's own procedure and contract with the named section, including its author gates and interviews. Ask the driver again when it completes.
26
+ 5. Stop on the driver's stop reason, a failed or blocked step, or a step limit. Report each step, each author answer, and the stop reason.
27
+
28
+ Completion requires that every step ran under its own contract, that no gate was crossed without the author's answer, and an exact stop reason.
29
+
18
30
  ## `pause-writing`
19
31
 
20
32
  Contract: [protocol/actions/pause-writing.json](../../../actions/pause-writing.json)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-plan-section
3
- description: This skill plans and safely reshapes manuscript sections. It activates when an agent needs to discuss a section, expose assumptions, make a writing or revision plan, insert a newly discovered section, remove an unstarted section, or perform the WTF-P discuss-section, list-assumptions, plan-section, plan-revision, insert-section, or remove-section actions.
3
+ description: This skill plans manuscript sections, shows the intended approach, and lists every assumption about a section before writing or revising it. It activates when an agent needs to discuss a section, expose assumptions, make a writing or revision plan, insert a newly discovered section, remove an unstarted section, or perform the WTF-P discuss-section, list-assumptions, plan-section, plan-revision, insert-section, or remove-section actions.
4
4
  ---
5
5
 
6
6
  # Plan a WTF-P Section
@@ -46,7 +46,7 @@ Contract: [protocol/actions/plan-section.json](../../../actions/plan-section.jso
46
46
  2. Read the complete planning context before decomposing work: manifest, config, state, decisions, outline, section record, context, research, source/evidence records, relevant prior summaries, and the bounded `project://validations/*` collection.
47
47
  3. Before any specialist dispatch, filter the validation records to candidates whose `subject_uri` is exactly `project://structure/outline` and whose `action_id` is exactly `create-outline`. A candidate is current only when `executed_at >= outline.updated_at`. Because the v1 validation schema carries no outline revision or content hash, disclose that this timestamp test is a conservative freshness proxy.
48
48
  4. Require exactly one current candidate and require its `status` to be `passed`. Separately verify that the current outline and target section are consistent with all current locked and deferred author choices: honor locked choices and do not treat deferred choices as resolved. A missing, stale, ambiguous, or non-passing candidate, or a decision contradiction, blocks all specialist dispatch and every plan, section, state, or validation write. Only a recovery checkpoint may be proposed on this blocked path, and it may be written only after a complete record preview and explicit author approval.
49
- 5. If the section is literature-heavy, require a section-specific research artifact and resolvable source/evidence records for its planned claims before dispatch or approval. Run `research-gap` with the configured CiteNexus backend when available; if coverage remains insufficient, record a research checkpoint and stop. Search candidates alone are not verified citations. Do not manufacture citations to keep planning moving.
49
+ 5. If the section is literature-heavy, require a section-specific research artifact and resolvable source/evidence records for its planned claims before dispatch or approval. If coverage is insufficient, record a research checkpoint naming the uncovered claims and stop; `research-gap` is the next action, and its sources and evidence are not written here. Search candidates alone are not verified citations. Do not manufacture citations to keep planning moving.
50
50
  6. Summarize the section goal, claims, evidence, manuscript artifact, dependencies, and open decisions at `config.gates.confirm_plan`.
51
51
  7. After the prerequisites pass, require `section-planner` in a bounded delegated pass to create one or more immutable Markdown `project://sections/{section}/plans/{plan}` artifacts. Each plan must declare:
52
52
  - stable section and plan identifiers;
@@ -61,7 +61,7 @@ Contract: [protocol/actions/plan-section.json](../../../actions/plan-section.jso
61
61
  9. Estimate words by rhetorical function and reconcile the total with the section budget.
62
62
  10. After the `section-planner` result, require `plan-checker` in a fresh delegated pass against the outline goal and claim IDs, decisions, context, research, evidence, dependencies, output URIs, and verification criteria. Persist that read-only result at `project://validations/{validation}`; configuration may tighten its rubric but must not skip the independent pass.
63
63
  11. Revise concrete defects and re-check. After a bounded number of failed passes, create a checkpoint for remaining author judgment rather than self-approving.
64
- 12. Link the approved plan from the section record and set section/state status to planned only after the plan and validation are readable. Do not execute VCS effects.
64
+ 12. At `config.gates.confirm_plan`, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan and validation, and ask the author. Link the plan from the section record and set section/state status to planned only after an `approve` answer for its current bytes and after the plan and validation are readable. Do not execute VCS effects.
65
65
 
66
66
  Completion requires an executable plan whose tasks are sufficient for its success criteria and whose evidence obligations are explicit.
67
67
 
@@ -82,8 +82,9 @@ Contract: [protocol/actions/plan-revision.json](../../../actions/plan-revision.j
82
82
  - expected revised manuscript and revision summary.
83
83
  6. Never prescribe a cosmetic rewrite for an evidence or argument defect. Route missing evidence to research and structural defects to explicit author approval.
84
84
  7. Validate that every selected issue is addressed once and every excluded issue remains visible.
85
+ 8. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan and validation, and ask the author. Append the revision plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes, and set the section status to `planned` when you link it; the plan that produced the reviewed draft is never edited and remains in the history.
85
86
 
86
- Completion requires a targeted, traceable path from finding to fix to re-verification.
87
+ Completion requires a targeted, traceable path from finding to fix to re-verification, and a revision plan the author approved before any rewrite.
87
88
 
88
89
  ## `insert-section`
89
90
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-research-literature
3
- description: This skill researches, organizes, and audits scholarly literature for an academic manuscript. It activates when an agent needs to investigate a research gap, analyze a bibliography, map references to sections, validate citation coverage, repair reference metadata, or perform the WTF-P research-gap, analyze-bib, or check-refs actions.
3
+ description: This skill characterizes BibTeX collections and bibliographies, maps verified references to sections and claims, investigates research gaps, and audits scholarly citations. It activates when an agent needs to investigate a research gap, analyze a bibliography, map references to sections, validate citation coverage, repair reference metadata, or perform the WTF-P research-gap, analyze-bib, or check-refs actions.
4
4
  ---
5
5
 
6
6
  # Research Literature for WTF-P
@@ -14,7 +14,7 @@ Contract: [protocol/actions/research-gap.json](../../../actions/research-gap.jso
14
14
  - `standard`: run a focused, reproducible search across the most relevant categories;
15
15
  - `deep`: map foundational, recent, competing, gap-defining, and methodological work, including important disagreements and intellectual lineage.
16
16
  5. Form search questions and inclusion criteria before searching. Record databases or corpora, query strings, date, filters, and stopping rule.
17
- 6. Search authoritative scholarly sources with bounded queries. Two routes need no second per-query author gate: a host connection the operator already configured and authorized for read-only public scholarly metadata search, or the bundled CiteNexus dispatcher in a host session explicitly set to full-auto for this research action when every selected provider is a free, no-key public index (`crossref`, `datacite`, `europe_pmc`, or `arxiv`). Record provider IDs, query strings, date, and result limits in the research artifact. Do not send unpublished manuscript text, private notes, or credentials as search terms. Outside those routes, first disclose the providers and bounded query set and obtain explicit author approval. The dispatcher runs only `citation-search --backend=cite-nexus` with an explicit `--providers` list; honor an operator-set offline flag or any host refusal. Returned results stay candidates, and this action performs no bibliography write. Deduplicate candidates by persistent identifier, then normalized title.
17
+ 6. Search authoritative scholarly sources with bounded queries. Two routes need no second per-query author gate: a host connection the operator already configured and authorized for read-only public scholarly metadata search, or the bundled CiteNexus dispatcher in a host session the operator explicitly started without per-call approval cards, for this research action when every selected provider is a free, no-key public index (`crossref`, `datacite`, `europe_pmc`, or `arxiv`). Record provider IDs, query strings, date, and result limits in the research artifact. Do not send unpublished manuscript text, private notes, or credentials as search terms. Outside those routes, first disclose the providers and bounded query set and obtain explicit author approval. The dispatcher runs only `citation-search --backend=cite-nexus` with an explicit `--providers` list; honor an operator-set offline flag or any host refusal. Returned results stay candidates, and this action performs no bibliography write. Deduplicate candidates by persistent identifier, then normalized title.
18
18
  7. Verify each retained source from its primary record or publication. Create a `project://sources/{source}` record with title, creators, year, source kind, identifiers, citation key, status, provenance, inspection depth, and verification time.
19
19
  8. Read enough of each source to distinguish its actual claim, method, population, result, and limitation. Do not cite an abstract-only impression as full-paper evidence.
20
20
  9. Create `project://evidence/{evidence}` separately for each retained claim-level interpretation, with relation, locator, limitations, confidence, and inspection depth. Synthesize by question rather than listing papers; identify consensus, disagreement, methodological differences, missing evidence, and defensible positioning.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-review-manuscript
3
- description: This skill reviews, verifies, audits, and polishes academic manuscripts. It activates when an agent needs to review a section, test work against a plan, refine academic voice, audit submission readiness, create milestone gap plans, or perform the WTF-P review-section, verify-work, polish-prose, audit-milestone, or plan-milestone-gaps actions.
3
+ description: This skill reviews, polishes, and audits academic manuscript sections for clarity, flow, precision, voice, unsupported claims, and citation misuse. It activates when an agent needs to review a section, test work against a plan, refine academic voice, audit submission readiness, create milestone gap plans, or perform the WTF-P review-section, verify-work, polish-prose, audit-milestone, or plan-milestone-gaps actions.
4
4
  ---
5
5
 
6
6
  # Review a WTF-P Manuscript
@@ -35,7 +35,8 @@ Contract: [protocol/actions/verify-work.json](../../../actions/verify-work.json)
35
35
  - `issues-found` when one or more issue records remain;
36
36
  - `needs-input` when author judgment is pending;
37
37
  - `failed` when required evidence or execution cannot satisfy the contract.
38
- 9. Reconcile section and state status only from the completed validation, then route gaps to `plan-revision` or a pass to project progress.
38
+ 9. When the validation is complete, create one pending blocking `decision` checkpoint scoped to `project://validations/{validation}` with options `accept` and `revise`, `resume_action` `verify-work`, and a request that summarizes the result, then ask the author. The validation result alone never completes a section.
39
+ 10. Reconcile section and state only from the author's answer: `accept` marks the section `complete`; `revise` leaves it `reviewing` and routes to `plan-revision`. A rerun that finds this checkpoint resolved applies the resolution without asking again.
39
40
 
40
41
  Completion requires a resumable author-owned acceptance record, not an automated self-approval.
41
42
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wtfp-write-section
3
- description: This skill drafts and revises manuscript sections from approved plans and evidence. It activates when an agent needs to write one section, execute an outline in dependency waves, make a small targeted prose or citation change, or perform the WTF-P write-section, execute-outline, or quick actions.
3
+ description: This skill writes and revises academic manuscript sections, including narrow wording corrections to the abstract or any section. It activates when an agent needs to write one section, execute an outline in dependency waves, make a small targeted prose or citation change, or perform the WTF-P write-section, execute-outline, or quick actions.
4
4
  ---
5
5
 
6
6
  # Write a WTF-P Section
@@ -6,7 +6,7 @@ Use exactly one action procedure per invocation. Draft only from verified projec
6
6
 
7
7
  Contract: [protocol/actions/write-section.json](../../../actions/write-section.json)
8
8
 
9
- 1. Require an exact `project://sections/{section}/plans/{plan}` artifact linked from `project://sections/{section}` and verify its declared inputs, outputs, dependencies, validation, and approval state.
9
+ 1. Require the exact `project://sections/{section}/plans/{plan}` artifact last linked from `project://sections/{section}` and verify its declared inputs, outputs, dependencies, validation, and approval state: with confirm_plan on, an `approve` answer on a checkpoint scoped to that plan, given for its current bytes.
10
10
  2. If a corresponding summary or manuscript output exists, show the overwrite or merge impact and require explicit re-execution approval.
11
11
  3. Read the plan, `project://manifest`, `project://state`, `project://decisions`, `project://structure/outline`, section context and research, relevant source/evidence records, and enough neighboring prose to maintain continuity. For a literature-heavy section, require research and verified source/evidence coverage of the plan's factual claims before drafting. Route missing coverage through `research-gap` and a checkpoint; do not substitute model memory or search candidates for source records.
12
12
  4. Present the plan objective, output path, target words, evidence obligations, and checkpoints at the configured writing gate.
@@ -0,0 +1,38 @@
1
+ ---
2
+ schema: wtfp.workflow/v1
3
+ action: advance
4
+ source: wtfp.protocol
5
+ ---
6
+
7
+ # Advance to the next author gate
8
+
9
+ @protocol://project/README.md
10
+ @protocol://skills/wtfp-manage-project/SKILL.md
11
+ @protocol://skills/wtfp-manage-project/references/actions.md
12
+
13
+ ## Record contract
14
+
15
+ Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://sections/{section}/handoff`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://checkpoints/{checkpoint}`, `project://validations/{validation}`, `project://paper/{artifact}`, `project://sections/{section}/context`, `project://sections/{section}/research`, `project://validations/*`.
16
+ Produce: `project://structure/outline` (update), `project://sections/{section}` (create), `project://decisions` (update), `project://state` (update), `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://sections/{section}/context` (create), `project://sections/{section}/context` (update), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://sources/{source}` (create), `project://sources/{source}` (update), `project://evidence/{evidence}` (create), `project://evidence/{evidence}` (update), `project://sections/{section}/research` (create), `project://sections/{section}/research` (update), `project://sections/{section}/plans/{plan}` (create), `project://paper/{artifact}` (create), `project://paper/{artifact}` (update), `project://manifest` (update), `project://sections/{section}/summary` (create), `project://sections/{section}/summary` (update), `project://sections/{section}/reviews/{review}` (create), `project://archives/{archive}/{artifact}` (archive).
17
+
18
+ This contract is the union of the actions the driver may select: `create-outline`, `discuss-section`, `research-gap`, `plan-section`, `write-section`, `review-section`, `verify-work`, `plan-revision`, `audit-milestone`, and `submit-milestone`. Each step may write only what its own action contract declares, for the section the driver names; the union is never a grant to one step.
19
+
20
+ Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
21
+
22
+ Manuscript prose and supporting context, research, plan, review, summary, handoff, and deliverable artifacts retain their authored format (normally Markdown). Link them from the relevant v1 record; do not convert manuscript prose into project-state JSON.
23
+
24
+ ## Procedure
25
+
26
+ 1. Require initialized portable project state. This action continues a project; it never starts one or maps new materials. Without project state, report `new-paper` or `map-project` as the next action and stop.
27
+ 2. Ask the host's driver for the next step. The driver, not the agent, selects the action and section from portable project state by the same ladder `progress` follows, and authorizes only that action's declared outputs for that step. Never choose, skip, reorder, or repeat an action yourself.
28
+ 3. When the driver names a pending gate, put it to the author through the host's gate interaction and wait for the answer. Then ask the driver again. An answer that keeps the gate pending or declines it, or a gate that cannot be put to an author, ends the run with the gate still open.
29
+ 4. When the driver names an action, run that action exactly as its own workflow defines, with the section the driver named as its input, including every author gate and every interview that workflow raises. Then ask the driver again.
30
+ 5. Stop when the driver reports a stop: a gate still waiting on the author, a step that would repeat with no change in project state, an action this host cannot run, the step limit, or a delivered project. A step's failure or blocked result also ends the run.
31
+
32
+ Author decisions keep their meaning inside a run. Ask each author-owned question as a question only the author may answer; a timeout, a recommended option, silence, or this invocation's text is never the author's answer. The run is automatic between gates, never autonomous across them.
33
+
34
+ ## Safety and completion
35
+
36
+ Do not initialize a repository or run branch, stage, commit, merge, push, or publish operations. If requested, return a clearly labeled optional handoff for a separately authorized action.
37
+
38
+ Report each step the driver selected and its outcome, the gates the author answered, the driver's stop reason, the logical resources created or updated, unresolved checkpoints, and the next action the author faces. Never claim a mutation that was not verified.
@@ -13,7 +13,7 @@ source: wtfp.protocol
13
13
  ## Record contract
14
14
 
15
15
  Read: the declared portable records and authored artifacts selected for the snapshot.
16
- Produce: `project://checkpoints/{checkpoint}` (create), `project://archives/checkpoints/{checkpoint}` (create), `project://archives/recovery/{artifact}` (create on restore), `project://manifest` (update), `project://state` (update).
16
+ Produce: `project://checkpoints/{checkpoint}` (create), `project://checkpoints/{checkpoint}` (update on restore), `project://archives/checkpoints/{checkpoint}` (create), `project://archives/recovery/{artifact}` (create on restore), `project://manifest` (update), `project://state` (update).
17
17
 
18
18
  Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
19
19
 
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. For save, select concrete contained resources, copy their exact bytes into an immutable checkpoint archive, hash every entry, then create a non-blocking `state-snapshot` checkpoint that records the archive URI, logical resource URIs, record revisions, and SHA-256 values. Link the archive from the manifest and read everything back before success.
25
25
  2. For list or inspect, report snapshot scope and verify that the archive, resources, revisions, and hashes still resolve without mutation.
26
- 3. For restore, compare the selected snapshot with current resources, create and verify a pre-restore recovery archive, preview the exact replacements, and require a separate authorization immediately before applying them. Restore only snapshot-declared resources atomically, schema-validate records, verify hashes, and mark the checkpoint restored. Never use a commit, tag, checkout, reset, or branch movement as checkpoint storage.
26
+ 3. For restore, compare the selected snapshot with current resources, create and verify a pre-restore recovery archive, preview the exact replacements, and require a separate authorization immediately before applying them. Restore only snapshot-declared resources atomically, schema-validate records, verify hashes, and update the checkpoint to restored. Never use a commit, tag, checkout, reset, or branch movement as checkpoint storage.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. Resolve one section ID from the outline and read its prior context, summary, and decisions before proposing updates; reject ambiguity.
25
25
  2. Elicit the section purpose, boundaries, claims, examples, evidence needs, exclusions, and discretionary choices.
26
- 3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record.
26
+ 3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record. The linked context marks the discussion as done: leave the section's status as it is, since no status means discussed.
27
27
 
28
28
  ## Safety and completion
29
29