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
@@ -61,6 +61,8 @@ The JSON records above are the interoperable source of truth, while research and
61
61
  - 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.
62
62
  - 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.
63
63
  - Reconcile state from records and verified artifacts. Never infer lifecycle status from legacy `PROJECT.md`, `ROADMAP.md`, or `STATE.md` files.
64
+ - 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.
65
+ - 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.
64
66
  - 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.
65
67
 
66
68
  ## Invariants
@@ -118,7 +120,7 @@ Several records that change together, such as a checkpoint and the state that li
118
120
 
119
121
  ---
120
122
  name: wtfp-manage-project
121
- description: This skill coordinates the durable state of a research-writing project. It activates when an agent needs to report progress, pause or resume work, save or restore a checkpoint, edit project settings, capture or review todos, choose the next workflow, or perform the WTF-P progress, pause-writing, resume-writing, checkpoint, settings, add-todo, or check-todos actions.
123
+ description: This skill coordinates the durable state of a research-writing project. It activates when an agent needs to report progress, pause or resume work, save or restore a checkpoint, edit project settings, capture or review todos, choose the next workflow, run the next writing actions automatically until the author must decide, or perform the WTF-P advance, progress, pause-writing, resume-writing, checkpoint, settings, add-todo, or check-todos actions.
122
124
  ---
123
125
 
124
126
  # Manage a WTF-P Project
@@ -128,6 +130,7 @@ Keep project state honest, resumable, and useful for routing the next academic a
128
130
  ## Select the action
129
131
 
130
132
  - Use `progress` to reconcile artifacts and recommend the next step.
133
+ - Use `advance` to run the next writing actions automatically, one driver-selected step at a time, until a gate needs the author.
131
134
  - Use `pause-writing` or `resume-writing` to create and consume a session handoff.
132
135
  - Use `checkpoint` to save, list, or restore named snapshots.
133
136
  - Use `settings` to inspect and edit project policy.
@@ -173,11 +176,23 @@ Contract: [protocol/actions/progress.json](../../../actions/progress.json)
173
176
  2. Reconcile outline entries with `project://sections/{section}`, linked plans, summaries, reviews, source/evidence records, validations, manuscript outputs, handoffs, and active checkpoints.
174
177
  3. Calculate actual and target sections and words, section statuses, unresolved validation issues, and active checkpoints from records and verified artifacts. State the counting method and every discrepancy.
175
178
  4. Summarize recent factual transitions, author decisions, completed work, and blockers.
176
- 5. Route by evidence: active checkpoint to resumption; validation issue to revision planning; approved plan to writing; ready unplanned section to discussion/research/planning; written unreviewed section to review; complete outline to milestone audit.
179
+ 5. Route by evidence: active checkpoint to resumption; outline entries without a section record, or an outline without a passing outline validation, to `create-outline`, the only action that creates section records; validation issue to revision planning; approved plan to writing; ready unplanned section to discussion/research/planning; written unreviewed section to review; a reviewed section with no `verify-work` validation since its latest review to `verify-work`; a verify-work acceptance checkpoint resolved `revise` to `plan-revision`, and one resolved `accept` while the section is not yet complete back to `verify-work`, which applies it; complete outline to milestone audit.
177
180
  6. Offer one primary next action plus bounded alternatives. Do not execute it without author confirmation.
178
181
 
179
182
  Completion requires evidence-backed status, surfaced inconsistencies, and a reasoned next action without state mutation.
180
183
 
184
+ ## `advance`
185
+
186
+ Contract: [protocol/actions/advance.json](../../../actions/advance.json)
187
+
188
+ 1. Require initialized project state; otherwise name `new-paper` or `map-project` and stop.
189
+ 2. Ask the host's driver for the next step. Only the driver selects the action and section, from project state by the `progress` ladder, and it confines the step to that action's declared outputs.
190
+ 3. For a pending gate, put it to the author through the host's gate interaction. Continue only after the author's answer; a kept, declined, or unaskable gate ends the run.
191
+ 4. For an action, follow that action's own procedure and contract with the named section, including its author gates and interviews. Ask the driver again when it completes.
192
+ 5. Stop on the driver's stop reason, a failed or blocked step, or a step limit. Report each step, each author answer, and the stop reason.
193
+
194
+ Completion requires that every step ran under its own contract, that no gate was crossed without the author's answer, and an exact stop reason.
195
+
181
196
  ## `pause-writing`
182
197
 
183
198
  Contract: [protocol/actions/pause-writing.json](../../../actions/pause-writing.json)
@@ -275,7 +290,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
275
290
 
276
291
  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.
277
292
 
278
- ## Bound action contract and schemas
293
+ ## Bound action contract
279
294
 
280
295
  <details data-wtfp-source="protocol://actions/progress.json" open>
281
296
  <summary>Bundled WTF-P protocol resource: actions/progress.json</summary>
@@ -332,1146 +347,6 @@ Report the logical resources read, created, updated, archived, or deleted; the g
332
347
  ]
333
348
  }
334
349
 
335
- </details>
336
- <details data-wtfp-source="protocol://project/schemas/common.schema.json" open>
337
- <summary>Bundled WTF-P protocol resource: project/schemas/common.schema.json</summary>
338
-
339
- {
340
- "$schema": "https://json-schema.org/draft/2020-12/schema",
341
- "$id": "https://schemas.wtf-p.dev/project/common/v1",
342
- "$defs": {
343
- "identifier": {
344
- "type": "string",
345
- "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$"
346
- },
347
- "logicalUri": {
348
- "type": "string",
349
- "pattern": "^project://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
350
- },
351
- "protocolUri": {
352
- "type": "string",
353
- "pattern": "^protocol://(?!\\.{1,2}(?:/|$))(?!.*\\/\\.{1,2}(?:/|$))[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$"
354
- },
355
- "nonEmptyString": {
356
- "type": "string",
357
- "minLength": 1
358
- },
359
- "timestamp": {
360
- "type": "string",
361
- "format": "date-time"
362
- },
363
- "date": {
364
- "type": "string",
365
- "format": "date"
366
- },
367
- "confidence": {
368
- "enum": ["high", "medium", "low", "unknown"]
369
- }
370
- }
371
- }
372
-
373
- </details>
374
- <details data-wtfp-source="protocol://project/schemas/checkpoint.schema.json" open>
375
- <summary>Bundled WTF-P protocol resource: project/schemas/checkpoint.schema.json</summary>
376
-
377
- {
378
- "$schema": "https://json-schema.org/draft/2020-12/schema",
379
- "$id": "https://schemas.wtf-p.dev/project/checkpoint/v1",
380
- "type": "object",
381
- "additionalProperties": false,
382
- "allOf": [
383
- {
384
- "if": {
385
- "required": ["kind"],
386
- "properties": { "kind": { "const": "state-snapshot" } }
387
- },
388
- "then": {
389
- "required": ["snapshot"],
390
- "properties": {
391
- "status": { "enum": ["available", "restored", "expired"] },
392
- "blocking": { "const": false }
393
- }
394
- },
395
- "else": {
396
- "not": { "required": ["snapshot"] },
397
- "properties": {
398
- "status": { "enum": ["pending", "resolved", "waived", "expired"] }
399
- }
400
- }
401
- }
402
- ],
403
- "required": [
404
- "schema",
405
- "id",
406
- "project_id",
407
- "kind",
408
- "status",
409
- "blocking",
410
- "scope_uri",
411
- "request",
412
- "options",
413
- "resume_action",
414
- "created_at"
415
- ],
416
- "properties": {
417
- "schema": { "const": "wtfp.project.checkpoint/v1" },
418
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
419
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
420
- "kind": { "enum": ["human-verify", "decision", "human-action", "safety-authorization", "state-snapshot"] },
421
- "status": { "enum": ["pending", "resolved", "waived", "expired", "available", "restored"] },
422
- "blocking": { "type": "boolean" },
423
- "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
424
- "request": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
425
- "context": { "type": "string" },
426
- "options": {
427
- "type": "array",
428
- "items": {
429
- "type": "object",
430
- "additionalProperties": false,
431
- "required": ["id", "label", "implication"],
432
- "properties": {
433
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
434
- "label": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
435
- "implication": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
436
- }
437
- }
438
- },
439
- "resume_action": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
440
- "created_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
441
- "snapshot": {
442
- "type": "object",
443
- "additionalProperties": false,
444
- "required": ["archive_uri", "resources"],
445
- "properties": {
446
- "archive_uri": {
447
- "type": "string",
448
- "pattern": "^project://archives/checkpoints/[A-Za-z0-9._~-]+$"
449
- },
450
- "resources": {
451
- "type": "array",
452
- "minItems": 1,
453
- "items": {
454
- "type": "object",
455
- "additionalProperties": false,
456
- "required": ["uri", "sha256"],
457
- "properties": {
458
- "uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
459
- "revision": { "type": "integer", "minimum": 0 },
460
- "sha256": { "type": "string", "pattern": "^[a-f0-9]{64}$" }
461
- }
462
- }
463
- }
464
- }
465
- },
466
- "resolution": {
467
- "type": "object",
468
- "additionalProperties": false,
469
- "required": ["resolved_by", "summary", "resolved_at"],
470
- "properties": {
471
- "resolved_by": { "enum": ["author", "policy"] },
472
- "selected_option": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
473
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
474
- "resolved_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
475
- }
476
- }
477
- }
478
- }
479
-
480
- </details>
481
- <details data-wtfp-source="protocol://project/templates/checkpoint.json" open>
482
- <summary>Bundled WTF-P protocol resource: project/templates/checkpoint.json</summary>
483
-
484
- {
485
- "schema": "wtfp.project.checkpoint/v1",
486
- "id": "checkpoint-contribution-framing",
487
- "project_id": "portable-research-demo",
488
- "kind": "decision",
489
- "status": "pending",
490
- "blocking": true,
491
- "scope_uri": "project://sections/introduction",
492
- "request": "Choose the primary contribution framing before the introduction is drafted.",
493
- "context": "The choice changes the order and strength of the contribution claims.",
494
- "options": [
495
- {
496
- "id": "protocol-contribution",
497
- "label": "Protocol contribution",
498
- "implication": "Lead with interoperability and evidence fidelity."
499
- },
500
- {
501
- "id": "workflow-contribution",
502
- "label": "Workflow contribution",
503
- "implication": "Lead with the end-to-end academic process."
504
- }
505
- ],
506
- "resume_action": "write-section",
507
- "created_at": "2026-08-28T12:40:00Z"
508
- }
509
-
510
- </details>
511
- <details data-wtfp-source="protocol://project/schemas/config.schema.json" open>
512
- <summary>Bundled WTF-P protocol resource: project/schemas/config.schema.json</summary>
513
-
514
- {
515
- "$schema": "https://json-schema.org/draft/2020-12/schema",
516
- "$id": "https://schemas.wtf-p.dev/project/config/v1",
517
- "type": "object",
518
- "additionalProperties": false,
519
- "required": [
520
- "schema",
521
- "project_id",
522
- "interaction_mode",
523
- "depth",
524
- "output_format",
525
- "language",
526
- "gates",
527
- "workflow",
528
- "safety",
529
- "parallelism"
530
- ],
531
- "properties": {
532
- "schema": { "const": "wtfp.project.config/v1" },
533
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
534
- "interaction_mode": { "enum": ["guided", "standard", "autonomous"] },
535
- "depth": { "enum": ["quick", "standard", "comprehensive"] },
536
- "output_format": { "enum": ["markdown", "latex", "typst"] },
537
- "language": { "type": "string", "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$" },
538
- "citation_style": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
539
- "gates": {
540
- "type": "object",
541
- "additionalProperties": false,
542
- "required": ["confirm_outline", "confirm_plan", "confirm_write", "confirm_review", "confirm_delivery"],
543
- "properties": {
544
- "confirm_outline": { "type": "boolean" },
545
- "confirm_plan": { "type": "boolean" },
546
- "confirm_write": { "type": "boolean" },
547
- "confirm_review": { "type": "boolean" },
548
- "confirm_delivery": { "type": "boolean" }
549
- }
550
- },
551
- "workflow": {
552
- "type": "object",
553
- "additionalProperties": false,
554
- "required": ["research", "plan_validation", "argument_validation", "coherence_validation"],
555
- "properties": {
556
- "research": { "type": "boolean" },
557
- "plan_validation": { "type": "boolean" },
558
- "argument_validation": { "type": "boolean" },
559
- "coherence_validation": { "type": "boolean" }
560
- }
561
- },
562
- "safety": {
563
- "type": "object",
564
- "additionalProperties": false,
565
- "required": ["destructive_requires_authorization", "external_publish_requires_authorization", "backup_before_major_edits"],
566
- "properties": {
567
- "destructive_requires_authorization": { "const": true },
568
- "external_publish_requires_authorization": { "const": true },
569
- "backup_before_major_edits": { "type": "boolean" }
570
- }
571
- },
572
- "parallelism": {
573
- "type": "object",
574
- "additionalProperties": false,
575
- "required": ["enabled", "max_workers"],
576
- "properties": {
577
- "enabled": { "type": "boolean" },
578
- "max_workers": { "type": "integer", "minimum": 1, "maximum": 32 }
579
- }
580
- }
581
- }
582
- }
583
-
584
- </details>
585
- <details data-wtfp-source="protocol://project/templates/config.json" open>
586
- <summary>Bundled WTF-P protocol resource: project/templates/config.json</summary>
587
-
588
- {
589
- "schema": "wtfp.project.config/v1",
590
- "project_id": "portable-research-demo",
591
- "interaction_mode": "standard",
592
- "depth": "standard",
593
- "output_format": "markdown",
594
- "language": "en-US",
595
- "citation_style": "author-date",
596
- "gates": {
597
- "confirm_outline": true,
598
- "confirm_plan": true,
599
- "confirm_write": true,
600
- "confirm_review": true,
601
- "confirm_delivery": true
602
- },
603
- "workflow": {
604
- "research": true,
605
- "plan_validation": true,
606
- "argument_validation": true,
607
- "coherence_validation": true
608
- },
609
- "safety": {
610
- "destructive_requires_authorization": true,
611
- "external_publish_requires_authorization": true,
612
- "backup_before_major_edits": true
613
- },
614
- "parallelism": {
615
- "enabled": true,
616
- "max_workers": 3
617
- }
618
- }
619
-
620
- </details>
621
- <details data-wtfp-source="protocol://project/schemas/decisions.schema.json" open>
622
- <summary>Bundled WTF-P protocol resource: project/schemas/decisions.schema.json</summary>
623
-
624
- {
625
- "$schema": "https://json-schema.org/draft/2020-12/schema",
626
- "$id": "https://schemas.wtf-p.dev/project/decisions/v1",
627
- "type": "object",
628
- "additionalProperties": false,
629
- "required": ["schema", "project_id", "revision", "items", "updated_at"],
630
- "properties": {
631
- "schema": { "const": "wtfp.project.decisions/v1" },
632
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
633
- "revision": { "type": "integer", "minimum": 0 },
634
- "items": {
635
- "type": "array",
636
- "items": {
637
- "type": "object",
638
- "additionalProperties": false,
639
- "required": ["id", "authority", "disposition", "statement", "rationale", "scope_uri", "recorded_at"],
640
- "properties": {
641
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
642
- "authority": { "enum": ["author", "venue", "project-evidence"] },
643
- "disposition": { "enum": ["locked", "deferred", "discretion", "superseded"] },
644
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
645
- "rationale": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
646
- "scope_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
647
- "recorded_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
648
- "supersedes": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
649
- }
650
- }
651
- },
652
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
653
- }
654
- }
655
-
656
- </details>
657
- <details data-wtfp-source="protocol://project/templates/decisions.json" open>
658
- <summary>Bundled WTF-P protocol resource: project/templates/decisions.json</summary>
659
-
660
- {
661
- "schema": "wtfp.project.decisions/v1",
662
- "project_id": "portable-research-demo",
663
- "revision": 1,
664
- "items": [
665
- {
666
- "id": "decision-host-neutral-core",
667
- "authority": "author",
668
- "disposition": "locked",
669
- "statement": "The project record remains independent of any one runtime.",
670
- "rationale": "Portability is the central contribution under evaluation.",
671
- "scope_uri": "project://manifest",
672
- "recorded_at": "2026-08-28T12:05:00Z"
673
- },
674
- {
675
- "id": "decision-runtime-benchmarks",
676
- "authority": "author",
677
- "disposition": "deferred",
678
- "statement": "Comparative runtime performance benchmarks are reserved for later work.",
679
- "rationale": "The current paper evaluates protocol fidelity rather than runtime speed.",
680
- "scope_uri": "project://structure/outline",
681
- "recorded_at": "2026-08-28T12:06:00Z"
682
- },
683
- {
684
- "id": "decision-example-order",
685
- "authority": "author",
686
- "disposition": "discretion",
687
- "statement": "The editor may choose the order of the two implementation examples.",
688
- "rationale": "Either order preserves the argument and venue constraints.",
689
- "scope_uri": "project://sections/implementation",
690
- "recorded_at": "2026-08-28T12:07:00Z"
691
- }
692
- ],
693
- "updated_at": "2026-08-28T12:07:00Z"
694
- }
695
-
696
- </details>
697
- <details data-wtfp-source="protocol://project/schemas/evidence.schema.json" open>
698
- <summary>Bundled WTF-P protocol resource: project/schemas/evidence.schema.json</summary>
699
-
700
- {
701
- "$schema": "https://json-schema.org/draft/2020-12/schema",
702
- "$id": "https://schemas.wtf-p.dev/project/evidence/v1",
703
- "type": "object",
704
- "additionalProperties": false,
705
- "required": [
706
- "schema",
707
- "id",
708
- "project_id",
709
- "source_uri",
710
- "claim_id",
711
- "relation",
712
- "statement",
713
- "locator",
714
- "interpretation",
715
- "confidence",
716
- "inspection_depth",
717
- "verified_at"
718
- ],
719
- "properties": {
720
- "schema": { "const": "wtfp.project.evidence/v1" },
721
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
722
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
723
- "source_uri": { "type": "string", "pattern": "^project://sources/[A-Za-z0-9._~-]+$" },
724
- "claim_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
725
- "relation": { "enum": ["supports", "contradicts", "contextualizes", "method-precedent"] },
726
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
727
- "locator": {
728
- "type": "object",
729
- "additionalProperties": false,
730
- "required": ["kind", "value"],
731
- "properties": {
732
- "kind": { "enum": ["page", "section", "figure", "table", "timestamp", "record", "abstract"] },
733
- "value": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
734
- }
735
- },
736
- "quote": { "type": "string", "minLength": 1 },
737
- "interpretation": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
738
- "limitations": {
739
- "type": "array",
740
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
741
- "uniqueItems": true
742
- },
743
- "confidence": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/confidence" },
744
- "inspection_depth": { "enum": ["metadata", "abstract", "full-text", "primary-data"] },
745
- "verified_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
746
- }
747
- }
748
-
749
- </details>
750
- <details data-wtfp-source="protocol://project/templates/evidence.json" open>
751
- <summary>Bundled WTF-P protocol resource: project/templates/evidence.json</summary>
752
-
753
- {
754
- "schema": "wtfp.project.evidence/v1",
755
- "id": "evidence-portability-boundaries",
756
- "project_id": "portable-research-demo",
757
- "source_uri": "project://sources/source-portable-protocols-2026",
758
- "claim_id": "claim-portable-state",
759
- "relation": "supports",
760
- "statement": "Separating portable project state from runtime adapters reduces host-specific workflow coupling.",
761
- "locator": {
762
- "kind": "section",
763
- "value": "4.2"
764
- },
765
- "interpretation": "The source supports the architectural direction but does not establish performance benefits.",
766
- "limitations": ["The evaluation covers three runtime families rather than every available runtime."],
767
- "confidence": "high",
768
- "inspection_depth": "full-text",
769
- "verified_at": "2026-08-28T12:25:00Z"
770
- }
771
-
772
- </details>
773
- <details data-wtfp-source="protocol://project/schemas/manifest.schema.json" open>
774
- <summary>Bundled WTF-P protocol resource: project/schemas/manifest.schema.json</summary>
775
-
776
- {
777
- "$schema": "https://json-schema.org/draft/2020-12/schema",
778
- "$id": "https://schemas.wtf-p.dev/project/manifest/v1",
779
- "type": "object",
780
- "additionalProperties": false,
781
- "required": [
782
- "schema",
783
- "protocol_version",
784
- "id",
785
- "title",
786
- "document_type",
787
- "core_argument",
788
- "created_at",
789
- "updated_at",
790
- "artifacts"
791
- ],
792
- "properties": {
793
- "schema": { "const": "wtfp.project.manifest/v1" },
794
- "protocol_version": { "const": 1 },
795
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
796
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
797
- "document_type": {
798
- "enum": [
799
- "research-article",
800
- "conference-paper",
801
- "review",
802
- "grant-proposal",
803
- "thesis",
804
- "dissertation",
805
- "book-chapter",
806
- "other"
807
- ]
808
- },
809
- "core_argument": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
810
- "target": {
811
- "type": "object",
812
- "additionalProperties": false,
813
- "properties": {
814
- "venue": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
815
- "audience": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
816
- "word_limit": { "type": "integer", "minimum": 1 },
817
- "deadline": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/date" }
818
- }
819
- },
820
- "requirements": {
821
- "type": "object",
822
- "additionalProperties": false,
823
- "required": ["must_have", "should_have", "out_of_scope"],
824
- "properties": {
825
- "must_have": {
826
- "type": "array",
827
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
828
- "uniqueItems": true
829
- },
830
- "should_have": {
831
- "type": "array",
832
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
833
- "uniqueItems": true
834
- },
835
- "out_of_scope": {
836
- "type": "array",
837
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
838
- "uniqueItems": true
839
- }
840
- }
841
- },
842
- "created_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
843
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
844
- "artifacts": {
845
- "type": "object",
846
- "additionalProperties": false,
847
- "required": ["manifest", "config", "state", "decisions", "outline"],
848
- "properties": {
849
- "manifest": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
850
- "config": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
851
- "state": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
852
- "decisions": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
853
- "outline": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
854
- "materials": {
855
- "type": "array",
856
- "items": { "type": "string", "pattern": "^project://materials/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
857
- "uniqueItems": true
858
- },
859
- "manuscripts": {
860
- "type": "array",
861
- "items": { "type": "string", "pattern": "^project://paper/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
862
- "uniqueItems": true
863
- },
864
- "deliverables": {
865
- "type": "array",
866
- "items": { "type": "string", "pattern": "^project://deliverables/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
867
- "uniqueItems": true
868
- },
869
- "archives": {
870
- "type": "array",
871
- "items": { "type": "string", "pattern": "^project://archives/[A-Za-z0-9._~-]+(?:/[A-Za-z0-9._~-]+)*$" },
872
- "uniqueItems": true
873
- }
874
- }
875
- }
876
- }
877
- }
878
-
879
- </details>
880
- <details data-wtfp-source="protocol://project/templates/manifest.json" open>
881
- <summary>Bundled WTF-P protocol resource: project/templates/manifest.json</summary>
882
-
883
- {
884
- "schema": "wtfp.project.manifest/v1",
885
- "protocol_version": 1,
886
- "id": "portable-research-demo",
887
- "title": "Portable Research Workflow",
888
- "document_type": "research-article",
889
- "core_argument": "A host-neutral project protocol makes academic workflows portable without weakening evidence and decision fidelity.",
890
- "target": {
891
- "audience": "Researchers evaluating agent-supported academic workflows",
892
- "word_limit": 6000
893
- },
894
- "requirements": {
895
- "must_have": ["Every substantive claim is traceable to evidence"],
896
- "should_have": ["Adapters preserve the same project state across runtimes"],
897
- "out_of_scope": ["Evaluation of unpublished runtime internals"]
898
- },
899
- "created_at": "2026-08-28T12:00:00Z",
900
- "updated_at": "2026-08-28T12:00:00Z",
901
- "artifacts": {
902
- "manifest": "project://manifest",
903
- "config": "project://config",
904
- "state": "project://state",
905
- "decisions": "project://decisions",
906
- "outline": "project://structure/outline",
907
- "materials": [],
908
- "manuscripts": [],
909
- "deliverables": [],
910
- "archives": []
911
- }
912
- }
913
-
914
- </details>
915
- <details data-wtfp-source="protocol://project/schemas/outline.schema.json" open>
916
- <summary>Bundled WTF-P protocol resource: project/schemas/outline.schema.json</summary>
917
-
918
- {
919
- "$schema": "https://json-schema.org/draft/2020-12/schema",
920
- "$id": "https://schemas.wtf-p.dev/project/outline/v1",
921
- "type": "object",
922
- "additionalProperties": false,
923
- "required": ["schema", "project_id", "revision", "thesis", "target_words", "sections", "updated_at"],
924
- "properties": {
925
- "schema": { "const": "wtfp.project.outline/v1" },
926
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
927
- "revision": { "type": "integer", "minimum": 0 },
928
- "thesis": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
929
- "target_words": { "type": "integer", "minimum": 1 },
930
- "sections": {
931
- "type": "array",
932
- "minItems": 1,
933
- "items": {
934
- "type": "object",
935
- "additionalProperties": false,
936
- "required": [
937
- "id",
938
- "title",
939
- "goal",
940
- "argument_role",
941
- "word_target",
942
- "wave",
943
- "depends_on",
944
- "claim_ids",
945
- "research"
946
- ],
947
- "properties": {
948
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
949
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
950
- "goal": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
951
- "argument_role": {
952
- "enum": ["setup", "background", "method", "evidence", "synthesis", "implications", "conclusion", "other"]
953
- },
954
- "word_target": { "type": "integer", "minimum": 1 },
955
- "wave": { "type": "integer", "minimum": 1 },
956
- "depends_on": {
957
- "type": "array",
958
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
959
- "uniqueItems": true
960
- },
961
- "claim_ids": {
962
- "type": "array",
963
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
964
- "uniqueItems": true
965
- },
966
- "research": {
967
- "type": "object",
968
- "additionalProperties": false,
969
- "required": ["required", "topics"],
970
- "properties": {
971
- "required": { "type": "boolean" },
972
- "topics": {
973
- "type": "array",
974
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
975
- "uniqueItems": true
976
- }
977
- }
978
- }
979
- }
980
- }
981
- },
982
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
983
- }
984
- }
985
-
986
- </details>
987
- <details data-wtfp-source="protocol://project/templates/outline.json" open>
988
- <summary>Bundled WTF-P protocol resource: project/templates/outline.json</summary>
989
-
990
- {
991
- "schema": "wtfp.project.outline/v1",
992
- "project_id": "portable-research-demo",
993
- "revision": 1,
994
- "thesis": "A host-neutral project protocol makes academic workflows portable without weakening evidence and decision fidelity.",
995
- "target_words": 6000,
996
- "sections": [
997
- {
998
- "id": "introduction",
999
- "title": "Introduction",
1000
- "goal": "Establish the portability problem, the evidence-fidelity requirement, and the paper's contribution.",
1001
- "argument_role": "setup",
1002
- "word_target": 1500,
1003
- "wave": 1,
1004
- "depends_on": [],
1005
- "claim_ids": ["claim-portable-state"],
1006
- "research": {
1007
- "required": true,
1008
- "topics": ["Portable workflow protocols", "Evidence provenance in research systems"]
1009
- }
1010
- },
1011
- {
1012
- "id": "implementation",
1013
- "title": "Protocol Design",
1014
- "goal": "Define the portable records, safety boundaries, and adapter responsibilities.",
1015
- "argument_role": "method",
1016
- "word_target": 4500,
1017
- "wave": 2,
1018
- "depends_on": ["introduction"],
1019
- "claim_ids": ["claim-adapter-boundary"],
1020
- "research": {
1021
- "required": false,
1022
- "topics": []
1023
- }
1024
- }
1025
- ],
1026
- "updated_at": "2026-08-28T12:30:00Z"
1027
- }
1028
-
1029
- </details>
1030
- <details data-wtfp-source="protocol://project/schemas/section.schema.json" open>
1031
- <summary>Bundled WTF-P protocol resource: project/schemas/section.schema.json</summary>
1032
-
1033
- {
1034
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1035
- "$id": "https://schemas.wtf-p.dev/project/section/v1",
1036
- "type": "object",
1037
- "additionalProperties": false,
1038
- "required": [
1039
- "schema",
1040
- "id",
1041
- "project_id",
1042
- "outline_uri",
1043
- "title",
1044
- "goal",
1045
- "status",
1046
- "word_target",
1047
- "word_count",
1048
- "wave",
1049
- "depends_on",
1050
- "claims",
1051
- "artifacts",
1052
- "checkpoint_uris",
1053
- "validation_uris",
1054
- "updated_at"
1055
- ],
1056
- "properties": {
1057
- "schema": { "const": "wtfp.project.section/v1" },
1058
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1059
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1060
- "outline_uri": { "const": "project://structure/outline" },
1061
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1062
- "goal": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1063
- "status": {
1064
- "enum": ["not-started", "researching", "planned", "writing", "reviewing", "complete", "blocked"]
1065
- },
1066
- "word_target": { "type": "integer", "minimum": 1 },
1067
- "word_count": { "type": "integer", "minimum": 0 },
1068
- "wave": { "type": "integer", "minimum": 1 },
1069
- "depends_on": {
1070
- "type": "array",
1071
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1072
- "uniqueItems": true
1073
- },
1074
- "claims": {
1075
- "type": "array",
1076
- "items": {
1077
- "type": "object",
1078
- "additionalProperties": false,
1079
- "required": ["id", "statement", "status", "evidence_required", "evidence_uris"],
1080
- "properties": {
1081
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1082
- "statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1083
- "status": { "enum": ["planned", "drafted", "verified", "rejected"] },
1084
- "evidence_required": { "type": "boolean" },
1085
- "evidence_uris": {
1086
- "type": "array",
1087
- "items": { "type": "string", "pattern": "^project://evidence/[A-Za-z0-9._~-]+$" },
1088
- "uniqueItems": true
1089
- }
1090
- }
1091
- }
1092
- },
1093
- "artifacts": {
1094
- "type": "object",
1095
- "additionalProperties": false,
1096
- "required": ["plans", "reviews"],
1097
- "properties": {
1098
- "context": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1099
- "research": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1100
- "plans": {
1101
- "type": "array",
1102
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1103
- "uniqueItems": true
1104
- },
1105
- "reviews": {
1106
- "type": "array",
1107
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1108
- "uniqueItems": true
1109
- },
1110
- "manuscript": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1111
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1112
- "handoff": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" }
1113
- }
1114
- },
1115
- "checkpoint_uris": {
1116
- "type": "array",
1117
- "items": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
1118
- "uniqueItems": true
1119
- },
1120
- "validation_uris": {
1121
- "type": "array",
1122
- "items": { "type": "string", "pattern": "^project://validations/[A-Za-z0-9._~-]+$" },
1123
- "uniqueItems": true
1124
- },
1125
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1126
- }
1127
- }
1128
-
1129
- </details>
1130
- <details data-wtfp-source="protocol://project/templates/section.json" open>
1131
- <summary>Bundled WTF-P protocol resource: project/templates/section.json</summary>
1132
-
1133
- {
1134
- "schema": "wtfp.project.section/v1",
1135
- "id": "introduction",
1136
- "project_id": "portable-research-demo",
1137
- "outline_uri": "project://structure/outline",
1138
- "title": "Introduction",
1139
- "goal": "Establish the portability problem, the evidence-fidelity requirement, and the paper's contribution.",
1140
- "status": "researching",
1141
- "word_target": 1500,
1142
- "word_count": 0,
1143
- "wave": 1,
1144
- "depends_on": [],
1145
- "claims": [
1146
- {
1147
- "id": "claim-portable-state",
1148
- "statement": "Portable project state reduces coupling between academic workflows and runtime-specific interfaces.",
1149
- "status": "planned",
1150
- "evidence_required": true,
1151
- "evidence_uris": ["project://evidence/evidence-portability-boundaries"]
1152
- }
1153
- ],
1154
- "artifacts": {
1155
- "context": "project://sections/introduction/context",
1156
- "research": "project://sections/introduction/research",
1157
- "plans": ["project://sections/introduction/plans/initial"],
1158
- "reviews": [],
1159
- "manuscript": "project://paper/introduction"
1160
- },
1161
- "checkpoint_uris": [],
1162
- "validation_uris": [],
1163
- "updated_at": "2026-08-28T12:35:00Z"
1164
- }
1165
-
1166
- </details>
1167
- <details data-wtfp-source="protocol://project/schemas/source.schema.json" open>
1168
- <summary>Bundled WTF-P protocol resource: project/schemas/source.schema.json</summary>
1169
-
1170
- {
1171
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1172
- "$id": "https://schemas.wtf-p.dev/project/source/v1",
1173
- "type": "object",
1174
- "additionalProperties": false,
1175
- "required": [
1176
- "schema",
1177
- "id",
1178
- "project_id",
1179
- "kind",
1180
- "title",
1181
- "creators",
1182
- "year",
1183
- "identifiers",
1184
- "status",
1185
- "provenance"
1186
- ],
1187
- "properties": {
1188
- "schema": { "const": "wtfp.project.source/v1" },
1189
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1190
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1191
- "kind": {
1192
- "enum": [
1193
- "journal-article",
1194
- "conference-paper",
1195
- "book",
1196
- "book-chapter",
1197
- "preprint",
1198
- "thesis",
1199
- "dataset",
1200
- "software",
1201
- "standard",
1202
- "web-resource",
1203
- "author-material",
1204
- "other"
1205
- ]
1206
- },
1207
- "title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1208
- "creators": {
1209
- "type": "array",
1210
- "minItems": 1,
1211
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1212
- },
1213
- "year": { "type": ["integer", "null"], "minimum": 1000, "maximum": 2200 },
1214
- "identifiers": {
1215
- "type": "object",
1216
- "additionalProperties": false,
1217
- "minProperties": 1,
1218
- "properties": {
1219
- "doi": { "type": "string", "pattern": "^10\\.[0-9]{4,9}/\\S+$" },
1220
- "arxiv": { "type": "string", "pattern": "^(?:[a-z-]+/[0-9]{7}|[0-9]{4}\\.[0-9]{4,5})(?:v[0-9]+)?$" },
1221
- "isbn": { "type": "string", "minLength": 10 },
1222
- "url": { "type": "string", "format": "uri" },
1223
- "local_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" }
1224
- }
1225
- },
1226
- "citation_key": { "type": "string", "pattern": "^[A-Za-z0-9:_-]+$" },
1227
- "status": { "enum": ["verified", "provisional", "unavailable", "retracted"] },
1228
- "provenance": {
1229
- "type": "object",
1230
- "additionalProperties": false,
1231
- "required": ["discovered_via", "inspection_depth", "verified_at"],
1232
- "properties": {
1233
- "discovered_via": {
1234
- "enum": ["scholarly-index", "bibliography-import", "author-provided", "repository", "manual"]
1235
- },
1236
- "inspection_depth": { "enum": ["metadata", "abstract", "full-text", "primary-data"] },
1237
- "verified_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" },
1238
- "notes": { "type": "string" }
1239
- }
1240
- }
1241
- }
1242
- }
1243
-
1244
- </details>
1245
- <details data-wtfp-source="protocol://project/templates/source.json" open>
1246
- <summary>Bundled WTF-P protocol resource: project/templates/source.json</summary>
1247
-
1248
- {
1249
- "schema": "wtfp.project.source/v1",
1250
- "id": "source-portable-protocols-2026",
1251
- "project_id": "portable-research-demo",
1252
- "kind": "journal-article",
1253
- "title": "Portable Protocols for Evidence-Grounded Research Workflows",
1254
- "creators": ["A. Researcher", "B. Scholar"],
1255
- "year": 2026,
1256
- "identifiers": {
1257
- "doi": "10.1234/example.2026.17"
1258
- },
1259
- "citation_key": "Researcher2026Portable",
1260
- "status": "verified",
1261
- "provenance": {
1262
- "discovered_via": "scholarly-index",
1263
- "inspection_depth": "full-text",
1264
- "verified_at": "2026-08-28T12:20:00Z",
1265
- "notes": "Identity and relevant passages were checked against the publisher record."
1266
- }
1267
- }
1268
-
1269
- </details>
1270
- <details data-wtfp-source="protocol://project/schemas/state.schema.json" open>
1271
- <summary>Bundled WTF-P protocol resource: project/schemas/state.schema.json</summary>
1272
-
1273
- {
1274
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1275
- "$id": "https://schemas.wtf-p.dev/project/state/v1",
1276
- "type": "object",
1277
- "additionalProperties": false,
1278
- "required": [
1279
- "schema",
1280
- "project_id",
1281
- "revision",
1282
- "phase",
1283
- "status",
1284
- "current_section_uri",
1285
- "progress",
1286
- "active_checkpoint_uris",
1287
- "updated_at"
1288
- ],
1289
- "properties": {
1290
- "schema": { "const": "wtfp.project.state/v1" },
1291
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1292
- "revision": { "type": "integer", "minimum": 0 },
1293
- "phase": {
1294
- "enum": ["initialized", "mapped", "outlining", "planning", "writing", "reviewing", "ready", "delivered"]
1295
- },
1296
- "status": { "enum": ["active", "paused", "blocked", "complete"] },
1297
- "current_section_uri": {
1298
- "type": ["string", "null"],
1299
- "pattern": "^project://sections/[A-Za-z0-9._~-]+$"
1300
- },
1301
- "progress": {
1302
- "type": "object",
1303
- "additionalProperties": false,
1304
- "required": ["sections_total", "sections_complete", "word_target", "word_count"],
1305
- "properties": {
1306
- "sections_total": { "type": "integer", "minimum": 0 },
1307
- "sections_complete": { "type": "integer", "minimum": 0 },
1308
- "word_target": { "type": "integer", "minimum": 0 },
1309
- "word_count": { "type": "integer", "minimum": 0 }
1310
- }
1311
- },
1312
- "active_checkpoint_uris": {
1313
- "type": "array",
1314
- "items": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
1315
- "uniqueItems": true
1316
- },
1317
- "last_transition": {
1318
- "type": "object",
1319
- "additionalProperties": false,
1320
- "required": ["from", "to", "reason", "at"],
1321
- "properties": {
1322
- "from": { "type": "string", "minLength": 1 },
1323
- "to": { "type": "string", "minLength": 1 },
1324
- "reason": { "type": "string", "minLength": 1 },
1325
- "at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1326
- }
1327
- },
1328
- "updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1329
- }
1330
- }
1331
-
1332
- </details>
1333
- <details data-wtfp-source="protocol://project/templates/state.json" open>
1334
- <summary>Bundled WTF-P protocol resource: project/templates/state.json</summary>
1335
-
1336
- {
1337
- "schema": "wtfp.project.state/v1",
1338
- "project_id": "portable-research-demo",
1339
- "revision": 0,
1340
- "phase": "outlining",
1341
- "status": "active",
1342
- "current_section_uri": "project://sections/introduction",
1343
- "progress": {
1344
- "sections_total": 2,
1345
- "sections_complete": 0,
1346
- "word_target": 6000,
1347
- "word_count": 0
1348
- },
1349
- "active_checkpoint_uris": [],
1350
- "last_transition": {
1351
- "from": "initialized",
1352
- "to": "outlining",
1353
- "reason": "The project brief and author decisions are recorded.",
1354
- "at": "2026-08-28T12:10:00Z"
1355
- },
1356
- "updated_at": "2026-08-28T12:10:00Z"
1357
- }
1358
-
1359
- </details>
1360
- <details data-wtfp-source="protocol://project/schemas/validation.schema.json" open>
1361
- <summary>Bundled WTF-P protocol resource: project/schemas/validation.schema.json</summary>
1362
-
1363
- {
1364
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1365
- "$id": "https://schemas.wtf-p.dev/project/validation/v1",
1366
- "type": "object",
1367
- "additionalProperties": false,
1368
- "required": [
1369
- "schema",
1370
- "id",
1371
- "project_id",
1372
- "subject_uri",
1373
- "validator_role",
1374
- "action_id",
1375
- "status",
1376
- "checks",
1377
- "issues",
1378
- "next_actions",
1379
- "effects_applied",
1380
- "executed_at"
1381
- ],
1382
- "properties": {
1383
- "schema": { "const": "wtfp.project.validation/v1" },
1384
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1385
- "project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1386
- "subject_uri": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
1387
- "validator_role": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1388
- "action_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1389
- "status": { "enum": ["passed", "issues-found", "needs-input", "failed"] },
1390
- "checks": {
1391
- "type": "array",
1392
- "minItems": 1,
1393
- "items": {
1394
- "type": "object",
1395
- "additionalProperties": false,
1396
- "required": ["id", "status", "summary", "evidence"],
1397
- "properties": {
1398
- "id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1399
- "status": { "enum": ["passed", "warning", "failed", "not-applicable"] },
1400
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1401
- "evidence": {
1402
- "type": "array",
1403
- "items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1404
- }
1405
- }
1406
- }
1407
- },
1408
- "issues": {
1409
- "type": "array",
1410
- "items": {
1411
- "type": "object",
1412
- "additionalProperties": false,
1413
- "required": ["severity", "summary"],
1414
- "properties": {
1415
- "severity": { "enum": ["info", "warning", "error", "blocker"] },
1416
- "summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
1417
- "evidence": { "type": "string" }
1418
- }
1419
- }
1420
- },
1421
- "next_actions": {
1422
- "type": "array",
1423
- "items": {
1424
- "type": "object",
1425
- "additionalProperties": false,
1426
- "required": ["action", "reason"],
1427
- "properties": {
1428
- "action": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
1429
- "reason": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" }
1430
- }
1431
- }
1432
- },
1433
- "effects_applied": { "const": [] },
1434
- "executed_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
1435
- }
1436
- }
1437
-
1438
- </details>
1439
- <details data-wtfp-source="protocol://project/templates/validation.json" open>
1440
- <summary>Bundled WTF-P protocol resource: project/templates/validation.json</summary>
1441
-
1442
- {
1443
- "schema": "wtfp.project.validation/v1",
1444
- "id": "validation-introduction-plan",
1445
- "project_id": "portable-research-demo",
1446
- "subject_uri": "project://sections/introduction/plans/plan-01",
1447
- "validator_role": "plan-checker",
1448
- "action_id": "plan-section",
1449
- "status": "passed",
1450
- "checks": [
1451
- {
1452
- "id": "argument-coverage",
1453
- "status": "passed",
1454
- "summary": "Every section claim has a bounded writing unit.",
1455
- "evidence": ["claim-portable-state is assigned to the opening argument unit"]
1456
- },
1457
- {
1458
- "id": "decision-fidelity",
1459
- "status": "passed",
1460
- "summary": "Locked and deferred decisions are represented correctly.",
1461
- "evidence": ["The host-neutral core is required and runtime benchmarks are excluded"]
1462
- }
1463
- ],
1464
- "issues": [],
1465
- "next_actions": [
1466
- {
1467
- "action": "write-section",
1468
- "reason": "The plan passed all required verification checks."
1469
- }
1470
- ],
1471
- "effects_applied": [],
1472
- "executed_at": "2026-08-28T12:45:00Z"
1473
- }
1474
-
1475
350
  </details>
1476
351
 
1477
352
  ## Invocation input