wtf-p 0.8.1 → 0.8.3

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 (464) hide show
  1. package/README.md +33 -18
  2. package/bin/lib/adapter-compiler.js +274 -56
  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/review-section.md +2 -2
  22. package/protocol/workflows/verify-work.md +4 -2
  23. package/protocol/workflows/write-section.md +2 -2
  24. package/vendors/antigravity/.wtfp-generated.json +55 -43
  25. package/vendors/antigravity/actions/advance.json +232 -0
  26. package/vendors/antigravity/actions/plan-revision.json +8 -3
  27. package/vendors/antigravity/actions/verify-work.json +6 -2
  28. package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
  29. package/vendors/antigravity/aliases.lock.json +1 -0
  30. package/vendors/antigravity/catalog.json +4 -2
  31. package/vendors/antigravity/compatibility/action-availability.json +13 -1
  32. package/vendors/antigravity/plugin.json +2 -2
  33. package/vendors/antigravity/project/README.md +2 -0
  34. package/vendors/antigravity/roles/research-synthesizer.md +1 -1
  35. package/vendors/antigravity/rules/wtfp-project-state.md +2 -0
  36. package/vendors/antigravity/skills/wtfp-add-todo/SKILL.md +0 -2
  37. package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
  38. package/vendors/antigravity/skills/wtfp-checkpoint/SKILL.md +0 -14
  39. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +0 -8
  40. package/vendors/antigravity/skills/wtfp-create-poster/SKILL.md +1 -6
  41. package/vendors/antigravity/skills/wtfp-create-slides/SKILL.md +1 -6
  42. package/vendors/antigravity/skills/wtfp-discuss-section/SKILL.md +1 -5
  43. package/vendors/antigravity/skills/wtfp-execute-outline/SKILL.md +0 -10
  44. package/vendors/antigravity/skills/wtfp-help/SKILL.md +1 -1
  45. package/vendors/antigravity/skills/wtfp-list-assumptions/SKILL.md +1 -10
  46. package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
  47. package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
  48. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +0 -6
  49. package/vendors/antigravity/skills/wtfp-plan-milestone-gaps/SKILL.md +0 -6
  50. package/vendors/antigravity/skills/wtfp-plan-revision/SKILL.md +5 -11
  51. package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
  52. package/vendors/antigravity/skills/wtfp-polish-prose/SKILL.md +0 -6
  53. package/vendors/antigravity/skills/wtfp-progress/SKILL.md +1 -22
  54. package/vendors/antigravity/skills/wtfp-quick/SKILL.md +0 -4
  55. package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
  56. package/vendors/antigravity/skills/wtfp-resume-writing/SKILL.md +0 -12
  57. package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
  58. package/vendors/antigravity/skills/wtfp-review-section/SKILL.md +2 -10
  59. package/vendors/antigravity/skills/wtfp-submit-milestone/SKILL.md +0 -12
  60. package/vendors/antigravity/skills/wtfp-verify-work/SKILL.md +6 -4
  61. package/vendors/antigravity/tools/README.md +1 -1
  62. package/vendors/antigravity/workflows/advance.md +38 -0
  63. package/vendors/antigravity/workflows/discuss-section.md +1 -1
  64. package/vendors/antigravity/workflows/plan-revision.md +3 -3
  65. package/vendors/antigravity/workflows/plan-section.md +1 -1
  66. package/vendors/antigravity/workflows/research-gap.md +3 -3
  67. package/vendors/antigravity/workflows/review-section.md +2 -2
  68. package/vendors/antigravity/workflows/verify-work.md +4 -2
  69. package/vendors/antigravity/workflows/write-section.md +2 -2
  70. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  71. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  72. package/vendors/claude/.wtfp-generated.json +109 -93
  73. package/vendors/claude/actions/advance.json +232 -0
  74. package/vendors/claude/actions/plan-revision.json +8 -3
  75. package/vendors/claude/actions/verify-work.json +6 -2
  76. package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
  77. package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  78. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  79. package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  80. package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  81. package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  82. package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  83. package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  84. package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  85. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  86. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  87. package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +5 -3
  88. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +0 -2
  89. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
  90. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +4 -8
  91. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +2 -16
  92. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +4 -8
  93. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +2 -0
  94. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +2 -14
  95. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +4 -10
  96. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +3 -6
  97. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +3 -6
  98. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +3 -5
  99. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +4 -12
  100. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +2 -8
  101. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  102. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +2 -0
  103. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +1 -10
  104. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +2 -0
  105. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +0 -6
  106. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +2 -6
  107. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +7 -11
  108. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -15
  109. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +4 -8
  110. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +3 -22
  111. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +4 -6
  112. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +12 -14
  113. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +2 -12
  114. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +6 -12
  115. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +2 -0
  116. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +2 -12
  117. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +8 -4
  118. package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +6 -14
  119. package/vendors/claude/aliases.lock.json +1 -0
  120. package/vendors/claude/catalog.json +4 -2
  121. package/vendors/claude/commands/add-todo.md +0 -2
  122. package/vendors/claude/commands/advance.md +16 -0
  123. package/vendors/claude/commands/analyze-bib.md +0 -6
  124. package/vendors/claude/commands/audit-milestone.md +0 -16
  125. package/vendors/claude/commands/check-refs.md +0 -6
  126. package/vendors/claude/commands/checkpoint.md +0 -14
  127. package/vendors/claude/commands/create-outline.md +0 -8
  128. package/vendors/claude/commands/create-poster.md +1 -6
  129. package/vendors/claude/commands/create-slides.md +1 -6
  130. package/vendors/claude/commands/discuss-section.md +1 -5
  131. package/vendors/claude/commands/execute-outline.md +0 -10
  132. package/vendors/claude/commands/export-latex.md +0 -8
  133. package/vendors/claude/commands/help.md +1 -1
  134. package/vendors/claude/commands/list-assumptions.md +1 -10
  135. package/vendors/claude/commands/pause-writing.md +0 -6
  136. package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
  137. package/vendors/claude/commands/plan-revision.md +5 -11
  138. package/vendors/claude/commands/plan-section.md +1 -13
  139. package/vendors/claude/commands/polish-prose.md +0 -6
  140. package/vendors/claude/commands/progress.md +1 -22
  141. package/vendors/claude/commands/quick.md +0 -4
  142. package/vendors/claude/commands/research-gap.md +3 -11
  143. package/vendors/claude/commands/resume-writing.md +0 -12
  144. package/vendors/claude/commands/review-section.md +2 -10
  145. package/vendors/claude/commands/submit-milestone.md +0 -12
  146. package/vendors/claude/commands/verify-work.md +6 -4
  147. package/vendors/claude/commands/write-section.md +2 -12
  148. package/vendors/claude/compatibility/action-availability.json +10 -1
  149. package/vendors/claude/output-styles/wtfp-academic-writing.md +2 -2
  150. package/vendors/claude/plugin.json +15 -1
  151. package/vendors/claude/project/README.md +2 -0
  152. package/vendors/claude/roles/research-synthesizer.md +1 -1
  153. package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
  154. package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
  155. package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
  156. package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
  157. package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
  158. package/vendors/claude/tools/README.md +1 -1
  159. package/vendors/claude/workflows/advance.md +38 -0
  160. package/vendors/claude/workflows/discuss-section.md +1 -1
  161. package/vendors/claude/workflows/plan-revision.md +3 -3
  162. package/vendors/claude/workflows/plan-section.md +1 -1
  163. package/vendors/claude/workflows/research-gap.md +3 -3
  164. package/vendors/claude/workflows/review-section.md +2 -2
  165. package/vendors/claude/workflows/verify-work.md +4 -2
  166. package/vendors/claude/workflows/write-section.md +2 -2
  167. package/vendors/clio-extension/.wtfp-generated.json +56 -8
  168. package/vendors/clio-extension/actions/advance.json +232 -0
  169. package/vendors/clio-extension/actions/plan-revision.json +8 -3
  170. package/vendors/clio-extension/actions/verify-work.json +6 -2
  171. package/vendors/clio-extension/clio-coder-extension.yaml +19 -4
  172. package/vendors/clio-extension/compatibility/action-availability.json +9 -3
  173. package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
  174. package/vendors/clio-extension/project/templates/config.json +31 -0
  175. package/vendors/clio-extension/project/templates/decisions.json +35 -0
  176. package/vendors/clio-extension/project/templates/evidence.json +18 -0
  177. package/vendors/clio-extension/project/templates/interaction.json +16 -0
  178. package/vendors/clio-extension/project/templates/manifest.json +30 -0
  179. package/vendors/clio-extension/project/templates/outline.json +38 -0
  180. package/vendors/clio-extension/project/templates/section.json +32 -0
  181. package/vendors/clio-extension/project/templates/source.json +20 -0
  182. package/vendors/clio-extension/project/templates/state.json +22 -0
  183. package/vendors/clio-extension/project/templates/validation.json +32 -0
  184. package/vendors/clio-extension/runtime/extension.test.ts +724 -6
  185. package/vendors/clio-extension/runtime/extension.ts +1028 -42
  186. package/vendors/clio-extension/runtime/write-guard.json +66 -0
  187. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  188. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +32 -24
  189. package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
  190. package/vendors/codex/plugins/wtfp/actions/plan-revision.json +8 -3
  191. package/vendors/codex/plugins/wtfp/actions/verify-work.json +6 -2
  192. package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
  193. package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
  194. package/vendors/codex/plugins/wtfp/catalog.json +4 -2
  195. package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
  196. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  197. package/vendors/codex/plugins/wtfp/project/README.md +2 -0
  198. package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
  199. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  200. package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  201. package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  202. package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  203. package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  204. package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
  205. package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
  206. package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
  207. package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +3 -3
  208. package/vendors/codex/plugins/wtfp/workflows/plan-section.md +1 -1
  209. package/vendors/codex/plugins/wtfp/workflows/research-gap.md +3 -3
  210. package/vendors/codex/plugins/wtfp/workflows/review-section.md +2 -2
  211. package/vendors/codex/plugins/wtfp/workflows/verify-work.md +4 -2
  212. package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
  213. package/vendors/copilot/.wtfp-generated.json +44 -32
  214. package/vendors/copilot/marketplace.json +2 -2
  215. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  216. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +56 -44
  217. package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
  218. package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +8 -3
  219. package/vendors/copilot/plugins/wtfp/actions/verify-work.json +6 -2
  220. package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
  221. package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
  222. package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
  223. package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
  224. package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
  225. package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +0 -14
  226. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
  227. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
  228. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
  229. package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
  230. package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +0 -10
  231. package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
  232. package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
  233. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
  234. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
  235. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +5 -11
  236. package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +1 -13
  237. package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +0 -6
  238. package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
  239. package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
  240. package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
  241. package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +2 -10
  242. package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
  243. package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +6 -4
  244. package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -12
  245. package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
  246. package/vendors/copilot/plugins/wtfp/project/README.md +2 -0
  247. package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
  248. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  249. package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
  250. package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  251. package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  252. package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  253. package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
  254. package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
  255. package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
  256. package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +3 -3
  257. package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +1 -1
  258. package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +3 -3
  259. package/vendors/copilot/plugins/wtfp/workflows/review-section.md +2 -2
  260. package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +4 -2
  261. package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
  262. package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
  263. package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
  264. package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
  265. package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
  266. package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
  267. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
  268. package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
  269. package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
  270. package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
  271. package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
  272. package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
  273. package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
  274. package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +8 -3
  275. package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +6 -2
  276. package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
  277. package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
  278. package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
  279. package/vendors/copilot/project/.github/wtfp/project/README.md +2 -0
  280. package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
  281. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
  282. package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
  283. package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
  284. package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
  285. package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
  286. package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
  287. package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
  288. package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +3 -3
  289. package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +1 -1
  290. package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +3 -3
  291. package/vendors/copilot/project/.github/wtfp/workflows/review-section.md +2 -2
  292. package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +4 -2
  293. package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
  294. package/vendors/copilot/project/README.md +1 -1
  295. package/vendors/gemini/.wtfp-generated.json +61 -49
  296. package/vendors/gemini/actions/advance.json +232 -0
  297. package/vendors/gemini/actions/plan-revision.json +8 -3
  298. package/vendors/gemini/actions/verify-work.json +6 -2
  299. package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
  300. package/vendors/gemini/aliases.lock.json +1 -0
  301. package/vendors/gemini/catalog.json +4 -2
  302. package/vendors/gemini/commands/wtfp/add-todo.toml +17 -144
  303. package/vendors/gemini/commands/wtfp/advance.toml +14 -0
  304. package/vendors/gemini/commands/wtfp/check-todos.toml +17 -2
  305. package/vendors/gemini/commands/wtfp/checkpoint.toml +17 -735
  306. package/vendors/gemini/commands/wtfp/create-outline.toml +2 -431
  307. package/vendors/gemini/commands/wtfp/create-poster.toml +3 -296
  308. package/vendors/gemini/commands/wtfp/create-slides.toml +3 -296
  309. package/vendors/gemini/commands/wtfp/discuss-section.toml +4 -259
  310. package/vendors/gemini/commands/wtfp/execute-outline.toml +2 -480
  311. package/vendors/gemini/commands/wtfp/help.toml +7 -3
  312. package/vendors/gemini/commands/wtfp/insert-section.toml +3 -1
  313. package/vendors/gemini/commands/wtfp/list-assumptions.toml +4 -510
  314. package/vendors/gemini/commands/wtfp/map-project.toml +2 -0
  315. package/vendors/gemini/commands/wtfp/new-paper.toml +2 -0
  316. package/vendors/gemini/commands/wtfp/pause-writing.toml +17 -309
  317. package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +4 -369
  318. package/vendors/gemini/commands/wtfp/plan-revision.toml +76 -423
  319. package/vendors/gemini/commands/wtfp/plan-section.toml +4 -624
  320. package/vendors/gemini/commands/wtfp/polish-prose.toml +4 -329
  321. package/vendors/gemini/commands/wtfp/progress.toml +18 -1143
  322. package/vendors/gemini/commands/wtfp/quick.toml +2 -218
  323. package/vendors/gemini/commands/wtfp/resume-writing.toml +17 -698
  324. package/vendors/gemini/commands/wtfp/review-section.toml +6 -412
  325. package/vendors/gemini/commands/wtfp/settings.toml +17 -2
  326. package/vendors/gemini/commands/wtfp/submit-milestone.toml +2 -617
  327. package/vendors/gemini/commands/wtfp/verify-work.toml +123 -53
  328. package/vendors/gemini/commands/wtfp/write-section.toml +4 -482
  329. package/vendors/gemini/compatibility/action-availability.json +13 -1
  330. package/vendors/gemini/gemini-extension.json +1 -1
  331. package/vendors/gemini/project/README.md +2 -0
  332. package/vendors/gemini/roles/research-synthesizer.md +1 -1
  333. package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
  334. package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
  335. package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
  336. package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
  337. package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
  338. package/vendors/gemini/tools/README.md +1 -1
  339. package/vendors/gemini/workflows/advance.md +38 -0
  340. package/vendors/gemini/workflows/discuss-section.md +1 -1
  341. package/vendors/gemini/workflows/plan-revision.md +3 -3
  342. package/vendors/gemini/workflows/plan-section.md +1 -1
  343. package/vendors/gemini/workflows/research-gap.md +3 -3
  344. package/vendors/gemini/workflows/review-section.md +2 -2
  345. package/vendors/gemini/workflows/verify-work.md +4 -2
  346. package/vendors/gemini/workflows/write-section.md +2 -2
  347. package/vendors/opencode/.wtfp-generated.json +60 -48
  348. package/vendors/opencode/actions/advance.json +232 -0
  349. package/vendors/opencode/actions/plan-revision.json +8 -3
  350. package/vendors/opencode/actions/verify-work.json +6 -2
  351. package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
  352. package/vendors/opencode/aliases.lock.json +1 -0
  353. package/vendors/opencode/catalog.json +4 -2
  354. package/vendors/opencode/commands/wtfp/add-todo.md +17 -144
  355. package/vendors/opencode/commands/wtfp/advance.md +16 -0
  356. package/vendors/opencode/commands/wtfp/check-todos.md +17 -2
  357. package/vendors/opencode/commands/wtfp/checkpoint.md +17 -735
  358. package/vendors/opencode/commands/wtfp/create-outline.md +2 -431
  359. package/vendors/opencode/commands/wtfp/create-poster.md +3 -296
  360. package/vendors/opencode/commands/wtfp/create-slides.md +3 -296
  361. package/vendors/opencode/commands/wtfp/discuss-section.md +4 -259
  362. package/vendors/opencode/commands/wtfp/execute-outline.md +2 -480
  363. package/vendors/opencode/commands/wtfp/help.md +7 -3
  364. package/vendors/opencode/commands/wtfp/insert-section.md +3 -1
  365. package/vendors/opencode/commands/wtfp/list-assumptions.md +4 -510
  366. package/vendors/opencode/commands/wtfp/map-project.md +2 -0
  367. package/vendors/opencode/commands/wtfp/new-paper.md +2 -0
  368. package/vendors/opencode/commands/wtfp/pause-writing.md +17 -309
  369. package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +4 -369
  370. package/vendors/opencode/commands/wtfp/plan-revision.md +76 -423
  371. package/vendors/opencode/commands/wtfp/plan-section.md +4 -624
  372. package/vendors/opencode/commands/wtfp/polish-prose.md +4 -329
  373. package/vendors/opencode/commands/wtfp/progress.md +18 -1143
  374. package/vendors/opencode/commands/wtfp/quick.md +2 -218
  375. package/vendors/opencode/commands/wtfp/resume-writing.md +17 -698
  376. package/vendors/opencode/commands/wtfp/review-section.md +6 -412
  377. package/vendors/opencode/commands/wtfp/settings.md +17 -2
  378. package/vendors/opencode/commands/wtfp/submit-milestone.md +2 -617
  379. package/vendors/opencode/commands/wtfp/verify-work.md +123 -53
  380. package/vendors/opencode/commands/wtfp/write-section.md +4 -482
  381. package/vendors/opencode/compatibility/action-availability.json +13 -1
  382. package/vendors/opencode/project/README.md +2 -0
  383. package/vendors/opencode/roles/research-synthesizer.md +1 -1
  384. package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
  385. package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
  386. package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
  387. package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
  388. package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
  389. package/vendors/opencode/tools/README.md +1 -1
  390. package/vendors/opencode/workflows/advance.md +38 -0
  391. package/vendors/opencode/workflows/discuss-section.md +1 -1
  392. package/vendors/opencode/workflows/plan-revision.md +3 -3
  393. package/vendors/opencode/workflows/plan-section.md +1 -1
  394. package/vendors/opencode/workflows/research-gap.md +3 -3
  395. package/vendors/opencode/workflows/review-section.md +2 -2
  396. package/vendors/opencode/workflows/verify-work.md +4 -2
  397. package/vendors/opencode/workflows/write-section.md +2 -2
  398. package/vendors/plugin/.wtfp-generated.json +76 -64
  399. package/vendors/plugin/actions/advance.json +232 -0
  400. package/vendors/plugin/actions/plan-revision.json +8 -3
  401. package/vendors/plugin/actions/verify-work.json +6 -2
  402. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
  403. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
  404. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
  405. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
  406. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
  407. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
  408. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
  409. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
  410. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
  411. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
  412. package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +5 -3
  413. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +7 -3
  414. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
  415. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +11 -19
  416. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -4
  417. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +12 -6
  418. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +10 -4
  419. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +10 -4
  420. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +11 -19
  421. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +18 -13
  422. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +18 -13
  423. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +11 -5
  424. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +12 -6
  425. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +10 -4
  426. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
  427. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +10 -4
  428. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +15 -17
  429. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +7 -3
  430. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +10 -4
  431. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +7 -3
  432. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +10 -4
  433. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +13 -7
  434. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +13 -7
  435. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +12 -6
  436. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +19 -30
  437. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +12 -6
  438. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +20 -10
  439. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +10 -4
  440. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +14 -8
  441. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +10 -4
  442. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +12 -4
  443. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +14 -6
  444. package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +15 -9
  445. package/vendors/plugin/aliases.lock.json +1 -0
  446. package/vendors/plugin/catalog.json +4 -2
  447. package/vendors/plugin/compatibility/action-availability.json +9 -3
  448. package/vendors/plugin/plugin.json +15 -1
  449. package/vendors/plugin/project/README.md +2 -0
  450. package/vendors/plugin/roles/research-synthesizer.md +1 -1
  451. package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
  452. package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
  453. package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
  454. package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
  455. package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
  456. package/vendors/plugin/tools/README.md +1 -1
  457. package/vendors/plugin/workflows/advance.md +38 -0
  458. package/vendors/plugin/workflows/discuss-section.md +1 -1
  459. package/vendors/plugin/workflows/plan-revision.md +3 -3
  460. package/vendors/plugin/workflows/plan-section.md +1 -1
  461. package/vendors/plugin/workflows/research-gap.md +3 -3
  462. package/vendors/plugin/workflows/review-section.md +2 -2
  463. package/vendors/plugin/workflows/verify-work.md +4 -2
  464. 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
@@ -552,268 +554,6 @@ Report the logical resources read, created, updated, archived, or deleted; the g
552
554
  "created_at": "2026-08-28T12:40:00Z"
553
555
  }
554
556
 
555
- </details>
556
- <details data-wtfp-source="protocol://project/schemas/config.schema.json" open>
557
- <summary>Bundled WTF-P protocol resource: project/schemas/config.schema.json</summary>
558
-
559
- {
560
- "$schema": "https://json-schema.org/draft/2020-12/schema",
561
- "$id": "https://schemas.wtf-p.dev/project/config/v1",
562
- "type": "object",
563
- "additionalProperties": false,
564
- "required": [
565
- "schema",
566
- "project_id",
567
- "interaction_mode",
568
- "depth",
569
- "output_format",
570
- "language",
571
- "gates",
572
- "workflow",
573
- "safety",
574
- "parallelism"
575
- ],
576
- "properties": {
577
- "schema": { "const": "wtfp.project.config/v1" },
578
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
579
- "interaction_mode": { "enum": ["guided", "standard", "autonomous"] },
580
- "depth": { "enum": ["quick", "standard", "comprehensive"] },
581
- "output_format": { "enum": ["markdown", "latex", "typst"] },
582
- "language": { "type": "string", "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$" },
583
- "citation_style": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
584
- "gates": {
585
- "type": "object",
586
- "additionalProperties": false,
587
- "required": ["confirm_outline", "confirm_plan", "confirm_write", "confirm_review", "confirm_delivery"],
588
- "properties": {
589
- "confirm_outline": { "type": "boolean" },
590
- "confirm_plan": { "type": "boolean" },
591
- "confirm_write": { "type": "boolean" },
592
- "confirm_review": { "type": "boolean" },
593
- "confirm_delivery": { "type": "boolean" }
594
- }
595
- },
596
- "workflow": {
597
- "type": "object",
598
- "additionalProperties": false,
599
- "required": ["research", "plan_validation", "argument_validation", "coherence_validation"],
600
- "properties": {
601
- "research": { "type": "boolean" },
602
- "plan_validation": { "type": "boolean" },
603
- "argument_validation": { "type": "boolean" },
604
- "coherence_validation": { "type": "boolean" }
605
- }
606
- },
607
- "safety": {
608
- "type": "object",
609
- "additionalProperties": false,
610
- "required": ["destructive_requires_authorization", "external_publish_requires_authorization", "backup_before_major_edits"],
611
- "properties": {
612
- "destructive_requires_authorization": { "const": true },
613
- "external_publish_requires_authorization": { "const": true },
614
- "backup_before_major_edits": { "type": "boolean" }
615
- }
616
- },
617
- "parallelism": {
618
- "type": "object",
619
- "additionalProperties": false,
620
- "required": ["enabled", "max_workers"],
621
- "properties": {
622
- "enabled": { "type": "boolean" },
623
- "max_workers": { "type": "integer", "minimum": 1, "maximum": 32 }
624
- }
625
- }
626
- }
627
- }
628
-
629
- </details>
630
- <details data-wtfp-source="protocol://project/templates/config.json" open>
631
- <summary>Bundled WTF-P protocol resource: project/templates/config.json</summary>
632
-
633
- {
634
- "schema": "wtfp.project.config/v1",
635
- "project_id": "portable-research-demo",
636
- "interaction_mode": "standard",
637
- "depth": "standard",
638
- "output_format": "markdown",
639
- "language": "en-US",
640
- "citation_style": "author-date",
641
- "gates": {
642
- "confirm_outline": true,
643
- "confirm_plan": true,
644
- "confirm_write": true,
645
- "confirm_review": true,
646
- "confirm_delivery": true
647
- },
648
- "workflow": {
649
- "research": true,
650
- "plan_validation": true,
651
- "argument_validation": true,
652
- "coherence_validation": true
653
- },
654
- "safety": {
655
- "destructive_requires_authorization": true,
656
- "external_publish_requires_authorization": true,
657
- "backup_before_major_edits": true
658
- },
659
- "parallelism": {
660
- "enabled": true,
661
- "max_workers": 3
662
- }
663
- }
664
-
665
- </details>
666
- <details data-wtfp-source="protocol://project/schemas/decisions.schema.json" open>
667
- <summary>Bundled WTF-P protocol resource: project/schemas/decisions.schema.json</summary>
668
-
669
- {
670
- "$schema": "https://json-schema.org/draft/2020-12/schema",
671
- "$id": "https://schemas.wtf-p.dev/project/decisions/v1",
672
- "type": "object",
673
- "additionalProperties": false,
674
- "required": ["schema", "project_id", "revision", "items", "updated_at"],
675
- "properties": {
676
- "schema": { "const": "wtfp.project.decisions/v1" },
677
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
678
- "revision": { "type": "integer", "minimum": 0 },
679
- "items": {
680
- "type": "array",
681
- "items": {
682
- "type": "object",
683
- "additionalProperties": false,
684
- "required": ["id", "authority", "disposition", "statement", "rationale", "scope_uri", "recorded_at"],
685
- "properties": {
686
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
687
- "authority": { "enum": ["author", "venue", "project-evidence"] },
688
- "disposition": { "enum": ["locked", "deferred", "discretion", "superseded"] },
689
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
690
- "rationale": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
691
- "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
692
- "recorded_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
693
- "supersedes": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
694
- }
695
- }
696
- },
697
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
698
- }
699
- }
700
-
701
- </details>
702
- <details data-wtfp-source="protocol://project/templates/decisions.json" open>
703
- <summary>Bundled WTF-P protocol resource: project/templates/decisions.json</summary>
704
-
705
- {
706
- "schema": "wtfp.project.decisions/v1",
707
- "project_id": "portable-research-demo",
708
- "revision": 1,
709
- "items": [
710
- {
711
- "id": "decision-host-neutral-core",
712
- "authority": "author",
713
- "disposition": "locked",
714
- "statement": "The project record remains independent of any one runtime.",
715
- "rationale": "Portability is the central contribution under evaluation.",
716
- "scope_uri": "project://manifest",
717
- "recorded_at": "2026-08-28T12:05:00Z"
718
- },
719
- {
720
- "id": "decision-runtime-benchmarks",
721
- "authority": "author",
722
- "disposition": "deferred",
723
- "statement": "Comparative runtime performance benchmarks are reserved for later work.",
724
- "rationale": "The current paper evaluates protocol fidelity rather than runtime speed.",
725
- "scope_uri": "project://structure/outline",
726
- "recorded_at": "2026-08-28T12:06:00Z"
727
- },
728
- {
729
- "id": "decision-example-order",
730
- "authority": "author",
731
- "disposition": "discretion",
732
- "statement": "The editor may choose the order of the two implementation examples.",
733
- "rationale": "Either order preserves the argument and venue constraints.",
734
- "scope_uri": "project://sections/implementation",
735
- "recorded_at": "2026-08-28T12:07:00Z"
736
- }
737
- ],
738
- "updated_at": "2026-08-28T12:07:00Z"
739
- }
740
-
741
- </details>
742
- <details data-wtfp-source="protocol://project/schemas/evidence.schema.json" open>
743
- <summary>Bundled WTF-P protocol resource: project/schemas/evidence.schema.json</summary>
744
-
745
- {
746
- "$schema": "https://json-schema.org/draft/2020-12/schema",
747
- "$id": "https://schemas.wtf-p.dev/project/evidence/v1",
748
- "type": "object",
749
- "additionalProperties": false,
750
- "required": [
751
- "schema",
752
- "id",
753
- "project_id",
754
- "source_uri",
755
- "claim_id",
756
- "relation",
757
- "statement",
758
- "locator",
759
- "interpretation",
760
- "confidence",
761
- "inspection_depth",
762
- "verified_at"
763
- ],
764
- "properties": {
765
- "schema": { "const": "wtfp.project.evidence/v1" },
766
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
767
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
768
- "source_uri": { "type": "string", "pattern": "^project://sources/[A-Za-z0-9._~-]+$" },
769
- "claim_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
770
- "relation": { "enum": ["supports", "contradicts", "contextualizes", "method-precedent"] },
771
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
772
- "locator": {
773
- "type": "object",
774
- "additionalProperties": false,
775
- "required": ["kind", "value"],
776
- "properties": {
777
- "kind": { "enum": ["page", "section", "figure", "table", "timestamp", "record", "abstract"] },
778
- "value": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
779
- }
780
- },
781
- "quote": { "type": "string", "minLength": 1 },
782
- "interpretation": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
783
- "limitations": {
784
- "type": "array",
785
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
786
- "uniqueItems": true
787
- },
788
- "confidence": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/confidence" },
789
- "inspection_depth": { "enum": ["metadata", "abstract", "full-text", "primary-data"] },
790
- "verified_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
791
- }
792
- }
793
-
794
- </details>
795
- <details data-wtfp-source="protocol://project/templates/evidence.json" open>
796
- <summary>Bundled WTF-P protocol resource: project/templates/evidence.json</summary>
797
-
798
- {
799
- "schema": "wtfp.project.evidence/v1",
800
- "id": "evidence-portability-boundaries",
801
- "project_id": "portable-research-demo",
802
- "source_uri": "project://sources/source-portable-protocols-2026",
803
- "claim_id": "claim-portable-state",
804
- "relation": "supports",
805
- "statement": "Separating portable project state from runtime adapters reduces host-specific workflow coupling.",
806
- "locator": {
807
- "kind": "section",
808
- "value": "4.2"
809
- },
810
- "interpretation": "The source supports the architectural direction but does not establish performance benefits.",
811
- "limitations": ["The evaluation covers three runtime families rather than every available runtime."],
812
- "confidence": "high",
813
- "inspection_depth": "full-text",
814
- "verified_at": "2026-08-28T12:25:00Z"
815
- }
816
-
817
557
  </details>
818
558
  <details data-wtfp-source="protocol://project/schemas/manifest.schema.json" open>
819
559
  <summary>Bundled WTF-P protocol resource: project/schemas/manifest.schema.json</summary>
@@ -956,121 +696,6 @@ Report the logical resources read, created, updated, archived, or deleted; the g
956
696
  }
957
697
  }
958
698
 
959
- </details>
960
- <details data-wtfp-source="protocol://project/schemas/outline.schema.json" open>
961
- <summary>Bundled WTF-P protocol resource: project/schemas/outline.schema.json</summary>
962
-
963
- {
964
- "$schema": "https://json-schema.org/draft/2020-12/schema",
965
- "$id": "https://schemas.wtf-p.dev/project/outline/v1",
966
- "type": "object",
967
- "additionalProperties": false,
968
- "required": ["schema", "project_id", "revision", "thesis", "target_words", "sections", "updated_at"],
969
- "properties": {
970
- "schema": { "const": "wtfp.project.outline/v1" },
971
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
972
- "revision": { "type": "integer", "minimum": 0 },
973
- "thesis": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
974
- "target_words": { "type": "integer", "minimum": 1 },
975
- "sections": {
976
- "type": "array",
977
- "minItems": 1,
978
- "items": {
979
- "type": "object",
980
- "additionalProperties": false,
981
- "required": [
982
- "id",
983
- "title",
984
- "goal",
985
- "argument_role",
986
- "word_target",
987
- "wave",
988
- "depends_on",
989
- "claim_ids",
990
- "research"
991
- ],
992
- "properties": {
993
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
994
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
995
- "goal": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
996
- "argument_role": {
997
- "enum": ["setup", "background", "method", "evidence", "synthesis", "implications", "conclusion", "other"]
998
- },
999
- "word_target": { "type": "integer", "minimum": 1 },
1000
- "wave": { "type": "integer", "minimum": 1 },
1001
- "depends_on": {
1002
- "type": "array",
1003
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1004
- "uniqueItems": true
1005
- },
1006
- "claim_ids": {
1007
- "type": "array",
1008
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1009
- "uniqueItems": true
1010
- },
1011
- "research": {
1012
- "type": "object",
1013
- "additionalProperties": false,
1014
- "required": ["required", "topics"],
1015
- "properties": {
1016
- "required": { "type": "boolean" },
1017
- "topics": {
1018
- "type": "array",
1019
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1020
- "uniqueItems": true
1021
- }
1022
- }
1023
- }
1024
- }
1025
- }
1026
- },
1027
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1028
- }
1029
- }
1030
-
1031
- </details>
1032
- <details data-wtfp-source="protocol://project/templates/outline.json" open>
1033
- <summary>Bundled WTF-P protocol resource: project/templates/outline.json</summary>
1034
-
1035
- {
1036
- "schema": "wtfp.project.outline/v1",
1037
- "project_id": "portable-research-demo",
1038
- "revision": 1,
1039
- "thesis": "A host-neutral project protocol makes academic workflows portable without weakening evidence and decision fidelity.",
1040
- "target_words": 6000,
1041
- "sections": [
1042
- {
1043
- "id": "introduction",
1044
- "title": "Introduction",
1045
- "goal": "Establish the portability problem, the evidence-fidelity requirement, and the paper's contribution.",
1046
- "argument_role": "setup",
1047
- "word_target": 1500,
1048
- "wave": 1,
1049
- "depends_on": [],
1050
- "claim_ids": ["claim-portable-state"],
1051
- "research": {
1052
- "required": true,
1053
- "topics": ["Portable workflow protocols", "Evidence provenance in research systems"]
1054
- }
1055
- },
1056
- {
1057
- "id": "implementation",
1058
- "title": "Protocol Design",
1059
- "goal": "Define the portable records, safety boundaries, and adapter responsibilities.",
1060
- "argument_role": "method",
1061
- "word_target": 4500,
1062
- "wave": 2,
1063
- "depends_on": ["introduction"],
1064
- "claim_ids": ["claim-adapter-boundary"],
1065
- "research": {
1066
- "required": false,
1067
- "topics": []
1068
- }
1069
- }
1070
- ],
1071
- "updated_at": "2026-08-28T12:30:00Z"
1072
- }
1073
-
1074
699
  </details>
1075
700
  <details data-wtfp-source="protocol://project/schemas/section.schema.json" open>
1076
701
  <summary>Bundled WTF-P protocol resource: project/schemas/section.schema.json</summary>
@@ -1208,109 +833,6 @@ Report the logical resources read, created, updated, archived, or deleted; the g
1208
833
  "updated_at": "2026-08-28T12:35:00Z"
1209
834
  }
1210
835
 
1211
- </details>
1212
- <details data-wtfp-source="protocol://project/schemas/source.schema.json" open>
1213
- <summary>Bundled WTF-P protocol resource: project/schemas/source.schema.json</summary>
1214
-
1215
- {
1216
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1217
- "$id": "https://schemas.wtf-p.dev/project/source/v1",
1218
- "type": "object",
1219
- "additionalProperties": false,
1220
- "required": [
1221
- "schema",
1222
- "id",
1223
- "project_id",
1224
- "kind",
1225
- "title",
1226
- "creators",
1227
- "year",
1228
- "identifiers",
1229
- "status",
1230
- "provenance"
1231
- ],
1232
- "properties": {
1233
- "schema": { "const": "wtfp.project.source/v1" },
1234
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1235
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1236
- "kind": {
1237
- "enum": [
1238
- "journal-article",
1239
- "conference-paper",
1240
- "book",
1241
- "book-chapter",
1242
- "preprint",
1243
- "thesis",
1244
- "dataset",
1245
- "software",
1246
- "standard",
1247
- "web-resource",
1248
- "author-material",
1249
- "other"
1250
- ]
1251
- },
1252
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1253
- "creators": {
1254
- "type": "array",
1255
- "minItems": 1,
1256
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1257
- },
1258
- "year": { "type": ["integer", "null"], "minimum": 1000, "maximum": 2200 },
1259
- "identifiers": {
1260
- "type": "object",
1261
- "additionalProperties": false,
1262
- "minProperties": 1,
1263
- "properties": {
1264
- "doi": { "type": "string", "pattern": "^10\\.[0-9]{4,9}/\\S+$" },
1265
- "arxiv": { "type": "string", "pattern": "^(?:[a-z-]+/[0-9]{7}|[0-9]{4}\\.[0-9]{4,5})(?:v[0-9]+)?$" },
1266
- "isbn": { "type": "string", "minLength": 10 },
1267
- "url": { "type": "string", "format": "uri" },
1268
- "local_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
1269
- }
1270
- },
1271
- "citation_key": { "type": "string", "pattern": "^[A-Za-z0-9:_-]+$" },
1272
- "status": { "enum": ["verified", "provisional", "unavailable", "retracted"] },
1273
- "provenance": {
1274
- "type": "object",
1275
- "additionalProperties": false,
1276
- "required": ["discovered_via", "inspection_depth", "verified_at"],
1277
- "properties": {
1278
- "discovered_via": {
1279
- "enum": ["scholarly-index", "bibliography-import", "author-provided", "repository", "manual"]
1280
- },
1281
- "inspection_depth": { "enum": ["metadata", "abstract", "full-text", "primary-data"] },
1282
- "verified_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
1283
- "notes": { "type": "string" }
1284
- }
1285
- }
1286
- }
1287
- }
1288
-
1289
- </details>
1290
- <details data-wtfp-source="protocol://project/templates/source.json" open>
1291
- <summary>Bundled WTF-P protocol resource: project/templates/source.json</summary>
1292
-
1293
- {
1294
- "schema": "wtfp.project.source/v1",
1295
- "id": "source-portable-protocols-2026",
1296
- "project_id": "portable-research-demo",
1297
- "kind": "journal-article",
1298
- "title": "Portable Protocols for Evidence-Grounded Research Workflows",
1299
- "creators": ["A. Researcher", "B. Scholar"],
1300
- "year": 2026,
1301
- "identifiers": {
1302
- "doi": "10.1234/example.2026.17"
1303
- },
1304
- "citation_key": "Researcher2026Portable",
1305
- "status": "verified",
1306
- "provenance": {
1307
- "discovered_via": "scholarly-index",
1308
- "inspection_depth": "full-text",
1309
- "verified_at": "2026-08-28T12:20:00Z",
1310
- "notes": "Identity and relevant passages were checked against the publisher record."
1311
- }
1312
- }
1313
-
1314
836
  </details>
1315
837
  <details data-wtfp-source="protocol://project/schemas/state.schema.json" open>
1316
838
  <summary>Bundled WTF-P protocol resource: project/schemas/state.schema.json</summary>
@@ -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
@@ -132,7 +134,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
132
134
 
133
135
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
134
136
 
135
- ## Bound action contract and schemas
137
+ ## Bound action contract
136
138
 
137
139
  <details data-wtfp-source="protocol://actions/help.json" open>
138
140
  <summary>Bundled WTF-P protocol resource: actions/help.json</summary>
@@ -178,13 +180,14 @@ Report the logical resources read, created, updated, archived, or deleted; the g
178
180
  "version": 1,
179
181
  "namespace": "wtfp",
180
182
  "counts": {
181
- "actions": 36,
182
- "domainActions": 31,
183
+ "actions": 37,
184
+ "domainActions": 32,
183
185
  "operations": 5,
184
186
  "skills": 7
185
187
  },
186
188
  "actions": [
187
189
  { "contract": "protocol://actions/add-todo.json", "id": "add-todo" },
190
+ { "contract": "protocol://actions/advance.json", "id": "advance" },
188
191
  { "contract": "protocol://actions/analyze-bib.json", "id": "analyze-bib" },
189
192
  { "contract": "protocol://actions/audit-milestone.json", "id": "audit-milestone" },
190
193
  { "contract": "protocol://actions/check-refs.json", "id": "check-refs" },
@@ -244,6 +247,7 @@ Report the logical resources read, created, updated, archived, or deleted; the g
244
247
  {
245
248
  "actions": [
246
249
  "add-todo",
250
+ "advance",
247
251
  "check-todos",
248
252
  "checkpoint",
249
253
  "pause-writing",
@@ -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