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.
- package/README.md +31 -27
- package/bin/commands/install-logic.js +5 -5
- package/bin/install.js +11 -11
- package/bin/lib/adapter-compiler.js +275 -225
- package/bin/lib/manifest.js +21 -21
- package/bin/lib/native-registration.js +25 -10
- package/bin/lib/{clio-registration.js → pancode-registration.js} +62 -63
- package/bin/lib/utils.js +3 -3
- package/bin/uninstall.js +8 -8
- package/package.json +5 -4
- package/{vendors/clio-extension → pancode/extension}/.wtfp-generated.json +15 -11
- package/{vendors/clio-extension → pancode/extension}/compatibility/action-availability.json +14 -14
- package/{vendors/clio-extension/clio-coder-extension.yaml → pancode/extension/pancode-extension.yaml} +6 -5
- package/{vendors/clio-extension → pancode/extension}/runtime/claim-coverage.cjs +1 -1
- package/{vendors/clio-extension → pancode/extension}/runtime/desk-trust.cjs +1 -1
- package/{vendors/clio-extension → pancode/extension}/runtime/extension.test.ts +184 -97
- package/{vendors/clio-extension → pancode/extension}/runtime/extension.ts +169 -83
- package/pancode/extension/runtime/help.json +82 -0
- package/{vendors/clio-extension → pancode/extension}/runtime/write-guard.json +1 -1
- package/{vendors → pancode}/plugin/.wtfp-generated.json +114 -114
- package/{vendors → pancode}/plugin/compatibility/action-availability.json +16 -16
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-argument-verifier.md +7 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-expert.md +6 -2
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-formatter.md +6 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-coherence-checker.md +7 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-outliner.md +6 -2
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-plan-checker.md +7 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-prose-polisher.md +6 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-research-synthesizer.md +6 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-planner.md +6 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-reviewer.md +7 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-writer.md +7 -3
- package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-draft-review.md +1 -1
- package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-plan-section.md +2 -0
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/add-todo.md +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/advance.md +8 -8
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/analyze-bib.md +5 -5
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/audit-milestone.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-refs.md +5 -5
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/check-todos.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/checkpoint.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/contribute.md +4 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-outline.md +6 -6
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-poster.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-slides.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/discuss-section.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/execute-outline.md +6 -6
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/export-latex.md +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/help.md +7 -7
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/insert-section.md +4 -4
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/list-assumptions.md +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/map-project.md +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/new-paper.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/pause-writing.md +2 -2
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-revision.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-section.md +6 -6
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/polish-prose.md +5 -5
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/progress.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/quick.md +5 -5
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/remove-section.md +4 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/report-bug.md +4 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/request-feature.md +4 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/research-gap.md +6 -6
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/resume-writing.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/review-section.md +6 -6
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/settings.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/submit-milestone.md +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/update.md +4 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/verify-work.md +3 -3
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/write-section.md +6 -6
- package/{vendors → pancode}/plugin/plugin.json +56 -56
- package/{vendors → pancode}/plugin/repository/CONTRIBUTING.md +5 -2
- package/{vendors → pancode}/plugin/skills/wtfp-plan-section/references/actions.md +2 -2
- package/{vendors → pancode}/plugin/workflows/create-outline.md +1 -1
- package/{vendors → pancode}/plugin/workflows/insert-section.md +1 -1
- package/{vendors → pancode}/plugin/workflows/pause-writing.md +1 -1
- package/protocol/workflows/create-outline.md +1 -1
- package/protocol/workflows/insert-section.md +1 -1
- package/protocol/workflows/pause-writing.md +1 -1
- package/vendors/antigravity/.wtfp-generated.json +9 -9
- package/vendors/antigravity/plugin.json +2 -2
- package/vendors/antigravity/repository/CONTRIBUTING.md +5 -2
- package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-insert-section/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +1 -1
- package/vendors/antigravity/workflows/create-outline.md +1 -1
- package/vendors/antigravity/workflows/insert-section.md +1 -1
- package/vendors/antigravity/workflows/pause-writing.md +1 -1
- package/vendors/claude/.claude-plugin/marketplace.json +2 -2
- package/vendors/claude/.claude-plugin/plugin.json +1 -1
- package/vendors/claude/.wtfp-generated.json +188 -188
- package/vendors/claude/commands/create-outline.md +1 -1
- package/vendors/claude/commands/insert-section.md +1 -1
- package/vendors/claude/commands/pause-writing.md +1 -1
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-argument-verifier.md +7 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-citation-expert.md +6 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-citation-formatter.md +6 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-coherence-checker.md +7 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-outliner.md +6 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-plan-checker.md +7 -3
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-prose-polisher.md +6 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-research-synthesizer.md +6 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-planner.md +6 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-reviewer.md +7 -3
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-section-writer.md +7 -3
- package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-draft-review.md +1 -1
- package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-plan-section.md +2 -0
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/advance.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/analyze-bib.md +4 -4
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/audit-milestone.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-refs.md +4 -4
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/check-todos.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/checkpoint.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/contribute.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-outline.md +5 -5
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-poster.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-slides.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/discuss-section.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/execute-outline.md +5 -5
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/export-latex.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/help.md +7 -7
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/insert-section.md +3 -3
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/new-paper.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/pause-writing.md +1 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-milestone-gaps.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-revision.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/plan-section.md +5 -5
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/polish-prose.md +4 -4
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/progress.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/quick.md +4 -4
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/remove-section.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/report-bug.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/request-feature.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/research-gap.md +5 -5
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/resume-writing.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/review-section.md +5 -5
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/settings.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/submit-milestone.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/prompts/wtfp/update.md +4 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/verify-work.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/write-section.md +5 -5
- package/vendors/claude/plugin.json +56 -56
- package/vendors/claude/repository/CONTRIBUTING.md +5 -2
- package/vendors/claude/workflows/create-outline.md +1 -1
- package/vendors/claude/workflows/insert-section.md +1 -1
- package/vendors/claude/workflows/pause-writing.md +1 -1
- package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/.wtfp-generated.json +7 -7
- package/vendors/codex/plugins/wtfp/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
- package/vendors/codex/plugins/wtfp/workflows/create-outline.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/insert-section.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/pause-writing.md +1 -1
- package/vendors/copilot/.wtfp-generated.json +6 -6
- package/vendors/copilot/marketplace.json +2 -2
- package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
- package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +9 -9
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +1 -1
- package/vendors/copilot/plugins/wtfp/commands/wtfp-insert-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +1 -1
- package/vendors/copilot/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
- package/vendors/copilot/plugins/wtfp/workflows/create-outline.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/insert-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/pause-writing.md +1 -1
- package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/create-outline.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/insert-section.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/pause-writing.md +1 -1
- package/vendors/gemini/.wtfp-generated.json +9 -9
- package/vendors/gemini/commands/wtfp/create-outline.toml +1 -1
- package/vendors/gemini/commands/wtfp/insert-section.toml +1 -1
- package/vendors/gemini/commands/wtfp/pause-writing.toml +1 -1
- package/vendors/gemini/gemini-extension.json +1 -1
- package/vendors/gemini/repository/CONTRIBUTING.md +5 -2
- package/vendors/gemini/workflows/create-outline.md +1 -1
- package/vendors/gemini/workflows/insert-section.md +1 -1
- package/vendors/gemini/workflows/pause-writing.md +1 -1
- package/vendors/opencode/.wtfp-generated.json +8 -8
- package/vendors/opencode/commands/wtfp/create-outline.md +1 -1
- package/vendors/opencode/commands/wtfp/insert-section.md +1 -1
- package/vendors/opencode/commands/wtfp/pause-writing.md +1 -1
- package/vendors/opencode/repository/CONTRIBUTING.md +5 -2
- package/vendors/opencode/workflows/create-outline.md +1 -1
- package/vendors/opencode/workflows/insert-section.md +1 -1
- package/vendors/opencode/workflows/pause-writing.md +1 -1
- /package/{vendors/clio-extension → pancode/extension}/actions/add-todo.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/advance.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/analyze-bib.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/audit-milestone.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/check-refs.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/check-todos.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/checkpoint.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/contribute.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/create-outline.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/create-poster.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/create-slides.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/discuss-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/execute-outline.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/export-latex.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/help.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/insert-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/list-assumptions.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/map-project.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/new-paper.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/pause-writing.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/plan-milestone-gaps.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/plan-revision.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/plan-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/polish-prose.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/progress.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/quick.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/remove-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/report-bug.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/request-feature.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/research-gap.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/resume-writing.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/review-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/settings.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/submit-milestone.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/update.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/verify-work.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/actions/write-section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/checkpoint.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/common.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/config.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/decisions.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/evidence.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/interaction.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/manifest.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/outline.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/section.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/source.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/state.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/schemas/validation.schema.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/checkpoint.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/config.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/decisions.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/evidence.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/interaction.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/manifest.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/outline.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/section.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/source.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/state.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/project/templates/validation.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/runtime/json-schema.cjs +0 -0
- /package/{vendors/clio-extension → pancode/extension}/runtime/package.json +0 -0
- /package/{vendors/clio-extension → pancode/extension}/skins/wtfp.json +0 -0
- /package/{vendors → pancode}/plugin/actions/add-todo.json +0 -0
- /package/{vendors → pancode}/plugin/actions/advance.json +0 -0
- /package/{vendors → pancode}/plugin/actions/analyze-bib.json +0 -0
- /package/{vendors → pancode}/plugin/actions/audit-milestone.json +0 -0
- /package/{vendors → pancode}/plugin/actions/check-refs.json +0 -0
- /package/{vendors → pancode}/plugin/actions/check-todos.json +0 -0
- /package/{vendors → pancode}/plugin/actions/checkpoint.json +0 -0
- /package/{vendors → pancode}/plugin/actions/contribute.json +0 -0
- /package/{vendors → pancode}/plugin/actions/create-outline.json +0 -0
- /package/{vendors → pancode}/plugin/actions/create-poster.json +0 -0
- /package/{vendors → pancode}/plugin/actions/create-slides.json +0 -0
- /package/{vendors → pancode}/plugin/actions/discuss-section.json +0 -0
- /package/{vendors → pancode}/plugin/actions/execute-outline.json +0 -0
- /package/{vendors → pancode}/plugin/actions/export-latex.json +0 -0
- /package/{vendors → pancode}/plugin/actions/help.json +0 -0
- /package/{vendors → pancode}/plugin/actions/insert-section.json +0 -0
- /package/{vendors → pancode}/plugin/actions/list-assumptions.json +0 -0
- /package/{vendors → pancode}/plugin/actions/map-project.json +0 -0
- /package/{vendors → pancode}/plugin/actions/new-paper.json +0 -0
- /package/{vendors → pancode}/plugin/actions/pause-writing.json +0 -0
- /package/{vendors → pancode}/plugin/actions/plan-milestone-gaps.json +0 -0
- /package/{vendors → pancode}/plugin/actions/plan-revision.json +0 -0
- /package/{vendors → pancode}/plugin/actions/plan-section.json +0 -0
- /package/{vendors → pancode}/plugin/actions/polish-prose.json +0 -0
- /package/{vendors → pancode}/plugin/actions/progress.json +0 -0
- /package/{vendors → pancode}/plugin/actions/quick.json +0 -0
- /package/{vendors → pancode}/plugin/actions/remove-section.json +0 -0
- /package/{vendors → pancode}/plugin/actions/report-bug.json +0 -0
- /package/{vendors → pancode}/plugin/actions/request-feature.json +0 -0
- /package/{vendors → pancode}/plugin/actions/research-gap.json +0 -0
- /package/{vendors → pancode}/plugin/actions/resume-writing.json +0 -0
- /package/{vendors → pancode}/plugin/actions/review-section.json +0 -0
- /package/{vendors → pancode}/plugin/actions/settings.json +0 -0
- /package/{vendors → pancode}/plugin/actions/submit-milestone.json +0 -0
- /package/{vendors → pancode}/plugin/actions/update.json +0 -0
- /package/{vendors → pancode}/plugin/actions/verify-work.json +0 -0
- /package/{vendors → pancode}/plugin/actions/write-section.json +0 -0
- /package/{vendors → pancode}/plugin/aliases.lock.json +0 -0
- /package/{vendors → pancode}/plugin/catalog.json +0 -0
- /package/{vendors → pancode}/plugin/effects.json +0 -0
- /package/{vendors → pancode}/plugin/project/README.md +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/checkpoint.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/common.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/config.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/decisions.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/evidence.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/interaction.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/manifest.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/outline.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/section.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/source.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/state.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/schemas/validation.schema.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/checkpoint.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/config.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/decisions.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/evidence.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/interaction.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/manifest.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/outline.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/section.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/source.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/state.json +0 -0
- /package/{vendors → pancode}/plugin/project/templates/validation.json +0 -0
- /package/{vendors → pancode}/plugin/roles/argument-verifier.md +0 -0
- /package/{vendors → pancode}/plugin/roles/citation-expert.md +0 -0
- /package/{vendors → pancode}/plugin/roles/citation-formatter.md +0 -0
- /package/{vendors → pancode}/plugin/roles/coherence-checker.md +0 -0
- /package/{vendors → pancode}/plugin/roles/outliner.md +0 -0
- /package/{vendors → pancode}/plugin/roles/plan-checker.md +0 -0
- /package/{vendors → pancode}/plugin/roles/prose-polisher.md +0 -0
- /package/{vendors → pancode}/plugin/roles/research-synthesizer.md +0 -0
- /package/{vendors → pancode}/plugin/roles/section-planner.md +0 -0
- /package/{vendors → pancode}/plugin/roles/section-reviewer.md +0 -0
- /package/{vendors → pancode}/plugin/roles/section-writer.md +0 -0
- /package/{vendors → pancode}/plugin/schemas/action.schema.json +0 -0
- /package/{vendors → pancode}/plugin/schemas/aliases.schema.json +0 -0
- /package/{vendors → pancode}/plugin/schemas/catalog.schema.json +0 -0
- /package/{vendors → pancode}/plugin/schemas/effects.schema.json +0 -0
- /package/{vendors → pancode}/plugin/schemas/role-result.schema.json +0 -0
- /package/{vendors → pancode}/plugin/schemas/tools.schema.json +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-deliver-research/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-manage-project/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-plan-section/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-research-literature/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-review-manuscript/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-start-project/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-start-project/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-start-project/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-write-section/SKILL.md +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-write-section/agents/openai.yaml +0 -0
- /package/{vendors → pancode}/plugin/skills/wtfp-write-section/references/actions.md +0 -0
- /package/{vendors → pancode}/plugin/templates/README.md +0 -0
- /package/{vendors → pancode}/plugin/templates/grant-proposal-outline.md +0 -0
- /package/{vendors → pancode}/plugin/templates/paper-outline.md +0 -0
- /package/{vendors → pancode}/plugin/templates/poster.md +0 -0
- /package/{vendors → pancode}/plugin/templates/slides.md +0 -0
- /package/{vendors → pancode}/plugin/tools/README.md +0 -0
- /package/{vendors → pancode}/plugin/tools/bibliography/analyze-impact.js +0 -0
- /package/{vendors → pancode}/plugin/tools/bibliography/format.js +0 -0
- /package/{vendors → pancode}/plugin/tools/bibliography/index.js +0 -0
- /package/{vendors → pancode}/plugin/tools/citation/fetch.js +0 -0
- /package/{vendors → pancode}/plugin/tools/citation/rank.js +0 -0
- /package/{vendors → pancode}/plugin/tools/citation/scholar-lookup.js +0 -0
- /package/{vendors → pancode}/plugin/tools/citation/semantic-scholar.js +0 -0
- /package/{vendors → pancode}/plugin/tools/package.json +0 -0
- /package/{vendors → pancode}/plugin/tools/support/cite-nexus-client.js +0 -0
- /package/{vendors → pancode}/plugin/tools/wtfp-tool.js +0 -0
- /package/{vendors → pancode}/plugin/tools.json +0 -0
- /package/{vendors → pancode}/plugin/workflows/add-todo.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/advance.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/analyze-bib.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/audit-milestone.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/check-refs.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/check-todos.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/checkpoint.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/contribute.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/create-poster.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/create-slides.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/discuss-section.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/execute-outline.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/export-latex.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/help.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/list-assumptions.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/map-project.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/new-paper.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/plan-milestone-gaps.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/plan-revision.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/plan-section.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/polish-prose.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/progress.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/quick.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/remove-section.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/report-bug.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/request-feature.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/research-gap.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/resume-writing.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/review-section.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/settings.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/submit-milestone.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/update.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/verify-work.md +0 -0
- /package/{vendors → pancode}/plugin/workflows/write-section.md +0 -0
- /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/add-todo.md +0 -0
- /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/list-assumptions.md +0 -0
- /package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/map-project.md +0 -0
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-slides.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/discuss-section.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/execute-outline.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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
|
-
##
|
|
84
|
+
## PanCode role-result binding
|
|
85
85
|
|
|
86
|
-
Dispatch the declared specialist roles using these exact
|
|
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.
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/export-latex.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
110
|
+
Check for a newer compatible package or plugin release and install it only after approval. [unavailable on pancode: package.update]
|
|
111
111
|
|
|
112
|
-
|
|
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
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/insert-section.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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:
|
|
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.
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/map-project.md
RENAMED
|
@@ -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:
|
|
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.
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/new-paper.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/pause-writing.md
RENAMED
|
@@ -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:
|
|
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:
|
|
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
|
-
##
|
|
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`;
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-revision.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/plan-section.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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
|
-
##
|
|
85
|
+
## PanCode role-result binding
|
|
86
86
|
|
|
87
|
-
Dispatch the declared specialist roles using these exact
|
|
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.
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/polish-prose.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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
|
-
##
|
|
84
|
+
## PanCode role-result binding
|
|
85
85
|
|
|
86
|
-
Dispatch the declared specialist roles using these exact
|
|
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
|
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/progress.md
RENAMED
|
@@ -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:
|
|
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
|
-
##
|
|
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`;
|
|
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:
|
|
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
|
-
##
|
|
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`;
|
|
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
|
-
##
|
|
84
|
+
## PanCode role-result binding
|
|
85
85
|
|
|
86
|
-
Dispatch the declared specialist roles using these exact
|
|
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
|
|
package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/remove-section.md
RENAMED
|
@@ -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: `
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/report-bug.md
RENAMED
|
@@ -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: `
|
|
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. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/request-feature.md
RENAMED
|
@@ -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: `
|
|
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. -->
|