wtf-p 0.8.1 → 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 (455) hide show
  1. package/README.md +33 -18
  2. package/bin/lib/adapter-compiler.js +269 -55
  3. package/package.json +1 -1
  4. package/protocol/actions/advance.json +232 -0
  5. package/protocol/actions/plan-revision.json +8 -3
  6. package/protocol/actions/verify-work.json +6 -2
  7. package/protocol/aliases.lock.json +1 -0
  8. package/protocol/catalog.json +4 -2
  9. package/protocol/project/README.md +2 -0
  10. package/protocol/roles/research-synthesizer.md +1 -1
  11. package/protocol/skills/wtfp-manage-project/SKILL.md +2 -1
  12. package/protocol/skills/wtfp-manage-project/references/actions.md +13 -1
  13. package/protocol/skills/wtfp-plan-section/references/actions.md +1 -1
  14. package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
  15. package/protocol/skills/wtfp-review-manuscript/references/actions.md +2 -1
  16. package/protocol/workflows/advance.md +38 -0
  17. package/protocol/workflows/discuss-section.md +1 -1
  18. package/protocol/workflows/plan-revision.md +3 -3
  19. package/protocol/workflows/plan-section.md +1 -1
  20. package/protocol/workflows/research-gap.md +3 -3
  21. package/protocol/workflows/verify-work.md +4 -2
  22. package/protocol/workflows/write-section.md +2 -2
  23. package/vendors/antigravity/.wtfp-generated.json +54 -42
  24. package/vendors/antigravity/actions/advance.json +232 -0
  25. package/vendors/antigravity/actions/plan-revision.json +8 -3
  26. package/vendors/antigravity/actions/verify-work.json +6 -2
  27. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
  28. package/vendors/antigravity/aliases.lock.json +1 -0
  29. package/vendors/antigravity/catalog.json +4 -2
  30. package/vendors/antigravity/compatibility/action-availability.json +13 -1
  31. package/vendors/antigravity/plugin.json +2 -2
  32. package/vendors/antigravity/project/README.md +2 -0
  33. package/vendors/antigravity/roles/research-synthesizer.md +1 -1
  34. package/vendors/antigravity/rules/wtfp-project-state.md +2 -0
  35. package/vendors/antigravity/skills/wtfp-add-todo/SKILL.md +0 -2
  36. package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
  37. package/vendors/antigravity/skills/wtfp-checkpoint/SKILL.md +0 -14
  38. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +0 -8
  39. package/vendors/antigravity/skills/wtfp-create-poster/SKILL.md +1 -6
  40. package/vendors/antigravity/skills/wtfp-create-slides/SKILL.md +1 -6
  41. package/vendors/antigravity/skills/wtfp-discuss-section/SKILL.md +1 -5
  42. package/vendors/antigravity/skills/wtfp-execute-outline/SKILL.md +0 -10
  43. package/vendors/antigravity/skills/wtfp-help/SKILL.md +1 -1
  44. package/vendors/antigravity/skills/wtfp-list-assumptions/SKILL.md +1 -10
  45. package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
  46. package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
  47. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +0 -6
  48. package/vendors/antigravity/skills/wtfp-plan-milestone-gaps/SKILL.md +0 -6
  49. package/vendors/antigravity/skills/wtfp-plan-revision/SKILL.md +5 -11
  50. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
  51. package/vendors/antigravity/skills/wtfp-polish-prose/SKILL.md +0 -6
  52. package/vendors/antigravity/skills/wtfp-progress/SKILL.md +1 -22
  53. package/vendors/antigravity/skills/wtfp-quick/SKILL.md +0 -4
  54. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
  55. package/vendors/antigravity/skills/wtfp-resume-writing/SKILL.md +0 -12
  56. package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
  57. package/vendors/antigravity/skills/wtfp-review-section/SKILL.md +0 -8
  58. package/vendors/antigravity/skills/wtfp-submit-milestone/SKILL.md +0 -12
  59. package/vendors/antigravity/skills/wtfp-verify-work/SKILL.md +6 -4
  60. package/vendors/antigravity/tools/README.md +1 -1
  61. package/vendors/antigravity/workflows/advance.md +38 -0
  62. package/vendors/antigravity/workflows/discuss-section.md +1 -1
  63. package/vendors/antigravity/workflows/plan-revision.md +3 -3
  64. package/vendors/antigravity/workflows/plan-section.md +1 -1
  65. package/vendors/antigravity/workflows/research-gap.md +3 -3
  66. package/vendors/antigravity/workflows/verify-work.md +4 -2
  67. package/vendors/antigravity/workflows/write-section.md +2 -2
  68. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  69. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  70. package/vendors/claude/.wtfp-generated.json +108 -92
  71. package/vendors/claude/actions/advance.json +232 -0
  72. package/vendors/claude/actions/plan-revision.json +8 -3
  73. package/vendors/claude/actions/verify-work.json +6 -2
  74. package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
  75. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  76. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  77. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  78. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  79. package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  80. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  81. package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  82. package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  83. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  84. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  85. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  86. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +0 -2
  87. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
  88. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +4 -8
  89. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +2 -16
  90. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +4 -8
  91. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +2 -0
  92. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +2 -14
  93. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +4 -10
  94. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +3 -6
  95. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +3 -6
  96. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +3 -5
  97. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +4 -12
  98. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +2 -8
  99. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  100. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +2 -0
  101. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +1 -10
  102. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +2 -0
  103. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +0 -6
  104. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +2 -6
  105. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +7 -11
  106. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -15
  107. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +4 -8
  108. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +3 -22
  109. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +4 -6
  110. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +12 -14
  111. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +2 -12
  112. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +4 -10
  113. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +2 -0
  114. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +2 -12
  115. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +8 -4
  116. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +6 -14
  117. package/vendors/claude/aliases.lock.json +1 -0
  118. package/vendors/claude/catalog.json +4 -2
  119. package/vendors/claude/commands/add-todo.md +0 -2
  120. package/vendors/claude/commands/advance.md +16 -0
  121. package/vendors/claude/commands/analyze-bib.md +0 -6
  122. package/vendors/claude/commands/audit-milestone.md +0 -16
  123. package/vendors/claude/commands/check-refs.md +0 -6
  124. package/vendors/claude/commands/checkpoint.md +0 -14
  125. package/vendors/claude/commands/create-outline.md +0 -8
  126. package/vendors/claude/commands/create-poster.md +1 -6
  127. package/vendors/claude/commands/create-slides.md +1 -6
  128. package/vendors/claude/commands/discuss-section.md +1 -5
  129. package/vendors/claude/commands/execute-outline.md +0 -10
  130. package/vendors/claude/commands/export-latex.md +0 -8
  131. package/vendors/claude/commands/help.md +1 -1
  132. package/vendors/claude/commands/list-assumptions.md +1 -10
  133. package/vendors/claude/commands/pause-writing.md +0 -6
  134. package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
  135. package/vendors/claude/commands/plan-revision.md +5 -11
  136. package/vendors/claude/commands/plan-section.md +1 -13
  137. package/vendors/claude/commands/polish-prose.md +0 -6
  138. package/vendors/claude/commands/progress.md +1 -22
  139. package/vendors/claude/commands/quick.md +0 -4
  140. package/vendors/claude/commands/research-gap.md +3 -11
  141. package/vendors/claude/commands/resume-writing.md +0 -12
  142. package/vendors/claude/commands/review-section.md +0 -8
  143. package/vendors/claude/commands/submit-milestone.md +0 -12
  144. package/vendors/claude/commands/verify-work.md +6 -4
  145. package/vendors/claude/commands/write-section.md +2 -12
  146. package/vendors/claude/compatibility/action-availability.json +10 -1
  147. package/vendors/claude/output-styles/wtfp-academic-writing.md +2 -2
  148. package/vendors/claude/plugin.json +15 -1
  149. package/vendors/claude/project/README.md +2 -0
  150. package/vendors/claude/roles/research-synthesizer.md +1 -1
  151. package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
  152. package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
  153. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
  154. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
  155. package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
  156. package/vendors/claude/tools/README.md +1 -1
  157. package/vendors/claude/workflows/advance.md +38 -0
  158. package/vendors/claude/workflows/discuss-section.md +1 -1
  159. package/vendors/claude/workflows/plan-revision.md +3 -3
  160. package/vendors/claude/workflows/plan-section.md +1 -1
  161. package/vendors/claude/workflows/research-gap.md +3 -3
  162. package/vendors/claude/workflows/verify-work.md +4 -2
  163. package/vendors/claude/workflows/write-section.md +2 -2
  164. package/vendors/clio-extension/.wtfp-generated.json +56 -8
  165. package/vendors/clio-extension/actions/advance.json +232 -0
  166. package/vendors/clio-extension/actions/plan-revision.json +8 -3
  167. package/vendors/clio-extension/actions/verify-work.json +6 -2
  168. package/vendors/clio-extension/clio-coder-extension.yaml +19 -4
  169. package/vendors/clio-extension/compatibility/action-availability.json +9 -3
  170. package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
  171. package/vendors/clio-extension/project/templates/config.json +31 -0
  172. package/vendors/clio-extension/project/templates/decisions.json +35 -0
  173. package/vendors/clio-extension/project/templates/evidence.json +18 -0
  174. package/vendors/clio-extension/project/templates/interaction.json +16 -0
  175. package/vendors/clio-extension/project/templates/manifest.json +30 -0
  176. package/vendors/clio-extension/project/templates/outline.json +38 -0
  177. package/vendors/clio-extension/project/templates/section.json +32 -0
  178. package/vendors/clio-extension/project/templates/source.json +20 -0
  179. package/vendors/clio-extension/project/templates/state.json +22 -0
  180. package/vendors/clio-extension/project/templates/validation.json +32 -0
  181. package/vendors/clio-extension/runtime/extension.test.ts +656 -6
  182. package/vendors/clio-extension/runtime/extension.ts +885 -41
  183. package/vendors/clio-extension/runtime/write-guard.json +66 -0
  184. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  185. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +31 -23
  186. package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
  187. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +8 -3
  188. package/vendors/codex/plugins/wtfp/actions/verify-work.json +6 -2
  189. package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
  190. package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
  191. package/vendors/codex/plugins/wtfp/catalog.json +4 -2
  192. package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
  193. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  194. package/vendors/codex/plugins/wtfp/project/README.md +2 -0
  195. package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
  196. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  197. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  198. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  199. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  200. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  201. package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
  202. package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
  203. package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
  204. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +3 -3
  205. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +1 -1
  206. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +3 -3
  207. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +4 -2
  208. package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
  209. package/vendors/copilot/.wtfp-generated.json +43 -31
  210. package/vendors/copilot/marketplace.json +2 -2
  211. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  212. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +55 -43
  213. package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
  214. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +8 -3
  215. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +6 -2
  216. package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
  217. package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
  218. package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
  219. package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
  220. package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
  221. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +0 -14
  222. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
  223. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
  224. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
  225. package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
  226. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +0 -10
  227. package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
  228. package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
  229. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
  230. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
  231. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +5 -11
  232. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +1 -13
  233. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +0 -6
  234. package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
  235. package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
  236. package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
  237. package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +0 -8
  238. package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
  239. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +6 -4
  240. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -12
  241. package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
  242. package/vendors/copilot/plugins/wtfp/project/README.md +2 -0
  243. package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
  244. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  245. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  246. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  247. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  248. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  249. package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
  250. package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
  251. package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
  252. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +3 -3
  253. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +1 -1
  254. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +3 -3
  255. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +4 -2
  256. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
  257. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
  258. package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
  259. package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
  260. package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
  261. package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
  262. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
  263. package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
  264. package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
  265. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
  266. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
  267. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
  268. package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
  269. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +8 -3
  270. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +6 -2
  271. package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
  272. package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
  273. package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
  274. package/vendors/copilot/project/.github/wtfp/project/README.md +2 -0
  275. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
  276. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  277. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
  278. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  279. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  280. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  281. package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
  282. package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
  283. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +3 -3
  284. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +1 -1
  285. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +3 -3
  286. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +4 -2
  287. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
  288. package/vendors/copilot/project/README.md +1 -1
  289. package/vendors/gemini/.wtfp-generated.json +60 -48
  290. package/vendors/gemini/actions/advance.json +232 -0
  291. package/vendors/gemini/actions/plan-revision.json +8 -3
  292. package/vendors/gemini/actions/verify-work.json +6 -2
  293. package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
  294. package/vendors/gemini/aliases.lock.json +1 -0
  295. package/vendors/gemini/catalog.json +4 -2
  296. package/vendors/gemini/commands/wtfp/add-todo.toml +17 -144
  297. package/vendors/gemini/commands/wtfp/advance.toml +14 -0
  298. package/vendors/gemini/commands/wtfp/check-todos.toml +17 -2
  299. package/vendors/gemini/commands/wtfp/checkpoint.toml +17 -735
  300. package/vendors/gemini/commands/wtfp/create-outline.toml +2 -431
  301. package/vendors/gemini/commands/wtfp/create-poster.toml +3 -296
  302. package/vendors/gemini/commands/wtfp/create-slides.toml +3 -296
  303. package/vendors/gemini/commands/wtfp/discuss-section.toml +4 -259
  304. package/vendors/gemini/commands/wtfp/execute-outline.toml +2 -480
  305. package/vendors/gemini/commands/wtfp/help.toml +7 -3
  306. package/vendors/gemini/commands/wtfp/insert-section.toml +3 -1
  307. package/vendors/gemini/commands/wtfp/list-assumptions.toml +4 -510
  308. package/vendors/gemini/commands/wtfp/map-project.toml +2 -0
  309. package/vendors/gemini/commands/wtfp/new-paper.toml +2 -0
  310. package/vendors/gemini/commands/wtfp/pause-writing.toml +17 -309
  311. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +4 -369
  312. package/vendors/gemini/commands/wtfp/plan-revision.toml +76 -423
  313. package/vendors/gemini/commands/wtfp/plan-section.toml +4 -624
  314. package/vendors/gemini/commands/wtfp/polish-prose.toml +4 -329
  315. package/vendors/gemini/commands/wtfp/progress.toml +18 -1143
  316. package/vendors/gemini/commands/wtfp/quick.toml +2 -218
  317. package/vendors/gemini/commands/wtfp/resume-writing.toml +17 -698
  318. package/vendors/gemini/commands/wtfp/review-section.toml +4 -410
  319. package/vendors/gemini/commands/wtfp/settings.toml +17 -2
  320. package/vendors/gemini/commands/wtfp/submit-milestone.toml +2 -617
  321. package/vendors/gemini/commands/wtfp/verify-work.toml +123 -53
  322. package/vendors/gemini/commands/wtfp/write-section.toml +4 -482
  323. package/vendors/gemini/compatibility/action-availability.json +13 -1
  324. package/vendors/gemini/gemini-extension.json +1 -1
  325. package/vendors/gemini/project/README.md +2 -0
  326. package/vendors/gemini/roles/research-synthesizer.md +1 -1
  327. package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
  328. package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
  329. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
  330. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
  331. package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
  332. package/vendors/gemini/tools/README.md +1 -1
  333. package/vendors/gemini/workflows/advance.md +38 -0
  334. package/vendors/gemini/workflows/discuss-section.md +1 -1
  335. package/vendors/gemini/workflows/plan-revision.md +3 -3
  336. package/vendors/gemini/workflows/plan-section.md +1 -1
  337. package/vendors/gemini/workflows/research-gap.md +3 -3
  338. package/vendors/gemini/workflows/verify-work.md +4 -2
  339. package/vendors/gemini/workflows/write-section.md +2 -2
  340. package/vendors/opencode/.wtfp-generated.json +59 -47
  341. package/vendors/opencode/actions/advance.json +232 -0
  342. package/vendors/opencode/actions/plan-revision.json +8 -3
  343. package/vendors/opencode/actions/verify-work.json +6 -2
  344. package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
  345. package/vendors/opencode/aliases.lock.json +1 -0
  346. package/vendors/opencode/catalog.json +4 -2
  347. package/vendors/opencode/commands/wtfp/add-todo.md +17 -144
  348. package/vendors/opencode/commands/wtfp/advance.md +16 -0
  349. package/vendors/opencode/commands/wtfp/check-todos.md +17 -2
  350. package/vendors/opencode/commands/wtfp/checkpoint.md +17 -735
  351. package/vendors/opencode/commands/wtfp/create-outline.md +2 -431
  352. package/vendors/opencode/commands/wtfp/create-poster.md +3 -296
  353. package/vendors/opencode/commands/wtfp/create-slides.md +3 -296
  354. package/vendors/opencode/commands/wtfp/discuss-section.md +4 -259
  355. package/vendors/opencode/commands/wtfp/execute-outline.md +2 -480
  356. package/vendors/opencode/commands/wtfp/help.md +7 -3
  357. package/vendors/opencode/commands/wtfp/insert-section.md +3 -1
  358. package/vendors/opencode/commands/wtfp/list-assumptions.md +4 -510
  359. package/vendors/opencode/commands/wtfp/map-project.md +2 -0
  360. package/vendors/opencode/commands/wtfp/new-paper.md +2 -0
  361. package/vendors/opencode/commands/wtfp/pause-writing.md +17 -309
  362. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +4 -369
  363. package/vendors/opencode/commands/wtfp/plan-revision.md +76 -423
  364. package/vendors/opencode/commands/wtfp/plan-section.md +4 -624
  365. package/vendors/opencode/commands/wtfp/polish-prose.md +4 -329
  366. package/vendors/opencode/commands/wtfp/progress.md +18 -1143
  367. package/vendors/opencode/commands/wtfp/quick.md +2 -218
  368. package/vendors/opencode/commands/wtfp/resume-writing.md +17 -698
  369. package/vendors/opencode/commands/wtfp/review-section.md +4 -410
  370. package/vendors/opencode/commands/wtfp/settings.md +17 -2
  371. package/vendors/opencode/commands/wtfp/submit-milestone.md +2 -617
  372. package/vendors/opencode/commands/wtfp/verify-work.md +123 -53
  373. package/vendors/opencode/commands/wtfp/write-section.md +4 -482
  374. package/vendors/opencode/compatibility/action-availability.json +13 -1
  375. package/vendors/opencode/project/README.md +2 -0
  376. package/vendors/opencode/roles/research-synthesizer.md +1 -1
  377. package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
  378. package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
  379. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
  380. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
  381. package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
  382. package/vendors/opencode/tools/README.md +1 -1
  383. package/vendors/opencode/workflows/advance.md +38 -0
  384. package/vendors/opencode/workflows/discuss-section.md +1 -1
  385. package/vendors/opencode/workflows/plan-revision.md +3 -3
  386. package/vendors/opencode/workflows/plan-section.md +1 -1
  387. package/vendors/opencode/workflows/research-gap.md +3 -3
  388. package/vendors/opencode/workflows/verify-work.md +4 -2
  389. package/vendors/opencode/workflows/write-section.md +2 -2
  390. package/vendors/plugin/.wtfp-generated.json +75 -63
  391. package/vendors/plugin/actions/advance.json +232 -0
  392. package/vendors/plugin/actions/plan-revision.json +8 -3
  393. package/vendors/plugin/actions/verify-work.json +6 -2
  394. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  395. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  396. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  397. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  398. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  399. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  400. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  401. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  402. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  403. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  404. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  405. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +7 -3
  406. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
  407. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +11 -19
  408. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -4
  409. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +12 -6
  410. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +10 -4
  411. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +10 -4
  412. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +11 -19
  413. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +18 -13
  414. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +18 -13
  415. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +11 -5
  416. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +12 -6
  417. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +10 -4
  418. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  419. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +10 -4
  420. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +15 -17
  421. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +7 -3
  422. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +10 -4
  423. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +7 -3
  424. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +10 -4
  425. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +13 -7
  426. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +13 -7
  427. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +12 -6
  428. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +19 -30
  429. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +12 -6
  430. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +20 -10
  431. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +10 -4
  432. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +12 -6
  433. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +10 -4
  434. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +12 -4
  435. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +14 -6
  436. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +14 -8
  437. package/vendors/plugin/aliases.lock.json +1 -0
  438. package/vendors/plugin/catalog.json +4 -2
  439. package/vendors/plugin/compatibility/action-availability.json +9 -3
  440. package/vendors/plugin/plugin.json +15 -1
  441. package/vendors/plugin/project/README.md +2 -0
  442. package/vendors/plugin/roles/research-synthesizer.md +1 -1
  443. package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
  444. package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
  445. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
  446. package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
  447. package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
  448. package/vendors/plugin/tools/README.md +1 -1
  449. package/vendors/plugin/workflows/advance.md +38 -0
  450. package/vendors/plugin/workflows/discuss-section.md +1 -1
  451. package/vendors/plugin/workflows/plan-revision.md +3 -3
  452. package/vendors/plugin/workflows/plan-section.md +1 -1
  453. package/vendors/plugin/workflows/research-gap.md +3 -3
  454. package/vendors/plugin/workflows/verify-work.md +4 -2
  455. package/vendors/plugin/workflows/write-section.md +2 -2
@@ -0,0 +1,232 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "advance",
4
+ "title": "Advance to the next author gate",
5
+ "description": "Run the next writing actions automatically and stop when only the author can decide.",
6
+ "alias": "wtfp:advance",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-manage-project"
10
+ },
11
+ "workflow": "wtfp://workflows/advance",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "network.fetch",
18
+ "network.search",
19
+ "tool.execute",
20
+ "user.interaction",
21
+ "workflow.drive"
22
+ ],
23
+ "conditions": [
24
+ "Portable project state has been initialized",
25
+ "The host provides a driver that selects each step from project state and confines it to that step's contract"
26
+ ]
27
+ },
28
+ "reads": [
29
+ "project://manifest",
30
+ "project://config",
31
+ "project://state",
32
+ "project://decisions",
33
+ "project://structure/outline",
34
+ "project://sections/{section}",
35
+ "project://sections/{section}/plans/{plan}",
36
+ "project://sections/{section}/reviews/{review}",
37
+ "project://sections/{section}/summary",
38
+ "project://sections/{section}/handoff",
39
+ "project://sources/{source}",
40
+ "project://evidence/{evidence}",
41
+ "project://checkpoints/{checkpoint}",
42
+ "project://validations/{validation}",
43
+ "project://paper/{artifact}",
44
+ "project://sections/{section}/context",
45
+ "project://sections/{section}/research",
46
+ "project://validations/*"
47
+ ],
48
+ "produces": [
49
+ {
50
+ "uri": "project://structure/outline",
51
+ "mode": "update"
52
+ },
53
+ {
54
+ "uri": "project://sections/{section}",
55
+ "mode": "create"
56
+ },
57
+ {
58
+ "uri": "project://decisions",
59
+ "mode": "update"
60
+ },
61
+ {
62
+ "uri": "project://state",
63
+ "mode": "update"
64
+ },
65
+ {
66
+ "uri": "project://validations/{validation}",
67
+ "mode": "create"
68
+ },
69
+ {
70
+ "uri": "project://validations/{validation}",
71
+ "mode": "update"
72
+ },
73
+ {
74
+ "uri": "project://sections/{section}/context",
75
+ "mode": "create"
76
+ },
77
+ {
78
+ "uri": "project://sections/{section}/context",
79
+ "mode": "update"
80
+ },
81
+ {
82
+ "uri": "project://checkpoints/{checkpoint}",
83
+ "mode": "create"
84
+ },
85
+ {
86
+ "uri": "project://sections/{section}",
87
+ "mode": "update"
88
+ },
89
+ {
90
+ "uri": "project://sources/{source}",
91
+ "mode": "create"
92
+ },
93
+ {
94
+ "uri": "project://sources/{source}",
95
+ "mode": "update"
96
+ },
97
+ {
98
+ "uri": "project://evidence/{evidence}",
99
+ "mode": "create"
100
+ },
101
+ {
102
+ "uri": "project://evidence/{evidence}",
103
+ "mode": "update"
104
+ },
105
+ {
106
+ "uri": "project://sections/{section}/research",
107
+ "mode": "create"
108
+ },
109
+ {
110
+ "uri": "project://sections/{section}/research",
111
+ "mode": "update"
112
+ },
113
+ {
114
+ "uri": "project://sections/{section}/plans/{plan}",
115
+ "mode": "create"
116
+ },
117
+ {
118
+ "uri": "project://paper/{artifact}",
119
+ "mode": "create"
120
+ },
121
+ {
122
+ "uri": "project://paper/{artifact}",
123
+ "mode": "update"
124
+ },
125
+ {
126
+ "uri": "project://manifest",
127
+ "mode": "update"
128
+ },
129
+ {
130
+ "uri": "project://sections/{section}/summary",
131
+ "mode": "create"
132
+ },
133
+ {
134
+ "uri": "project://sections/{section}/summary",
135
+ "mode": "update"
136
+ },
137
+ {
138
+ "uri": "project://sections/{section}/reviews/{review}",
139
+ "mode": "create"
140
+ },
141
+ {
142
+ "uri": "project://archives/{archive}/{artifact}",
143
+ "mode": "archive"
144
+ }
145
+ ],
146
+ "delegation": [
147
+ {
148
+ "role": "outliner",
149
+ "mode": "optional",
150
+ "purpose": "Design a coherent section and argument structure from the project evidence when the driver selects create-outline"
151
+ },
152
+ {
153
+ "role": "research-synthesizer",
154
+ "mode": "optional",
155
+ "purpose": "Synthesize existing and newly discovered evidence into a section research brief when the driver selects research-gap"
156
+ },
157
+ {
158
+ "role": "section-planner",
159
+ "mode": "optional",
160
+ "purpose": "Create an executable plan grounded in project intent and evidence when the driver selects plan-section"
161
+ },
162
+ {
163
+ "role": "plan-checker",
164
+ "mode": "optional",
165
+ "purpose": "Check plan completeness, traceability, and feasibility before approval when the driver selects plan-section"
166
+ },
167
+ {
168
+ "role": "section-writer",
169
+ "mode": "optional",
170
+ "purpose": "Draft the section from its approved plan and evidence when the driver selects write-section"
171
+ },
172
+ {
173
+ "role": "argument-verifier",
174
+ "mode": "optional",
175
+ "purpose": "Independently verify claim, evidence, and requirement coverage when the driver selects write-section"
176
+ },
177
+ {
178
+ "role": "section-reviewer",
179
+ "mode": "optional",
180
+ "purpose": "Independently assess the section against its plan, evidence, and selected review perspective when the driver selects review-section"
181
+ }
182
+ ],
183
+ "tools": [
184
+ "bibliography.index",
185
+ "citation.fetch",
186
+ "citation.rank",
187
+ "citation.scholar-lookup",
188
+ "citation.semantic-scholar"
189
+ ],
190
+ "effects": [
191
+ {
192
+ "id": "agent.delegate",
193
+ "scope": "role://outliner, role://research-synthesizer, role://section-planner, role://plan-checker, role://section-writer, role://argument-verifier, role://section-reviewer"
194
+ },
195
+ {
196
+ "id": "artifact.archive",
197
+ "scope": "selected paper milestone and portable project state, only when the driver selects submit-milestone"
198
+ },
199
+ {
200
+ "id": "filesystem.create",
201
+ "scope": "project://sections/{section}, project://validations/{validation}, project://sections/{section}/context, project://checkpoints/{checkpoint}, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research, project://sections/{section}/plans/{plan}, project://paper/{artifact}, project://sections/{section}/summary, project://sections/{section}/reviews/{review}"
202
+ },
203
+ {
204
+ "id": "filesystem.modify",
205
+ "scope": "project://structure/outline, project://decisions, project://state, project://sections/{section}/context, project://sections/{section}, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research, project://paper/{artifact}, project://manifest, project://sections/{section}/summary, project://validations/{validation}"
206
+ },
207
+ {
208
+ "id": "filesystem.read",
209
+ "scope": "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/*"
210
+ },
211
+ {
212
+ "id": "filesystem.write",
213
+ "scope": "only the resources the selected step's own action contract declares, for the section the driver names"
214
+ },
215
+ {
216
+ "id": "network.fetch",
217
+ "scope": "selected scholarly records, only when the driver selects research-gap"
218
+ },
219
+ {
220
+ "id": "network.search",
221
+ "scope": "declared scholarly indexes, only when the driver selects research-gap"
222
+ },
223
+ {
224
+ "id": "tool.execute",
225
+ "scope": "declared bibliography and citation tools through tools/wtfp-tool.js, only for the selected step's declared tools"
226
+ },
227
+ {
228
+ "id": "user.gate",
229
+ "scope": "every gate the selected steps raise, each answered by the author through the host's gate interaction"
230
+ }
231
+ ]
232
+ }
@@ -22,6 +22,7 @@
22
22
  "reads": [
23
23
  "project://manifest",
24
24
  "project://config",
25
+ "project://state",
25
26
  "project://decisions",
26
27
  "project://sections/{section}",
27
28
  "project://sections/{section}/plans/{plan}",
@@ -42,6 +43,10 @@
42
43
  {
43
44
  "uri": "project://sections/{section}",
44
45
  "mode": "update"
46
+ },
47
+ {
48
+ "uri": "project://state",
49
+ "mode": "update"
45
50
  }
46
51
  ],
47
52
  "delegation": [],
@@ -53,15 +58,15 @@
53
58
  },
54
59
  {
55
60
  "id": "filesystem.modify",
56
- "scope": "project://sections/{section}"
61
+ "scope": "project://sections/{section}, project://state"
57
62
  },
58
63
  {
59
64
  "id": "filesystem.read",
60
- "scope": "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}"
65
+ "scope": "project://manifest, project://config, project://state, 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}"
61
66
  },
62
67
  {
63
68
  "id": "filesystem.write",
64
- "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}"
69
+ "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
65
70
  },
66
71
  {
67
72
  "id": "user.gate",
@@ -36,6 +36,10 @@
36
36
  "uri": "project://validations/{validation}",
37
37
  "mode": "update"
38
38
  },
39
+ {
40
+ "uri": "project://checkpoints/{checkpoint}",
41
+ "mode": "create"
42
+ },
39
43
  {
40
44
  "uri": "project://sections/{section}",
41
45
  "mode": "update"
@@ -50,7 +54,7 @@
50
54
  "effects": [
51
55
  {
52
56
  "id": "filesystem.create",
53
- "scope": "selected section verification artifact"
57
+ "scope": "selected section verification artifact and its acceptance checkpoint"
54
58
  },
55
59
  {
56
60
  "id": "filesystem.modify",
@@ -62,7 +66,7 @@
62
66
  },
63
67
  {
64
68
  "id": "user.gate",
65
- "scope": "each failed or disputed verification check"
69
+ "scope": "each failed or disputed verification check, and the author's acceptance of the section"
66
70
  }
67
71
  ]
68
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",
@@ -15,7 +15,8 @@
15
15
  "tool.execute": null,
16
16
  "user.interaction": "copilot-cloud:input-approval",
17
17
  "vcs.branch": null,
18
- "vcs.commit": null
18
+ "vcs.commit": null,
19
+ "workflow.drive": null
19
20
  },
20
21
  "approvalBindings": {
21
22
  "none": "copilot-cloud:tool-policy",
@@ -48,6 +49,18 @@
48
49
  "unavailableCapabilities": [],
49
50
  "unavailableEffects": []
50
51
  },
52
+ {
53
+ "id": "advance",
54
+ "status": "unavailable",
55
+ "unavailableCapabilities": [
56
+ "tool.execute",
57
+ "workflow.drive"
58
+ ],
59
+ "unavailableEffects": [
60
+ "tool.execute",
61
+ "user.gate"
62
+ ]
63
+ },
51
64
  {
52
65
  "id": "analyze-bib",
53
66
  "status": "unavailable",
@@ -50,6 +50,8 @@ The JSON records above are the interoperable source of truth, while research and
50
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.
51
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.
52
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.
53
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.
54
56
 
55
57
  ## Invariants
@@ -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-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)
@@ -82,7 +82,7 @@ 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; the plan that produced the reviewed draft is never edited and remains in the history.
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.
86
86
 
87
87
  Completion requires a targeted, traceable path from finding to fix to re-verification, and a revision plan the author approved before any rewrite.
88
88
 
@@ -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.
@@ -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
 
@@ -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.
@@ -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
 
@@ -12,8 +12,8 @@ source: wtfp.protocol
12
12
 
13
13
  ## Record contract
14
14
 
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).
15
+ Read: `project://manifest`, `project://config`, `project://state`, `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), `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
 
@@ -24,7 +24,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
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
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
+ 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. Linking the revision plan sets the section status to `planned`, so the next step writes from it.
28
28
 
29
29
  ## Safety and completion
30
30
 
@@ -25,7 +25,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
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
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
- 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.
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. When the check fails, return its findings to `section-planner` for a revised plan and check that plan afresh, at most twice; a finding that contradicts an author decision goes to the author instead of the planner. Record each check as a validation of the plan it read. A plan that still fails is never put to the author for approval: create a checkpoint naming its open findings and stop.
29
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
@@ -22,8 +22,8 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
22
22
  ## Procedure
23
23
 
24
24
  1. Resolve the research question and section scope against locked/deferred decisions; agree on depth and source constraints.
25
- 2. Prefer an operator-configured, trusted read-only CiteNexus MCP connection for bounded public metadata searches when the host has already authorized it. In an explicitly selected full-auto host session for this research action, the bundled CiteNexus dispatcher may also search the free no-key public indexes `crossref`, `datacite`, `europe_pmc`, and `arxiv` without a second per-query author gate; use only selected relevant indexes with an explicit `--providers` list. Record provider IDs, queries, date, and result limits; never send unpublished manuscript text or private notes as search terms. For any other route, first obtain explicit author approval naming the providers and bounded query set. Results remain candidates and this action performs no bibliography write. Verify source identity and inspection depth, and separate source records from claim-level evidence.
26
- 3. Synthesize supported, conflicting, and missing evidence into a Markdown research artifact; link new records and disclose limitations.
25
+ 2. Prefer an operator-configured, trusted read-only CiteNexus MCP connection for bounded public metadata searches when the host has already authorized it. In a host session the operator explicitly started without per-call approval cards, for this research action, the bundled CiteNexus dispatcher may also search the free no-key public indexes `crossref`, `datacite`, `europe_pmc`, and `arxiv` without a second per-query author gate; use only selected relevant indexes with an explicit `--providers` list. Record provider IDs, queries, date, and result limits; never send unpublished manuscript text or private notes as search terms. For any other route, first obtain explicit author approval naming the providers and bounded query set. Results remain candidates and this action performs no bibliography write. Verify source identity and inspection depth, and separate source records from claim-level evidence.
26
+ 3. Synthesize supported, conflicting, and missing evidence into a Markdown research artifact; link new records and disclose limitations. Record every claim the section must support in `project://sections/{section}` with `evidence_required: true` and its `evidence_uris`; a literature-heavy section that records no such claim has no coverage to check and cannot be planned.
27
27
 
28
28
  ## Bundled tool execution
29
29
 
@@ -33,7 +33,7 @@ The declared `tool.execute` effect authorises exactly one command, run from the
33
33
  node protocol://tools/wtfp-tool.js [--offline] <command> [arguments]
34
34
  ```
35
35
 
36
- Run it with `list` first to read the declared commands, their arguments, their bounds, and the effects each one applies; `protocol://tools/README.md` carries the same table. A command whose effects include `network.*` performs outbound requests. Pass `--offline` (or set `WTFP_TOOL_OFFLINE=1`) until the provider/query gate is approved, except for this action's explicit full-auto public-index route. On that route omit `--offline` only for `citation-search --backend=cite-nexus` with bounded queries and `--providers` drawn from `crossref,datacite,europe_pmc,arxiv`; never override an operator-set offline flag or a host refusal. Never execute another module in this package, never pass a logical `project://` or `wtfp://` URI as a shell argument, and treat every returned record as candidate evidence until it is verified and written to a source or evidence record.
36
+ Run it with `list` first to read the declared commands, their arguments, their bounds, and the effects each one applies; `protocol://tools/README.md` carries the same table. A command whose effects include `network.*` performs outbound requests. Pass `--offline` (or set `WTFP_TOOL_OFFLINE=1`) until the provider/query gate is approved, except for this action's explicit unattended public-index route. On that route omit `--offline` only for `citation-search --backend=cite-nexus` with bounded queries and `--providers` drawn from `crossref,datacite,europe_pmc,arxiv`; never override an operator-set offline flag or a host refusal. Never execute another module in this package, never pass a logical `project://` or `wtfp://` URI as a shell argument, and treat every returned record as candidate evidence until it is verified and written to a source or evidence record.
37
37
 
38
38
  ## Safety and completion
39
39
 
@@ -13,7 +13,7 @@ source: wtfp.protocol
13
13
  ## Record contract
14
14
 
15
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).
16
+ Produce: `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://checkpoints/{checkpoint}` (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,9 @@ 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, updating it after each answered check, 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.
27
+ 4. When the validation is complete, create one pending blocking `decision` checkpoint scoped to that validation's URI, with options `accept` and `revise` and `resume_action` `verify-work`, and ask the author. Only an author's `accept` marks the section `complete`; `revise` leaves it `reviewing`, and `plan-revision` owns the fix. The validation result alone never completes a section.
28
+ 5. When a rerun finds the acceptance checkpoint for the current validation already resolved, apply its resolution to the section and state instead of asking again.
27
29
 
28
30
  ## Safety and completion
29
31