wtf-p 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/README.md +33 -18
  2. package/bin/lib/adapter-compiler.js +269 -55
  3. package/package.json +1 -1
  4. package/protocol/actions/advance.json +232 -0
  5. package/protocol/actions/plan-revision.json +8 -3
  6. package/protocol/actions/verify-work.json +6 -2
  7. package/protocol/aliases.lock.json +1 -0
  8. package/protocol/catalog.json +4 -2
  9. package/protocol/project/README.md +2 -0
  10. package/protocol/roles/research-synthesizer.md +1 -1
  11. package/protocol/skills/wtfp-manage-project/SKILL.md +2 -1
  12. package/protocol/skills/wtfp-manage-project/references/actions.md +13 -1
  13. package/protocol/skills/wtfp-plan-section/references/actions.md +1 -1
  14. package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
  15. package/protocol/skills/wtfp-review-manuscript/references/actions.md +2 -1
  16. package/protocol/workflows/advance.md +38 -0
  17. package/protocol/workflows/discuss-section.md +1 -1
  18. package/protocol/workflows/plan-revision.md +3 -3
  19. package/protocol/workflows/plan-section.md +1 -1
  20. package/protocol/workflows/research-gap.md +3 -3
  21. package/protocol/workflows/verify-work.md +4 -2
  22. package/protocol/workflows/write-section.md +2 -2
  23. package/vendors/antigravity/.wtfp-generated.json +54 -42
  24. package/vendors/antigravity/actions/advance.json +232 -0
  25. package/vendors/antigravity/actions/plan-revision.json +8 -3
  26. package/vendors/antigravity/actions/verify-work.json +6 -2
  27. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
  28. package/vendors/antigravity/aliases.lock.json +1 -0
  29. package/vendors/antigravity/catalog.json +4 -2
  30. package/vendors/antigravity/compatibility/action-availability.json +13 -1
  31. package/vendors/antigravity/plugin.json +2 -2
  32. package/vendors/antigravity/project/README.md +2 -0
  33. package/vendors/antigravity/roles/research-synthesizer.md +1 -1
  34. package/vendors/antigravity/rules/wtfp-project-state.md +2 -0
  35. package/vendors/antigravity/skills/wtfp-add-todo/SKILL.md +0 -2
  36. package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
  37. package/vendors/antigravity/skills/wtfp-checkpoint/SKILL.md +0 -14
  38. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +0 -8
  39. package/vendors/antigravity/skills/wtfp-create-poster/SKILL.md +1 -6
  40. package/vendors/antigravity/skills/wtfp-create-slides/SKILL.md +1 -6
  41. package/vendors/antigravity/skills/wtfp-discuss-section/SKILL.md +1 -5
  42. package/vendors/antigravity/skills/wtfp-execute-outline/SKILL.md +0 -10
  43. package/vendors/antigravity/skills/wtfp-help/SKILL.md +1 -1
  44. package/vendors/antigravity/skills/wtfp-list-assumptions/SKILL.md +1 -10
  45. package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
  46. package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
  47. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +0 -6
  48. package/vendors/antigravity/skills/wtfp-plan-milestone-gaps/SKILL.md +0 -6
  49. package/vendors/antigravity/skills/wtfp-plan-revision/SKILL.md +5 -11
  50. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
  51. package/vendors/antigravity/skills/wtfp-polish-prose/SKILL.md +0 -6
  52. package/vendors/antigravity/skills/wtfp-progress/SKILL.md +1 -22
  53. package/vendors/antigravity/skills/wtfp-quick/SKILL.md +0 -4
  54. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
  55. package/vendors/antigravity/skills/wtfp-resume-writing/SKILL.md +0 -12
  56. package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
  57. package/vendors/antigravity/skills/wtfp-review-section/SKILL.md +0 -8
  58. package/vendors/antigravity/skills/wtfp-submit-milestone/SKILL.md +0 -12
  59. package/vendors/antigravity/skills/wtfp-verify-work/SKILL.md +6 -4
  60. package/vendors/antigravity/tools/README.md +1 -1
  61. package/vendors/antigravity/workflows/advance.md +38 -0
  62. package/vendors/antigravity/workflows/discuss-section.md +1 -1
  63. package/vendors/antigravity/workflows/plan-revision.md +3 -3
  64. package/vendors/antigravity/workflows/plan-section.md +1 -1
  65. package/vendors/antigravity/workflows/research-gap.md +3 -3
  66. package/vendors/antigravity/workflows/verify-work.md +4 -2
  67. package/vendors/antigravity/workflows/write-section.md +2 -2
  68. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  69. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  70. package/vendors/claude/.wtfp-generated.json +108 -92
  71. package/vendors/claude/actions/advance.json +232 -0
  72. package/vendors/claude/actions/plan-revision.json +8 -3
  73. package/vendors/claude/actions/verify-work.json +6 -2
  74. package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
  75. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  76. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  77. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  78. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  79. package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  80. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  81. package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  82. package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  83. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  84. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  85. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  86. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +0 -2
  87. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
  88. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +4 -8
  89. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +2 -16
  90. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +4 -8
  91. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +2 -0
  92. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +2 -14
  93. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +4 -10
  94. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +3 -6
  95. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +3 -6
  96. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +3 -5
  97. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +4 -12
  98. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +2 -8
  99. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  100. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +2 -0
  101. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +1 -10
  102. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +2 -0
  103. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +0 -6
  104. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +2 -6
  105. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +7 -11
  106. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -15
  107. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +4 -8
  108. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +3 -22
  109. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +4 -6
  110. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +12 -14
  111. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +2 -12
  112. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +4 -10
  113. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +2 -0
  114. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +2 -12
  115. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +8 -4
  116. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +6 -14
  117. package/vendors/claude/aliases.lock.json +1 -0
  118. package/vendors/claude/catalog.json +4 -2
  119. package/vendors/claude/commands/add-todo.md +0 -2
  120. package/vendors/claude/commands/advance.md +16 -0
  121. package/vendors/claude/commands/analyze-bib.md +0 -6
  122. package/vendors/claude/commands/audit-milestone.md +0 -16
  123. package/vendors/claude/commands/check-refs.md +0 -6
  124. package/vendors/claude/commands/checkpoint.md +0 -14
  125. package/vendors/claude/commands/create-outline.md +0 -8
  126. package/vendors/claude/commands/create-poster.md +1 -6
  127. package/vendors/claude/commands/create-slides.md +1 -6
  128. package/vendors/claude/commands/discuss-section.md +1 -5
  129. package/vendors/claude/commands/execute-outline.md +0 -10
  130. package/vendors/claude/commands/export-latex.md +0 -8
  131. package/vendors/claude/commands/help.md +1 -1
  132. package/vendors/claude/commands/list-assumptions.md +1 -10
  133. package/vendors/claude/commands/pause-writing.md +0 -6
  134. package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
  135. package/vendors/claude/commands/plan-revision.md +5 -11
  136. package/vendors/claude/commands/plan-section.md +1 -13
  137. package/vendors/claude/commands/polish-prose.md +0 -6
  138. package/vendors/claude/commands/progress.md +1 -22
  139. package/vendors/claude/commands/quick.md +0 -4
  140. package/vendors/claude/commands/research-gap.md +3 -11
  141. package/vendors/claude/commands/resume-writing.md +0 -12
  142. package/vendors/claude/commands/review-section.md +0 -8
  143. package/vendors/claude/commands/submit-milestone.md +0 -12
  144. package/vendors/claude/commands/verify-work.md +6 -4
  145. package/vendors/claude/commands/write-section.md +2 -12
  146. package/vendors/claude/compatibility/action-availability.json +10 -1
  147. package/vendors/claude/output-styles/wtfp-academic-writing.md +2 -2
  148. package/vendors/claude/plugin.json +15 -1
  149. package/vendors/claude/project/README.md +2 -0
  150. package/vendors/claude/roles/research-synthesizer.md +1 -1
  151. package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
  152. package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
  153. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
  154. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
  155. package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
  156. package/vendors/claude/tools/README.md +1 -1
  157. package/vendors/claude/workflows/advance.md +38 -0
  158. package/vendors/claude/workflows/discuss-section.md +1 -1
  159. package/vendors/claude/workflows/plan-revision.md +3 -3
  160. package/vendors/claude/workflows/plan-section.md +1 -1
  161. package/vendors/claude/workflows/research-gap.md +3 -3
  162. package/vendors/claude/workflows/verify-work.md +4 -2
  163. package/vendors/claude/workflows/write-section.md +2 -2
  164. package/vendors/clio-extension/.wtfp-generated.json +56 -8
  165. package/vendors/clio-extension/actions/advance.json +232 -0
  166. package/vendors/clio-extension/actions/plan-revision.json +8 -3
  167. package/vendors/clio-extension/actions/verify-work.json +6 -2
  168. package/vendors/clio-extension/clio-coder-extension.yaml +19 -4
  169. package/vendors/clio-extension/compatibility/action-availability.json +9 -3
  170. package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
  171. package/vendors/clio-extension/project/templates/config.json +31 -0
  172. package/vendors/clio-extension/project/templates/decisions.json +35 -0
  173. package/vendors/clio-extension/project/templates/evidence.json +18 -0
  174. package/vendors/clio-extension/project/templates/interaction.json +16 -0
  175. package/vendors/clio-extension/project/templates/manifest.json +30 -0
  176. package/vendors/clio-extension/project/templates/outline.json +38 -0
  177. package/vendors/clio-extension/project/templates/section.json +32 -0
  178. package/vendors/clio-extension/project/templates/source.json +20 -0
  179. package/vendors/clio-extension/project/templates/state.json +22 -0
  180. package/vendors/clio-extension/project/templates/validation.json +32 -0
  181. package/vendors/clio-extension/runtime/extension.test.ts +656 -6
  182. package/vendors/clio-extension/runtime/extension.ts +885 -41
  183. package/vendors/clio-extension/runtime/write-guard.json +66 -0
  184. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  185. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +31 -23
  186. package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
  187. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +8 -3
  188. package/vendors/codex/plugins/wtfp/actions/verify-work.json +6 -2
  189. package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
  190. package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
  191. package/vendors/codex/plugins/wtfp/catalog.json +4 -2
  192. package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
  193. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  194. package/vendors/codex/plugins/wtfp/project/README.md +2 -0
  195. package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
  196. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  197. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  198. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  199. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  200. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  201. package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
  202. package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
  203. package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
  204. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +3 -3
  205. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +1 -1
  206. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +3 -3
  207. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +4 -2
  208. package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
  209. package/vendors/copilot/.wtfp-generated.json +43 -31
  210. package/vendors/copilot/marketplace.json +2 -2
  211. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  212. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +55 -43
  213. package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
  214. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +8 -3
  215. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +6 -2
  216. package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
  217. package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
  218. package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
  219. package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
  220. package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
  221. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +0 -14
  222. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
  223. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
  224. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
  225. package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
  226. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +0 -10
  227. package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
  228. package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
  229. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
  230. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
  231. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +5 -11
  232. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +1 -13
  233. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +0 -6
  234. package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
  235. package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
  236. package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
  237. package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +0 -8
  238. package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
  239. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +6 -4
  240. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -12
  241. package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
  242. package/vendors/copilot/plugins/wtfp/project/README.md +2 -0
  243. package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
  244. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  245. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  246. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  247. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  248. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  249. package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
  250. package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
  251. package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
  252. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +3 -3
  253. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +1 -1
  254. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +3 -3
  255. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +4 -2
  256. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
  257. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
  258. package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
  259. package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
  260. package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
  261. package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
  262. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
  263. package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
  264. package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
  265. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
  266. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
  267. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
  268. package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
  269. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +8 -3
  270. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +6 -2
  271. package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
  272. package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
  273. package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
  274. package/vendors/copilot/project/.github/wtfp/project/README.md +2 -0
  275. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
  276. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  277. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
  278. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  279. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  280. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  281. package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
  282. package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
  283. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +3 -3
  284. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +1 -1
  285. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +3 -3
  286. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +4 -2
  287. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
  288. package/vendors/copilot/project/README.md +1 -1
  289. package/vendors/gemini/.wtfp-generated.json +60 -48
  290. package/vendors/gemini/actions/advance.json +232 -0
  291. package/vendors/gemini/actions/plan-revision.json +8 -3
  292. package/vendors/gemini/actions/verify-work.json +6 -2
  293. package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
  294. package/vendors/gemini/aliases.lock.json +1 -0
  295. package/vendors/gemini/catalog.json +4 -2
  296. package/vendors/gemini/commands/wtfp/add-todo.toml +17 -144
  297. package/vendors/gemini/commands/wtfp/advance.toml +14 -0
  298. package/vendors/gemini/commands/wtfp/check-todos.toml +17 -2
  299. package/vendors/gemini/commands/wtfp/checkpoint.toml +17 -735
  300. package/vendors/gemini/commands/wtfp/create-outline.toml +2 -431
  301. package/vendors/gemini/commands/wtfp/create-poster.toml +3 -296
  302. package/vendors/gemini/commands/wtfp/create-slides.toml +3 -296
  303. package/vendors/gemini/commands/wtfp/discuss-section.toml +4 -259
  304. package/vendors/gemini/commands/wtfp/execute-outline.toml +2 -480
  305. package/vendors/gemini/commands/wtfp/help.toml +7 -3
  306. package/vendors/gemini/commands/wtfp/insert-section.toml +3 -1
  307. package/vendors/gemini/commands/wtfp/list-assumptions.toml +4 -510
  308. package/vendors/gemini/commands/wtfp/map-project.toml +2 -0
  309. package/vendors/gemini/commands/wtfp/new-paper.toml +2 -0
  310. package/vendors/gemini/commands/wtfp/pause-writing.toml +17 -309
  311. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +4 -369
  312. package/vendors/gemini/commands/wtfp/plan-revision.toml +76 -423
  313. package/vendors/gemini/commands/wtfp/plan-section.toml +4 -624
  314. package/vendors/gemini/commands/wtfp/polish-prose.toml +4 -329
  315. package/vendors/gemini/commands/wtfp/progress.toml +18 -1143
  316. package/vendors/gemini/commands/wtfp/quick.toml +2 -218
  317. package/vendors/gemini/commands/wtfp/resume-writing.toml +17 -698
  318. package/vendors/gemini/commands/wtfp/review-section.toml +4 -410
  319. package/vendors/gemini/commands/wtfp/settings.toml +17 -2
  320. package/vendors/gemini/commands/wtfp/submit-milestone.toml +2 -617
  321. package/vendors/gemini/commands/wtfp/verify-work.toml +123 -53
  322. package/vendors/gemini/commands/wtfp/write-section.toml +4 -482
  323. package/vendors/gemini/compatibility/action-availability.json +13 -1
  324. package/vendors/gemini/gemini-extension.json +1 -1
  325. package/vendors/gemini/project/README.md +2 -0
  326. package/vendors/gemini/roles/research-synthesizer.md +1 -1
  327. package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
  328. package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
  329. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
  330. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
  331. package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
  332. package/vendors/gemini/tools/README.md +1 -1
  333. package/vendors/gemini/workflows/advance.md +38 -0
  334. package/vendors/gemini/workflows/discuss-section.md +1 -1
  335. package/vendors/gemini/workflows/plan-revision.md +3 -3
  336. package/vendors/gemini/workflows/plan-section.md +1 -1
  337. package/vendors/gemini/workflows/research-gap.md +3 -3
  338. package/vendors/gemini/workflows/verify-work.md +4 -2
  339. package/vendors/gemini/workflows/write-section.md +2 -2
  340. package/vendors/opencode/.wtfp-generated.json +59 -47
  341. package/vendors/opencode/actions/advance.json +232 -0
  342. package/vendors/opencode/actions/plan-revision.json +8 -3
  343. package/vendors/opencode/actions/verify-work.json +6 -2
  344. package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
  345. package/vendors/opencode/aliases.lock.json +1 -0
  346. package/vendors/opencode/catalog.json +4 -2
  347. package/vendors/opencode/commands/wtfp/add-todo.md +17 -144
  348. package/vendors/opencode/commands/wtfp/advance.md +16 -0
  349. package/vendors/opencode/commands/wtfp/check-todos.md +17 -2
  350. package/vendors/opencode/commands/wtfp/checkpoint.md +17 -735
  351. package/vendors/opencode/commands/wtfp/create-outline.md +2 -431
  352. package/vendors/opencode/commands/wtfp/create-poster.md +3 -296
  353. package/vendors/opencode/commands/wtfp/create-slides.md +3 -296
  354. package/vendors/opencode/commands/wtfp/discuss-section.md +4 -259
  355. package/vendors/opencode/commands/wtfp/execute-outline.md +2 -480
  356. package/vendors/opencode/commands/wtfp/help.md +7 -3
  357. package/vendors/opencode/commands/wtfp/insert-section.md +3 -1
  358. package/vendors/opencode/commands/wtfp/list-assumptions.md +4 -510
  359. package/vendors/opencode/commands/wtfp/map-project.md +2 -0
  360. package/vendors/opencode/commands/wtfp/new-paper.md +2 -0
  361. package/vendors/opencode/commands/wtfp/pause-writing.md +17 -309
  362. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +4 -369
  363. package/vendors/opencode/commands/wtfp/plan-revision.md +76 -423
  364. package/vendors/opencode/commands/wtfp/plan-section.md +4 -624
  365. package/vendors/opencode/commands/wtfp/polish-prose.md +4 -329
  366. package/vendors/opencode/commands/wtfp/progress.md +18 -1143
  367. package/vendors/opencode/commands/wtfp/quick.md +2 -218
  368. package/vendors/opencode/commands/wtfp/resume-writing.md +17 -698
  369. package/vendors/opencode/commands/wtfp/review-section.md +4 -410
  370. package/vendors/opencode/commands/wtfp/settings.md +17 -2
  371. package/vendors/opencode/commands/wtfp/submit-milestone.md +2 -617
  372. package/vendors/opencode/commands/wtfp/verify-work.md +123 -53
  373. package/vendors/opencode/commands/wtfp/write-section.md +4 -482
  374. package/vendors/opencode/compatibility/action-availability.json +13 -1
  375. package/vendors/opencode/project/README.md +2 -0
  376. package/vendors/opencode/roles/research-synthesizer.md +1 -1
  377. package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
  378. package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
  379. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
  380. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
  381. package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
  382. package/vendors/opencode/tools/README.md +1 -1
  383. package/vendors/opencode/workflows/advance.md +38 -0
  384. package/vendors/opencode/workflows/discuss-section.md +1 -1
  385. package/vendors/opencode/workflows/plan-revision.md +3 -3
  386. package/vendors/opencode/workflows/plan-section.md +1 -1
  387. package/vendors/opencode/workflows/research-gap.md +3 -3
  388. package/vendors/opencode/workflows/verify-work.md +4 -2
  389. package/vendors/opencode/workflows/write-section.md +2 -2
  390. package/vendors/plugin/.wtfp-generated.json +75 -63
  391. package/vendors/plugin/actions/advance.json +232 -0
  392. package/vendors/plugin/actions/plan-revision.json +8 -3
  393. package/vendors/plugin/actions/verify-work.json +6 -2
  394. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  395. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  396. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  397. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  398. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  399. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  400. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  401. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  402. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  403. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  404. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
  405. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +7 -3
  406. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
  407. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +11 -19
  408. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -4
  409. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +12 -6
  410. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +10 -4
  411. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +10 -4
  412. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +11 -19
  413. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +18 -13
  414. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +18 -13
  415. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +11 -5
  416. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +12 -6
  417. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +10 -4
  418. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  419. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +10 -4
  420. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +15 -17
  421. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +7 -3
  422. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +10 -4
  423. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +7 -3
  424. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +10 -4
  425. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +13 -7
  426. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +13 -7
  427. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +12 -6
  428. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +19 -30
  429. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +12 -6
  430. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +20 -10
  431. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +10 -4
  432. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +12 -6
  433. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +10 -4
  434. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +12 -4
  435. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +14 -6
  436. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +14 -8
  437. package/vendors/plugin/aliases.lock.json +1 -0
  438. package/vendors/plugin/catalog.json +4 -2
  439. package/vendors/plugin/compatibility/action-availability.json +9 -3
  440. package/vendors/plugin/plugin.json +15 -1
  441. package/vendors/plugin/project/README.md +2 -0
  442. package/vendors/plugin/roles/research-synthesizer.md +1 -1
  443. package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
  444. package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
  445. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
  446. package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
  447. package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
  448. package/vendors/plugin/tools/README.md +1 -1
  449. package/vendors/plugin/workflows/advance.md +38 -0
  450. package/vendors/plugin/workflows/discuss-section.md +1 -1
  451. package/vendors/plugin/workflows/plan-revision.md +3 -3
  452. package/vendors/plugin/workflows/plan-section.md +1 -1
  453. package/vendors/plugin/workflows/research-gap.md +3 -3
  454. package/vendors/plugin/workflows/verify-work.md +4 -2
  455. package/vendors/plugin/workflows/write-section.md +2 -2
@@ -58,6 +58,8 @@ The JSON records above are the interoperable source of truth, while research and
58
58
  - Keep the manifest's `materials`, `manuscripts`, `deliverables`, and `archives` indexes synchronized with authored artifacts. Section records retain immutable plan/review history arrays, their current handoff, and linked checkpoints instead of hiding those relationships in prose.
59
59
  - Keep authored prose, context, research, plans, reviews, summaries, handoffs, and deliverables in their native format. Link those artifacts from the relevant record instead of treating a Markdown control document as project state.
60
60
  - Reconcile state from records and verified artifacts. Never infer lifecycle status from legacy `PROJECT.md`, `ROADMAP.md`, or `STATE.md` files.
61
+ - Read a large source or manuscript by section: search it, then read the bounded range that matters. A whole-file read of a long document can exhaust a host's per-turn observation budget and end the action before it asks the author anything.
62
+ - An author's request is never permission to write outside the running action's declared outputs. Do the part this action declares, then end by naming the action that owns the rest (for example `research-gap` for source or evidence records) as the next step. Do not ask again or weigh the request against the contract; the contract decides.
61
63
  - A workflow must not initialize a repository, create or switch branches, stage, commit, merge, push, or publish as an incidental side effect. An action that declares a `vcs.*` or external effect must preview the exact operation and cross a separate user gate immediately before that effect. Otherwise it may return only a non-executed handoff.
62
64
 
63
65
  ## Invariants
@@ -242,7 +244,7 @@ Contract: [protocol/actions/plan-revision.json](../../../actions/plan-revision.j
242
244
  - expected revised manuscript and revision summary.
243
245
  6. Never prescribe a cosmetic rewrite for an evidence or argument defect. Route missing evidence to research and structural defects to explicit author approval.
244
246
  7. Validate that every selected issue is addressed once and every excluded issue remains visible.
245
- 8. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan and validation, and ask the author. Append the revision plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; the plan that produced the reviewed draft is never edited and remains in the history.
247
+ 8. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan and validation, and ask the author. Append the revision plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes, and set the section status to `planned` when you link it; the plan that produced the reviewed draft is never edited and remains in the history.
246
248
 
247
249
  Completion requires a targeted, traceable path from finding to fix to re-verification, and a revision plan the author approved before any rewrite.
248
250
 
@@ -278,8 +280,8 @@ Completion requires preservation of all authored work and consistent outline/sta
278
280
  </details>
279
281
  ## Record contract
280
282
 
281
- Read: `project://manifest`, `project://config`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
282
- Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update).
283
+ Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://validations/{validation}`, `project://paper/{artifact}`.
284
+ Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://state` (update).
283
285
 
284
286
  Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
285
287
 
@@ -290,7 +292,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
290
292
  1. Resolve manifest requirements, the selected section, linked review or failed validation findings, prior summary, current draft, original plan, and decisions.
291
293
  2. Separate required fixes, optional improvements, protected text, dependencies, and verification criteria.
292
294
  3. Write a new immutable plan artifact after the author approves the revision priorities; never overwrite the plan that produced the reviewed draft.
293
- 4. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan, and ask the author. Append the plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; any other answer leaves the earlier plan current and the revision unlinked. With confirm_plan off, append it directly.
295
+ 4. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan, and ask the author. Append the plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; any other answer leaves the earlier plan current and the revision unlinked. With confirm_plan off, append it directly. Linking the revision plan sets the section status to `planned`, so the next step writes from it.
294
296
 
295
297
  ## Safety and completion
296
298
 
@@ -327,6 +329,7 @@ Report the logical resources read, created, updated, archived, or deleted; the g
327
329
  "reads": [
328
330
  "project://manifest",
329
331
  "project://config",
332
+ "project://state",
330
333
  "project://decisions",
331
334
  "project://sections/{section}",
332
335
  "project://sections/{section}/plans/{plan}",
@@ -347,6 +350,10 @@ Report the logical resources read, created, updated, archived, or deleted; the g
347
350
  {
348
351
  "uri": "project://sections/{section}",
349
352
  "mode": "update"
353
+ },
354
+ {
355
+ "uri": "project://state",
356
+ "mode": "update"
350
357
  }
351
358
  ],
352
359
  "delegation": [],
@@ -358,15 +365,15 @@ Report the logical resources read, created, updated, archived, or deleted; the g
358
365
  },
359
366
  {
360
367
  "id": "filesystem.modify",
361
- "scope": "project://sections/{section}"
368
+ "scope": "project://sections/{section}, project://state"
362
369
  },
363
370
  {
364
371
  "id": "filesystem.read",
365
- "scope": "project://manifest, project://config, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
372
+ "scope": "project://manifest, project://config, project://state, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
366
373
  },
367
374
  {
368
375
  "id": "filesystem.write",
369
- "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}"
376
+ "scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
370
377
  },
371
378
  {
372
379
  "id": "user.gate",
@@ -550,334 +557,6 @@ Report the logical resources read, created, updated, archived, or deleted; the g
550
557
  "created_at": "2026-08-28T12:40:00Z"
551
558
  }
552
559
 
553
- </details>
554
- <details data-wtfp-source="protocol://project/schemas/config.schema.json" open>
555
- <summary>Bundled WTF-P protocol resource: project/schemas/config.schema.json</summary>
556
-
557
- {
558
- "$schema": "https://json-schema.org/draft/2020-12/schema",
559
- "$id": "https://schemas.wtf-p.dev/project/config/v1",
560
- "type": "object",
561
- "additionalProperties": false,
562
- "required": [
563
- "schema",
564
- "project_id",
565
- "interaction_mode",
566
- "depth",
567
- "output_format",
568
- "language",
569
- "gates",
570
- "workflow",
571
- "safety",
572
- "parallelism"
573
- ],
574
- "properties": {
575
- "schema": { "const": "wtfp.project.config/v1" },
576
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
577
- "interaction_mode": { "enum": ["guided", "standard", "autonomous"] },
578
- "depth": { "enum": ["quick", "standard", "comprehensive"] },
579
- "output_format": { "enum": ["markdown", "latex", "typst"] },
580
- "language": { "type": "string", "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$" },
581
- "citation_style": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
582
- "gates": {
583
- "type": "object",
584
- "additionalProperties": false,
585
- "required": ["confirm_outline", "confirm_plan", "confirm_write", "confirm_review", "confirm_delivery"],
586
- "properties": {
587
- "confirm_outline": { "type": "boolean" },
588
- "confirm_plan": { "type": "boolean" },
589
- "confirm_write": { "type": "boolean" },
590
- "confirm_review": { "type": "boolean" },
591
- "confirm_delivery": { "type": "boolean" }
592
- }
593
- },
594
- "workflow": {
595
- "type": "object",
596
- "additionalProperties": false,
597
- "required": ["research", "plan_validation", "argument_validation", "coherence_validation"],
598
- "properties": {
599
- "research": { "type": "boolean" },
600
- "plan_validation": { "type": "boolean" },
601
- "argument_validation": { "type": "boolean" },
602
- "coherence_validation": { "type": "boolean" }
603
- }
604
- },
605
- "safety": {
606
- "type": "object",
607
- "additionalProperties": false,
608
- "required": ["destructive_requires_authorization", "external_publish_requires_authorization", "backup_before_major_edits"],
609
- "properties": {
610
- "destructive_requires_authorization": { "const": true },
611
- "external_publish_requires_authorization": { "const": true },
612
- "backup_before_major_edits": { "type": "boolean" }
613
- }
614
- },
615
- "parallelism": {
616
- "type": "object",
617
- "additionalProperties": false,
618
- "required": ["enabled", "max_workers"],
619
- "properties": {
620
- "enabled": { "type": "boolean" },
621
- "max_workers": { "type": "integer", "minimum": 1, "maximum": 32 }
622
- }
623
- }
624
- }
625
- }
626
-
627
- </details>
628
- <details data-wtfp-source="protocol://project/templates/config.json" open>
629
- <summary>Bundled WTF-P protocol resource: project/templates/config.json</summary>
630
-
631
- {
632
- "schema": "wtfp.project.config/v1",
633
- "project_id": "portable-research-demo",
634
- "interaction_mode": "standard",
635
- "depth": "standard",
636
- "output_format": "markdown",
637
- "language": "en-US",
638
- "citation_style": "author-date",
639
- "gates": {
640
- "confirm_outline": true,
641
- "confirm_plan": true,
642
- "confirm_write": true,
643
- "confirm_review": true,
644
- "confirm_delivery": true
645
- },
646
- "workflow": {
647
- "research": true,
648
- "plan_validation": true,
649
- "argument_validation": true,
650
- "coherence_validation": true
651
- },
652
- "safety": {
653
- "destructive_requires_authorization": true,
654
- "external_publish_requires_authorization": true,
655
- "backup_before_major_edits": true
656
- },
657
- "parallelism": {
658
- "enabled": true,
659
- "max_workers": 3
660
- }
661
- }
662
-
663
- </details>
664
- <details data-wtfp-source="protocol://project/schemas/decisions.schema.json" open>
665
- <summary>Bundled WTF-P protocol resource: project/schemas/decisions.schema.json</summary>
666
-
667
- {
668
- "$schema": "https://json-schema.org/draft/2020-12/schema",
669
- "$id": "https://schemas.wtf-p.dev/project/decisions/v1",
670
- "type": "object",
671
- "additionalProperties": false,
672
- "required": ["schema", "project_id", "revision", "items", "updated_at"],
673
- "properties": {
674
- "schema": { "const": "wtfp.project.decisions/v1" },
675
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
676
- "revision": { "type": "integer", "minimum": 0 },
677
- "items": {
678
- "type": "array",
679
- "items": {
680
- "type": "object",
681
- "additionalProperties": false,
682
- "required": ["id", "authority", "disposition", "statement", "rationale", "scope_uri", "recorded_at"],
683
- "properties": {
684
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
685
- "authority": { "enum": ["author", "venue", "project-evidence"] },
686
- "disposition": { "enum": ["locked", "deferred", "discretion", "superseded"] },
687
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
688
- "rationale": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
689
- "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
690
- "recorded_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
691
- "supersedes": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
692
- }
693
- }
694
- },
695
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
696
- }
697
- }
698
-
699
- </details>
700
- <details data-wtfp-source="protocol://project/templates/decisions.json" open>
701
- <summary>Bundled WTF-P protocol resource: project/templates/decisions.json</summary>
702
-
703
- {
704
- "schema": "wtfp.project.decisions/v1",
705
- "project_id": "portable-research-demo",
706
- "revision": 1,
707
- "items": [
708
- {
709
- "id": "decision-host-neutral-core",
710
- "authority": "author",
711
- "disposition": "locked",
712
- "statement": "The project record remains independent of any one runtime.",
713
- "rationale": "Portability is the central contribution under evaluation.",
714
- "scope_uri": "project://manifest",
715
- "recorded_at": "2026-08-28T12:05:00Z"
716
- },
717
- {
718
- "id": "decision-runtime-benchmarks",
719
- "authority": "author",
720
- "disposition": "deferred",
721
- "statement": "Comparative runtime performance benchmarks are reserved for later work.",
722
- "rationale": "The current paper evaluates protocol fidelity rather than runtime speed.",
723
- "scope_uri": "project://structure/outline",
724
- "recorded_at": "2026-08-28T12:06:00Z"
725
- },
726
- {
727
- "id": "decision-example-order",
728
- "authority": "author",
729
- "disposition": "discretion",
730
- "statement": "The editor may choose the order of the two implementation examples.",
731
- "rationale": "Either order preserves the argument and venue constraints.",
732
- "scope_uri": "project://sections/implementation",
733
- "recorded_at": "2026-08-28T12:07:00Z"
734
- }
735
- ],
736
- "updated_at": "2026-08-28T12:07:00Z"
737
- }
738
-
739
- </details>
740
- <details data-wtfp-source="protocol://project/schemas/manifest.schema.json" open>
741
- <summary>Bundled WTF-P protocol resource: project/schemas/manifest.schema.json</summary>
742
-
743
- {
744
- "$schema": "https://json-schema.org/draft/2020-12/schema",
745
- "$id": "https://schemas.wtf-p.dev/project/manifest/v1",
746
- "type": "object",
747
- "additionalProperties": false,
748
- "required": [
749
- "schema",
750
- "protocol_version",
751
- "id",
752
- "title",
753
- "document_type",
754
- "core_argument",
755
- "created_at",
756
- "updated_at",
757
- "artifacts"
758
- ],
759
- "properties": {
760
- "schema": { "const": "wtfp.project.manifest/v1" },
761
- "protocol_version": { "const": 1 },
762
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
763
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
764
- "document_type": {
765
- "enum": [
766
- "research-article",
767
- "conference-paper",
768
- "review",
769
- "grant-proposal",
770
- "thesis",
771
- "dissertation",
772
- "book-chapter",
773
- "other"
774
- ]
775
- },
776
- "core_argument": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
777
- "target": {
778
- "type": "object",
779
- "additionalProperties": false,
780
- "properties": {
781
- "venue": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
782
- "audience": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
783
- "word_limit": { "type": "integer", "minimum": 1 },
784
- "deadline": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/date" }
785
- }
786
- },
787
- "requirements": {
788
- "type": "object",
789
- "additionalProperties": false,
790
- "required": ["must_have", "should_have", "out_of_scope"],
791
- "properties": {
792
- "must_have": {
793
- "type": "array",
794
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
795
- "uniqueItems": true
796
- },
797
- "should_have": {
798
- "type": "array",
799
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
800
- "uniqueItems": true
801
- },
802
- "out_of_scope": {
803
- "type": "array",
804
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
805
- "uniqueItems": true
806
- }
807
- }
808
- },
809
- "created_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
810
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
811
- "artifacts": {
812
- "type": "object",
813
- "additionalProperties": false,
814
- "required": ["manifest", "config", "state", "decisions", "outline"],
815
- "properties": {
816
- "manifest": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
817
- "config": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
818
- "state": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
819
- "decisions": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
820
- "outline": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
821
- "materials": {
822
- "type": "array",
823
- "items": { "type": "string", "pattern": "^project://materials/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
824
- "uniqueItems": true
825
- },
826
- "manuscripts": {
827
- "type": "array",
828
- "items": { "type": "string", "pattern": "^project://paper/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
829
- "uniqueItems": true
830
- },
831
- "deliverables": {
832
- "type": "array",
833
- "items": { "type": "string", "pattern": "^project://deliverables/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
834
- "uniqueItems": true
835
- },
836
- "archives": {
837
- "type": "array",
838
- "items": { "type": "string", "pattern": "^project://archives/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
839
- "uniqueItems": true
840
- }
841
- }
842
- }
843
- }
844
- }
845
-
846
- </details>
847
- <details data-wtfp-source="protocol://project/templates/manifest.json" open>
848
- <summary>Bundled WTF-P protocol resource: project/templates/manifest.json</summary>
849
-
850
- {
851
- "schema": "wtfp.project.manifest/v1",
852
- "protocol_version": 1,
853
- "id": "portable-research-demo",
854
- "title": "Portable Research Workflow",
855
- "document_type": "research-article",
856
- "core_argument": "A host-neutral project protocol makes academic workflows portable without weakening evidence and decision fidelity.",
857
- "target": {
858
- "audience": "Researchers evaluating agent-supported academic workflows",
859
- "word_limit": 6000
860
- },
861
- "requirements": {
862
- "must_have": ["Every substantive claim is traceable to evidence"],
863
- "should_have": ["Adapters preserve the same project state across runtimes"],
864
- "out_of_scope": ["Evaluation of unpublished runtime internals"]
865
- },
866
- "created_at": "2026-08-28T12:00:00Z",
867
- "updated_at": "2026-08-28T12:00:00Z",
868
- "artifacts": {
869
- "manifest": "project://manifest",
870
- "config": "project://config",
871
- "state": "project://state",
872
- "decisions": "project://decisions",
873
- "outline": "project://structure/outline",
874
- "materials": [],
875
- "manuscripts": [],
876
- "deliverables": [],
877
- "archives": []
878
- }
879
- }
880
-
881
560
  </details>
882
561
  <details data-wtfp-source="protocol://project/schemas/section.schema.json" open>
883
562
  <summary>Bundled WTF-P protocol resource: project/schemas/section.schema.json</summary>
@@ -1016,119 +695,93 @@ Report the logical resources read, created, updated, archived, or deleted; the g
1016
695
  }
1017
696
 
1018
697
  </details>
1019
- <details data-wtfp-source="protocol://project/schemas/validation.schema.json" open>
1020
- <summary>Bundled WTF-P protocol resource: project/schemas/validation.schema.json</summary>
698
+ <details data-wtfp-source="protocol://project/schemas/state.schema.json" open>
699
+ <summary>Bundled WTF-P protocol resource: project/schemas/state.schema.json</summary>
1021
700
 
1022
701
  {
1023
702
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1024
- "$id": "https://schemas.wtf-p.dev/project/validation/v1",
703
+ "$id": "https://schemas.wtf-p.dev/project/state/v1",
1025
704
  "type": "object",
1026
705
  "additionalProperties": false,
1027
706
  "required": [
1028
707
  "schema",
1029
- "id",
1030
708
  "project_id",
1031
- "subject_uri",
1032
- "validator_role",
1033
- "action_id",
709
+ "revision",
710
+ "phase",
1034
711
  "status",
1035
- "checks",
1036
- "issues",
1037
- "next_actions",
1038
- "effects_applied",
1039
- "executed_at"
712
+ "current_section_uri",
713
+ "progress",
714
+ "active_checkpoint_uris",
715
+ "updated_at"
1040
716
  ],
1041
717
  "properties": {
1042
- "schema": { "const": "wtfp.project.validation/v1" },
1043
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
718
+ "schema": { "const": "wtfp.project.state/v1" },
1044
719
  "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1045
- "subject_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1046
- "validator_role": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1047
- "action_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1048
- "status": { "enum": ["passed", "issues-found", "needs-input", "failed"] },
1049
- "checks": {
1050
- "type": "array",
1051
- "minItems": 1,
1052
- "items": {
1053
- "type": "object",
1054
- "additionalProperties": false,
1055
- "required": ["id", "status", "summary", "evidence"],
1056
- "properties": {
1057
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1058
- "status": { "enum": ["passed", "warning", "failed", "not-applicable"] },
1059
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1060
- "evidence": {
1061
- "type": "array",
1062
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1063
- }
1064
- }
1065
- }
720
+ "revision": { "type": "integer", "minimum": 0 },
721
+ "phase": {
722
+ "enum": ["initialized", "mapped", "outlining", "planning", "writing", "reviewing", "ready", "delivered"]
1066
723
  },
1067
- "issues": {
1068
- "type": "array",
1069
- "items": {
1070
- "type": "object",
1071
- "additionalProperties": false,
1072
- "required": ["severity", "summary"],
1073
- "properties": {
1074
- "severity": { "enum": ["info", "warning", "error", "blocker"] },
1075
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1076
- "evidence": { "type": "string" }
1077
- }
724
+ "status": { "enum": ["active", "paused", "blocked", "complete"] },
725
+ "current_section_uri": {
726
+ "type": ["string", "null"],
727
+ "pattern": "^project://sections/[A-Za-z0-9._~-]+$"
728
+ },
729
+ "progress": {
730
+ "type": "object",
731
+ "additionalProperties": false,
732
+ "required": ["sections_total", "sections_complete", "word_target", "word_count"],
733
+ "properties": {
734
+ "sections_total": { "type": "integer", "minimum": 0 },
735
+ "sections_complete": { "type": "integer", "minimum": 0 },
736
+ "word_target": { "type": "integer", "minimum": 0 },
737
+ "word_count": { "type": "integer", "minimum": 0 }
1078
738
  }
1079
739
  },
1080
- "next_actions": {
740
+ "active_checkpoint_uris": {
1081
741
  "type": "array",
1082
- "items": {
1083
- "type": "object",
1084
- "additionalProperties": false,
1085
- "required": ["action", "reason"],
1086
- "properties": {
1087
- "action": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1088
- "reason": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1089
- }
742
+ "items": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
743
+ "uniqueItems": true
744
+ },
745
+ "last_transition": {
746
+ "type": "object",
747
+ "additionalProperties": false,
748
+ "required": ["from", "to", "reason", "at"],
749
+ "properties": {
750
+ "from": { "type": "string", "minLength": 1 },
751
+ "to": { "type": "string", "minLength": 1 },
752
+ "reason": { "type": "string", "minLength": 1 },
753
+ "at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1090
754
  }
1091
755
  },
1092
- "effects_applied": { "const": [] },
1093
- "executed_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
756
+ "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1094
757
  }
1095
758
  }
1096
759
 
1097
760
  </details>
1098
- <details data-wtfp-source="protocol://project/templates/validation.json" open>
1099
- <summary>Bundled WTF-P protocol resource: project/templates/validation.json</summary>
761
+ <details data-wtfp-source="protocol://project/templates/state.json" open>
762
+ <summary>Bundled WTF-P protocol resource: project/templates/state.json</summary>
1100
763
 
1101
764
  {
1102
- "schema": "wtfp.project.validation/v1",
1103
- "id": "validation-introduction-plan",
765
+ "schema": "wtfp.project.state/v1",
1104
766
  "project_id": "portable-research-demo",
1105
- "subject_uri": "project://sections/introduction/plans/plan-01",
1106
- "validator_role": "plan-checker",
1107
- "action_id": "plan-section",
1108
- "status": "passed",
1109
- "checks": [
1110
- {
1111
- "id": "argument-coverage",
1112
- "status": "passed",
1113
- "summary": "Every section claim has a bounded writing unit.",
1114
- "evidence": ["claim-portable-state is assigned to the opening argument unit"]
1115
- },
1116
- {
1117
- "id": "decision-fidelity",
1118
- "status": "passed",
1119
- "summary": "Locked and deferred decisions are represented correctly.",
1120
- "evidence": ["The host-neutral core is required and runtime benchmarks are excluded"]
1121
- }
1122
- ],
1123
- "issues": [],
1124
- "next_actions": [
1125
- {
1126
- "action": "write-section",
1127
- "reason": "The plan passed all required verification checks."
1128
- }
1129
- ],
1130
- "effects_applied": [],
1131
- "executed_at": "2026-08-28T12:45:00Z"
767
+ "revision": 0,
768
+ "phase": "outlining",
769
+ "status": "active",
770
+ "current_section_uri": "project://sections/introduction",
771
+ "progress": {
772
+ "sections_total": 2,
773
+ "sections_complete": 0,
774
+ "word_target": 6000,
775
+ "word_count": 0
776
+ },
777
+ "active_checkpoint_uris": [],
778
+ "last_transition": {
779
+ "from": "initialized",
780
+ "to": "outlining",
781
+ "reason": "The project brief and author decisions are recorded.",
782
+ "at": "2026-08-28T12:10:00Z"
783
+ },
784
+ "updated_at": "2026-08-28T12:10:00Z"
1132
785
  }
1133
786
 
1134
787
  </details>