wtf-p 0.7.4 → 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 (516) hide show
  1. package/README.md +10 -10
  2. package/bin/commands/install-logic.js +1 -1
  3. package/bin/lib/adapter-compiler.js +305 -78
  4. package/bin/lib/clio-registration.js +159 -41
  5. package/bin/lib/manifest.js +11 -3
  6. package/bin/uninstall.js +22 -6
  7. package/package.json +3 -3
  8. package/protocol/actions/checkpoint.json +10 -1
  9. package/protocol/actions/execute-outline.json +10 -2
  10. package/protocol/actions/export-latex.json +15 -2
  11. package/protocol/actions/plan-revision.json +17 -4
  12. package/protocol/actions/polish-prose.json +13 -3
  13. package/protocol/actions/research-gap.json +16 -3
  14. package/protocol/actions/verify-work.json +7 -2
  15. package/protocol/project/README.md +37 -0
  16. package/protocol/project/schemas/interaction.schema.json +100 -0
  17. package/protocol/project/templates/interaction.json +16 -0
  18. package/protocol/skills/wtfp-deliver-research/SKILL.md +1 -1
  19. package/protocol/skills/wtfp-deliver-research/references/actions.md +2 -2
  20. package/protocol/skills/wtfp-plan-section/SKILL.md +1 -1
  21. package/protocol/skills/wtfp-plan-section/references/actions.md +4 -3
  22. package/protocol/skills/wtfp-research-literature/SKILL.md +1 -1
  23. package/protocol/skills/wtfp-review-manuscript/SKILL.md +1 -1
  24. package/protocol/skills/wtfp-write-section/SKILL.md +1 -1
  25. package/protocol/skills/wtfp-write-section/references/actions.md +1 -1
  26. package/protocol/workflows/checkpoint.md +2 -2
  27. package/protocol/workflows/execute-outline.md +2 -2
  28. package/protocol/workflows/export-latex.md +4 -4
  29. package/protocol/workflows/plan-revision.md +4 -3
  30. package/protocol/workflows/plan-section.md +2 -2
  31. package/protocol/workflows/polish-prose.md +3 -3
  32. package/protocol/workflows/research-gap.md +2 -2
  33. package/protocol/workflows/verify-work.md +3 -3
  34. package/protocol/workflows/write-section.md +2 -2
  35. package/vendors/antigravity/.wtfp-generated.json +172 -172
  36. package/vendors/antigravity/actions/checkpoint.json +10 -1
  37. package/vendors/antigravity/actions/execute-outline.json +10 -2
  38. package/vendors/antigravity/actions/export-latex.json +15 -2
  39. package/vendors/antigravity/actions/plan-revision.json +17 -4
  40. package/vendors/antigravity/actions/polish-prose.json +13 -3
  41. package/vendors/antigravity/actions/research-gap.json +16 -3
  42. package/vendors/antigravity/actions/verify-work.json +7 -2
  43. package/vendors/antigravity/plugin.json +2 -1
  44. package/vendors/antigravity/project/README.md +37 -0
  45. package/vendors/antigravity/project/schemas/interaction.schema.json +100 -0
  46. package/vendors/antigravity/project/templates/interaction.json +16 -0
  47. package/vendors/antigravity/rules/wtfp-project-state.md +41 -1
  48. package/vendors/antigravity/{commands/wtfp-add-todo.md → skills/wtfp-add-todo/SKILL.md} +2 -1
  49. package/vendors/antigravity/{commands/wtfp-analyze-bib.md → skills/wtfp-analyze-bib/SKILL.md} +2 -1
  50. package/vendors/antigravity/{commands/wtfp-audit-milestone.md → skills/wtfp-audit-milestone/SKILL.md} +2 -1
  51. package/vendors/antigravity/{commands/wtfp-check-refs.md → skills/wtfp-check-refs/SKILL.md} +2 -1
  52. package/vendors/antigravity/{commands/wtfp-check-todos.md → skills/wtfp-check-todos/SKILL.md} +2 -1
  53. package/vendors/antigravity/{commands/wtfp-checkpoint.md → skills/wtfp-checkpoint/SKILL.md} +4 -3
  54. package/vendors/antigravity/{commands/wtfp-contribute.md → skills/wtfp-contribute/SKILL.md} +2 -1
  55. package/vendors/antigravity/{commands/wtfp-create-outline.md → skills/wtfp-create-outline/SKILL.md} +2 -1
  56. package/vendors/antigravity/{commands/wtfp-create-poster.md → skills/wtfp-create-poster/SKILL.md} +2 -1
  57. package/vendors/antigravity/{commands/wtfp-create-slides.md → skills/wtfp-create-slides/SKILL.md} +2 -1
  58. package/vendors/antigravity/skills/wtfp-deliver-research/SKILL.md +1 -1
  59. package/vendors/antigravity/skills/wtfp-deliver-research/references/actions.md +2 -2
  60. package/vendors/antigravity/{commands/wtfp-discuss-section.md → skills/wtfp-discuss-section/SKILL.md} +2 -1
  61. package/vendors/antigravity/{commands/wtfp-execute-outline.md → skills/wtfp-execute-outline/SKILL.md} +4 -3
  62. package/vendors/antigravity/{commands/wtfp-export-latex.md → skills/wtfp-export-latex/SKILL.md} +2 -1
  63. package/vendors/antigravity/{commands/wtfp-help.md → skills/wtfp-help/SKILL.md} +3 -2
  64. package/vendors/antigravity/{commands/wtfp-insert-section.md → skills/wtfp-insert-section/SKILL.md} +2 -1
  65. package/vendors/antigravity/{commands/wtfp-list-assumptions.md → skills/wtfp-list-assumptions/SKILL.md} +2 -1
  66. package/vendors/antigravity/{commands/wtfp-map-project.md → skills/wtfp-map-project/SKILL.md} +2 -1
  67. package/vendors/antigravity/{commands/wtfp-new-paper.md → skills/wtfp-new-paper/SKILL.md} +2 -1
  68. package/vendors/antigravity/{commands/wtfp-pause-writing.md → skills/wtfp-pause-writing/SKILL.md} +2 -1
  69. package/vendors/antigravity/{commands/wtfp-plan-milestone-gaps.md → skills/wtfp-plan-milestone-gaps/SKILL.md} +2 -1
  70. package/vendors/antigravity/{commands/wtfp-plan-revision.md → skills/wtfp-plan-revision/SKILL.md} +10 -4
  71. package/vendors/antigravity/skills/wtfp-plan-section/SKILL.md +1 -1
  72. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +4 -3
  73. package/vendors/antigravity/{commands/wtfp-polish-prose.md → skills/wtfp-polish-prose/SKILL.md} +9 -4
  74. package/vendors/antigravity/{commands/wtfp-progress.md → skills/wtfp-progress/SKILL.md} +2 -1
  75. package/vendors/antigravity/{commands/wtfp-quick.md → skills/wtfp-quick/SKILL.md} +2 -1
  76. package/vendors/antigravity/{commands/wtfp-remove-section.md → skills/wtfp-remove-section/SKILL.md} +2 -1
  77. package/vendors/antigravity/{commands/wtfp-report-bug.md → skills/wtfp-report-bug/SKILL.md} +2 -1
  78. package/vendors/antigravity/{commands/wtfp-request-feature.md → skills/wtfp-request-feature/SKILL.md} +2 -1
  79. package/vendors/antigravity/{commands/wtfp-research-gap.md → skills/wtfp-research-gap/SKILL.md} +2 -1
  80. package/vendors/antigravity/skills/wtfp-research-literature/SKILL.md +1 -1
  81. package/vendors/antigravity/{commands/wtfp-resume-writing.md → skills/wtfp-resume-writing/SKILL.md} +2 -1
  82. package/vendors/antigravity/skills/wtfp-review-manuscript/SKILL.md +1 -1
  83. package/vendors/antigravity/{commands/wtfp-review-section.md → skills/wtfp-review-section/SKILL.md} +2 -1
  84. package/vendors/antigravity/{commands/wtfp-settings.md → skills/wtfp-settings/SKILL.md} +2 -1
  85. package/vendors/antigravity/{commands/wtfp-submit-milestone.md → skills/wtfp-submit-milestone/SKILL.md} +2 -1
  86. package/vendors/antigravity/{commands/wtfp-update.md → skills/wtfp-update/SKILL.md} +2 -1
  87. package/vendors/antigravity/{commands/wtfp-verify-work.md → skills/wtfp-verify-work/SKILL.md} +5 -4
  88. package/vendors/antigravity/skills/wtfp-write-section/SKILL.md +1 -1
  89. package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +1 -1
  90. package/vendors/antigravity/workflows/checkpoint.md +2 -2
  91. package/vendors/antigravity/workflows/execute-outline.md +2 -2
  92. package/vendors/antigravity/workflows/export-latex.md +4 -4
  93. package/vendors/antigravity/workflows/plan-revision.md +4 -3
  94. package/vendors/antigravity/workflows/plan-section.md +2 -2
  95. package/vendors/antigravity/workflows/polish-prose.md +3 -3
  96. package/vendors/antigravity/workflows/research-gap.md +2 -2
  97. package/vendors/antigravity/workflows/verify-work.md +3 -3
  98. package/vendors/antigravity/workflows/write-section.md +2 -2
  99. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  100. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  101. package/vendors/claude/.wtfp-generated.json +84 -76
  102. package/vendors/claude/actions/checkpoint.json +10 -1
  103. package/vendors/claude/actions/execute-outline.json +10 -2
  104. package/vendors/claude/actions/export-latex.json +15 -2
  105. package/vendors/claude/actions/plan-revision.json +17 -4
  106. package/vendors/claude/actions/polish-prose.json +13 -3
  107. package/vendors/claude/actions/research-gap.json +16 -3
  108. package/vendors/claude/actions/verify-work.json +7 -2
  109. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
  110. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
  111. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
  112. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
  113. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-draft-review.md +1 -1
  114. package/vendors/claude/ai.iowarp.clio/fleets/wtfp-plan-section.md +1 -1
  115. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +8 -0
  116. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +22 -0
  117. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -0
  118. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +22 -0
  119. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +9 -0
  120. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +11 -2
  121. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +21 -0
  122. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
  123. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
  124. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +9 -0
  125. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +24 -3
  126. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +14 -4
  127. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
  128. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +9 -0
  129. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
  130. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/map-project.md +8 -0
  131. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +9 -0
  132. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +8 -0
  133. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +9 -0
  134. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +17 -3
  135. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +24 -3
  136. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +28 -3
  137. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
  138. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +21 -0
  139. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +25 -2
  140. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +9 -0
  141. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +19 -1
  142. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +9 -0
  143. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +9 -0
  144. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +12 -3
  145. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +24 -3
  146. package/vendors/claude/commands/checkpoint.md +2 -2
  147. package/vendors/claude/commands/execute-outline.md +2 -2
  148. package/vendors/claude/commands/export-latex.md +4 -4
  149. package/vendors/claude/commands/plan-revision.md +8 -3
  150. package/vendors/claude/commands/plan-section.md +2 -2
  151. package/vendors/claude/commands/polish-prose.md +7 -3
  152. package/vendors/claude/commands/research-gap.md +2 -2
  153. package/vendors/claude/commands/verify-work.md +3 -3
  154. package/vendors/claude/commands/write-section.md +2 -2
  155. package/vendors/claude/output-styles/wtfp-academic-writing.md +5 -5
  156. package/vendors/claude/plugin.json +1 -1
  157. package/vendors/claude/project/README.md +37 -0
  158. package/vendors/claude/project/schemas/interaction.schema.json +100 -0
  159. package/vendors/claude/project/templates/interaction.json +16 -0
  160. package/vendors/claude/skills/wtfp-deliver-research/SKILL.md +1 -1
  161. package/vendors/claude/skills/wtfp-deliver-research/references/actions.md +2 -2
  162. package/vendors/claude/skills/wtfp-plan-section/SKILL.md +1 -1
  163. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +4 -3
  164. package/vendors/claude/skills/wtfp-research-literature/SKILL.md +1 -1
  165. package/vendors/claude/skills/wtfp-review-manuscript/SKILL.md +1 -1
  166. package/vendors/claude/skills/wtfp-write-section/SKILL.md +1 -1
  167. package/vendors/claude/skills/wtfp-write-section/references/actions.md +1 -1
  168. package/vendors/claude/workflows/checkpoint.md +2 -2
  169. package/vendors/claude/workflows/execute-outline.md +2 -2
  170. package/vendors/claude/workflows/export-latex.md +4 -4
  171. package/vendors/claude/workflows/plan-revision.md +4 -3
  172. package/vendors/claude/workflows/plan-section.md +2 -2
  173. package/vendors/claude/workflows/polish-prose.md +3 -3
  174. package/vendors/claude/workflows/research-gap.md +2 -2
  175. package/vendors/claude/workflows/verify-work.md +3 -3
  176. package/vendors/claude/workflows/write-section.md +2 -2
  177. package/vendors/clio-extension/.wtfp-generated.json +240 -0
  178. package/vendors/clio-extension/actions/add-todo.json +52 -0
  179. package/vendors/clio-extension/actions/analyze-bib.json +97 -0
  180. package/vendors/clio-extension/actions/audit-milestone.json +63 -0
  181. package/vendors/clio-extension/actions/check-refs.json +80 -0
  182. package/vendors/clio-extension/actions/check-todos.json +52 -0
  183. package/vendors/clio-extension/actions/checkpoint.json +85 -0
  184. package/vendors/clio-extension/actions/contribute.json +57 -0
  185. package/vendors/clio-extension/actions/create-outline.json +84 -0
  186. package/vendors/clio-extension/actions/create-poster.json +54 -0
  187. package/vendors/clio-extension/actions/create-slides.json +54 -0
  188. package/vendors/clio-extension/actions/discuss-section.json +76 -0
  189. package/vendors/clio-extension/actions/execute-outline.json +124 -0
  190. package/vendors/clio-extension/actions/export-latex.json +78 -0
  191. package/vendors/clio-extension/actions/help.json +30 -0
  192. package/vendors/clio-extension/actions/insert-section.json +61 -0
  193. package/vendors/clio-extension/actions/list-assumptions.json +35 -0
  194. package/vendors/clio-extension/actions/map-project.json +71 -0
  195. package/vendors/clio-extension/actions/new-paper.json +70 -0
  196. package/vendors/clio-extension/actions/pause-writing.json +71 -0
  197. package/vendors/clio-extension/actions/plan-milestone-gaps.json +57 -0
  198. package/vendors/clio-extension/actions/plan-revision.json +71 -0
  199. package/vendors/clio-extension/actions/plan-section.json +100 -0
  200. package/vendors/clio-extension/actions/polish-prose.json +79 -0
  201. package/vendors/clio-extension/actions/progress.json +51 -0
  202. package/vendors/clio-extension/actions/quick.json +70 -0
  203. package/vendors/clio-extension/actions/remove-section.json +63 -0
  204. package/vendors/clio-extension/actions/report-bug.json +47 -0
  205. package/vendors/clio-extension/actions/request-feature.json +47 -0
  206. package/vendors/clio-extension/actions/research-gap.json +115 -0
  207. package/vendors/clio-extension/actions/resume-writing.json +65 -0
  208. package/vendors/clio-extension/actions/review-section.json +83 -0
  209. package/vendors/clio-extension/actions/settings.json +47 -0
  210. package/vendors/clio-extension/actions/submit-milestone.json +77 -0
  211. package/vendors/clio-extension/actions/update.json +42 -0
  212. package/vendors/clio-extension/actions/verify-work.json +68 -0
  213. package/vendors/clio-extension/actions/write-section.json +115 -0
  214. package/vendors/clio-extension/clio-coder-extension.yaml +76 -0
  215. package/vendors/clio-extension/compatibility/action-availability.json +295 -0
  216. package/vendors/clio-extension/project/schemas/checkpoint.schema.json +102 -0
  217. package/vendors/clio-extension/project/schemas/common.schema.json +33 -0
  218. package/vendors/clio-extension/project/schemas/config.schema.json +69 -0
  219. package/vendors/clio-extension/project/schemas/decisions.schema.json +31 -0
  220. package/vendors/clio-extension/project/schemas/evidence.schema.json +48 -0
  221. package/vendors/clio-extension/project/schemas/interaction.schema.json +100 -0
  222. package/vendors/clio-extension/project/schemas/manifest.schema.json +102 -0
  223. package/vendors/clio-extension/project/schemas/outline.schema.json +67 -0
  224. package/vendors/clio-extension/project/schemas/section.schema.json +95 -0
  225. package/vendors/clio-extension/project/schemas/source.schema.json +73 -0
  226. package/vendors/clio-extension/project/schemas/state.schema.json +58 -0
  227. package/vendors/clio-extension/project/schemas/validation.schema.json +74 -0
  228. package/vendors/clio-extension/runtime/claim-coverage.cjs +332 -0
  229. package/vendors/clio-extension/runtime/desk-trust.cjs +112 -0
  230. package/vendors/clio-extension/runtime/extension.test.ts +1567 -0
  231. package/vendors/clio-extension/runtime/extension.ts +3074 -0
  232. package/vendors/clio-extension/runtime/json-schema.cjs +304 -0
  233. package/vendors/clio-extension/runtime/package.json +3 -0
  234. package/vendors/clio-extension/runtime/write-guard.json +566 -0
  235. package/vendors/clio-extension/skins/wtfp.json +20 -0
  236. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  237. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +36 -28
  238. package/vendors/codex/plugins/wtfp/actions/checkpoint.json +10 -1
  239. package/vendors/codex/plugins/wtfp/actions/execute-outline.json +10 -2
  240. package/vendors/codex/plugins/wtfp/actions/export-latex.json +15 -2
  241. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +17 -4
  242. package/vendors/codex/plugins/wtfp/actions/polish-prose.json +13 -3
  243. package/vendors/codex/plugins/wtfp/actions/research-gap.json +16 -3
  244. package/vendors/codex/plugins/wtfp/actions/verify-work.json +7 -2
  245. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  246. package/vendors/codex/plugins/wtfp/project/README.md +37 -0
  247. package/vendors/codex/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  248. package/vendors/codex/plugins/wtfp/project/templates/interaction.json +16 -0
  249. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  250. package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  251. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  252. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  253. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  254. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  255. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  256. package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  257. package/vendors/codex/plugins/wtfp/workflows/checkpoint.md +2 -2
  258. package/vendors/codex/plugins/wtfp/workflows/execute-outline.md +2 -2
  259. package/vendors/codex/plugins/wtfp/workflows/export-latex.md +4 -4
  260. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +4 -3
  261. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +2 -2
  262. package/vendors/codex/plugins/wtfp/workflows/polish-prose.md +3 -3
  263. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +2 -2
  264. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +3 -3
  265. package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
  266. package/vendors/copilot/.wtfp-generated.json +43 -35
  267. package/vendors/copilot/marketplace.json +2 -2
  268. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  269. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +42 -34
  270. package/vendors/copilot/plugins/wtfp/actions/checkpoint.json +10 -1
  271. package/vendors/copilot/plugins/wtfp/actions/execute-outline.json +10 -2
  272. package/vendors/copilot/plugins/wtfp/actions/export-latex.json +15 -2
  273. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +17 -4
  274. package/vendors/copilot/plugins/wtfp/actions/polish-prose.json +13 -3
  275. package/vendors/copilot/plugins/wtfp/actions/research-gap.json +16 -3
  276. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +7 -2
  277. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +2 -2
  278. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +2 -2
  279. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +8 -3
  280. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +2 -2
  281. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +7 -3
  282. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +3 -3
  283. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -2
  284. package/vendors/copilot/plugins/wtfp/project/README.md +37 -0
  285. package/vendors/copilot/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
  286. package/vendors/copilot/plugins/wtfp/project/templates/interaction.json +16 -0
  287. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  288. package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  289. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  290. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  291. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  292. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  293. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  294. package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  295. package/vendors/copilot/plugins/wtfp/workflows/checkpoint.md +2 -2
  296. package/vendors/copilot/plugins/wtfp/workflows/execute-outline.md +2 -2
  297. package/vendors/copilot/plugins/wtfp/workflows/export-latex.md +4 -4
  298. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +4 -3
  299. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +2 -2
  300. package/vendors/copilot/plugins/wtfp/workflows/polish-prose.md +3 -3
  301. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +2 -2
  302. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +3 -3
  303. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
  304. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/SKILL.md +1 -1
  305. package/vendors/copilot/project/.github/skills/wtfp-deliver-research/references/actions.md +2 -2
  306. package/vendors/copilot/project/.github/skills/wtfp-plan-section/SKILL.md +1 -1
  307. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +4 -3
  308. package/vendors/copilot/project/.github/skills/wtfp-research-literature/SKILL.md +1 -1
  309. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/SKILL.md +1 -1
  310. package/vendors/copilot/project/.github/skills/wtfp-write-section/SKILL.md +1 -1
  311. package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +1 -1
  312. package/vendors/copilot/project/.github/wtfp/actions/checkpoint.json +10 -1
  313. package/vendors/copilot/project/.github/wtfp/actions/execute-outline.json +10 -2
  314. package/vendors/copilot/project/.github/wtfp/actions/export-latex.json +15 -2
  315. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +17 -4
  316. package/vendors/copilot/project/.github/wtfp/actions/polish-prose.json +13 -3
  317. package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +16 -3
  318. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +7 -2
  319. package/vendors/copilot/project/.github/wtfp/project/README.md +37 -0
  320. package/vendors/copilot/project/.github/wtfp/project/schemas/interaction.schema.json +100 -0
  321. package/vendors/copilot/project/.github/wtfp/project/templates/interaction.json +16 -0
  322. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
  323. package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
  324. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
  325. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
  326. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
  327. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
  328. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
  329. package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
  330. package/vendors/copilot/project/.github/wtfp/workflows/checkpoint.md +2 -2
  331. package/vendors/copilot/project/.github/wtfp/workflows/execute-outline.md +2 -2
  332. package/vendors/copilot/project/.github/wtfp/workflows/export-latex.md +4 -4
  333. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +4 -3
  334. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +2 -2
  335. package/vendors/copilot/project/.github/wtfp/workflows/polish-prose.md +3 -3
  336. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +2 -2
  337. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +3 -3
  338. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
  339. package/vendors/gemini/.wtfp-generated.json +61 -53
  340. package/vendors/gemini/actions/checkpoint.json +10 -1
  341. package/vendors/gemini/actions/execute-outline.json +10 -2
  342. package/vendors/gemini/actions/export-latex.json +15 -2
  343. package/vendors/gemini/actions/plan-revision.json +17 -4
  344. package/vendors/gemini/actions/polish-prose.json +13 -3
  345. package/vendors/gemini/actions/research-gap.json +16 -3
  346. package/vendors/gemini/actions/verify-work.json +7 -2
  347. package/vendors/gemini/commands/wtfp/add-todo.toml +37 -0
  348. package/vendors/gemini/commands/wtfp/check-todos.toml +37 -0
  349. package/vendors/gemini/commands/wtfp/checkpoint.toml +49 -3
  350. package/vendors/gemini/commands/wtfp/create-outline.toml +37 -0
  351. package/vendors/gemini/commands/wtfp/create-poster.toml +40 -3
  352. package/vendors/gemini/commands/wtfp/create-slides.toml +40 -3
  353. package/vendors/gemini/commands/wtfp/discuss-section.toml +42 -4
  354. package/vendors/gemini/commands/wtfp/execute-outline.toml +51 -6
  355. package/vendors/gemini/commands/wtfp/help.toml +37 -0
  356. package/vendors/gemini/commands/wtfp/insert-section.toml +42 -4
  357. package/vendors/gemini/commands/wtfp/list-assumptions.toml +42 -4
  358. package/vendors/gemini/commands/wtfp/map-project.toml +37 -0
  359. package/vendors/gemini/commands/wtfp/new-paper.toml +37 -0
  360. package/vendors/gemini/commands/wtfp/pause-writing.toml +37 -0
  361. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +38 -1
  362. package/vendors/gemini/commands/wtfp/plan-revision.toml +310 -11
  363. package/vendors/gemini/commands/wtfp/plan-section.toml +44 -6
  364. package/vendors/gemini/commands/wtfp/polish-prose.toml +281 -7
  365. package/vendors/gemini/commands/wtfp/progress.toml +37 -0
  366. package/vendors/gemini/commands/wtfp/quick.toml +39 -2
  367. package/vendors/gemini/commands/wtfp/resume-writing.toml +37 -0
  368. package/vendors/gemini/commands/wtfp/review-section.toml +38 -1
  369. package/vendors/gemini/commands/wtfp/settings.toml +37 -0
  370. package/vendors/gemini/commands/wtfp/submit-milestone.toml +40 -3
  371. package/vendors/gemini/commands/wtfp/verify-work.toml +48 -6
  372. package/vendors/gemini/commands/wtfp/write-section.toml +41 -4
  373. package/vendors/gemini/gemini-extension.json +1 -1
  374. package/vendors/gemini/project/README.md +37 -0
  375. package/vendors/gemini/project/schemas/interaction.schema.json +100 -0
  376. package/vendors/gemini/project/templates/interaction.json +16 -0
  377. package/vendors/gemini/skills/wtfp-deliver-research/SKILL.md +1 -1
  378. package/vendors/gemini/skills/wtfp-deliver-research/references/actions.md +2 -2
  379. package/vendors/gemini/skills/wtfp-plan-section/SKILL.md +1 -1
  380. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +4 -3
  381. package/vendors/gemini/skills/wtfp-research-literature/SKILL.md +1 -1
  382. package/vendors/gemini/skills/wtfp-review-manuscript/SKILL.md +1 -1
  383. package/vendors/gemini/skills/wtfp-write-section/SKILL.md +1 -1
  384. package/vendors/gemini/skills/wtfp-write-section/references/actions.md +1 -1
  385. package/vendors/gemini/workflows/checkpoint.md +2 -2
  386. package/vendors/gemini/workflows/execute-outline.md +2 -2
  387. package/vendors/gemini/workflows/export-latex.md +4 -4
  388. package/vendors/gemini/workflows/plan-revision.md +4 -3
  389. package/vendors/gemini/workflows/plan-section.md +2 -2
  390. package/vendors/gemini/workflows/polish-prose.md +3 -3
  391. package/vendors/gemini/workflows/research-gap.md +2 -2
  392. package/vendors/gemini/workflows/verify-work.md +3 -3
  393. package/vendors/gemini/workflows/write-section.md +2 -2
  394. package/vendors/opencode/.wtfp-generated.json +60 -52
  395. package/vendors/opencode/actions/checkpoint.json +10 -1
  396. package/vendors/opencode/actions/execute-outline.json +10 -2
  397. package/vendors/opencode/actions/export-latex.json +15 -2
  398. package/vendors/opencode/actions/plan-revision.json +17 -4
  399. package/vendors/opencode/actions/polish-prose.json +13 -3
  400. package/vendors/opencode/actions/research-gap.json +16 -3
  401. package/vendors/opencode/actions/verify-work.json +7 -2
  402. package/vendors/opencode/commands/wtfp/add-todo.md +37 -0
  403. package/vendors/opencode/commands/wtfp/check-todos.md +37 -0
  404. package/vendors/opencode/commands/wtfp/checkpoint.md +49 -3
  405. package/vendors/opencode/commands/wtfp/create-outline.md +37 -0
  406. package/vendors/opencode/commands/wtfp/create-poster.md +40 -3
  407. package/vendors/opencode/commands/wtfp/create-slides.md +40 -3
  408. package/vendors/opencode/commands/wtfp/discuss-section.md +42 -4
  409. package/vendors/opencode/commands/wtfp/execute-outline.md +51 -6
  410. package/vendors/opencode/commands/wtfp/help.md +37 -0
  411. package/vendors/opencode/commands/wtfp/insert-section.md +42 -4
  412. package/vendors/opencode/commands/wtfp/list-assumptions.md +42 -4
  413. package/vendors/opencode/commands/wtfp/map-project.md +37 -0
  414. package/vendors/opencode/commands/wtfp/new-paper.md +37 -0
  415. package/vendors/opencode/commands/wtfp/pause-writing.md +37 -0
  416. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +38 -1
  417. package/vendors/opencode/commands/wtfp/plan-revision.md +310 -11
  418. package/vendors/opencode/commands/wtfp/plan-section.md +44 -6
  419. package/vendors/opencode/commands/wtfp/polish-prose.md +281 -7
  420. package/vendors/opencode/commands/wtfp/progress.md +37 -0
  421. package/vendors/opencode/commands/wtfp/quick.md +39 -2
  422. package/vendors/opencode/commands/wtfp/resume-writing.md +37 -0
  423. package/vendors/opencode/commands/wtfp/review-section.md +38 -1
  424. package/vendors/opencode/commands/wtfp/settings.md +37 -0
  425. package/vendors/opencode/commands/wtfp/submit-milestone.md +40 -3
  426. package/vendors/opencode/commands/wtfp/verify-work.md +48 -6
  427. package/vendors/opencode/commands/wtfp/write-section.md +41 -4
  428. package/vendors/opencode/project/README.md +37 -0
  429. package/vendors/opencode/project/schemas/interaction.schema.json +100 -0
  430. package/vendors/opencode/project/templates/interaction.json +16 -0
  431. package/vendors/opencode/skills/wtfp-deliver-research/SKILL.md +1 -1
  432. package/vendors/opencode/skills/wtfp-deliver-research/references/actions.md +2 -2
  433. package/vendors/opencode/skills/wtfp-plan-section/SKILL.md +1 -1
  434. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +4 -3
  435. package/vendors/opencode/skills/wtfp-research-literature/SKILL.md +1 -1
  436. package/vendors/opencode/skills/wtfp-review-manuscript/SKILL.md +1 -1
  437. package/vendors/opencode/skills/wtfp-write-section/SKILL.md +1 -1
  438. package/vendors/opencode/skills/wtfp-write-section/references/actions.md +1 -1
  439. package/vendors/opencode/workflows/checkpoint.md +2 -2
  440. package/vendors/opencode/workflows/execute-outline.md +2 -2
  441. package/vendors/opencode/workflows/export-latex.md +4 -4
  442. package/vendors/opencode/workflows/plan-revision.md +4 -3
  443. package/vendors/opencode/workflows/plan-section.md +2 -2
  444. package/vendors/opencode/workflows/polish-prose.md +3 -3
  445. package/vendors/opencode/workflows/research-gap.md +2 -2
  446. package/vendors/opencode/workflows/verify-work.md +3 -3
  447. package/vendors/opencode/workflows/write-section.md +2 -2
  448. package/vendors/plugin/.wtfp-generated.json +75 -67
  449. package/vendors/plugin/actions/checkpoint.json +10 -1
  450. package/vendors/plugin/actions/execute-outline.json +10 -2
  451. package/vendors/plugin/actions/export-latex.json +15 -2
  452. package/vendors/plugin/actions/plan-revision.json +17 -4
  453. package/vendors/plugin/actions/polish-prose.json +13 -3
  454. package/vendors/plugin/actions/research-gap.json +16 -3
  455. package/vendors/plugin/actions/verify-work.json +7 -2
  456. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
  457. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
  458. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
  459. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
  460. package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-draft-review.md +1 -1
  461. package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-plan-section.md +1 -1
  462. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +19 -12
  463. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +34 -19
  464. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +22 -25
  465. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +34 -15
  466. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +23 -13
  467. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +23 -29
  468. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +33 -25
  469. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
  470. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
  471. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +21 -17
  472. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +38 -30
  473. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +26 -21
  474. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +2 -2
  475. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +21 -13
  476. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
  477. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +19 -14
  478. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +21 -17
  479. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +19 -18
  480. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +21 -15
  481. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +25 -18
  482. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +36 -30
  483. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +38 -18
  484. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
  485. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +35 -15
  486. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +37 -23
  487. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +21 -23
  488. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +31 -20
  489. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +21 -9
  490. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +21 -25
  491. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +24 -18
  492. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +38 -31
  493. package/vendors/plugin/compatibility/action-availability.json +18 -3
  494. package/vendors/plugin/plugin.json +7 -7
  495. package/vendors/plugin/project/README.md +37 -0
  496. package/vendors/plugin/project/schemas/interaction.schema.json +100 -0
  497. package/vendors/plugin/project/templates/interaction.json +16 -0
  498. package/vendors/plugin/skills/wtfp-deliver-research/SKILL.md +1 -1
  499. package/vendors/plugin/skills/wtfp-deliver-research/references/actions.md +2 -2
  500. package/vendors/plugin/skills/wtfp-plan-section/SKILL.md +1 -1
  501. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +4 -3
  502. package/vendors/plugin/skills/wtfp-research-literature/SKILL.md +1 -1
  503. package/vendors/plugin/skills/wtfp-review-manuscript/SKILL.md +1 -1
  504. package/vendors/plugin/skills/wtfp-write-section/SKILL.md +1 -1
  505. package/vendors/plugin/skills/wtfp-write-section/references/actions.md +1 -1
  506. package/vendors/plugin/workflows/checkpoint.md +2 -2
  507. package/vendors/plugin/workflows/execute-outline.md +2 -2
  508. package/vendors/plugin/workflows/export-latex.md +4 -4
  509. package/vendors/plugin/workflows/plan-revision.md +4 -3
  510. package/vendors/plugin/workflows/plan-section.md +2 -2
  511. package/vendors/plugin/workflows/polish-prose.md +3 -3
  512. package/vendors/plugin/workflows/research-gap.md +2 -2
  513. package/vendors/plugin/workflows/verify-work.md +3 -3
  514. package/vendors/plugin/workflows/write-section.md +2 -2
  515. package/vendors/antigravity/commands/wtfp-plan-section.md +0 -78
  516. package/vendors/antigravity/commands/wtfp-write-section.md +0 -77
@@ -0,0 +1,115 @@
1
+ {
2
+ "schema": "wtfp.action/v1",
3
+ "id": "write-section",
4
+ "title": "Write a section",
5
+ "description": "Execute an approved section plan, update state, and optionally verify argument coverage.",
6
+ "alias": "wtfp:write-section",
7
+ "surface": {
8
+ "kind": "skill",
9
+ "skill": "wtfp-write-section"
10
+ },
11
+ "workflow": "wtfp://workflows/write-section",
12
+ "requirements": {
13
+ "capabilities": [
14
+ "agent.delegate",
15
+ "filesystem.read",
16
+ "filesystem.write",
17
+ "user.interaction"
18
+ ],
19
+ "conditions": [
20
+ "The selected section has an executable plan"
21
+ ]
22
+ },
23
+ "reads": [
24
+ "project://manifest",
25
+ "project://config",
26
+ "project://state",
27
+ "project://decisions",
28
+ "project://structure/outline",
29
+ "project://sections/{section}",
30
+ "project://sections/{section}/context",
31
+ "project://sections/{section}/research",
32
+ "project://sections/{section}/plans/{plan}",
33
+ "project://sections/{section}/summary",
34
+ "project://sources/{source}",
35
+ "project://evidence/{evidence}",
36
+ "project://paper/{artifact}"
37
+ ],
38
+ "produces": [
39
+ {
40
+ "uri": "project://paper/{artifact}",
41
+ "mode": "create"
42
+ },
43
+ {
44
+ "uri": "project://paper/{artifact}",
45
+ "mode": "update"
46
+ },
47
+ {
48
+ "uri": "project://manifest",
49
+ "mode": "update"
50
+ },
51
+ {
52
+ "uri": "project://sections/{section}/summary",
53
+ "mode": "create"
54
+ },
55
+ {
56
+ "uri": "project://sections/{section}/summary",
57
+ "mode": "update"
58
+ },
59
+ {
60
+ "uri": "project://validations/{validation}",
61
+ "mode": "create"
62
+ },
63
+ {
64
+ "uri": "project://checkpoints/{checkpoint}",
65
+ "mode": "create"
66
+ },
67
+ {
68
+ "uri": "project://sections/{section}",
69
+ "mode": "update"
70
+ },
71
+ {
72
+ "uri": "project://state",
73
+ "mode": "update"
74
+ }
75
+ ],
76
+ "delegation": [
77
+ {
78
+ "role": "section-writer",
79
+ "mode": "required",
80
+ "purpose": "Draft the section from its approved plan and evidence"
81
+ },
82
+ {
83
+ "role": "argument-verifier",
84
+ "mode": "optional",
85
+ "purpose": "Independently verify claim, evidence, and requirement coverage"
86
+ }
87
+ ],
88
+ "tools": [],
89
+ "effects": [
90
+ {
91
+ "id": "agent.delegate",
92
+ "scope": "role://section-writer, role://argument-verifier"
93
+ },
94
+ {
95
+ "id": "filesystem.create",
96
+ "scope": "project://paper/{artifact}, project://sections/{section}/summary, project://validations/{validation}, project://checkpoints/{checkpoint}"
97
+ },
98
+ {
99
+ "id": "filesystem.modify",
100
+ "scope": "project://paper/{artifact}, project://manifest, project://sections/{section}/summary, project://sections/{section}, project://state"
101
+ },
102
+ {
103
+ "id": "filesystem.read",
104
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://structure/outline, project://sections/{section}, project://sections/{section}/context, project://sections/{section}/research, project://sections/{section}/plans/{plan}, project://sections/{section}/summary, project://sources/{source}, project://evidence/{evidence}, project://paper/{artifact}"
105
+ },
106
+ {
107
+ "id": "filesystem.write",
108
+ "scope": "declared manuscript, manifest, summary, validation, checkpoint, section, and state resources"
109
+ },
110
+ {
111
+ "id": "user.gate",
112
+ "scope": "verification exceptions and blocked plan decisions"
113
+ }
114
+ ]
115
+ }
@@ -0,0 +1,76 @@
1
+ # Generated by WTF-P adapter compiler v5 from clio/clio-coder-extension.yaml; do not edit.
2
+ id: wtfp
3
+ plugin: wtfp
4
+ name: WTF-P
5
+ version: 0.8.1
6
+ description: "The WTF-P writing desk for Clio Coder; paper state, gates and the write guard run in code."
7
+ compatibility: { clio: ">=0.6.3" }
8
+ runtime:
9
+ api: 2
10
+ entrypoint: runtime/extension.ts
11
+ commands:
12
+ - { name: desk, description: "Enter the WTF-P writing desk." }
13
+ - { name: progress, description: "Paper progress and the next action, computed locally.", replaces: prompt }
14
+ - { name: help, description: "The WTF-P action reference, rendered locally.", replaces: prompt }
15
+ - { name: check-todos, description: "Answer pending gates and author tasks.", replaces: prompt }
16
+ - { name: checkpoints, description: "List interaction gates and state snapshots." }
17
+ - { name: validate, description: "Validate every planning record against its schema." }
18
+ events: [session_open, turn_end, dispatch_started, dispatch_completed, dispatch_failed, fs_changed, workspace_enter, workspace_leave]
19
+ watch: [".planning/**", "paper/**"]
20
+ hooks:
21
+ - { on: prompt_submit, timeoutMs: 1000, onTimeout: pass, onError: pass }
22
+ - { on: before_tool, tools: [write, edit, artifact, dispatch, bash, run_script, job], timeoutMs: 1500, onTimeout: block, onError: block }
23
+ tools:
24
+ - name: record
25
+ description: "Write .planning records at their logical URIs: each validated against its canonical schema, checked against the version you read (expect_revision for state, outline and decisions; expect_sha256 for the rest; neither when creating), its revision bumped, and committed under the project lock. Pass several as writes to commit them together. Refuses author resolutions and anything the running action does not declare."
26
+ actionClass: execute
27
+ inputSchema:
28
+ type: object
29
+ properties:
30
+ uri: { type: string }
31
+ record: { type: object }
32
+ expect_revision: { type: integer }
33
+ expect_sha256: { type: string }
34
+ writes:
35
+ type: array
36
+ maxItems: 16
37
+ items:
38
+ type: object
39
+ properties: { uri: { type: string }, record: { type: object }, expect_revision: { type: integer }, expect_sha256: { type: string } }
40
+ required: [uri, record]
41
+ additionalProperties: false
42
+ additionalProperties: false
43
+ - name: read_record
44
+ description: "Read one .planning record at its logical URI with the revision and sha256 to pass back to record, and, for a checkpoint, whether the author's answer is attested by the desk."
45
+ actionClass: execute
46
+ inputSchema: { type: object, properties: { uri: { type: string } }, required: [uri], additionalProperties: false }
47
+ - name: readiness
48
+ description: "Whether a section's manuscript may be drafted now: its blocking gates, whether the author approved exactly its current plan, and structural evidence coverage of its required claims."
49
+ actionClass: execute
50
+ inputSchema: { type: object, properties: { section: { type: string } }, required: [section], additionalProperties: false }
51
+ - name: measure_section
52
+ description: "Count a section's manuscript body words by the desk's one method and record the count in the section and state records, committed together."
53
+ actionClass: execute
54
+ inputSchema: { type: object, properties: { section: { type: string } }, required: [section], additionalProperties: false }
55
+ - name: gate
56
+ description: "Ask the author a pending checkpoint, or confirm a recorded answer the desk never saw, as an interview; only the author's answer resolves it, and the desk seals what was asked and answered."
57
+ actionClass: execute
58
+ inputSchema: { type: object, properties: { checkpoint: { type: string } }, required: [checkpoint], additionalProperties: false }
59
+ ui: [status, band, card, toast, interview]
60
+ workspaces:
61
+ - id: desk
62
+ title: WTF-P writing desk
63
+ regions: [header, board, islands, rail, footer]
64
+ board: band
65
+ skin: skins/wtfp.json
66
+ keys:
67
+ - { key: f, action: next, label: "Fill the next writing action" }
68
+ - { key: c, action: gates, label: "Answer the pending gate" }
69
+ - { key: v, action: validate, label: "Validate planning records" }
70
+ - { key: h, action: help, label: "WTF-P action reference" }
71
+ access: [prompt, tool-args]
72
+ permissions:
73
+ fs: { read: [workspace], write: [".planning"] }
74
+ exec: false
75
+ net: false
76
+ state: { session: true, store: true }
@@ -0,0 +1,295 @@
1
+ {
2
+ "schema": "wtfp.action-availability/v1",
3
+ "target": "clio",
4
+ "marker": "WTFP_ACTION_UNAVAILABLE",
5
+ "hostToolEnforcement": {
6
+ "actionScoped": true,
7
+ "surface": "clio:template-allowed-tools",
8
+ "certificationAutonomy": [
9
+ "read-only",
10
+ "suggest"
11
+ ],
12
+ "undeclaredToolCall": "fail"
13
+ },
14
+ "capabilityBindings": {
15
+ "agent.delegate": "clio:plugin-agent",
16
+ "agent.parallel": "clio:fleet",
17
+ "external.issue": null,
18
+ "filesystem.delete": null,
19
+ "filesystem.read": "clio:workspace-read",
20
+ "filesystem.write": "clio:workspace-write",
21
+ "network.fetch": "clio:web_fetch",
22
+ "network.search": "clio:bash-bundled-citation-tools",
23
+ "package.update": null,
24
+ "tool.execute": "clio:bash",
25
+ "user.interaction": "clio:ask_user",
26
+ "vcs.branch": null,
27
+ "vcs.commit": null
28
+ },
29
+ "approvalBindings": {
30
+ "none": "clio:permission-policy",
31
+ "implicit": "clio:permission-policy",
32
+ "explicit": "clio:ask_user"
33
+ },
34
+ "effectCapabilityBindings": {
35
+ "agent.delegate": "agent.delegate",
36
+ "agent.parallel": "agent.parallel",
37
+ "artifact.archive": "filesystem.write",
38
+ "external.issue": "external.issue",
39
+ "filesystem.create": "filesystem.write",
40
+ "filesystem.delete": "filesystem.delete",
41
+ "filesystem.modify": "filesystem.write",
42
+ "filesystem.read": "filesystem.read",
43
+ "filesystem.write": "filesystem.write",
44
+ "network.fetch": "network.fetch",
45
+ "network.search": "network.search",
46
+ "package.update": "package.update",
47
+ "tool.execute": "tool.execute",
48
+ "user.gate": "user.interaction",
49
+ "vcs.branch": "vcs.branch",
50
+ "vcs.commit": "vcs.commit",
51
+ "vcs.merge": null
52
+ },
53
+ "actions": [
54
+ {
55
+ "id": "add-todo",
56
+ "status": "available",
57
+ "unavailableCapabilities": [],
58
+ "unavailableEffects": []
59
+ },
60
+ {
61
+ "id": "analyze-bib",
62
+ "status": "available",
63
+ "unavailableCapabilities": [],
64
+ "unavailableEffects": []
65
+ },
66
+ {
67
+ "id": "audit-milestone",
68
+ "status": "available",
69
+ "unavailableCapabilities": [],
70
+ "unavailableEffects": []
71
+ },
72
+ {
73
+ "id": "check-refs",
74
+ "status": "available",
75
+ "unavailableCapabilities": [],
76
+ "unavailableEffects": []
77
+ },
78
+ {
79
+ "id": "check-todos",
80
+ "status": "available",
81
+ "unavailableCapabilities": [],
82
+ "unavailableEffects": []
83
+ },
84
+ {
85
+ "id": "checkpoint",
86
+ "status": "available",
87
+ "unavailableCapabilities": [],
88
+ "unavailableEffects": []
89
+ },
90
+ {
91
+ "id": "contribute",
92
+ "status": "unavailable",
93
+ "unavailableCapabilities": [
94
+ "external.issue",
95
+ "vcs.branch",
96
+ "vcs.commit"
97
+ ],
98
+ "unavailableEffects": [
99
+ "external.issue",
100
+ "vcs.branch",
101
+ "vcs.commit"
102
+ ]
103
+ },
104
+ {
105
+ "id": "create-outline",
106
+ "status": "available",
107
+ "unavailableCapabilities": [],
108
+ "unavailableEffects": []
109
+ },
110
+ {
111
+ "id": "create-poster",
112
+ "status": "available",
113
+ "unavailableCapabilities": [],
114
+ "unavailableEffects": []
115
+ },
116
+ {
117
+ "id": "create-slides",
118
+ "status": "available",
119
+ "unavailableCapabilities": [],
120
+ "unavailableEffects": []
121
+ },
122
+ {
123
+ "id": "discuss-section",
124
+ "status": "available",
125
+ "unavailableCapabilities": [],
126
+ "unavailableEffects": []
127
+ },
128
+ {
129
+ "id": "execute-outline",
130
+ "status": "available",
131
+ "unavailableCapabilities": [],
132
+ "unavailableEffects": []
133
+ },
134
+ {
135
+ "id": "export-latex",
136
+ "status": "available",
137
+ "unavailableCapabilities": [],
138
+ "unavailableEffects": []
139
+ },
140
+ {
141
+ "id": "help",
142
+ "status": "available",
143
+ "unavailableCapabilities": [],
144
+ "unavailableEffects": []
145
+ },
146
+ {
147
+ "id": "insert-section",
148
+ "status": "available",
149
+ "unavailableCapabilities": [],
150
+ "unavailableEffects": []
151
+ },
152
+ {
153
+ "id": "list-assumptions",
154
+ "status": "available",
155
+ "unavailableCapabilities": [],
156
+ "unavailableEffects": []
157
+ },
158
+ {
159
+ "id": "map-project",
160
+ "status": "available",
161
+ "unavailableCapabilities": [],
162
+ "unavailableEffects": []
163
+ },
164
+ {
165
+ "id": "new-paper",
166
+ "status": "available",
167
+ "unavailableCapabilities": [],
168
+ "unavailableEffects": []
169
+ },
170
+ {
171
+ "id": "pause-writing",
172
+ "status": "available",
173
+ "unavailableCapabilities": [],
174
+ "unavailableEffects": []
175
+ },
176
+ {
177
+ "id": "plan-milestone-gaps",
178
+ "status": "available",
179
+ "unavailableCapabilities": [],
180
+ "unavailableEffects": []
181
+ },
182
+ {
183
+ "id": "plan-revision",
184
+ "status": "available",
185
+ "unavailableCapabilities": [],
186
+ "unavailableEffects": []
187
+ },
188
+ {
189
+ "id": "plan-section",
190
+ "status": "available",
191
+ "unavailableCapabilities": [],
192
+ "unavailableEffects": []
193
+ },
194
+ {
195
+ "id": "polish-prose",
196
+ "status": "available",
197
+ "unavailableCapabilities": [],
198
+ "unavailableEffects": []
199
+ },
200
+ {
201
+ "id": "progress",
202
+ "status": "available",
203
+ "unavailableCapabilities": [],
204
+ "unavailableEffects": []
205
+ },
206
+ {
207
+ "id": "quick",
208
+ "status": "available",
209
+ "unavailableCapabilities": [],
210
+ "unavailableEffects": []
211
+ },
212
+ {
213
+ "id": "remove-section",
214
+ "status": "unavailable",
215
+ "unavailableCapabilities": [
216
+ "filesystem.delete"
217
+ ],
218
+ "unavailableEffects": [
219
+ "filesystem.delete"
220
+ ]
221
+ },
222
+ {
223
+ "id": "report-bug",
224
+ "status": "unavailable",
225
+ "unavailableCapabilities": [
226
+ "external.issue"
227
+ ],
228
+ "unavailableEffects": [
229
+ "external.issue"
230
+ ]
231
+ },
232
+ {
233
+ "id": "request-feature",
234
+ "status": "unavailable",
235
+ "unavailableCapabilities": [
236
+ "external.issue"
237
+ ],
238
+ "unavailableEffects": [
239
+ "external.issue"
240
+ ]
241
+ },
242
+ {
243
+ "id": "research-gap",
244
+ "status": "available",
245
+ "unavailableCapabilities": [],
246
+ "unavailableEffects": []
247
+ },
248
+ {
249
+ "id": "resume-writing",
250
+ "status": "available",
251
+ "unavailableCapabilities": [],
252
+ "unavailableEffects": []
253
+ },
254
+ {
255
+ "id": "review-section",
256
+ "status": "available",
257
+ "unavailableCapabilities": [],
258
+ "unavailableEffects": []
259
+ },
260
+ {
261
+ "id": "settings",
262
+ "status": "available",
263
+ "unavailableCapabilities": [],
264
+ "unavailableEffects": []
265
+ },
266
+ {
267
+ "id": "submit-milestone",
268
+ "status": "available",
269
+ "unavailableCapabilities": [],
270
+ "unavailableEffects": []
271
+ },
272
+ {
273
+ "id": "update",
274
+ "status": "unavailable",
275
+ "unavailableCapabilities": [
276
+ "package.update"
277
+ ],
278
+ "unavailableEffects": [
279
+ "package.update"
280
+ ]
281
+ },
282
+ {
283
+ "id": "verify-work",
284
+ "status": "available",
285
+ "unavailableCapabilities": [],
286
+ "unavailableEffects": []
287
+ },
288
+ {
289
+ "id": "write-section",
290
+ "status": "available",
291
+ "unavailableCapabilities": [],
292
+ "unavailableEffects": []
293
+ }
294
+ ]
295
+ }
@@ -0,0 +1,102 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/checkpoint/v1",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "allOf": [
7
+ {
8
+ "if": {
9
+ "required": ["kind"],
10
+ "properties": { "kind": { "const": "state-snapshot" } }
11
+ },
12
+ "then": {
13
+ "required": ["snapshot"],
14
+ "properties": {
15
+ "status": { "enum": ["available", "restored", "expired"] },
16
+ "blocking": { "const": false }
17
+ }
18
+ },
19
+ "else": {
20
+ "not": { "required": ["snapshot"] },
21
+ "properties": {
22
+ "status": { "enum": ["pending", "resolved", "waived", "expired"] }
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "required": [
28
+ "schema",
29
+ "id",
30
+ "project_id",
31
+ "kind",
32
+ "status",
33
+ "blocking",
34
+ "scope_uri",
35
+ "request",
36
+ "options",
37
+ "resume_action",
38
+ "created_at"
39
+ ],
40
+ "properties": {
41
+ "schema": { "const": "wtfp.project.checkpoint/v1" },
42
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
43
+ "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
44
+ "kind": { "enum": ["human-verify", "decision", "human-action", "safety-authorization", "state-snapshot"] },
45
+ "status": { "enum": ["pending", "resolved", "waived", "expired", "available", "restored"] },
46
+ "blocking": { "type": "boolean" },
47
+ "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
48
+ "request": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
49
+ "context": { "type": "string" },
50
+ "options": {
51
+ "type": "array",
52
+ "items": {
53
+ "type": "object",
54
+ "additionalProperties": false,
55
+ "required": ["id", "label", "implication"],
56
+ "properties": {
57
+ "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
58
+ "label": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
59
+ "implication": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
60
+ }
61
+ }
62
+ },
63
+ "resume_action": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
64
+ "created_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
65
+ "snapshot": {
66
+ "type": "object",
67
+ "additionalProperties": false,
68
+ "required": ["archive_uri", "resources"],
69
+ "properties": {
70
+ "archive_uri": {
71
+ "type": "string",
72
+ "pattern": "^project://archives/checkpoints/[A-Za-z0-9._~-]+$"
73
+ },
74
+ "resources": {
75
+ "type": "array",
76
+ "minItems": 1,
77
+ "items": {
78
+ "type": "object",
79
+ "additionalProperties": false,
80
+ "required": ["uri", "sha256"],
81
+ "properties": {
82
+ "uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
83
+ "revision": { "type": "integer", "minimum": 0 },
84
+ "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "resolution": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": ["resolved_by", "summary", "resolved_at"],
94
+ "properties": {
95
+ "resolved_by": { "enum": ["author", "policy"] },
96
+ "selected_option": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
97
+ "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
98
+ "resolved_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
99
+ }
100
+ }
101
+ }
102
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.wtf-p.dev/project/common/v1",
4
+ "$defs": {
5
+ "identifier": {
6
+ "type": "string",
7
+ "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
8
+ },
9
+ "logicalUri": {
10
+ "type": "string",
11
+ "pattern": "^project://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
12
+ },
13
+ "protocolUri": {
14
+ "type": "string",
15
+ "pattern": "^protocol://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
16
+ },
17
+ "nonEmptyString": {
18
+ "type": "string",
19
+ "minLength": 1
20
+ },
21
+ "timestamp": {
22
+ "type": "string",
23
+ "format": "date-time"
24
+ },
25
+ "date": {
26
+ "type": "string",
27
+ "format": "date"
28
+ },
29
+ "confidence": {
30
+ "enum": ["high", "medium", "low", "unknown"]
31
+ }
32
+ }
33
+ }