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
@@ -31,21 +31,34 @@
31
31
  "project://sections/{section}",
32
32
  "project://sections/{section}/context",
33
33
  "project://sources/{source}",
34
- "project://evidence/{evidence}"
34
+ "project://evidence/{evidence}",
35
+ "project://sections/{section}/research"
35
36
  ],
36
37
  "produces": [
37
38
  {
38
39
  "uri": "project://sources/{source}",
39
40
  "mode": "create"
40
41
  },
42
+ {
43
+ "uri": "project://sources/{source}",
44
+ "mode": "update"
45
+ },
41
46
  {
42
47
  "uri": "project://evidence/{evidence}",
43
48
  "mode": "create"
44
49
  },
50
+ {
51
+ "uri": "project://evidence/{evidence}",
52
+ "mode": "update"
53
+ },
45
54
  {
46
55
  "uri": "project://sections/{section}/research",
47
56
  "mode": "create"
48
57
  },
58
+ {
59
+ "uri": "project://sections/{section}/research",
60
+ "mode": "update"
61
+ },
49
62
  {
50
63
  "uri": "project://sections/{section}",
51
64
  "mode": "update"
@@ -76,11 +89,11 @@
76
89
  },
77
90
  {
78
91
  "id": "filesystem.modify",
79
- "scope": "project://sections/{section}"
92
+ "scope": "project://sections/{section}, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research"
80
93
  },
81
94
  {
82
95
  "id": "filesystem.read",
83
- "scope": "project://manifest, project://config, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sources/{source}, project://evidence/{evidence}"
96
+ "scope": "project://manifest, project://config, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sources/{source}, project://evidence/{evidence}, project://sections/{section}/research"
84
97
  },
85
98
  {
86
99
  "id": "network.fetch",
@@ -24,13 +24,18 @@
24
24
  "project://sections/{section}",
25
25
  "project://sections/{section}/plans/{plan}",
26
26
  "project://evidence/{evidence}",
27
- "project://paper/{artifact}"
27
+ "project://paper/{artifact}",
28
+ "project://validations/{validation}"
28
29
  ],
29
30
  "produces": [
30
31
  {
31
32
  "uri": "project://validations/{validation}",
32
33
  "mode": "create"
33
34
  },
35
+ {
36
+ "uri": "project://validations/{validation}",
37
+ "mode": "update"
38
+ },
34
39
  {
35
40
  "uri": "project://sections/{section}",
36
41
  "mode": "update"
@@ -53,7 +58,7 @@
53
58
  },
54
59
  {
55
60
  "id": "filesystem.read",
56
- "scope": "project://state, project://sections/{section}, project://sections/{section}/plans/{plan}, project://evidence/{evidence}, project://paper/{artifact}"
61
+ "scope": "project://state, project://sections/{section}, project://sections/{section}/plans/{plan}, project://evidence/{evidence}, project://paper/{artifact}, project://validations/{validation}"
57
62
  },
58
63
  {
59
64
  "id": "user.gate",
@@ -2,11 +2,11 @@
2
2
  version: 1
3
3
  name: "Argument Verifier"
4
4
  description: "Verify that completed section text actually delivers the claims, evidence, constraints, and connections promised by its plan. Execution summaries are navigation aids, not proof; verdicts must be grounded in the manuscript itself."
5
- tools: {required: [verify, context], optional: [read, grep, find, ls, ledger]}
6
- skills: [wtfp-review-manuscript]
5
+ tools: {required: [read], optional: [context, grep, find, ls, ledger]}
6
+ skills: []
7
7
  audience: custom
8
8
  category: quality
9
- capabilityClass: verification
9
+ capabilityClass: read-only
10
10
  latencyClass: fast
11
11
  projectContextTier: bounded
12
12
  budget: {toolCalls: 24, readReserve: 4, synthesis: true}
@@ -2,11 +2,11 @@
2
2
  version: 1
3
3
  name: "Coherence Checker"
4
4
  description: "Evaluate the manuscript as a connected argument rather than a set of individually acceptable sections. Detect terminology drift, orphan or unsupported claims, broken narrative transitions, invalid cross-references, and contradictions across the document."
5
- tools: {required: [verify, context], optional: [read, grep, find, ls, ledger]}
6
- skills: [wtfp-review-manuscript]
5
+ tools: {required: [read], optional: [context, grep, find, ls, ledger]}
6
+ skills: []
7
7
  audience: custom
8
8
  category: quality
9
- capabilityClass: verification
9
+ capabilityClass: read-only
10
10
  latencyClass: fast
11
11
  projectContextTier: bounded
12
12
  budget: {toolCalls: 24, readReserve: 4, synthesis: true}
@@ -2,11 +2,11 @@
2
2
  version: 1
3
3
  name: "Plan Checker"
4
4
  description: "Determine whether proposed section plans are likely to produce the intended academic outcome. Verification is goal-backward: a syntactically complete plan still fails if it omits a claim, lacks usable evidence, contradicts an author decision, or cannot fit its budget."
5
- tools: {required: [verify, context], optional: [read, grep, find, ls, ledger]}
6
- skills: [wtfp-plan-section]
5
+ tools: {required: [read], optional: [context, grep, find, ls, ledger]}
6
+ skills: []
7
7
  audience: custom
8
8
  category: quality
9
- capabilityClass: verification
9
+ capabilityClass: read-only
10
10
  latencyClass: fast
11
11
  projectContextTier: bounded
12
12
  budget: {toolCalls: 24, readReserve: 4, synthesis: true}
@@ -2,11 +2,11 @@
2
2
  version: 1
3
3
  name: "Section Reviewer"
4
4
  description: "Review a section as an academic evaluator and produce prioritized, actionable feedback. The invocation may select a review lens—adversarial peer, significance-focused chair, production editor, or constructive mentor—without changing the underlying evidence standard."
5
- tools: {required: [verify, context], optional: [read, grep, find, ls, ledger]}
6
- skills: [wtfp-review-manuscript]
5
+ tools: {required: [read], optional: [context, grep, find, ls, ledger]}
6
+ skills: []
7
7
  audience: custom
8
8
  category: quality
9
- capabilityClass: verification
9
+ capabilityClass: read-only
10
10
  latencyClass: fast
11
11
  projectContextTier: bounded
12
12
  budget: {toolCalls: 24, readReserve: 4, synthesis: true}
@@ -7,7 +7,7 @@ steps:
7
7
  id: draft
8
8
  agent: wtfp-section-writer
9
9
  scope: workspace
10
- writes: [paper/, .planning/]
10
+ writes: [paper/, .planning/sections/]
11
11
  dependencies: []
12
12
  - kind: agent
13
13
  id: review
@@ -7,7 +7,7 @@ steps:
7
7
  id: plan
8
8
  agent: wtfp-section-planner
9
9
  scope: workspace
10
- writes: [.planning/]
10
+ writes: [.planning/sections/]
11
11
  dependencies: []
12
12
  - kind: agent
13
13
  id: check
@@ -1,6 +1,19 @@
1
1
  ---
2
2
  description: "Capture a bounded note or task without disrupting the active research flow."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - extension_wtfp__record
13
+ - extension_wtfp__read_record
14
+ - extension_wtfp__readiness
15
+ - extension_wtfp__measure_section
16
+ - extension_wtfp__gate
4
17
  ---
5
18
 
6
19
  # Add a todo
@@ -12,7 +25,7 @@ argument-hint: "[arguments]"
12
25
  Read: `project://manifest`, `project://state`, `project://checkpoints/{checkpoint}`.
13
26
  Produce: `project://checkpoints/{checkpoint}` (create), `project://state` (update).
14
27
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
28
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
29
 
17
30
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
31
 
@@ -28,7 +41,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
28
41
 
29
42
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
30
43
 
31
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
44
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
32
45
  If desk tools are absent, follow `${pluginRoot}/workflows/add-todo.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
33
46
 
34
47
  ## Bound action contract
@@ -1,6 +1,33 @@
1
1
  ---
2
2
  description: "Analyze a bibliography and map its evidence to the paper's sections and claims."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - dispatch
14
+ - monitor
15
+ - bash
16
+ - extension_wtfp__record
17
+ - extension_wtfp__read_record
18
+ - extension_wtfp__readiness
19
+ - extension_wtfp__measure_section
20
+ - extension_wtfp__gate
21
+ delegated-tools:
22
+ - context
23
+ - edit
24
+ - find
25
+ - grep
26
+ - ledger
27
+ - limitation
28
+ - ls
29
+ - read
30
+ - write
4
31
  ---
5
32
 
6
33
  # Analyze the bibliography
@@ -12,7 +39,7 @@ argument-hint: "[arguments]"
12
39
  Read: `project://manifest`, `project://structure/outline`, `project://sections/{section}`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://materials/{artifact}`, `project://paper/{artifact}`.
13
40
  Produce: `project://sources/{source}` (create), `project://sources/{source}` (update), `project://evidence/{evidence}` (create), `project://evidence/{evidence}` (update), `project://validations/{validation}` (create).
14
41
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
42
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
43
 
17
44
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
45
 
@@ -39,7 +66,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
39
66
 
40
67
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
41
68
 
42
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
69
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
43
70
  If desk tools are absent, follow `${pluginRoot}/workflows/analyze-bib.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
44
71
 
45
72
  ## Bound action contract
@@ -56,7 +83,7 @@ $ARGUMENTS
56
83
 
57
84
  ## Clio user-gate binding
58
85
 
59
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
86
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
60
87
 
61
88
  ## Clio role-result binding
62
89
 
@@ -1,6 +1,21 @@
1
1
  ---
2
2
  description: "Run readiness checks across section completion, arguments, length, citations, and reviews."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - bash
14
+ - extension_wtfp__record
15
+ - extension_wtfp__read_record
16
+ - extension_wtfp__readiness
17
+ - extension_wtfp__measure_section
18
+ - extension_wtfp__gate
4
19
  ---
5
20
 
6
21
  # Audit a milestone
@@ -12,7 +27,7 @@ argument-hint: "[arguments]"
12
27
  Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://validations/{validation}`, `project://paper/{artifact}`.
13
28
  Produce: `project://validations/{validation}` (create).
14
29
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
30
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
31
 
17
32
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
33
 
@@ -38,7 +53,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
38
53
 
39
54
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
40
55
 
41
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
56
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
42
57
  If desk tools are absent, follow `${pluginRoot}/workflows/audit-milestone.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
43
58
 
44
59
  ## Bound action contract
@@ -55,6 +70,6 @@ $ARGUMENTS
55
70
 
56
71
  ## Clio user-gate binding
57
72
 
58
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
73
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
59
74
 
60
75
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/audit-milestone; do not edit. -->
@@ -1,6 +1,33 @@
1
1
  ---
2
2
  description: "Audit citation integrity and emit a validated corrected-bibliography candidate without mutating source records or manuscript inputs."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - dispatch
14
+ - monitor
15
+ - bash
16
+ - extension_wtfp__record
17
+ - extension_wtfp__read_record
18
+ - extension_wtfp__readiness
19
+ - extension_wtfp__measure_section
20
+ - extension_wtfp__gate
21
+ delegated-tools:
22
+ - context
23
+ - edit
24
+ - find
25
+ - grep
26
+ - ledger
27
+ - limitation
28
+ - ls
29
+ - read
30
+ - write
4
31
  ---
5
32
 
6
33
  # Check references
@@ -12,7 +39,7 @@ argument-hint: "[arguments]"
12
39
  Read: `project://config`, `project://sources/{source}`, `project://evidence/{evidence}`, `project://materials/{artifact}`, `project://paper/{artifact}`.
13
40
  Produce: `project://deliverables/bibliography/{artifact}` (create), `project://validations/{validation}` (create).
14
41
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
42
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
43
 
17
44
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
45
 
@@ -38,7 +65,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
38
65
 
39
66
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
40
67
 
41
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
68
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
42
69
  If desk tools are absent, follow `${pluginRoot}/workflows/check-refs.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
43
70
 
44
71
  ## Bound action contract
@@ -55,7 +82,7 @@ $ARGUMENTS
55
82
 
56
83
  ## Clio user-gate binding
57
84
 
58
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
85
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
59
86
 
60
87
  ## Clio role-result binding
61
88
 
@@ -1,6 +1,20 @@
1
1
  ---
2
2
  description: "Review pending tasks and explicitly act on, defer, complete, or dismiss each one."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - extension_wtfp__record
14
+ - extension_wtfp__read_record
15
+ - extension_wtfp__readiness
16
+ - extension_wtfp__measure_section
17
+ - extension_wtfp__gate
4
18
  ---
5
19
 
6
20
  # Review todos
@@ -12,7 +26,7 @@ argument-hint: "[arguments]"
12
26
  Read: `project://state`, `project://checkpoints/{checkpoint}`.
13
27
  Produce: `project://checkpoints/{checkpoint}` (update), `project://state` (update).
14
28
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
29
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
30
 
17
31
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
32
 
@@ -28,7 +42,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
28
42
 
29
43
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
30
44
 
31
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
45
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
32
46
  If desk tools are absent, follow `${pluginRoot}/workflows/check-todos.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
33
47
 
34
48
  ## Bound action contract
@@ -45,6 +59,6 @@ $ARGUMENTS
45
59
 
46
60
  ## Clio user-gate binding
47
61
 
48
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
62
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
49
63
 
50
64
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/check-todos; do not edit. -->
@@ -1,6 +1,20 @@
1
1
  ---
2
2
  description: "Save, list, or restore an exact portable paper-state checkpoint."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - extension_wtfp__record
14
+ - extension_wtfp__read_record
15
+ - extension_wtfp__readiness
16
+ - extension_wtfp__measure_section
17
+ - extension_wtfp__gate
4
18
  ---
5
19
 
6
20
  # Manage checkpoints
@@ -10,9 +24,9 @@ argument-hint: "[arguments]"
10
24
  ## Record contract
11
25
 
12
26
  Read: the declared portable records and authored artifacts selected for the snapshot.
13
- Produce: `project://checkpoints/{checkpoint}` (create), `project://archives/checkpoints/{checkpoint}` (create), `project://archives/recovery/{artifact}` (create on restore), `project://manifest` (update), `project://state` (update).
27
+ 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).
14
28
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
29
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
30
 
17
31
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
32
 
@@ -20,7 +34,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
20
34
 
21
35
  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.
22
36
  2. For list or inspect, report snapshot scope and verify that the archive, resources, revisions, and hashes still resolve without mutation.
23
- 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.
37
+ 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.
24
38
 
25
39
  ## Safety and completion
26
40
 
@@ -28,7 +42,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
28
42
 
29
43
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
30
44
 
31
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
45
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
32
46
  If desk tools are absent, follow `${pluginRoot}/workflows/checkpoint.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
33
47
 
34
48
  ## Bound action contract
@@ -45,6 +59,6 @@ $ARGUMENTS
45
59
 
46
60
  ## Clio user-gate binding
47
61
 
48
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
62
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
49
63
 
50
64
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/checkpoint; do not edit. -->
@@ -1,6 +1,32 @@
1
1
  ---
2
2
  description: "Build the section structure, argument map, dependencies, and word budgets."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
13
+ - dispatch
14
+ - monitor
15
+ - extension_wtfp__record
16
+ - extension_wtfp__read_record
17
+ - extension_wtfp__readiness
18
+ - extension_wtfp__measure_section
19
+ - extension_wtfp__gate
20
+ delegated-tools:
21
+ - context
22
+ - edit
23
+ - find
24
+ - grep
25
+ - ledger
26
+ - limitation
27
+ - ls
28
+ - read
29
+ - write
4
30
  ---
5
31
 
6
32
  # Create the paper outline
@@ -12,7 +38,7 @@ argument-hint: "[arguments]"
12
38
  Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://structure/outline`, `project://sources/{source}`, `project://evidence/{evidence}`.
13
39
  Produce: `project://structure/outline` (update), `project://sections/{section}` (create), `project://decisions` (update), `project://state` (update), `project://validations/{validation}` (create).
14
40
 
15
- Use `extension_wtfp__record` for each declared JSON record write: pass its logical `uri`, complete `record`, and the revision read as `expect_revision` for revisioned updates. It validates, bumps revisions/timestamps, replaces atomically and reads back; preserve stable IDs and author decisions.
41
+ Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
16
42
 
17
43
  Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
18
44
 
@@ -30,7 +56,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
30
56
 
31
57
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
32
58
 
33
- Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
59
+ Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
34
60
  If desk tools are absent, follow `${pluginRoot}/workflows/create-outline.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
35
61
 
36
62
  ## Bound action contract
@@ -47,7 +73,7 @@ $ARGUMENTS
47
73
 
48
74
  ## Clio user-gate binding
49
75
 
50
- For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, retained or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author` yourself or infer approval from invocation text, prose or silence. Read back a persisted resolution before applying its gated mutation.
76
+ For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
51
77
 
52
78
  ## Clio role-result binding
53
79
 
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: "Transform the paper's argument, methods, and findings into a concise academic poster."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
4
13
  ---
5
14
 
6
15
  # Create a research poster
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  description: "Transform the paper's argument, evidence, and findings into an audience-appropriate presentation."
3
3
  argument-hint: "[arguments]"
4
+ allowed-tools:
5
+ - read
6
+ - grep
7
+ - find
8
+ - ls
9
+ - context
10
+ - write
11
+ - edit
12
+ - ask_user
4
13
  ---
5
14
 
6
15
  # Create presentation slides