wtf-p 0.8.4 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/README.md +31 -27
  2. package/bin/commands/install-logic.js +5 -5
  3. package/bin/install.js +11 -11
  4. package/bin/lib/adapter-compiler.js +275 -225
  5. package/bin/lib/manifest.js +21 -21
  6. package/bin/lib/native-registration.js +25 -10
  7. package/bin/lib/{clio-registration.js → pancode-registration.js} +62 -63
  8. package/bin/lib/utils.js +3 -3
  9. package/bin/uninstall.js +8 -8
  10. package/package.json +5 -4
  11. package/{vendors/clio-extension → pancode/extension}/.wtfp-generated.json +15 -11
  12. package/{vendors/clio-extension → pancode/extension}/compatibility/action-availability.json +14 -14
  13. package/{vendors/clio-extension/clio-coder-extension.yaml → pancode/extension/pancode-extension.yaml} +6 -5
  14. package/{vendors/clio-extension → pancode/extension}/runtime/claim-coverage.cjs +1 -1
  15. package/{vendors/clio-extension → pancode/extension}/runtime/desk-trust.cjs +1 -1
  16. package/{vendors/clio-extension → pancode/extension}/runtime/extension.test.ts +184 -97
  17. package/{vendors/clio-extension → pancode/extension}/runtime/extension.ts +169 -83
  18. package/pancode/extension/runtime/help.json +82 -0
  19. package/{vendors/clio-extension → pancode/extension}/runtime/write-guard.json +1 -1
  20. package/{vendors → pancode}/plugin/.wtfp-generated.json +114 -114
  21. package/{vendors → pancode}/plugin/compatibility/action-availability.json +16 -16
  22. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-argument-verifier.md +7 -3
  23. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-expert.md +6 -2
  24. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-formatter.md +6 -2
  25. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-coherence-checker.md +7 -3
  26. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-outliner.md +6 -2
  27. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-plan-checker.md +7 -3
  28. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-prose-polisher.md +6 -2
  29. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-research-synthesizer.md +6 -2
  30. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-planner.md +6 -2
  31. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-reviewer.md +7 -3
  32. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-writer.md +7 -3
  33. package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-draft-review.md +1 -1
  34. package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-plan-section.md +2 -0
  35. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/add-todo.md +1 -1
  36. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/advance.md +8 -8
  37. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/analyze-bib.md +5 -5
  38. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/audit-milestone.md +3 -3
  39. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-refs.md +5 -5
  40. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-todos.md +3 -3
  41. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/checkpoint.md +3 -3
  42. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/contribute.md +4 -1
  43. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-outline.md +6 -6
  44. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-poster.md +3 -3
  45. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-slides.md +3 -3
  46. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/discuss-section.md +3 -3
  47. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/execute-outline.md +6 -6
  48. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/export-latex.md +3 -3
  49. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/help.md +7 -7
  50. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/insert-section.md +4 -4
  51. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/list-assumptions.md +1 -1
  52. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/map-project.md +1 -1
  53. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/new-paper.md +3 -3
  54. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/pause-writing.md +2 -2
  55. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +3 -3
  56. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-revision.md +3 -3
  57. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-section.md +6 -6
  58. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/polish-prose.md +5 -5
  59. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/progress.md +3 -3
  60. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/quick.md +5 -5
  61. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/remove-section.md +4 -1
  62. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/report-bug.md +4 -1
  63. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/request-feature.md +4 -1
  64. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/research-gap.md +6 -6
  65. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/resume-writing.md +3 -3
  66. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/review-section.md +6 -6
  67. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/settings.md +3 -3
  68. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/submit-milestone.md +3 -3
  69. package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/update.md +4 -1
  70. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/verify-work.md +3 -3
  71. package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/write-section.md +6 -6
  72. package/{vendors → pancode}/plugin/plugin.json +56 -56
  73. package/{vendors → pancode}/plugin/repository/CONTRIBUTING.md +5 -2
  74. package/{vendors → pancode}/plugin/skills/wtfp-plan-section/references/actions.md +2 -2
  75. package/{vendors → pancode}/plugin/workflows/create-outline.md +1 -1
  76. package/{vendors → pancode}/plugin/workflows/insert-section.md +1 -1
  77. package/{vendors → pancode}/plugin/workflows/pause-writing.md +1 -1
  78. package/protocol/workflows/create-outline.md +1 -1
  79. package/protocol/workflows/insert-section.md +1 -1
  80. package/protocol/workflows/pause-writing.md +1 -1
  81. package/vendors/antigravity/.wtfp-generated.json +9 -9
  82. package/vendors/antigravity/plugin.json +2 -2
  83. package/vendors/antigravity/repository/CONTRIBUTING.md +5 -2
  84. package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +1 -1
  85. package/vendors/antigravity/skills/wtfp-insert-section/SKILL.md +1 -1
  86. package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +1 -1
  87. package/vendors/antigravity/workflows/create-outline.md +1 -1
  88. package/vendors/antigravity/workflows/insert-section.md +1 -1
  89. package/vendors/antigravity/workflows/pause-writing.md +1 -1
  90. package/vendors/claude/.claude-plugin/marketplace.json +2 -2
  91. package/vendors/claude/.claude-plugin/plugin.json +1 -1
  92. package/vendors/claude/.wtfp-generated.json +188 -188
  93. package/vendors/claude/commands/create-outline.md +1 -1
  94. package/vendors/claude/commands/insert-section.md +1 -1
  95. package/vendors/claude/commands/pause-writing.md +1 -1
  96. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-argument-verifier.md +7 -3
  97. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-citation-expert.md +6 -2
  98. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-citation-formatter.md +6 -2
  99. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-coherence-checker.md +7 -3
  100. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-outliner.md +6 -2
  101. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-plan-checker.md +7 -3
  102. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-prose-polisher.md +6 -2
  103. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-research-synthesizer.md +6 -2
  104. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-planner.md +6 -2
  105. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-reviewer.md +7 -3
  106. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-section-writer.md +7 -3
  107. package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-draft-review.md +1 -1
  108. package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-plan-section.md +2 -0
  109. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/advance.md +4 -1
  110. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/analyze-bib.md +4 -4
  111. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/audit-milestone.md +2 -2
  112. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-refs.md +4 -4
  113. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-todos.md +2 -2
  114. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/checkpoint.md +2 -2
  115. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/contribute.md +4 -1
  116. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-outline.md +5 -5
  117. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-poster.md +2 -2
  118. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-slides.md +2 -2
  119. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/discuss-section.md +2 -2
  120. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/execute-outline.md +5 -5
  121. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/export-latex.md +2 -2
  122. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/help.md +7 -7
  123. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/insert-section.md +3 -3
  124. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/new-paper.md +2 -2
  125. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/pause-writing.md +1 -1
  126. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +2 -2
  127. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-revision.md +2 -2
  128. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-section.md +5 -5
  129. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/polish-prose.md +4 -4
  130. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/progress.md +2 -2
  131. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/quick.md +4 -4
  132. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/remove-section.md +4 -1
  133. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/report-bug.md +4 -1
  134. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/request-feature.md +4 -1
  135. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/research-gap.md +5 -5
  136. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/resume-writing.md +2 -2
  137. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/review-section.md +5 -5
  138. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/settings.md +2 -2
  139. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/submit-milestone.md +2 -2
  140. package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/update.md +4 -1
  141. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/verify-work.md +2 -2
  142. package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/write-section.md +5 -5
  143. package/vendors/claude/plugin.json +56 -56
  144. package/vendors/claude/repository/CONTRIBUTING.md +5 -2
  145. package/vendors/claude/workflows/create-outline.md +1 -1
  146. package/vendors/claude/workflows/insert-section.md +1 -1
  147. package/vendors/claude/workflows/pause-writing.md +1 -1
  148. package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
  149. package/vendors/codex/plugins/wtfp/.wtfp-generated.json +7 -7
  150. package/vendors/codex/plugins/wtfp/plugin.json +1 -1
  151. package/vendors/codex/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
  152. package/vendors/codex/plugins/wtfp/workflows/create-outline.md +1 -1
  153. package/vendors/codex/plugins/wtfp/workflows/insert-section.md +1 -1
  154. package/vendors/codex/plugins/wtfp/workflows/pause-writing.md +1 -1
  155. package/vendors/copilot/.wtfp-generated.json +6 -6
  156. package/vendors/copilot/marketplace.json +2 -2
  157. package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
  158. package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +9 -9
  159. package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +1 -1
  160. package/vendors/copilot/plugins/wtfp/commands/wtfp-insert-section.md +1 -1
  161. package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +1 -1
  162. package/vendors/copilot/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
  163. package/vendors/copilot/plugins/wtfp/workflows/create-outline.md +1 -1
  164. package/vendors/copilot/plugins/wtfp/workflows/insert-section.md +1 -1
  165. package/vendors/copilot/plugins/wtfp/workflows/pause-writing.md +1 -1
  166. package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +1 -1
  167. package/vendors/copilot/project/.github/wtfp/workflows/create-outline.md +1 -1
  168. package/vendors/copilot/project/.github/wtfp/workflows/insert-section.md +1 -1
  169. package/vendors/copilot/project/.github/wtfp/workflows/pause-writing.md +1 -1
  170. package/vendors/gemini/.wtfp-generated.json +9 -9
  171. package/vendors/gemini/commands/wtfp/create-outline.toml +1 -1
  172. package/vendors/gemini/commands/wtfp/insert-section.toml +1 -1
  173. package/vendors/gemini/commands/wtfp/pause-writing.toml +1 -1
  174. package/vendors/gemini/gemini-extension.json +1 -1
  175. package/vendors/gemini/repository/CONTRIBUTING.md +5 -2
  176. package/vendors/gemini/workflows/create-outline.md +1 -1
  177. package/vendors/gemini/workflows/insert-section.md +1 -1
  178. package/vendors/gemini/workflows/pause-writing.md +1 -1
  179. package/vendors/opencode/.wtfp-generated.json +8 -8
  180. package/vendors/opencode/commands/wtfp/create-outline.md +1 -1
  181. package/vendors/opencode/commands/wtfp/insert-section.md +1 -1
  182. package/vendors/opencode/commands/wtfp/pause-writing.md +1 -1
  183. package/vendors/opencode/repository/CONTRIBUTING.md +5 -2
  184. package/vendors/opencode/workflows/create-outline.md +1 -1
  185. package/vendors/opencode/workflows/insert-section.md +1 -1
  186. package/vendors/opencode/workflows/pause-writing.md +1 -1
  187. /package/{vendors/clio-extension → pancode/extension}/actions/add-todo.json +0 -0
  188. /package/{vendors/clio-extension → pancode/extension}/actions/advance.json +0 -0
  189. /package/{vendors/clio-extension → pancode/extension}/actions/analyze-bib.json +0 -0
  190. /package/{vendors/clio-extension → pancode/extension}/actions/audit-milestone.json +0 -0
  191. /package/{vendors/clio-extension → pancode/extension}/actions/check-refs.json +0 -0
  192. /package/{vendors/clio-extension → pancode/extension}/actions/check-todos.json +0 -0
  193. /package/{vendors/clio-extension → pancode/extension}/actions/checkpoint.json +0 -0
  194. /package/{vendors/clio-extension → pancode/extension}/actions/contribute.json +0 -0
  195. /package/{vendors/clio-extension → pancode/extension}/actions/create-outline.json +0 -0
  196. /package/{vendors/clio-extension → pancode/extension}/actions/create-poster.json +0 -0
  197. /package/{vendors/clio-extension → pancode/extension}/actions/create-slides.json +0 -0
  198. /package/{vendors/clio-extension → pancode/extension}/actions/discuss-section.json +0 -0
  199. /package/{vendors/clio-extension → pancode/extension}/actions/execute-outline.json +0 -0
  200. /package/{vendors/clio-extension → pancode/extension}/actions/export-latex.json +0 -0
  201. /package/{vendors/clio-extension → pancode/extension}/actions/help.json +0 -0
  202. /package/{vendors/clio-extension → pancode/extension}/actions/insert-section.json +0 -0
  203. /package/{vendors/clio-extension → pancode/extension}/actions/list-assumptions.json +0 -0
  204. /package/{vendors/clio-extension → pancode/extension}/actions/map-project.json +0 -0
  205. /package/{vendors/clio-extension → pancode/extension}/actions/new-paper.json +0 -0
  206. /package/{vendors/clio-extension → pancode/extension}/actions/pause-writing.json +0 -0
  207. /package/{vendors/clio-extension → pancode/extension}/actions/plan-milestone-gaps.json +0 -0
  208. /package/{vendors/clio-extension → pancode/extension}/actions/plan-revision.json +0 -0
  209. /package/{vendors/clio-extension → pancode/extension}/actions/plan-section.json +0 -0
  210. /package/{vendors/clio-extension → pancode/extension}/actions/polish-prose.json +0 -0
  211. /package/{vendors/clio-extension → pancode/extension}/actions/progress.json +0 -0
  212. /package/{vendors/clio-extension → pancode/extension}/actions/quick.json +0 -0
  213. /package/{vendors/clio-extension → pancode/extension}/actions/remove-section.json +0 -0
  214. /package/{vendors/clio-extension → pancode/extension}/actions/report-bug.json +0 -0
  215. /package/{vendors/clio-extension → pancode/extension}/actions/request-feature.json +0 -0
  216. /package/{vendors/clio-extension → pancode/extension}/actions/research-gap.json +0 -0
  217. /package/{vendors/clio-extension → pancode/extension}/actions/resume-writing.json +0 -0
  218. /package/{vendors/clio-extension → pancode/extension}/actions/review-section.json +0 -0
  219. /package/{vendors/clio-extension → pancode/extension}/actions/settings.json +0 -0
  220. /package/{vendors/clio-extension → pancode/extension}/actions/submit-milestone.json +0 -0
  221. /package/{vendors/clio-extension → pancode/extension}/actions/update.json +0 -0
  222. /package/{vendors/clio-extension → pancode/extension}/actions/verify-work.json +0 -0
  223. /package/{vendors/clio-extension → pancode/extension}/actions/write-section.json +0 -0
  224. /package/{vendors/clio-extension → pancode/extension}/project/schemas/checkpoint.schema.json +0 -0
  225. /package/{vendors/clio-extension → pancode/extension}/project/schemas/common.schema.json +0 -0
  226. /package/{vendors/clio-extension → pancode/extension}/project/schemas/config.schema.json +0 -0
  227. /package/{vendors/clio-extension → pancode/extension}/project/schemas/decisions.schema.json +0 -0
  228. /package/{vendors/clio-extension → pancode/extension}/project/schemas/evidence.schema.json +0 -0
  229. /package/{vendors/clio-extension → pancode/extension}/project/schemas/interaction.schema.json +0 -0
  230. /package/{vendors/clio-extension → pancode/extension}/project/schemas/manifest.schema.json +0 -0
  231. /package/{vendors/clio-extension → pancode/extension}/project/schemas/outline.schema.json +0 -0
  232. /package/{vendors/clio-extension → pancode/extension}/project/schemas/section.schema.json +0 -0
  233. /package/{vendors/clio-extension → pancode/extension}/project/schemas/source.schema.json +0 -0
  234. /package/{vendors/clio-extension → pancode/extension}/project/schemas/state.schema.json +0 -0
  235. /package/{vendors/clio-extension → pancode/extension}/project/schemas/validation.schema.json +0 -0
  236. /package/{vendors/clio-extension → pancode/extension}/project/templates/checkpoint.json +0 -0
  237. /package/{vendors/clio-extension → pancode/extension}/project/templates/config.json +0 -0
  238. /package/{vendors/clio-extension → pancode/extension}/project/templates/decisions.json +0 -0
  239. /package/{vendors/clio-extension → pancode/extension}/project/templates/evidence.json +0 -0
  240. /package/{vendors/clio-extension → pancode/extension}/project/templates/interaction.json +0 -0
  241. /package/{vendors/clio-extension → pancode/extension}/project/templates/manifest.json +0 -0
  242. /package/{vendors/clio-extension → pancode/extension}/project/templates/outline.json +0 -0
  243. /package/{vendors/clio-extension → pancode/extension}/project/templates/section.json +0 -0
  244. /package/{vendors/clio-extension → pancode/extension}/project/templates/source.json +0 -0
  245. /package/{vendors/clio-extension → pancode/extension}/project/templates/state.json +0 -0
  246. /package/{vendors/clio-extension → pancode/extension}/project/templates/validation.json +0 -0
  247. /package/{vendors/clio-extension → pancode/extension}/runtime/json-schema.cjs +0 -0
  248. /package/{vendors/clio-extension → pancode/extension}/runtime/package.json +0 -0
  249. /package/{vendors/clio-extension → pancode/extension}/skins/wtfp.json +0 -0
  250. /package/{vendors → pancode}/plugin/actions/add-todo.json +0 -0
  251. /package/{vendors → pancode}/plugin/actions/advance.json +0 -0
  252. /package/{vendors → pancode}/plugin/actions/analyze-bib.json +0 -0
  253. /package/{vendors → pancode}/plugin/actions/audit-milestone.json +0 -0
  254. /package/{vendors → pancode}/plugin/actions/check-refs.json +0 -0
  255. /package/{vendors → pancode}/plugin/actions/check-todos.json +0 -0
  256. /package/{vendors → pancode}/plugin/actions/checkpoint.json +0 -0
  257. /package/{vendors → pancode}/plugin/actions/contribute.json +0 -0
  258. /package/{vendors → pancode}/plugin/actions/create-outline.json +0 -0
  259. /package/{vendors → pancode}/plugin/actions/create-poster.json +0 -0
  260. /package/{vendors → pancode}/plugin/actions/create-slides.json +0 -0
  261. /package/{vendors → pancode}/plugin/actions/discuss-section.json +0 -0
  262. /package/{vendors → pancode}/plugin/actions/execute-outline.json +0 -0
  263. /package/{vendors → pancode}/plugin/actions/export-latex.json +0 -0
  264. /package/{vendors → pancode}/plugin/actions/help.json +0 -0
  265. /package/{vendors → pancode}/plugin/actions/insert-section.json +0 -0
  266. /package/{vendors → pancode}/plugin/actions/list-assumptions.json +0 -0
  267. /package/{vendors → pancode}/plugin/actions/map-project.json +0 -0
  268. /package/{vendors → pancode}/plugin/actions/new-paper.json +0 -0
  269. /package/{vendors → pancode}/plugin/actions/pause-writing.json +0 -0
  270. /package/{vendors → pancode}/plugin/actions/plan-milestone-gaps.json +0 -0
  271. /package/{vendors → pancode}/plugin/actions/plan-revision.json +0 -0
  272. /package/{vendors → pancode}/plugin/actions/plan-section.json +0 -0
  273. /package/{vendors → pancode}/plugin/actions/polish-prose.json +0 -0
  274. /package/{vendors → pancode}/plugin/actions/progress.json +0 -0
  275. /package/{vendors → pancode}/plugin/actions/quick.json +0 -0
  276. /package/{vendors → pancode}/plugin/actions/remove-section.json +0 -0
  277. /package/{vendors → pancode}/plugin/actions/report-bug.json +0 -0
  278. /package/{vendors → pancode}/plugin/actions/request-feature.json +0 -0
  279. /package/{vendors → pancode}/plugin/actions/research-gap.json +0 -0
  280. /package/{vendors → pancode}/plugin/actions/resume-writing.json +0 -0
  281. /package/{vendors → pancode}/plugin/actions/review-section.json +0 -0
  282. /package/{vendors → pancode}/plugin/actions/settings.json +0 -0
  283. /package/{vendors → pancode}/plugin/actions/submit-milestone.json +0 -0
  284. /package/{vendors → pancode}/plugin/actions/update.json +0 -0
  285. /package/{vendors → pancode}/plugin/actions/verify-work.json +0 -0
  286. /package/{vendors → pancode}/plugin/actions/write-section.json +0 -0
  287. /package/{vendors → pancode}/plugin/aliases.lock.json +0 -0
  288. /package/{vendors → pancode}/plugin/catalog.json +0 -0
  289. /package/{vendors → pancode}/plugin/effects.json +0 -0
  290. /package/{vendors → pancode}/plugin/project/README.md +0 -0
  291. /package/{vendors → pancode}/plugin/project/schemas/checkpoint.schema.json +0 -0
  292. /package/{vendors → pancode}/plugin/project/schemas/common.schema.json +0 -0
  293. /package/{vendors → pancode}/plugin/project/schemas/config.schema.json +0 -0
  294. /package/{vendors → pancode}/plugin/project/schemas/decisions.schema.json +0 -0
  295. /package/{vendors → pancode}/plugin/project/schemas/evidence.schema.json +0 -0
  296. /package/{vendors → pancode}/plugin/project/schemas/interaction.schema.json +0 -0
  297. /package/{vendors → pancode}/plugin/project/schemas/manifest.schema.json +0 -0
  298. /package/{vendors → pancode}/plugin/project/schemas/outline.schema.json +0 -0
  299. /package/{vendors → pancode}/plugin/project/schemas/section.schema.json +0 -0
  300. /package/{vendors → pancode}/plugin/project/schemas/source.schema.json +0 -0
  301. /package/{vendors → pancode}/plugin/project/schemas/state.schema.json +0 -0
  302. /package/{vendors → pancode}/plugin/project/schemas/validation.schema.json +0 -0
  303. /package/{vendors → pancode}/plugin/project/templates/checkpoint.json +0 -0
  304. /package/{vendors → pancode}/plugin/project/templates/config.json +0 -0
  305. /package/{vendors → pancode}/plugin/project/templates/decisions.json +0 -0
  306. /package/{vendors → pancode}/plugin/project/templates/evidence.json +0 -0
  307. /package/{vendors → pancode}/plugin/project/templates/interaction.json +0 -0
  308. /package/{vendors → pancode}/plugin/project/templates/manifest.json +0 -0
  309. /package/{vendors → pancode}/plugin/project/templates/outline.json +0 -0
  310. /package/{vendors → pancode}/plugin/project/templates/section.json +0 -0
  311. /package/{vendors → pancode}/plugin/project/templates/source.json +0 -0
  312. /package/{vendors → pancode}/plugin/project/templates/state.json +0 -0
  313. /package/{vendors → pancode}/plugin/project/templates/validation.json +0 -0
  314. /package/{vendors → pancode}/plugin/roles/argument-verifier.md +0 -0
  315. /package/{vendors → pancode}/plugin/roles/citation-expert.md +0 -0
  316. /package/{vendors → pancode}/plugin/roles/citation-formatter.md +0 -0
  317. /package/{vendors → pancode}/plugin/roles/coherence-checker.md +0 -0
  318. /package/{vendors → pancode}/plugin/roles/outliner.md +0 -0
  319. /package/{vendors → pancode}/plugin/roles/plan-checker.md +0 -0
  320. /package/{vendors → pancode}/plugin/roles/prose-polisher.md +0 -0
  321. /package/{vendors → pancode}/plugin/roles/research-synthesizer.md +0 -0
  322. /package/{vendors → pancode}/plugin/roles/section-planner.md +0 -0
  323. /package/{vendors → pancode}/plugin/roles/section-reviewer.md +0 -0
  324. /package/{vendors → pancode}/plugin/roles/section-writer.md +0 -0
  325. /package/{vendors → pancode}/plugin/schemas/action.schema.json +0 -0
  326. /package/{vendors → pancode}/plugin/schemas/aliases.schema.json +0 -0
  327. /package/{vendors → pancode}/plugin/schemas/catalog.schema.json +0 -0
  328. /package/{vendors → pancode}/plugin/schemas/effects.schema.json +0 -0
  329. /package/{vendors → pancode}/plugin/schemas/role-result.schema.json +0 -0
  330. /package/{vendors → pancode}/plugin/schemas/tools.schema.json +0 -0
  331. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/SKILL.md +0 -0
  332. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/agents/openai.yaml +0 -0
  333. /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/references/actions.md +0 -0
  334. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/SKILL.md +0 -0
  335. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/agents/openai.yaml +0 -0
  336. /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/references/actions.md +0 -0
  337. /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/SKILL.md +0 -0
  338. /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/agents/openai.yaml +0 -0
  339. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/SKILL.md +0 -0
  340. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/agents/openai.yaml +0 -0
  341. /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/references/actions.md +0 -0
  342. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/SKILL.md +0 -0
  343. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/agents/openai.yaml +0 -0
  344. /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/references/actions.md +0 -0
  345. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/SKILL.md +0 -0
  346. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/agents/openai.yaml +0 -0
  347. /package/{vendors → pancode}/plugin/skills/wtfp-start-project/references/actions.md +0 -0
  348. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/SKILL.md +0 -0
  349. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/agents/openai.yaml +0 -0
  350. /package/{vendors → pancode}/plugin/skills/wtfp-write-section/references/actions.md +0 -0
  351. /package/{vendors → pancode}/plugin/templates/README.md +0 -0
  352. /package/{vendors → pancode}/plugin/templates/grant-proposal-outline.md +0 -0
  353. /package/{vendors → pancode}/plugin/templates/paper-outline.md +0 -0
  354. /package/{vendors → pancode}/plugin/templates/poster.md +0 -0
  355. /package/{vendors → pancode}/plugin/templates/slides.md +0 -0
  356. /package/{vendors → pancode}/plugin/tools/README.md +0 -0
  357. /package/{vendors → pancode}/plugin/tools/bibliography/analyze-impact.js +0 -0
  358. /package/{vendors → pancode}/plugin/tools/bibliography/format.js +0 -0
  359. /package/{vendors → pancode}/plugin/tools/bibliography/index.js +0 -0
  360. /package/{vendors → pancode}/plugin/tools/citation/fetch.js +0 -0
  361. /package/{vendors → pancode}/plugin/tools/citation/rank.js +0 -0
  362. /package/{vendors → pancode}/plugin/tools/citation/scholar-lookup.js +0 -0
  363. /package/{vendors → pancode}/plugin/tools/citation/semantic-scholar.js +0 -0
  364. /package/{vendors → pancode}/plugin/tools/package.json +0 -0
  365. /package/{vendors → pancode}/plugin/tools/support/cite-nexus-client.js +0 -0
  366. /package/{vendors → pancode}/plugin/tools/wtfp-tool.js +0 -0
  367. /package/{vendors → pancode}/plugin/tools.json +0 -0
  368. /package/{vendors → pancode}/plugin/workflows/add-todo.md +0 -0
  369. /package/{vendors → pancode}/plugin/workflows/advance.md +0 -0
  370. /package/{vendors → pancode}/plugin/workflows/analyze-bib.md +0 -0
  371. /package/{vendors → pancode}/plugin/workflows/audit-milestone.md +0 -0
  372. /package/{vendors → pancode}/plugin/workflows/check-refs.md +0 -0
  373. /package/{vendors → pancode}/plugin/workflows/check-todos.md +0 -0
  374. /package/{vendors → pancode}/plugin/workflows/checkpoint.md +0 -0
  375. /package/{vendors → pancode}/plugin/workflows/contribute.md +0 -0
  376. /package/{vendors → pancode}/plugin/workflows/create-poster.md +0 -0
  377. /package/{vendors → pancode}/plugin/workflows/create-slides.md +0 -0
  378. /package/{vendors → pancode}/plugin/workflows/discuss-section.md +0 -0
  379. /package/{vendors → pancode}/plugin/workflows/execute-outline.md +0 -0
  380. /package/{vendors → pancode}/plugin/workflows/export-latex.md +0 -0
  381. /package/{vendors → pancode}/plugin/workflows/help.md +0 -0
  382. /package/{vendors → pancode}/plugin/workflows/list-assumptions.md +0 -0
  383. /package/{vendors → pancode}/plugin/workflows/map-project.md +0 -0
  384. /package/{vendors → pancode}/plugin/workflows/new-paper.md +0 -0
  385. /package/{vendors → pancode}/plugin/workflows/plan-milestone-gaps.md +0 -0
  386. /package/{vendors → pancode}/plugin/workflows/plan-revision.md +0 -0
  387. /package/{vendors → pancode}/plugin/workflows/plan-section.md +0 -0
  388. /package/{vendors → pancode}/plugin/workflows/polish-prose.md +0 -0
  389. /package/{vendors → pancode}/plugin/workflows/progress.md +0 -0
  390. /package/{vendors → pancode}/plugin/workflows/quick.md +0 -0
  391. /package/{vendors → pancode}/plugin/workflows/remove-section.md +0 -0
  392. /package/{vendors → pancode}/plugin/workflows/report-bug.md +0 -0
  393. /package/{vendors → pancode}/plugin/workflows/request-feature.md +0 -0
  394. /package/{vendors → pancode}/plugin/workflows/research-gap.md +0 -0
  395. /package/{vendors → pancode}/plugin/workflows/resume-writing.md +0 -0
  396. /package/{vendors → pancode}/plugin/workflows/review-section.md +0 -0
  397. /package/{vendors → pancode}/plugin/workflows/settings.md +0 -0
  398. /package/{vendors → pancode}/plugin/workflows/submit-milestone.md +0 -0
  399. /package/{vendors → pancode}/plugin/workflows/update.md +0 -0
  400. /package/{vendors → pancode}/plugin/workflows/verify-work.md +0 -0
  401. /package/{vendors → pancode}/plugin/workflows/write-section.md +0 -0
  402. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/add-todo.md +0 -0
  403. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/list-assumptions.md +0 -0
  404. /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/map-project.md +0 -0
@@ -9,14 +9,14 @@ category: quality
9
9
  capabilityClass: read-only
10
10
  latencyClass: deep
11
11
  projectContextTier: none
12
- budget: {toolCalls: 64, readReserve: 12, synthesis: true}
12
+ budget: {toolCalls: 64, synthesis: true}
13
13
  resultContract: {kind: verifier-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
16
16
 
17
17
  <!-- Generated by WTF-P adapter compiler v5 from protocol/roles/coherence-checker; do not edit. -->
18
18
 
19
- **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
19
+ **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the PanCode result contract at the end.
20
20
 
21
21
  # Coherence Checker
22
22
 
@@ -56,7 +56,11 @@ Evaluate the manuscript as a connected argument rather than a set of individuall
56
56
  - Route author-owned factual resolutions through the orchestrator; do not prompt a human directly.
57
57
  - Never commit, delete, rename, publish, or apply mutations. `effects_applied` must always be empty.
58
58
 
59
- ## Clio result contract
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
63
+ ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
62
66
 
@@ -9,7 +9,7 @@ category: plan
9
9
  capabilityClass: workspace-edit
10
10
  latencyClass: balanced
11
11
  projectContextTier: bounded
12
- budget: {toolCalls: 64, readReserve: 8, synthesis: true}
12
+ budget: {toolCalls: 64, synthesis: true}
13
13
  resultContract: {kind: mutation-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
@@ -61,7 +61,11 @@ If document type, thesis, or a hard venue constraint is irreducibly ambiguous, d
61
61
  - Do not commit, delete, rename, publish, or perform any destructive operation unless that exact effect is authorized by `invocation://action`.
62
62
  - Do not solicit a human directly. Express missing decisions through the structured result so the orchestrator can manage interaction.
63
63
 
64
- ## Clio result contract
64
+ ## PanCode project paths
65
+
66
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
67
+
68
+ ## PanCode result contract
65
69
 
66
70
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
67
71
 
@@ -9,14 +9,14 @@ category: quality
9
9
  capabilityClass: read-only
10
10
  latencyClass: fast
11
11
  projectContextTier: none
12
- budget: {toolCalls: 24, readReserve: 4, synthesis: true}
12
+ budget: {toolCalls: 24, synthesis: true}
13
13
  resultContract: {kind: verifier-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
16
16
 
17
17
  <!-- Generated by WTF-P adapter compiler v5 from protocol/roles/plan-checker; do not edit. -->
18
18
 
19
- **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
19
+ **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the PanCode result contract at the end.
20
20
 
21
21
  # Plan Checker
22
22
 
@@ -57,7 +57,11 @@ Determine whether proposed section plans are likely to produce the intended acad
57
57
  - Do not request input from a human directly; report missing controlling information to the orchestrator.
58
58
  - Never commit, delete, rename, publish, or apply mutation effects. `effects_applied` must always be empty.
59
59
 
60
- ## Clio result contract
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
64
+ ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
63
67
 
@@ -9,7 +9,7 @@ category: implement
9
9
  capabilityClass: workspace-edit
10
10
  latencyClass: balanced
11
11
  projectContextTier: bounded
12
- budget: {toolCalls: 48, readReserve: 6, synthesis: true}
12
+ budget: {toolCalls: 48, synthesis: true}
13
13
  resultContract: {kind: mutation-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
@@ -56,7 +56,11 @@ Improve clarity, rhythm, concision, and authorial voice without changing technic
56
56
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
57
57
  - Do not prompt a human directly; report ambiguous voice or meaning choices through the result.
58
58
 
59
- ## Clio result contract
59
+ ## PanCode project paths
60
+
61
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
62
+
63
+ ## PanCode result contract
60
64
 
61
65
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
62
66
 
@@ -9,7 +9,7 @@ category: research
9
9
  capabilityClass: workspace-edit
10
10
  latencyClass: deep
11
11
  projectContextTier: bounded
12
- budget: {toolCalls: 96, readReserve: 12, synthesis: true}
12
+ budget: {toolCalls: 96, synthesis: true}
13
13
  resultContract: {kind: mutation-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
@@ -59,7 +59,11 @@ Investigate the literature needed to plan and write a specific section well. The
59
59
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is authorized.
60
60
  - Do not contact a human directly. Return `needs_input` for a missing scope choice and `blocked` for capability or access failure, preserving partial findings.
61
61
 
62
- ## Clio result contract
62
+ ## PanCode project paths
63
+
64
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
65
+
66
+ ## PanCode result contract
63
67
 
64
68
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
65
69
 
@@ -9,7 +9,7 @@ category: plan
9
9
  capabilityClass: workspace-edit
10
10
  latencyClass: balanced
11
11
  projectContextTier: bounded
12
- budget: {toolCalls: 64, readReserve: 8, synthesis: true}
12
+ budget: {toolCalls: 64, synthesis: true}
13
13
  resultContract: {kind: mutation-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
@@ -58,7 +58,11 @@ Convert one approved section goal into small, executable writing plans. A plan i
58
58
  - Do not commit, delete, rename, publish, or perform destructive operations unless the action effect contract explicitly authorizes the exact operation.
59
59
  - Do not prompt a human. Return `needs_input` and a minimal decision request for orchestrator handling.
60
60
 
61
- ## Clio result contract
61
+ ## PanCode project paths
62
+
63
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
64
+
65
+ ## PanCode result contract
62
66
 
63
67
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
64
68
 
@@ -9,14 +9,14 @@ category: quality
9
9
  capabilityClass: read-only
10
10
  latencyClass: balanced
11
11
  projectContextTier: none
12
- budget: {toolCalls: 40, readReserve: 6, synthesis: true}
12
+ budget: {toolCalls: 40, synthesis: true}
13
13
  resultContract: {kind: verifier-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
16
16
 
17
17
  <!-- Generated by WTF-P adapter compiler v5 from protocol/roles/section-reviewer; do not edit. -->
18
18
 
19
- **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
19
+ **Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the PanCode result contract at the end.
20
20
 
21
21
  # Section Reviewer
22
22
 
@@ -57,7 +57,11 @@ Review a section as an academic evaluator and produce prioritized, actionable fe
57
57
  - Do not contact the author directly. Route questions and author-owned choices through `next_actions`.
58
58
  - Never commit, delete, rename, publish, or apply any mutation. `effects_applied` must always be empty.
59
59
 
60
- ## Clio result contract
60
+ ## PanCode project paths
61
+
62
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
63
+
64
+ ## PanCode result contract
61
65
 
62
66
  Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
63
67
 
@@ -9,7 +9,7 @@ category: implement
9
9
  capabilityClass: workspace-edit
10
10
  latencyClass: balanced
11
11
  projectContextTier: bounded
12
- budget: {toolCalls: 64, readReserve: 8, synthesis: true}
12
+ budget: {toolCalls: 64, synthesis: true}
13
13
  resultContract: {kind: mutation-report}
14
14
  tags: [wtfp, research, portable-protocol]
15
15
  ---
@@ -59,9 +59,13 @@ Execute an approved section plan into evidence-grounded academic prose or the ex
59
59
  - Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is granted by the action contract.
60
60
  - Do not initiate human interaction. Encode checkpoint needs in the result for the orchestrator.
61
61
 
62
- On Clio a worker holds no word counter. The dispatching action measures the persisted manuscript after you return and writes that count into the summary, so write the summary without a count. A count you cannot take never blocks this role: return completed when the rest is done.
62
+ ## PanCode project paths
63
63
 
64
- ## Clio result contract
64
+ On PanCode the `project://` URIs above are files under the workspace root. Records: `project://manifest`, `config`, `state` and `decisions` are `.planning/project.json`, `config.json`, `state.json` and `decisions.json`; `project://structure/outline` is `.planning/structure/outline.json`; `project://sections/{s}` is `.planning/sections/{s}/section.json`; and `project://sources/{id}`, `evidence/{id}`, `checkpoints/{id}` and `validations/{id}` are `.planning/sources/{id}.json`, `.planning/evidence/{id}.json`, `.planning/checkpoints/{id}.json` and `.planning/validations/{id}.json`. Authored artifacts: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. Read and write those files; section artifacts live under `.planning/sections/`, never a top-level `sections/`.
65
+
66
+ On PanCode a worker holds no word counter. The dispatching action measures the persisted manuscript after you return and writes that count into the summary, so write the summary without a count. A count you cannot take never blocks this role: return completed when the rest is done.
67
+
68
+ ## PanCode result contract
65
69
 
66
70
  Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
67
71
 
@@ -22,4 +22,4 @@ onFailure: stop
22
22
 
23
23
  Draft section {{section}} from its explicitly approved plan into its declared paper artifact and update only its declared portable Markdown summary. The invoking action orchestrator owns validation, checkpoint, manifest, section, and state reconciliation. The reviewer must independently review the resulting prose against the plan, sources, decisions, and venue constraints without claiming a mutation.
24
24
 
25
- For this Clio projection, resolve logical `project://paper/...` artifacts under the project-root `paper/` directory, never under `.planning/paper/`.
25
+ On PanCode, write `project://paper/<artifact>` as `paper/<artifact>.md` and `project://sections/{{section}}/summary` as `.planning/sections/{{section}}/summary.md`, relative to the workspace root: section artifacts go under `.planning/sections/`, never a top-level `sections/`, and manuscripts go under `paper/`, never `.planning/paper/`.
@@ -21,3 +21,5 @@ onFailure: stop
21
21
  <!-- Generated by WTF-P adapter compiler v5 from protocol/fleets/wtfp-plan-section.json; do not edit. -->
22
22
 
23
23
  Create one contained, immutable plan for section {{section}} from the portable project state. Write only the plan artifact; the invoking action orchestrator owns validation, approval, section, checkpoint, and state reconciliation. The checker must independently review traceability, support for every required claim, author-decision fidelity, and feasibility without claiming a mutation.
24
+
25
+ On PanCode, write `project://sections/{{section}}/plans/<plan>` as `.planning/sections/{{section}}/plans/<plan>.md`, relative to the workspace root: section artifacts go under `.planning/sections/`, never a top-level `sections/`.
@@ -43,7 +43,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
43
43
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
44
44
 
45
45
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
46
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
46
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
47
47
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
48
48
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
49
49
  If desk tools are absent, follow `${pluginRoot}/workflows/add-todo.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -62,13 +62,13 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
62
62
 
63
63
  Report each step the driver selected and its outcome, the gates the author answered, the driver's stop reason, the logical resources created or updated, unresolved checkpoints, and the next action the author faces. Never claim a mutation that was not verified.
64
64
 
65
- ## Clio driver binding
65
+ ## PanCode driver binding
66
66
 
67
67
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}, next_step {after}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`. If `extension_wtfp__next_step` is absent, the WTF-P desk extension is not running: report that `advance` needs it and stop without running any action.
68
68
 
69
- Call `extension_wtfp__next_step` with `after` set to `"start"`, and on every later call to the step you just finished, such as `"write-section introduction"` or `"gate confirm-plan-introduction"`; Clio's loop guard reads repeated identical calls as a loop. Its result names exactly one of:
69
+ Call `extension_wtfp__next_step` with `after` set to `"start"`, and on every later call to the step you just finished, such as `"write-section introduction"` or `"gate confirm-plan-introduction"`; PanCode's loop guard reads repeated identical calls as a loop. Its result names exactly one of:
70
70
 
71
- - `step`: an action, a section when the action takes one, and the step's prompt path relative to the plugin root. The desk has armed its write guard for that action and section only. Read `${pluginRoot}/` followed by that whole path, such as `${pluginRoot}/ai.iowarp.clio/prompts/wtfp/write-section.md`, and follow it as if the author had typed `/wtfp:<action> <section>`: the section is its invocation input, and paths it writes under the plugin-root placeholder are under `${pluginRoot}`. Load the skill it names before acting. When the action completes, call `extension_wtfp__next_step` again.
71
+ - `step`: an action, a section when the action takes one, and the step's prompt path relative to the plugin root. The desk has armed its write guard for that action and section only. Read `${pluginRoot}/` followed by that whole path, such as `${pluginRoot}/dev.pancode/prompts/wtfp/write-section.md`, and follow it as if the author had typed `/wtfp:<action> <section>`: the section is its invocation input, and paths it writes under the plugin-root placeholder are under `${pluginRoot}`. Load the skill it names before acting. When the action completes, call `extension_wtfp__next_step` again.
72
72
  - `gate`: a checkpoint ID. Call `extension_wtfp__gate` with it; the desk interviews the author and seals the answer. Then call `extension_wtfp__next_step` again.
73
73
  - `stop`: the reason the run ends. Report it with the steps taken and end the turn.
74
74
 
@@ -86,16 +86,16 @@ Treat the following text as the user-supplied input for this action. Preserve it
86
86
  $ARGUMENTS
87
87
  </invocation_arguments>
88
88
 
89
- ## Clio user-gate binding
89
+ ## PanCode user-gate binding
90
90
 
91
91
  For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. When none exists yet, create it pending through `extension_wtfp__record`, then call `extension_wtfp__gate` with its ID. The gate is the only place its question is asked: never ask it, or a preview of it, with `ask_user`, or the author answers twice. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
92
92
 
93
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
93
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
94
94
 
95
- ## Clio role-result binding
95
+ ## PanCode role-result binding
96
96
 
97
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-outliner`, `wtfp-research-synthesizer`, `wtfp-section-planner`, `wtfp-plan-checker`, `wtfp-section-writer`, `wtfp-argument-verifier`, `wtfp-section-reviewer`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so Clio admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-plan-checker`, `wtfp-argument-verifier`, `wtfp-section-reviewer` are read-only: begin each task for them with "Review", because Clio refuses a read-only agent a task it reads as a change.
97
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-outliner`, `wtfp-research-synthesizer`, `wtfp-section-planner`, `wtfp-plan-checker`, `wtfp-section-writer`, `wtfp-argument-verifier`, `wtfp-section-reviewer`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so PanCode admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-plan-checker`, `wtfp-argument-verifier`, `wtfp-section-reviewer` are read-only: begin each task for them with "Review", because PanCode refuses a read-only agent a task it reads as a change.
98
98
 
99
- Read the single wtfp.role-result entry in native validations and parse its evidence string as portable role-result JSON. A read-only reviewer returns only a verdict and checks, no wtfp.role-result entry: treat its report as completed, each failed check as an issue, and a fail verdict as a revise recommendation. Clio's dispatch result calls such a run's validation failed when a check did not pass; that is the review's finding, not a failed run, so record it as the action's procedure says. Validate its schema, role and action against the dispatched task. Missing, duplicate or malformed outcomes fail closed. On needs_input ask the author through ask_user and redispatch with the response; on blocked or failed stop and report the issue. Only completed permits downstream work, and it never substitutes for an author gate or artifact readback.
99
+ Read the single wtfp.role-result entry in native validations and parse its evidence string as portable role-result JSON. A read-only reviewer returns only a verdict and checks, no wtfp.role-result entry: treat its report as completed, each failed check as an issue, and a fail verdict as a revise recommendation. PanCode's dispatch result calls such a run's validation failed when a check did not pass; that is the review's finding, not a failed run, so record it as the action's procedure says. Validate its schema, role and action against the dispatched task. Missing, duplicate or malformed outcomes fail closed. On needs_input ask the author through ask_user and redispatch with the response; on blocked or failed stop and report the issue. Only completed permits downstream work, and it never substitutes for an author gate or artifact readback.
100
100
 
101
101
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/advance; do not edit. -->
@@ -56,7 +56,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
56
56
  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.
57
57
 
58
58
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
59
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
59
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
60
60
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
61
61
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
62
62
  If desk tools are absent, follow `${pluginRoot}/workflows/analyze-bib.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -73,14 +73,14 @@ Treat the following text as the user-supplied input for this action. Preserve it
73
73
  $ARGUMENTS
74
74
  </invocation_arguments>
75
75
 
76
- ## Clio user-gate binding
76
+ ## PanCode user-gate binding
77
77
 
78
78
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
79
79
 
80
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
80
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
81
81
 
82
- ## Clio role binding
82
+ ## PanCode role binding
83
83
 
84
- This action writes only JSON records, which on Clio only `extension_wtfp__record` writes, so a dispatched `wtfp-citation-expert` would have nothing it may write and the desk refuses it. Do that role's work in this turn yourself, following the skill loaded above, and write each record through `extension_wtfp__record`. Do not dispatch it.
84
+ This action writes only JSON records, which on PanCode only `extension_wtfp__record` writes, so a dispatched `wtfp-citation-expert` would have nothing it may write and the desk refuses it. Do that role's work in this turn yourself, following the skill loaded above, and write each record through `extension_wtfp__record`. Do not dispatch it.
85
85
 
86
86
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/analyze-bib; do not edit. -->
@@ -55,7 +55,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
55
55
  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.
56
56
 
57
57
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
58
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
58
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
59
59
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
60
60
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
61
61
  If desk tools are absent, follow `${pluginRoot}/workflows/audit-milestone.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -72,10 +72,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
72
72
  $ARGUMENTS
73
73
  </invocation_arguments>
74
74
 
75
- ## Clio user-gate binding
75
+ ## PanCode user-gate binding
76
76
 
77
77
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
78
78
 
79
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
79
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
80
80
 
81
81
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/audit-milestone; do not edit. -->
@@ -67,7 +67,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
67
67
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
68
68
 
69
69
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
70
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
70
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
71
71
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
72
72
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
73
73
  If desk tools are absent, follow `${pluginRoot}/workflows/check-refs.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -84,15 +84,15 @@ Treat the following text as the user-supplied input for this action. Preserve it
84
84
  $ARGUMENTS
85
85
  </invocation_arguments>
86
86
 
87
- ## Clio user-gate binding
87
+ ## PanCode user-gate binding
88
88
 
89
89
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
90
90
 
91
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
91
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
92
92
 
93
- ## Clio role-result binding
93
+ ## PanCode role-result binding
94
94
 
95
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-citation-formatter`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so Clio admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles.
95
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-citation-formatter`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so PanCode admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles.
96
96
 
97
97
  Read the single wtfp.role-result entry in native validations and parse its evidence string as portable role-result JSON. Validate its schema, role and action against the dispatched task. Missing, duplicate or malformed outcomes fail closed. On needs_input ask the author through ask_user and redispatch with the response; on blocked or failed stop and report the issue. Only completed permits downstream work, and it never substitutes for an author gate or artifact readback.
98
98
 
@@ -44,7 +44,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
44
44
  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.
45
45
 
46
46
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
47
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
47
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
48
48
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
49
49
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
50
50
  If desk tools are absent, follow `${pluginRoot}/workflows/check-todos.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -61,10 +61,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
61
61
  $ARGUMENTS
62
62
  </invocation_arguments>
63
63
 
64
- ## Clio user-gate binding
64
+ ## PanCode user-gate binding
65
65
 
66
66
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
67
67
 
68
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
68
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
69
69
 
70
70
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/check-todos; do not edit. -->
@@ -44,7 +44,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
44
44
  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.
45
45
 
46
46
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
47
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
47
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
48
48
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
49
49
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
50
50
  If desk tools are absent, follow `${pluginRoot}/workflows/checkpoint.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -61,10 +61,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
61
61
  $ARGUMENTS
62
62
  </invocation_arguments>
63
63
 
64
- ## Clio user-gate binding
64
+ ## PanCode user-gate binding
65
65
 
66
66
  For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. When none exists yet, create it pending through `extension_wtfp__record`, then call `extension_wtfp__gate` with its ID. The gate is the only place its question is asked: never ask it, or a preview of it, with `ask_user`, or the author answers twice. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
67
67
 
68
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
68
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
69
69
 
70
70
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/checkpoint; do not edit. -->
@@ -1,15 +1,18 @@
1
1
  ---
2
2
  description: "Guide a bounded WTF-P contribution from branch creation through a reviewable change request."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `contribute`
8
- Target: `clio`
10
+ Target: `pancode`
9
11
  Unavailable capabilities: `external.issue`, `vcs.branch`, `vcs.commit`
10
12
  Unavailable effects: `external.issue`, `vcs.branch`, `vcs.commit`
11
13
 
12
14
  No workflow, tool, network request, package operation, external issue, VCS operation, or other effect ran.
13
15
  Safe alternative: preserve project state and return a manual, non-executed handoff for the requested operation.
16
+ ```
14
17
 
15
18
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/contribute; do not edit. -->
@@ -37,7 +37,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
37
37
  2. Reconcile only choices the author explicitly resolves during the outline interview. Preserve every unrelated decision unchanged. For each explicitly resolved item whose current disposition is `deferred`, preserve the prior item unchanged except for setting its disposition to `superseded`; append a new replacement whose ID is fresh and unique in the ledger, whose authority is `author`, whose disposition is `locked`, and whose `supersedes` field names the prior item. Set the replacement's `recorded_at` to the actual resolution time, increment the decision-record revision, and set the record's `updated_at` to that same actual resolution time. Never supersede a locked choice or treat an agent suggestion or approval of an unrelated outline detail as authority to resolve a decision. If the author resolves no choice, do not rewrite the decision record.
38
38
  3. Present the complete outline and decision diffs at the confirm_outline gate. If the proposed outline contradicts a locked decision, preserve that decision as locked and unchanged. If it assumes a choice that was already deferred and the author did not resolve it, preserve that choice as deferred. In either case, record a non-passing validation and stop before downstream planning.
39
39
  4. Balance the budget before the gate: Every write to `project://structure/outline` must leave `sections[*].word_target` summing exactly to `target_words`. Reallocate across the affected sections and, where the author changed the overall length, restate `target_words` in the same write. Present the reallocation in the approval preview and refuse to publish an outline whose budgets do not balance.
40
- 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. Preserve stable record and section IDs and verify the complete approved set after writing.
40
+ 5. After approval, atomically publish the decision update when one is required together with the outline, one section record per entry, state update, and validation. A new section record starts at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists; the action that writes a context, research, plan, review, summary, or handoff file links it. Give every claim an ID that no other claim in the project holds. Preserve stable record and section IDs and verify the complete approved set after writing.
41
41
 
42
42
  ## Safety and completion
43
43
 
@@ -46,7 +46,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
46
46
  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.
47
47
 
48
48
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
49
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
49
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
50
50
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
51
51
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
52
52
  If desk tools are absent, follow `${pluginRoot}/workflows/create-outline.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -63,14 +63,14 @@ Treat the following text as the user-supplied input for this action. Preserve it
63
63
  $ARGUMENTS
64
64
  </invocation_arguments>
65
65
 
66
- ## Clio user-gate binding
66
+ ## PanCode user-gate binding
67
67
 
68
68
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
69
69
 
70
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
70
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
71
71
 
72
- ## Clio role binding
72
+ ## PanCode role binding
73
73
 
74
- This action writes only JSON records, which on Clio only `extension_wtfp__record` writes, so a dispatched `wtfp-outliner` would have nothing it may write and the desk refuses it. Do that role's work in this turn yourself, following the skill loaded above, and write each record through `extension_wtfp__record`. Do not dispatch it.
74
+ This action writes only JSON records, which on PanCode only `extension_wtfp__record` writes, so a dispatched `wtfp-outliner` would have nothing it may write and the desk refuses it. Do that role's work in this turn yourself, following the skill loaded above, and write each record through `extension_wtfp__record`. Do not dispatch it.
75
75
 
76
76
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/create-outline; do not edit. -->
@@ -43,7 +43,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
43
43
  Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
44
44
 
45
45
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, read_record {uri}, readiness {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
46
- Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
46
+ Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
47
47
  An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
48
48
  Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
49
49
  If desk tools are absent, follow `${pluginRoot}/workflows/create-poster.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -60,10 +60,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
60
60
  $ARGUMENTS
61
61
  </invocation_arguments>
62
62
 
63
- ## Clio user-gate binding
63
+ ## PanCode user-gate binding
64
64
 
65
65
  This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
66
66
 
67
- Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
67
+ Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
68
68
 
69
69
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/create-poster; do not edit. -->