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
@@ -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-slides.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-slides; 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/discuss-section.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/discuss-section; 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
  Before drafting or dispatching a writer for a section, call `extension_wtfp__readiness` with its ID. If it reports the section not ready, stop and report its reasons; never draft around them. Give each dispatched writer `intent.write_roots` naming only its section's manuscript and summary; the desk narrows or refuses anything wider.
@@ -75,16 +75,16 @@ Treat the following text as the user-supplied input for this action. Preserve it
75
75
  $ARGUMENTS
76
76
  </invocation_arguments>
77
77
 
78
- ## Clio user-gate binding
78
+ ## PanCode user-gate binding
79
79
 
80
80
  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.
81
81
 
82
- 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.
82
+ 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.
83
83
 
84
- ## Clio role-result binding
84
+ ## PanCode role-result binding
85
85
 
86
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-writer`, `wtfp-coherence-checker`. 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-coherence-checker` is read-only: begin each task for it with "Review", because Clio refuses a read-only agent a task it reads as a change.
86
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-section-writer`, `wtfp-coherence-checker`. 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-coherence-checker` is read-only: begin each task for it with "Review", because PanCode refuses a read-only agent a task it reads as a change.
87
87
 
88
- 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.
88
+ 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.
89
89
 
90
90
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/execute-outline; 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/export-latex.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/export-latex; do not edit. -->
@@ -4,7 +4,7 @@ display-only: true
4
4
  ---
5
5
 
6
6
  ```text
7
- WTF-P 0.8.4 on Clio Coder: evidence-grounded academic writing
7
+ WTF-P 0.9.1 on PanCode: evidence-grounded academic writing
8
8
 
9
9
  Start here
10
10
  /wtfp:new-paper [input]
@@ -47,7 +47,7 @@ Plan a section (skill wtfp-plan-section)
47
47
  /wtfp:plan-section <section>
48
48
  Create and independently check a detailed writing plan for one section.
49
49
  /wtfp:remove-section <section>
50
- Remove an unwritten future section and repair numbering and dependencies. [unavailable on clio: filesystem.delete]
50
+ Remove an unwritten future section and repair numbering and dependencies. [unavailable on pancode: filesystem.delete]
51
51
 
52
52
  Write a section (skill wtfp-write-section)
53
53
  /wtfp:execute-outline [input]
@@ -99,17 +99,17 @@ Deliver the research (skill wtfp-deliver-research)
99
99
 
100
100
  Product operations
101
101
  /wtfp:contribute [input]
102
- Guide a bounded WTF-P contribution from branch creation through a reviewable change request. [unavailable on clio: external.issue, vcs.branch, vcs.commit]
102
+ Guide a bounded WTF-P contribution from branch creation through a reviewable change request. [unavailable on pancode: external.issue, vcs.branch, vcs.commit]
103
103
  /wtfp:help [input]
104
104
  Render the stable WTF-P action reference from the canonical catalog.
105
105
  /wtfp:report-bug [input]
106
- Collect a reproducible bug report and publish it only after explicit user approval. [unavailable on clio: external.issue]
106
+ Collect a reproducible bug report and publish it only after explicit user approval. [unavailable on pancode: external.issue]
107
107
  /wtfp:request-feature [input]
108
- Shape a concrete feature request and publish it only after explicit user approval. [unavailable on clio: external.issue]
108
+ Shape a concrete feature request and publish it only after explicit user approval. [unavailable on pancode: external.issue]
109
109
  /wtfp:update [input]
110
- Check for a newer compatible package or plugin release and install it only after approval. [unavailable on clio: package.update]
110
+ Check for a newer compatible package or plugin release and install it only after approval. [unavailable on pancode: package.update]
111
111
 
112
- Fleets (clio-coder fleet run <fleet> --var section=<section>; explicit fleet primitives, not auto-routed)
112
+ Playbooks (pancode fleet run <playbook> --var section=<section>; run explicitly, never auto-routed)
113
113
  wtfp-draft-review
114
114
  Draft one approved section and independently review its argument and evidence.
115
115
  wtfp-plan-section
@@ -35,7 +35,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
35
35
 
36
36
  1. Resolve the insertion point and propose a stable new section ID, goal, dependencies, wave, claims, and word budget.
37
37
  2. Preview impacts on outline ordering, dependencies, section totals, and current position; require approval. 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.
38
- 3. Create the section record and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
38
+ 3. Create the section record at status `not-started` with `artifacts` holding only empty `plans` and `reviews` lists and claim IDs no other claim in the project holds, and atomically update outline and state. Do not renumber stable IDs or move manuscript files implicitly.
39
39
 
40
40
  ## Safety and completion
41
41
 
@@ -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/insert-section.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/insert-section; do not edit. -->
@@ -38,7 +38,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
38
38
  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.
39
39
 
40
40
  Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, read_record {uri}, readiness {section}. 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`.
41
- 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.
41
+ 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.
42
42
  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.
43
43
  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.
44
44
  If desk tools are absent, follow `${pluginRoot}/workflows/list-assumptions.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -45,7 +45,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
45
45
  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.
46
46
 
47
47
  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`.
48
- 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.
48
+ 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.
49
49
  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.
50
50
  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.
51
51
  If desk tools are absent, follow `${pluginRoot}/workflows/map-project.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -49,7 +49,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
49
49
  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.
50
50
 
51
51
  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`.
52
- 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.
52
+ 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.
53
53
  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.
54
54
  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.
55
55
  If desk tools are absent, follow `${pluginRoot}/workflows/new-paper.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -66,10 +66,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
66
66
  $ARGUMENTS
67
67
  </invocation_arguments>
68
68
 
69
- ## Clio user-gate binding
69
+ ## PanCode user-gate binding
70
70
 
71
71
  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.
72
72
 
73
- 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.
73
+ 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.
74
74
 
75
75
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/new-paper; do not edit. -->
@@ -33,7 +33,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
33
33
  ## Procedure
34
34
 
35
35
  1. Reconcile current state, decisions, outline revision, section plan, manuscript, summary, reviews, and validations; identify completed work, pending work, blockers, and the next action.
36
- 2. Write a Markdown handoff artifact for narrative continuity plus a human-action checkpoint for machine-readable resumption.
36
+ 2. Write a Markdown handoff artifact for narrative continuity plus a blocking human-action checkpoint for machine-readable resumption. Give the checkpoint an option with id `resume`, which returns `state.status` to `active` when the author selects it, and an option with id `expire`, which closes the checkpoint and leaves the project paused.
37
37
  3. Link the handoff from `section.artifacts.handoff` and the checkpoint from `section.checkpoint_uris`, then set `state.status` to `paused` and link the checkpoint from `state.active_checkpoint_uris`. Preserve `state.phase`, progress, and current section; pausing changes status, checkpoint linkage, revision, and timestamp only. `paused` is a status and is never a phase. Do not commit automatically.
38
38
 
39
39
  ## Safety and completion
@@ -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/pause-writing.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -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/plan-milestone-gaps.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/plan-milestone-gaps; do not edit. -->
@@ -45,7 +45,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
45
45
  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.
46
46
 
47
47
  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`.
48
- 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.
48
+ 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.
49
49
  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.
50
50
  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.
51
51
  If desk tools are absent, follow `${pluginRoot}/workflows/plan-revision.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -62,10 +62,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
62
62
  $ARGUMENTS
63
63
  </invocation_arguments>
64
64
 
65
- ## Clio user-gate binding
65
+ ## PanCode user-gate binding
66
66
 
67
67
  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.
68
68
 
69
- 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.
69
+ 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.
70
70
 
71
71
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/plan-revision; do not edit. -->
@@ -59,7 +59,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
59
59
  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.
60
60
 
61
61
  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`.
62
- 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.
62
+ 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.
63
63
  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.
64
64
  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.
65
65
  If desk tools are absent, follow `${pluginRoot}/workflows/plan-section.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -76,16 +76,16 @@ Treat the following text as the user-supplied input for this action. Preserve it
76
76
  $ARGUMENTS
77
77
  </invocation_arguments>
78
78
 
79
- ## Clio user-gate binding
79
+ ## PanCode user-gate binding
80
80
 
81
81
  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.
82
82
 
83
- 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.
83
+ 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.
84
84
 
85
- ## Clio role-result binding
85
+ ## PanCode role-result binding
86
86
 
87
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-planner`, `wtfp-plan-checker`. 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` is read-only: begin each task for it with "Review", because Clio refuses a read-only agent a task it reads as a change.
87
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-section-planner`, `wtfp-plan-checker`. 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` is read-only: begin each task for it with "Review", because PanCode refuses a read-only agent a task it reads as a change.
88
88
 
89
- 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.
89
+ 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.
90
90
 
91
91
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/plan-section; 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
  Before drafting or dispatching a writer for a section, call `extension_wtfp__readiness` with its ID. If it reports the section not ready, stop and report its reasons; never draft around them. Give each dispatched writer `intent.write_roots` naming only its section's manuscript and summary; the desk narrows or refuses anything wider.
@@ -75,15 +75,15 @@ Treat the following text as the user-supplied input for this action. Preserve it
75
75
  $ARGUMENTS
76
76
  </invocation_arguments>
77
77
 
78
- ## Clio user-gate binding
78
+ ## PanCode user-gate binding
79
79
 
80
80
  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.
81
81
 
82
- 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.
82
+ 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.
83
83
 
84
- ## Clio role-result binding
84
+ ## PanCode role-result binding
85
85
 
86
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-prose-polisher`. 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.
86
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-prose-polisher`. 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.
87
87
 
88
88
  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.
89
89
 
@@ -40,7 +40,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
40
40
  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.
41
41
 
42
42
  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`.
43
- 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.
43
+ 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.
44
44
  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.
45
45
  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.
46
46
  If desk tools are absent, follow `${pluginRoot}/workflows/progress.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
@@ -57,10 +57,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
57
57
  $ARGUMENTS
58
58
  </invocation_arguments>
59
59
 
60
- ## Clio user-gate binding
60
+ ## PanCode user-gate binding
61
61
 
62
62
  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.
63
63
 
64
- 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.
64
+ 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.
65
65
 
66
66
  <!-- Generated by WTF-P adapter compiler v5 from protocol/actions/progress; 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
  Before drafting or dispatching a writer for a section, call `extension_wtfp__readiness` with its ID. If it reports the section not ready, stop and report its reasons; never draft around them. Give each dispatched writer `intent.write_roots` naming only its section's manuscript and summary; the desk narrows or refuses anything wider.
@@ -75,15 +75,15 @@ Treat the following text as the user-supplied input for this action. Preserve it
75
75
  $ARGUMENTS
76
76
  </invocation_arguments>
77
77
 
78
- ## Clio user-gate binding
78
+ ## PanCode user-gate binding
79
79
 
80
80
  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.
81
81
 
82
- 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.
82
+ 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.
83
83
 
84
- ## Clio role-result binding
84
+ ## PanCode role-result binding
85
85
 
86
- Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-writer`. 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.
86
+ Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-section-writer`. 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.
87
87
 
88
88
  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.
89
89
 
@@ -1,15 +1,18 @@
1
1
  ---
2
2
  description: "Remove an unwritten future section and repair numbering and dependencies."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `remove-section`
8
- Target: `clio`
10
+ Target: `pancode`
9
11
  Unavailable capabilities: `filesystem.delete`
10
12
  Unavailable effects: `filesystem.delete`
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/remove-section; do not edit. -->
@@ -1,15 +1,18 @@
1
1
  ---
2
2
  description: "Collect a reproducible bug report and publish it only after explicit user approval."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `report-bug`
8
- Target: `clio`
10
+ Target: `pancode`
9
11
  Unavailable capabilities: `external.issue`
10
12
  Unavailable effects: `external.issue`
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/report-bug; do not edit. -->
@@ -1,15 +1,18 @@
1
1
  ---
2
2
  description: "Shape a concrete feature request and publish it only after explicit user approval."
3
+ display-only: true
3
4
  ---
4
5
 
6
+ ```text
5
7
  WTFP_ACTION_UNAVAILABLE
6
8
 
7
9
  Action: `request-feature`
8
- Target: `clio`
10
+ Target: `pancode`
9
11
  Unavailable capabilities: `external.issue`
10
12
  Unavailable effects: `external.issue`
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/request-feature; do not edit. -->