wtf-p 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (471) hide show
  1. package/README.md +10 -10
  2. package/bin/lib/adapter-compiler.js +154 -35
  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/checkpoint.json +10 -1
  7. package/protocol/actions/execute-outline.json +10 -2
  8. package/protocol/actions/export-latex.json +15 -2
  9. package/protocol/actions/plan-revision.json +17 -4
  10. package/protocol/actions/polish-prose.json +13 -3
  11. package/protocol/actions/research-gap.json +16 -3
  12. package/protocol/actions/verify-work.json +7 -2
  13. package/protocol/project/README.md +37 -0
  14. package/protocol/project/schemas/interaction.schema.json +100 -0
  15. package/protocol/project/templates/interaction.json +16 -0
  16. package/protocol/skills/wtfp-deliver-research/SKILL.md +1 -1
  17. package/protocol/skills/wtfp-deliver-research/references/actions.md +2 -2
  18. package/protocol/skills/wtfp-plan-section/SKILL.md +1 -1
  19. package/protocol/skills/wtfp-plan-section/references/actions.md +4 -3
  20. package/protocol/skills/wtfp-research-literature/SKILL.md +1 -1
  21. package/protocol/skills/wtfp-review-manuscript/SKILL.md +1 -1
  22. package/protocol/skills/wtfp-write-section/SKILL.md +1 -1
  23. package/protocol/skills/wtfp-write-section/references/actions.md +1 -1
  24. package/protocol/workflows/checkpoint.md +2 -2
  25. package/protocol/workflows/execute-outline.md +2 -2
  26. package/protocol/workflows/export-latex.md +4 -4
  27. package/protocol/workflows/plan-revision.md +4 -3
  28. package/protocol/workflows/plan-section.md +2 -2
  29. package/protocol/workflows/polish-prose.md +3 -3
  30. package/protocol/workflows/research-gap.md +2 -2
  31. package/protocol/workflows/verify-work.md +3 -3
  32. package/protocol/workflows/write-section.md +2 -2
  33. package/vendors/antigravity/.wtfp-generated.json +172 -172
  34. package/vendors/antigravity/actions/checkpoint.json +10 -1
  35. package/vendors/antigravity/actions/execute-outline.json +10 -2
  36. package/vendors/antigravity/actions/export-latex.json +15 -2
  37. package/vendors/antigravity/actions/plan-revision.json +17 -4
  38. package/vendors/antigravity/actions/polish-prose.json +13 -3
  39. package/vendors/antigravity/actions/research-gap.json +16 -3
  40. package/vendors/antigravity/actions/verify-work.json +7 -2
  41. package/vendors/antigravity/plugin.json +2 -1
  42. package/vendors/antigravity/project/README.md +37 -0
  43. package/vendors/antigravity/project/schemas/interaction.schema.json +100 -0
  44. package/vendors/antigravity/project/templates/interaction.json +16 -0
  45. package/vendors/antigravity/rules/wtfp-project-state.md +41 -1
  46. package/vendors/antigravity/{commands/wtfp-add-todo.md → skills/wtfp-add-todo/SKILL.md} +2 -1
  47. package/vendors/antigravity/{commands/wtfp-analyze-bib.md → skills/wtfp-analyze-bib/SKILL.md} +2 -1
  48. package/vendors/antigravity/{commands/wtfp-audit-milestone.md → skills/wtfp-audit-milestone/SKILL.md} +2 -1
  49. package/vendors/antigravity/{commands/wtfp-check-refs.md → skills/wtfp-check-refs/SKILL.md} +2 -1
  50. package/vendors/antigravity/{commands/wtfp-check-todos.md → skills/wtfp-check-todos/SKILL.md} +2 -1
  51. package/vendors/antigravity/{commands/wtfp-checkpoint.md → skills/wtfp-checkpoint/SKILL.md} +4 -3
  52. package/vendors/antigravity/{commands/wtfp-contribute.md → skills/wtfp-contribute/SKILL.md} +2 -1
  53. package/vendors/antigravity/{commands/wtfp-create-outline.md → skills/wtfp-create-outline/SKILL.md} +2 -1
  54. package/vendors/antigravity/{commands/wtfp-create-poster.md → skills/wtfp-create-poster/SKILL.md} +2 -1
  55. package/vendors/antigravity/{commands/wtfp-create-slides.md → skills/wtfp-create-slides/SKILL.md} +2 -1
  56. package/vendors/antigravity/skills/wtfp-deliver-research/SKILL.md +1 -1
  57. package/vendors/antigravity/skills/wtfp-deliver-research/references/actions.md +2 -2
  58. package/vendors/antigravity/{commands/wtfp-discuss-section.md → skills/wtfp-discuss-section/SKILL.md} +2 -1
  59. package/vendors/antigravity/{commands/wtfp-execute-outline.md → skills/wtfp-execute-outline/SKILL.md} +4 -3
  60. package/vendors/antigravity/{commands/wtfp-export-latex.md → skills/wtfp-export-latex/SKILL.md} +2 -1
  61. package/vendors/antigravity/{commands/wtfp-help.md → skills/wtfp-help/SKILL.md} +3 -2
  62. package/vendors/antigravity/{commands/wtfp-insert-section.md → skills/wtfp-insert-section/SKILL.md} +2 -1
  63. package/vendors/antigravity/{commands/wtfp-list-assumptions.md → skills/wtfp-list-assumptions/SKILL.md} +2 -1
  64. package/vendors/antigravity/{commands/wtfp-map-project.md → skills/wtfp-map-project/SKILL.md} +2 -1
  65. package/vendors/antigravity/{commands/wtfp-new-paper.md → skills/wtfp-new-paper/SKILL.md} +2 -1
  66. package/vendors/antigravity/{commands/wtfp-pause-writing.md → skills/wtfp-pause-writing/SKILL.md} +2 -1
  67. package/vendors/antigravity/{commands/wtfp-plan-milestone-gaps.md → skills/wtfp-plan-milestone-gaps/SKILL.md} +2 -1
  68. package/vendors/antigravity/{commands/wtfp-plan-revision.md → skills/wtfp-plan-revision/SKILL.md} +10 -4
  69. package/vendors/antigravity/skills/wtfp-plan-section/SKILL.md +1 -1
  70. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +4 -3
  71. package/vendors/antigravity/{commands/wtfp-polish-prose.md → skills/wtfp-polish-prose/SKILL.md} +9 -4
  72. package/vendors/antigravity/{commands/wtfp-progress.md → skills/wtfp-progress/SKILL.md} +2 -1
  73. package/vendors/antigravity/{commands/wtfp-quick.md → skills/wtfp-quick/SKILL.md} +2 -1
  74. package/vendors/antigravity/{commands/wtfp-remove-section.md → skills/wtfp-remove-section/SKILL.md} +2 -1
  75. package/vendors/antigravity/{commands/wtfp-report-bug.md → skills/wtfp-report-bug/SKILL.md} +2 -1
  76. package/vendors/antigravity/{commands/wtfp-request-feature.md → skills/wtfp-request-feature/SKILL.md} +2 -1
  77. package/vendors/antigravity/{commands/wtfp-research-gap.md → skills/wtfp-research-gap/SKILL.md} +2 -1
  78. package/vendors/antigravity/skills/wtfp-research-literature/SKILL.md +1 -1
  79. package/vendors/antigravity/{commands/wtfp-resume-writing.md → skills/wtfp-resume-writing/SKILL.md} +2 -1
  80. package/vendors/antigravity/skills/wtfp-review-manuscript/SKILL.md +1 -1
  81. package/vendors/antigravity/{commands/wtfp-review-section.md → skills/wtfp-review-section/SKILL.md} +2 -1
  82. package/vendors/antigravity/{commands/wtfp-settings.md → skills/wtfp-settings/SKILL.md} +2 -1
  83. package/vendors/antigravity/{commands/wtfp-submit-milestone.md → skills/wtfp-submit-milestone/SKILL.md} +2 -1
  84. package/vendors/antigravity/{commands/wtfp-update.md → skills/wtfp-update/SKILL.md} +2 -1
  85. package/vendors/antigravity/{commands/wtfp-verify-work.md → skills/wtfp-verify-work/SKILL.md} +5 -4
  86. package/vendors/antigravity/skills/wtfp-write-section/SKILL.md +1 -1
  87. package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +1 -1
  88. package/vendors/antigravity/workflows/checkpoint.md +2 -2
  89. package/vendors/antigravity/workflows/execute-outline.md +2 -2
  90. package/vendors/antigravity/workflows/export-latex.md +4 -4
  91. package/vendors/antigravity/workflows/plan-revision.md +4 -3
  92. package/vendors/antigravity/workflows/plan-section.md +2 -2
  93. package/vendors/antigravity/workflows/polish-prose.md +3 -3
  94. package/vendors/antigravity/workflows/research-gap.md +2 -2
  95. package/vendors/antigravity/workflows/verify-work.md +3 -3
  96. package/vendors/antigravity/workflows/write-section.md +2 -2
  97. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  98. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  99. package/vendors/claude/.wtfp-generated.json +84 -76
  100. package/vendors/claude/actions/checkpoint.json +10 -1
  101. package/vendors/claude/actions/execute-outline.json +10 -2
  102. package/vendors/claude/actions/export-latex.json +15 -2
  103. package/vendors/claude/actions/plan-revision.json +17 -4
  104. package/vendors/claude/actions/polish-prose.json +13 -3
  105. package/vendors/claude/actions/research-gap.json +16 -3
  106. package/vendors/claude/actions/verify-work.json +7 -2
  107. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
  108. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
  109. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
  110. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
  111. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-draft-review.md +1 -1
  112. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-plan-section.md +1 -1
  113. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +8 -0
  114. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +22 -0
  115. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -0
  116. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +22 -0
  117. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +9 -0
  118. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +11 -2
  119. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +21 -0
  120. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
  121. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
  122. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +9 -0
  123. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +24 -3
  124. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +14 -4
  125. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
  126. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +9 -0
  127. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
  128. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/map-project.md +8 -0
  129. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +9 -0
  130. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +8 -0
  131. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +9 -0
  132. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +17 -3
  133. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +24 -3
  134. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +28 -3
  135. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
  136. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +21 -0
  137. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +25 -2
  138. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +9 -0
  139. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +19 -1
  140. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +9 -0
  141. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +9 -0
  142. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +12 -3
  143. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +24 -3
  144. package/vendors/claude/commands/checkpoint.md +2 -2
  145. package/vendors/claude/commands/execute-outline.md +2 -2
  146. package/vendors/claude/commands/export-latex.md +4 -4
  147. package/vendors/claude/commands/plan-revision.md +8 -3
  148. package/vendors/claude/commands/plan-section.md +2 -2
  149. package/vendors/claude/commands/polish-prose.md +7 -3
  150. package/vendors/claude/commands/research-gap.md +2 -2
  151. package/vendors/claude/commands/verify-work.md +3 -3
  152. package/vendors/claude/commands/write-section.md +2 -2
  153. package/vendors/claude/output-styles/wtfp-academic-writing.md +5 -5
  154. package/vendors/claude/plugin.json +1 -1
  155. package/vendors/claude/project/README.md +37 -0
  156. package/vendors/claude/project/schemas/interaction.schema.json +100 -0
  157. package/vendors/claude/project/templates/interaction.json +16 -0
  158. package/vendors/claude/skills/wtfp-deliver-research/SKILL.md +1 -1
  159. package/vendors/claude/skills/wtfp-deliver-research/references/actions.md +2 -2
  160. package/vendors/claude/skills/wtfp-plan-section/SKILL.md +1 -1
  161. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +4 -3
  162. package/vendors/claude/skills/wtfp-research-literature/SKILL.md +1 -1
  163. package/vendors/claude/skills/wtfp-review-manuscript/SKILL.md +1 -1
  164. package/vendors/claude/skills/wtfp-write-section/SKILL.md +1 -1
  165. package/vendors/claude/skills/wtfp-write-section/references/actions.md +1 -1
  166. package/vendors/claude/workflows/checkpoint.md +2 -2
  167. package/vendors/claude/workflows/execute-outline.md +2 -2
  168. package/vendors/claude/workflows/export-latex.md +4 -4
  169. package/vendors/claude/workflows/plan-revision.md +4 -3
  170. package/vendors/claude/workflows/plan-section.md +2 -2
  171. package/vendors/claude/workflows/polish-prose.md +3 -3
  172. package/vendors/claude/workflows/research-gap.md +2 -2
  173. package/vendors/claude/workflows/verify-work.md +3 -3
  174. package/vendors/claude/workflows/write-section.md +2 -2
  175. package/vendors/clio-extension/.wtfp-generated.json +25 -13
  176. package/vendors/clio-extension/actions/checkpoint.json +10 -1
  177. package/vendors/clio-extension/actions/execute-outline.json +10 -2
  178. package/vendors/clio-extension/actions/export-latex.json +15 -2
  179. package/vendors/clio-extension/actions/plan-revision.json +17 -4
  180. package/vendors/clio-extension/actions/polish-prose.json +13 -3
  181. package/vendors/clio-extension/actions/research-gap.json +16 -3
  182. package/vendors/clio-extension/actions/verify-work.json +7 -2
  183. package/vendors/clio-extension/clio-coder-extension.yaml +33 -10
  184. package/vendors/clio-extension/compatibility/action-availability.json +2 -2
  185. package/vendors/clio-extension/project/schemas/interaction.schema.json +100 -0
  186. package/vendors/clio-extension/runtime/claim-coverage.cjs +332 -0
  187. package/vendors/clio-extension/runtime/desk-trust.cjs +112 -0
  188. package/vendors/clio-extension/runtime/extension.test.ts +1385 -66
  189. package/vendors/clio-extension/runtime/extension.ts +2226 -473
  190. package/vendors/clio-extension/runtime/write-guard.json +563 -18
  191. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  192. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +36 -28
  193. package/vendors/codex/plugins/wtfp/actions/checkpoint.json +10 -1
  194. package/vendors/codex/plugins/wtfp/actions/execute-outline.json +10 -2
  195. package/vendors/codex/plugins/wtfp/actions/export-latex.json +15 -2
  196. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +17 -4
  197. package/vendors/codex/plugins/wtfp/actions/polish-prose.json +13 -3
  198. package/vendors/codex/plugins/wtfp/actions/research-gap.json +16 -3
  199. package/vendors/codex/plugins/wtfp/actions/verify-work.json +7 -2
  200. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  201. package/vendors/codex/plugins/wtfp/project/README.md +37 -0
  202. package/vendors/codex/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  203. package/vendors/codex/plugins/wtfp/project/templates/interaction.json +16 -0
  204. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  205. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  206. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  207. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  208. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  209. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  210. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  211. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  212. package/vendors/codex/plugins/wtfp/workflows/checkpoint.md +2 -2
  213. package/vendors/codex/plugins/wtfp/workflows/execute-outline.md +2 -2
  214. package/vendors/codex/plugins/wtfp/workflows/export-latex.md +4 -4
  215. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +4 -3
  216. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +2 -2
  217. package/vendors/codex/plugins/wtfp/workflows/polish-prose.md +3 -3
  218. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +2 -2
  219. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +3 -3
  220. package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
  221. package/vendors/copilot/.wtfp-generated.json +43 -35
  222. package/vendors/copilot/marketplace.json +2 -2
  223. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  224. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +42 -34
  225. package/vendors/copilot/plugins/wtfp/actions/checkpoint.json +10 -1
  226. package/vendors/copilot/plugins/wtfp/actions/execute-outline.json +10 -2
  227. package/vendors/copilot/plugins/wtfp/actions/export-latex.json +15 -2
  228. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +17 -4
  229. package/vendors/copilot/plugins/wtfp/actions/polish-prose.json +13 -3
  230. package/vendors/copilot/plugins/wtfp/actions/research-gap.json +16 -3
  231. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +7 -2
  232. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +2 -2
  233. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +2 -2
  234. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +8 -3
  235. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +2 -2
  236. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +7 -3
  237. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +3 -3
  238. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -2
  239. package/vendors/copilot/plugins/wtfp/project/README.md +37 -0
  240. package/vendors/copilot/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  241. package/vendors/copilot/plugins/wtfp/project/templates/interaction.json +16 -0
  242. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  243. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  244. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  245. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  246. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  247. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  248. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  249. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  250. package/vendors/copilot/plugins/wtfp/workflows/checkpoint.md +2 -2
  251. package/vendors/copilot/plugins/wtfp/workflows/execute-outline.md +2 -2
  252. package/vendors/copilot/plugins/wtfp/workflows/export-latex.md +4 -4
  253. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +4 -3
  254. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +2 -2
  255. package/vendors/copilot/plugins/wtfp/workflows/polish-prose.md +3 -3
  256. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +2 -2
  257. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +3 -3
  258. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
  259. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/SKILL.md +1 -1
  260. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/references/actions.md +2 -2
  261. package/vendors/copilot/project/.github/skills/wtfp-plan-section/SKILL.md +1 -1
  262. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +4 -3
  263. package/vendors/copilot/project/.github/skills/wtfp-research-literature/SKILL.md +1 -1
  264. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/SKILL.md +1 -1
  265. package/vendors/copilot/project/.github/skills/wtfp-write-section/SKILL.md +1 -1
  266. package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +1 -1
  267. package/vendors/copilot/project/.github/wtfp/actions/checkpoint.json +10 -1
  268. package/vendors/copilot/project/.github/wtfp/actions/execute-outline.json +10 -2
  269. package/vendors/copilot/project/.github/wtfp/actions/export-latex.json +15 -2
  270. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +17 -4
  271. package/vendors/copilot/project/.github/wtfp/actions/polish-prose.json +13 -3
  272. package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +16 -3
  273. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +7 -2
  274. package/vendors/copilot/project/.github/wtfp/project/README.md +37 -0
  275. package/vendors/copilot/project/.github/wtfp/project/schemas/interaction.schema.json +100 -0
  276. package/vendors/copilot/project/.github/wtfp/project/templates/interaction.json +16 -0
  277. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  278. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  279. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  280. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  281. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  282. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  283. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  284. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  285. package/vendors/copilot/project/.github/wtfp/workflows/checkpoint.md +2 -2
  286. package/vendors/copilot/project/.github/wtfp/workflows/execute-outline.md +2 -2
  287. package/vendors/copilot/project/.github/wtfp/workflows/export-latex.md +4 -4
  288. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +4 -3
  289. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +2 -2
  290. package/vendors/copilot/project/.github/wtfp/workflows/polish-prose.md +3 -3
  291. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +2 -2
  292. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +3 -3
  293. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
  294. package/vendors/gemini/.wtfp-generated.json +61 -53
  295. package/vendors/gemini/actions/checkpoint.json +10 -1
  296. package/vendors/gemini/actions/execute-outline.json +10 -2
  297. package/vendors/gemini/actions/export-latex.json +15 -2
  298. package/vendors/gemini/actions/plan-revision.json +17 -4
  299. package/vendors/gemini/actions/polish-prose.json +13 -3
  300. package/vendors/gemini/actions/research-gap.json +16 -3
  301. package/vendors/gemini/actions/verify-work.json +7 -2
  302. package/vendors/gemini/commands/wtfp/add-todo.toml +37 -0
  303. package/vendors/gemini/commands/wtfp/check-todos.toml +37 -0
  304. package/vendors/gemini/commands/wtfp/checkpoint.toml +49 -3
  305. package/vendors/gemini/commands/wtfp/create-outline.toml +37 -0
  306. package/vendors/gemini/commands/wtfp/create-poster.toml +40 -3
  307. package/vendors/gemini/commands/wtfp/create-slides.toml +40 -3
  308. package/vendors/gemini/commands/wtfp/discuss-section.toml +42 -4
  309. package/vendors/gemini/commands/wtfp/execute-outline.toml +51 -6
  310. package/vendors/gemini/commands/wtfp/help.toml +37 -0
  311. package/vendors/gemini/commands/wtfp/insert-section.toml +42 -4
  312. package/vendors/gemini/commands/wtfp/list-assumptions.toml +42 -4
  313. package/vendors/gemini/commands/wtfp/map-project.toml +37 -0
  314. package/vendors/gemini/commands/wtfp/new-paper.toml +37 -0
  315. package/vendors/gemini/commands/wtfp/pause-writing.toml +37 -0
  316. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +38 -1
  317. package/vendors/gemini/commands/wtfp/plan-revision.toml +310 -11
  318. package/vendors/gemini/commands/wtfp/plan-section.toml +44 -6
  319. package/vendors/gemini/commands/wtfp/polish-prose.toml +281 -7
  320. package/vendors/gemini/commands/wtfp/progress.toml +37 -0
  321. package/vendors/gemini/commands/wtfp/quick.toml +39 -2
  322. package/vendors/gemini/commands/wtfp/resume-writing.toml +37 -0
  323. package/vendors/gemini/commands/wtfp/review-section.toml +38 -1
  324. package/vendors/gemini/commands/wtfp/settings.toml +37 -0
  325. package/vendors/gemini/commands/wtfp/submit-milestone.toml +40 -3
  326. package/vendors/gemini/commands/wtfp/verify-work.toml +48 -6
  327. package/vendors/gemini/commands/wtfp/write-section.toml +41 -4
  328. package/vendors/gemini/gemini-extension.json +1 -1
  329. package/vendors/gemini/project/README.md +37 -0
  330. package/vendors/gemini/project/schemas/interaction.schema.json +100 -0
  331. package/vendors/gemini/project/templates/interaction.json +16 -0
  332. package/vendors/gemini/skills/wtfp-deliver-research/SKILL.md +1 -1
  333. package/vendors/gemini/skills/wtfp-deliver-research/references/actions.md +2 -2
  334. package/vendors/gemini/skills/wtfp-plan-section/SKILL.md +1 -1
  335. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +4 -3
  336. package/vendors/gemini/skills/wtfp-research-literature/SKILL.md +1 -1
  337. package/vendors/gemini/skills/wtfp-review-manuscript/SKILL.md +1 -1
  338. package/vendors/gemini/skills/wtfp-write-section/SKILL.md +1 -1
  339. package/vendors/gemini/skills/wtfp-write-section/references/actions.md +1 -1
  340. package/vendors/gemini/workflows/checkpoint.md +2 -2
  341. package/vendors/gemini/workflows/execute-outline.md +2 -2
  342. package/vendors/gemini/workflows/export-latex.md +4 -4
  343. package/vendors/gemini/workflows/plan-revision.md +4 -3
  344. package/vendors/gemini/workflows/plan-section.md +2 -2
  345. package/vendors/gemini/workflows/polish-prose.md +3 -3
  346. package/vendors/gemini/workflows/research-gap.md +2 -2
  347. package/vendors/gemini/workflows/verify-work.md +3 -3
  348. package/vendors/gemini/workflows/write-section.md +2 -2
  349. package/vendors/opencode/.wtfp-generated.json +60 -52
  350. package/vendors/opencode/actions/checkpoint.json +10 -1
  351. package/vendors/opencode/actions/execute-outline.json +10 -2
  352. package/vendors/opencode/actions/export-latex.json +15 -2
  353. package/vendors/opencode/actions/plan-revision.json +17 -4
  354. package/vendors/opencode/actions/polish-prose.json +13 -3
  355. package/vendors/opencode/actions/research-gap.json +16 -3
  356. package/vendors/opencode/actions/verify-work.json +7 -2
  357. package/vendors/opencode/commands/wtfp/add-todo.md +37 -0
  358. package/vendors/opencode/commands/wtfp/check-todos.md +37 -0
  359. package/vendors/opencode/commands/wtfp/checkpoint.md +49 -3
  360. package/vendors/opencode/commands/wtfp/create-outline.md +37 -0
  361. package/vendors/opencode/commands/wtfp/create-poster.md +40 -3
  362. package/vendors/opencode/commands/wtfp/create-slides.md +40 -3
  363. package/vendors/opencode/commands/wtfp/discuss-section.md +42 -4
  364. package/vendors/opencode/commands/wtfp/execute-outline.md +51 -6
  365. package/vendors/opencode/commands/wtfp/help.md +37 -0
  366. package/vendors/opencode/commands/wtfp/insert-section.md +42 -4
  367. package/vendors/opencode/commands/wtfp/list-assumptions.md +42 -4
  368. package/vendors/opencode/commands/wtfp/map-project.md +37 -0
  369. package/vendors/opencode/commands/wtfp/new-paper.md +37 -0
  370. package/vendors/opencode/commands/wtfp/pause-writing.md +37 -0
  371. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +38 -1
  372. package/vendors/opencode/commands/wtfp/plan-revision.md +310 -11
  373. package/vendors/opencode/commands/wtfp/plan-section.md +44 -6
  374. package/vendors/opencode/commands/wtfp/polish-prose.md +281 -7
  375. package/vendors/opencode/commands/wtfp/progress.md +37 -0
  376. package/vendors/opencode/commands/wtfp/quick.md +39 -2
  377. package/vendors/opencode/commands/wtfp/resume-writing.md +37 -0
  378. package/vendors/opencode/commands/wtfp/review-section.md +38 -1
  379. package/vendors/opencode/commands/wtfp/settings.md +37 -0
  380. package/vendors/opencode/commands/wtfp/submit-milestone.md +40 -3
  381. package/vendors/opencode/commands/wtfp/verify-work.md +48 -6
  382. package/vendors/opencode/commands/wtfp/write-section.md +41 -4
  383. package/vendors/opencode/project/README.md +37 -0
  384. package/vendors/opencode/project/schemas/interaction.schema.json +100 -0
  385. package/vendors/opencode/project/templates/interaction.json +16 -0
  386. package/vendors/opencode/skills/wtfp-deliver-research/SKILL.md +1 -1
  387. package/vendors/opencode/skills/wtfp-deliver-research/references/actions.md +2 -2
  388. package/vendors/opencode/skills/wtfp-plan-section/SKILL.md +1 -1
  389. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +4 -3
  390. package/vendors/opencode/skills/wtfp-research-literature/SKILL.md +1 -1
  391. package/vendors/opencode/skills/wtfp-review-manuscript/SKILL.md +1 -1
  392. package/vendors/opencode/skills/wtfp-write-section/SKILL.md +1 -1
  393. package/vendors/opencode/skills/wtfp-write-section/references/actions.md +1 -1
  394. package/vendors/opencode/workflows/checkpoint.md +2 -2
  395. package/vendors/opencode/workflows/execute-outline.md +2 -2
  396. package/vendors/opencode/workflows/export-latex.md +4 -4
  397. package/vendors/opencode/workflows/plan-revision.md +4 -3
  398. package/vendors/opencode/workflows/plan-section.md +2 -2
  399. package/vendors/opencode/workflows/polish-prose.md +3 -3
  400. package/vendors/opencode/workflows/research-gap.md +2 -2
  401. package/vendors/opencode/workflows/verify-work.md +3 -3
  402. package/vendors/opencode/workflows/write-section.md +2 -2
  403. package/vendors/plugin/.wtfp-generated.json +73 -65
  404. package/vendors/plugin/actions/checkpoint.json +10 -1
  405. package/vendors/plugin/actions/execute-outline.json +10 -2
  406. package/vendors/plugin/actions/export-latex.json +15 -2
  407. package/vendors/plugin/actions/plan-revision.json +17 -4
  408. package/vendors/plugin/actions/polish-prose.json +13 -3
  409. package/vendors/plugin/actions/research-gap.json +16 -3
  410. package/vendors/plugin/actions/verify-work.json +7 -2
  411. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
  412. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
  413. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
  414. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
  415. package/vendors/plugin/ai.iowarp.clio/playbooks/wtfp-draft-review.md +1 -1
  416. package/vendors/plugin/ai.iowarp.clio/playbooks/wtfp-plan-section.md +1 -1
  417. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +15 -2
  418. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +30 -3
  419. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +18 -3
  420. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +30 -3
  421. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +17 -3
  422. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +19 -5
  423. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +29 -3
  424. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
  425. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
  426. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +17 -3
  427. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +33 -6
  428. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +26 -21
  429. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
  430. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +17 -3
  431. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
  432. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +15 -2
  433. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +17 -3
  434. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +15 -2
  435. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +17 -3
  436. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +25 -18
  437. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +32 -6
  438. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +33 -6
  439. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
  440. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +30 -3
  441. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +33 -5
  442. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +17 -3
  443. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +27 -4
  444. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +17 -3
  445. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +17 -3
  446. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +20 -6
  447. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +33 -6
  448. package/vendors/plugin/compatibility/action-availability.json +2 -2
  449. package/vendors/plugin/plugin.json +2 -2
  450. package/vendors/plugin/project/README.md +37 -0
  451. package/vendors/plugin/project/schemas/interaction.schema.json +100 -0
  452. package/vendors/plugin/project/templates/interaction.json +16 -0
  453. package/vendors/plugin/skills/wtfp-deliver-research/SKILL.md +1 -1
  454. package/vendors/plugin/skills/wtfp-deliver-research/references/actions.md +2 -2
  455. package/vendors/plugin/skills/wtfp-plan-section/SKILL.md +1 -1
  456. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +4 -3
  457. package/vendors/plugin/skills/wtfp-research-literature/SKILL.md +1 -1
  458. package/vendors/plugin/skills/wtfp-review-manuscript/SKILL.md +1 -1
  459. package/vendors/plugin/skills/wtfp-write-section/SKILL.md +1 -1
  460. package/vendors/plugin/skills/wtfp-write-section/references/actions.md +1 -1
  461. package/vendors/plugin/workflows/checkpoint.md +2 -2
  462. package/vendors/plugin/workflows/execute-outline.md +2 -2
  463. package/vendors/plugin/workflows/export-latex.md +4 -4
  464. package/vendors/plugin/workflows/plan-revision.md +4 -3
  465. package/vendors/plugin/workflows/plan-section.md +2 -2
  466. package/vendors/plugin/workflows/polish-prose.md +3 -3
  467. package/vendors/plugin/workflows/research-gap.md +2 -2
  468. package/vendors/plugin/workflows/verify-work.md +3 -3
  469. package/vendors/plugin/workflows/write-section.md +2 -2
  470. package/vendors/antigravity/commands/wtfp-plan-section.md +0 -78
  471. package/vendors/antigravity/commands/wtfp-write-section.md +0 -77
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:insert-section
2
+ name: wtfp-insert-section
3
+ disable-model-invocation: true
3
4
  description: "Insert a newly discovered section while preserving established numbering and dependencies."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:list-assumptions
2
+ name: wtfp-list-assumptions
3
+ disable-model-invocation: true
3
4
  description: "Preview the intended approach and assumptions for a section without changing project files."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:map-project
2
+ name: wtfp-map-project
3
+ disable-model-invocation: true
3
4
  description: "Index existing drafts, data, figures, and references into portable project state."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:new-paper
2
+ name: wtfp-new-paper
3
+ disable-model-invocation: true
3
4
  description: "Interview the researcher and initialize a portable WTF-P project."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:pause-writing
2
+ name: wtfp-pause-writing
3
+ disable-model-invocation: true
3
4
  description: "Record an exact context handoff so another session can resume without reconstructing intent."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:plan-milestone-gaps
2
+ name: wtfp-plan-milestone-gaps
3
+ disable-model-invocation: true
3
4
  description: "Convert milestone audit failures into targeted, verifiable fix plans."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:plan-revision
2
+ name: wtfp-plan-revision
3
+ disable-model-invocation: true
3
4
  description: "Turn prioritized review findings into a bounded, testable revision plan."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -19,8 +20,8 @@ allowed-tools:
19
20
 
20
21
  ## Record contract
21
22
 
22
- Read: `project://manifest`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
23
- Produce: `project://sections/{section}/plans/{plan}` (create).
23
+ Read: `project://manifest`, `project://config`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
24
+ Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update).
24
25
 
25
26
  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.
26
27
 
@@ -30,7 +31,8 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
30
31
 
31
32
  1. Resolve manifest requirements, the selected section, linked review or failed validation findings, prior summary, current draft, original plan, and decisions.
32
33
  2. Separate required fixes, optional improvements, protected text, dependencies, and verification criteria.
33
- 3. Write a new immutable plan artifact after approval; never overwrite the plan that produced the reviewed draft.
34
+ 3. Write a new immutable plan artifact after the author approves the revision priorities; never overwrite the plan that produced the reviewed draft.
35
+ 4. 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 ask the author. Append the plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; any other answer leaves the earlier plan current and the revision unlinked. With confirm_plan off, append it directly.
34
36
 
35
37
  ## Safety and completion
36
38
 
@@ -42,6 +44,10 @@ Report the logical resources read, created, updated, archived, or deleted; the g
42
44
 
43
45
  @${PLUGIN_ROOT}/actions/plan-revision.json
44
46
  @${PLUGIN_ROOT}/project/schemas/common.schema.json
47
+ @${PLUGIN_ROOT}/project/schemas/checkpoint.schema.json
48
+ @${PLUGIN_ROOT}/project/templates/checkpoint.json
49
+ @${PLUGIN_ROOT}/project/schemas/config.schema.json
50
+ @${PLUGIN_ROOT}/project/templates/config.json
45
51
  @${PLUGIN_ROOT}/project/schemas/decisions.schema.json
46
52
  @${PLUGIN_ROOT}/project/templates/decisions.json
47
53
  @${PLUGIN_ROOT}/project/schemas/manifest.schema.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
@@ -62,7 +62,7 @@ Contract: [protocol/actions/plan-section.json](../../../actions/plan-section.jso
62
62
  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.
63
63
  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.
64
64
  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.
65
- 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.
65
+ 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.
66
66
  6. Summarize the section goal, claims, evidence, manuscript artifact, dependencies, and open decisions at `config.gates.confirm_plan`.
67
67
  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:
68
68
  - stable section and plan identifiers;
@@ -77,7 +77,7 @@ Contract: [protocol/actions/plan-section.json](../../../actions/plan-section.jso
77
77
  9. Estimate words by rhetorical function and reconcile the total with the section budget.
78
78
  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.
79
79
  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.
80
- 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.
80
+ 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.
81
81
 
82
82
  Completion requires an executable plan whose tasks are sufficient for its success criteria and whose evidence obligations are explicit.
83
83
 
@@ -98,8 +98,9 @@ Contract: [protocol/actions/plan-revision.json](../../../actions/plan-revision.j
98
98
  - expected revised manuscript and revision summary.
99
99
  6. Never prescribe a cosmetic rewrite for an evidence or argument defect. Route missing evidence to research and structural defects to explicit author approval.
100
100
  7. Validate that every selected issue is addressed once and every excluded issue remains visible.
101
+ 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; the plan that produced the reviewed draft is never edited and remains in the history.
101
102
 
102
- Completion requires a targeted, traceable path from finding to fix to re-verification.
103
+ Completion requires a targeted, traceable path from finding to fix to re-verification, and a revision plan the author approved before any rewrite.
103
104
 
104
105
  ## `insert-section`
105
106
 
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:polish-prose
2
+ name: wtfp-polish-prose
3
+ disable-model-invocation: true
3
4
  description: "Improve clarity, flow, precision, and academic voice without changing supported claims."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -20,8 +21,8 @@ allowed-tools:
20
21
 
21
22
  ## Record contract
22
23
 
23
- Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`.
24
- Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create).
24
+ Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`, `project://sections/{section}`, `project://state`.
25
+ Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create), `project://sections/{section}` (update), `project://state` (update).
25
26
 
26
27
  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.
27
28
 
@@ -31,7 +32,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
31
32
 
32
33
  1. Require an explicit manuscript selection and preserve claims, evidence meaning, citations, author voice, and protected text.
33
34
  2. Propose substantive changes separately from mechanical edits and gate the substantive diff.
34
- 3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects.
35
+ 3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects. When the edited text is a section's linked manuscript, measure it again and reconcile that section's and the state's word counts.
35
36
 
36
37
  ## Safety and completion
37
38
 
@@ -49,6 +50,10 @@ Report the logical resources read, created, updated, archived, or deleted; the g
49
50
  @${PLUGIN_ROOT}/project/templates/decisions.json
50
51
  @${PLUGIN_ROOT}/project/schemas/manifest.schema.json
51
52
  @${PLUGIN_ROOT}/project/templates/manifest.json
53
+ @${PLUGIN_ROOT}/project/schemas/section.schema.json
54
+ @${PLUGIN_ROOT}/project/templates/section.json
55
+ @${PLUGIN_ROOT}/project/schemas/state.schema.json
56
+ @${PLUGIN_ROOT}/project/templates/state.json
52
57
  @${PLUGIN_ROOT}/project/schemas/validation.schema.json
53
58
  @${PLUGIN_ROOT}/project/templates/validation.json
54
59
 
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:progress
2
+ name: wtfp-progress
3
+ disable-model-invocation: true
3
4
  description: "Summarize writing progress, surface blockers, and recommend the next compatible action."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:quick
2
+ name: wtfp-quick
3
+ disable-model-invocation: true
3
4
  description: "Apply a small, bounded writing fix with minimal planning overhead and state tracking."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:remove-section
2
+ name: wtfp-remove-section
3
+ disable-model-invocation: true
3
4
  description: "Remove an unwritten future section and repair numbering and dependencies."
4
5
  allowed-tools: []
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:report-bug
2
+ name: wtfp-report-bug
3
+ disable-model-invocation: true
3
4
  description: "Collect a reproducible bug report and publish it only after explicit user approval."
4
5
  allowed-tools: []
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:request-feature
2
+ name: wtfp-request-feature
3
+ disable-model-invocation: true
3
4
  description: "Shape a concrete feature request and publish it only after explicit user approval."
4
5
  allowed-tools: []
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:research-gap
2
+ name: wtfp-research-gap
3
+ disable-model-invocation: true
3
4
  description: "Synthesize literature, domain conventions, open gaps, and defensible positioning for a section."
4
5
  allowed-tools: []
5
6
  ---
@@ -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
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:resume-writing
2
+ name: wtfp-resume-writing
3
+ disable-model-invocation: true
3
4
  description: "Restore the latest portable handoff and route the researcher to the next safe action."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -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
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:review-section
2
+ name: wtfp-review-section
3
+ disable-model-invocation: true
3
4
  description: "Review a drafted section for evidence, citations, coherence, requirements, and reader expectations."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:settings
2
+ name: wtfp-settings
3
+ disable-model-invocation: true
3
4
  description: "View and update portable project settings after presenting the exact proposed diff."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:submit-milestone
2
+ name: wtfp-submit-milestone
3
+ disable-model-invocation: true
3
4
  description: "Archive a completed draft or submission round with its reproducible project state and statistics."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:update
2
+ name: wtfp-update
3
+ disable-model-invocation: true
3
4
  description: "Check for a newer compatible package or plugin release and install it only after approval."
4
5
  allowed-tools: []
5
6
  ---
@@ -1,5 +1,6 @@
1
1
  ---
2
- name: wtfp:verify-work
2
+ name: wtfp-verify-work
3
+ disable-model-invocation: true
3
4
  description: "Test a drafted section against each plan requirement and record evidence one check at a time."
4
5
  argument-hint: "[arguments]"
5
6
  allowed-tools:
@@ -19,8 +20,8 @@ allowed-tools:
19
20
 
20
21
  ## Record contract
21
22
 
22
- Read: `project://state`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://evidence/{evidence}`, `project://paper/{artifact}`.
23
- Produce: `project://validations/{validation}` (create), `project://sections/{section}` (update), `project://state` (update).
23
+ Read: `project://state`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://evidence/{evidence}`, `project://paper/{artifact}`, `project://validations/{validation}`.
24
+ Produce: `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://sections/{section}` (update), `project://state` (update).
24
25
 
25
26
  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.
26
27
 
@@ -30,7 +31,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
30
31
 
31
32
  1. Resolve the selected plan, section record, manuscript artifact, claims, and evidence.
32
33
  2. Run acceptance, scope, citation, argument, and decision-fidelity checks without editing the subject.
33
- 3. Write a validation with passed/failed checks, issues, evidence, limitations, and next actions; reconcile status only from the result.
34
+ 3. Write a validation, updating it after each answered check, with passed/failed checks, issues, evidence, limitations, and next actions; reconcile status only from the result.
34
35
 
35
36
  ## Safety and completion
36
37
 
@@ -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.
@@ -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
 
@@ -13,7 +13,7 @@ source: wtfp.protocol
13
13
  ## Record contract
14
14
 
15
15
  Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/summary`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://checkpoints/{checkpoint}`, `project://paper/{artifact}`.
16
- Produce: `project://paper/{artifact}` (update), `project://sections/{section}/summary` (create), `project://sections/{section}/summary` (update), `project://checkpoints/{checkpoint}` (create), `project://checkpoints/{checkpoint}` (update), `project://sections/{section}` (update), `project://state` (update), `project://validations/{validation}` (create).
16
+ Produce: `project://paper/{artifact}` (create), `project://paper/{artifact}` (update), `project://sections/{section}/summary` (create), `project://sections/{section}/summary` (update), `project://checkpoints/{checkpoint}` (create), `project://checkpoints/{checkpoint}` (update), `project://sections/{section}` (update), `project://state` (update), `project://validations/{validation}` (create), `project://manifest` (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. Build waves from outline dependencies and select only sections with approved plans.
25
25
  2. Within configured parallelism, delegate bounded section work grounded in source/evidence records; create or update summaries, serialize overlapping outputs, and create or reconcile blocking checkpoints before dependent work proceeds.
26
- 3. After each wave, validate outputs and reconcile section/state records from actual artifacts. Do not create branches or commits.
26
+ 3. After each wave, validate outputs, synchronize each drafted manuscript URI in `manifest.artifacts.manuscripts`, and reconcile section/state records from actual artifacts. Do not create branches or commits.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
15
- Read: `project://manifest`, `project://config`, `project://structure/outline`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://paper/{artifact}`.
16
- Produce: `project://deliverables/latex/{artifact}` (create).
15
+ Read: `project://manifest`, `project://config`, `project://structure/outline`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://paper/{artifact}`, `project://deliverables/latex/{artifact}`.
16
+ Produce: `project://deliverables/latex/{artifact}` (create), `project://deliverables/latex/{artifact}` (update), `project://manifest` (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
 
@@ -21,9 +21,9 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
21
21
 
22
22
  ## Procedure
23
23
 
24
- 1. Confirm venue template and whether an existing deliverable may be replaced.
24
+ 1. Confirm venue template and whether an existing deliverable may be replaced; replacing one is an update and needs that answer.
25
25
  2. Convert manuscript structure, citations, figures, tables, and bibliography without inventing content or metadata.
26
- 3. Write a self-contained LaTeX deliverable and run the declared bibliography tools through the bundled dispatcher below. Bibliography entries for the deliverable come from `bib-format` in its default `bibtex` style, which emits standard entry types; never pass `--style=al-folio` for a LaTeX export, since that projection does not compile under bibtex or biber. This action does not compile LaTeX and declares no effect that would let it: if the author asks for a PDF, report the portability limitations you observed and return a labeled handoff naming the exact compile command for their own toolchain.
26
+ 3. Write a self-contained LaTeX deliverable and run the declared bibliography tools through the bundled dispatcher below. Bibliography entries for the deliverable come from `bib-format` in its default `bibtex` style, which emits standard entry types; never pass `--style=al-folio` for a LaTeX export, since that projection does not compile under bibtex or biber. Index the written deliverable in `manifest.artifacts.deliverables`. This action does not compile LaTeX and declares no effect that would let it: if the author asks for a PDF, report the portability limitations you observed and return a labeled handoff naming the exact compile command for their own toolchain.
27
27
 
28
28
  ## Bundled tool execution
29
29
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
15
- Read: `project://manifest`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
16
- Produce: `project://sections/{section}/plans/{plan}` (create).
15
+ Read: `project://manifest`, `project://config`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
16
+ Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (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,8 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
23
23
 
24
24
  1. Resolve manifest requirements, the selected section, linked review or failed validation findings, prior summary, current draft, original plan, and decisions.
25
25
  2. Separate required fixes, optional improvements, protected text, dependencies, and verification criteria.
26
- 3. Write a new immutable plan artifact after approval; never overwrite the plan that produced the reviewed draft.
26
+ 3. Write a new immutable plan artifact after the author approves the revision priorities; never overwrite the plan that produced the reviewed draft.
27
+ 4. 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 ask the author. Append the plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; any other answer leaves the earlier plan current and the revision unlinked. With confirm_plan off, append it directly.
27
28
 
28
29
  ## Safety and completion
29
30
 
@@ -24,9 +24,9 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
24
24
  1. Resolve one section record, load its linked context, research, evidence, decisions, and outline constraints, and enumerate the bounded `project://validations/*` collection before any specialist dispatch.
25
25
  2. Filter those 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.
26
26
  3. 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.
27
- 4. For a literature-heavy section, first require a section-specific research artifact plus resolvable source/evidence records that cover the planned claims. If they are absent or insufficient, run `research-gap` with the configured CiteNexus backend when available, verify candidate metadata against the returned records, and stop planning with an explicit research checkpoint if evidence remains insufficient. Never invent citations or treat search candidates as verified sources.
27
+ 4. For a literature-heavy section, first require a section-specific research artifact plus resolvable source/evidence records that cover the planned claims. If they are absent or insufficient, stop planning: create a research checkpoint naming the uncovered claims and recommend `research-gap` as the next action. Sources and evidence are `research-gap` outputs, never written by this action. Never invent citations or treat search candidates as verified sources.
28
28
  5. Only after those prerequisites pass, delegate a bounded plan to `section-planner`, then require a fresh `plan-checker` pass over claim coverage, dependencies, file scope, citations, and decision fidelity. Dispatch the exact WTF-P specialist roles; generic coder and verifier roles do not satisfy this workflow.
29
- 6. At confirm_plan, preview the plan and validation; on approval link the plan, update section status to planned, and reconcile state. Create a checkpoint for unresolved judgment instead of bypassing the required checker.
29
+ 6. At 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. Only an `approve` answer for the plan as it now is approves it; `revise` or `reject` leaves it unlinked, and any later edit voids the approval. Only on approval, append the plan to `artifacts.plans`, update section status to planned, and reconcile state. With confirm_plan off, link the checked plan directly. Create a checkpoint for unresolved judgment instead of bypassing the required checker.
30
30
 
31
31
  ## Safety and completion
32
32
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
15
- Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`.
16
- Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create).
15
+ Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`, `project://sections/{section}`, `project://state`.
16
+ Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create), `project://sections/{section}` (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. Require an explicit manuscript selection and preserve claims, evidence meaning, citations, author voice, and protected text.
25
25
  2. Propose substantive changes separately from mechanical edits and gate the substantive diff.
26
- 3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects.
26
+ 3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects. When the edited text is a section's linked manuscript, measure it again and reconcile that section's and the state's word counts.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
15
- Read: `project://manifest`, `project://config`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`, `project://sections/{section}/context`, `project://sources/{source}`, `project://evidence/{evidence}`.
16
- Produce: `project://sources/{source}` (create), `project://evidence/{evidence}` (create), `project://sections/{section}/research` (create), `project://sections/{section}` (update).
15
+ Read: `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`.
16
+ Produce: `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}` (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
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
15
- Read: `project://state`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://evidence/{evidence}`, `project://paper/{artifact}`.
16
- Produce: `project://validations/{validation}` (create), `project://sections/{section}` (update), `project://state` (update).
15
+ Read: `project://state`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://evidence/{evidence}`, `project://paper/{artifact}`, `project://validations/{validation}`.
16
+ Produce: `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://sections/{section}` (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. Resolve the selected plan, section record, manuscript artifact, claims, and evidence.
25
25
  2. Run acceptance, scope, citation, argument, and decision-fidelity checks without editing the subject.
26
- 3. Write a validation with passed/failed checks, issues, evidence, limitations, and next actions; reconcile status only from the result.
26
+ 3. Write a validation, updating it after each answered check, with passed/failed checks, issues, evidence, limitations, and next actions; reconcile status only from the result.
27
27
 
28
28
  ## Safety and completion
29
29
 
@@ -21,8 +21,8 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
21
21
 
22
22
  ## Procedure
23
23
 
24
- 1. Require one approved plan and resolve all linked context, research, source/evidence records, decisions, prior summary, existing target, and necessary neighboring prose before choosing create or update.
25
- 2. Before drafting a literature-heavy section, verify that its linked research artifact and source/evidence records cover the plan's factual claims. If coverage is missing, use the declared research workflow and pause at a checkpoint until verified records exist. Draft only the declared manuscript artifact; cite only resolvable sources, preserve author constraints, and stop at blocking decisions. A plausible bibliography entry, search candidate, or model memory is not a verified citation.
24
+ 1. Require the section's current plan, the last one linked from the section record, to be approved: with confirm_plan on, an `approve` answer on its plan checkpoint must have been given for its current bytes (see the protocol README). Resolve all linked context, research, source/evidence records, decisions, prior summary, existing target, and necessary neighboring prose before choosing create or update.
25
+ 2. Before drafting a literature-heavy section, verify that its linked research artifact and source/evidence records cover the plan's factual claims. If coverage is missing, create the declared checkpoint naming the uncovered claims and stop; `research-gap` produces the missing sources and evidence. Draft only the declared manuscript artifact; cite only resolvable sources, preserve author constraints, and stop at blocking decisions. A plausible bibliography entry, search candidate, or model memory is not a verified citation.
26
26
  3. Read the persisted manuscript text back and calculate its actual body word count with one deterministic method; never copy a worker self-report, plan target, or summary count into project records. Validate the persisted draft against its plan and word budget.
27
27
  4. Create or update the required Markdown summary with that measured count, then read back both manuscript and summary. Missing, empty, or inconsistent output is a failed completion condition, not permission to link a path that does not exist.
28
28
  5. Persist the validation, synchronize the manuscript URI in `manifest.artifacts.manuscripts`, and reconcile section/state records only after manuscript, summary, and validation readback succeeds. If blocked, create the declared checkpoint and stop; do not commit or merge automatically.
@@ -5,14 +5,14 @@
5
5
  },
6
6
  "metadata": {
7
7
  "description": "WTF-P evidence-grounded academic workflow plugin.",
8
- "version": "0.8.0"
8
+ "version": "0.8.1"
9
9
  },
10
10
  "plugins": [
11
11
  {
12
12
  "name": "wtfp",
13
13
  "source": "./",
14
14
  "description": "Portable academic research and writing workflows.",
15
- "version": "0.8.0",
15
+ "version": "0.8.1",
16
16
  "author": {
17
17
  "name": "akougkas"
18
18
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wtfp",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Portable academic research and writing workflows with stable wtfp actions.",
5
5
  "author": {
6
6
  "name": "akougkas",