wtf-p 0.8.3 → 0.9.0
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 +26 -25
- package/bin/commands/install-logic.js +5 -5
- package/bin/install.js +11 -11
- package/bin/lib/adapter-compiler.js +211 -208
- 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 +6 -4
- package/{vendors/clio-extension → pancode/extension}/.wtfp-generated.json +11 -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 +101 -139
- package/{vendors/clio-extension → pancode/extension}/runtime/extension.ts +84 -188
- package/{vendors/clio-extension → pancode/extension}/runtime/write-guard.json +1 -1
- package/{vendors → pancode}/plugin/.wtfp-generated.json +111 -111
- 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 +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-expert.md +2 -2
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-citation-formatter.md +2 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-coherence-checker.md +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-outliner.md +2 -2
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-plan-checker.md +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-prose-polisher.md +2 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-research-synthesizer.md +2 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-planner.md +2 -2
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-reviewer.md +3 -3
- package/{vendors/claude/ai.iowarp.clio → pancode/plugin/dev.pancode}/agents/wtfp-section-writer.md +3 -3
- package/{vendors/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-draft-review.md +1 -1
- 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 +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/create-outline.md +5 -5
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/report-bug.md +1 -1
- package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/request-feature.md +1 -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/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/update.md +1 -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/antigravity/.wtfp-generated.json +3 -3
- package/vendors/antigravity/plugin.json +2 -2
- package/vendors/antigravity/repository/CONTRIBUTING.md +5 -2
- package/vendors/claude/.claude-plugin/marketplace.json +2 -2
- package/vendors/claude/.claude-plugin/plugin.json +1 -1
- package/vendors/claude/.wtfp-generated.json +185 -185
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-argument-verifier.md +3 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-citation-expert.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-citation-formatter.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-coherence-checker.md +3 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-outliner.md +2 -2
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/agents/wtfp-plan-checker.md +3 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-prose-polisher.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-research-synthesizer.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-planner.md +2 -2
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-reviewer.md +3 -3
- package/vendors/{plugin/ai.iowarp.clio → claude/dev.pancode}/agents/wtfp-section-writer.md +3 -3
- package/vendors/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-draft-review.md +1 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/advance.md +1 -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 +1 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/create-outline.md +4 -4
- 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 +2 -2
- 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/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 +1 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/report-bug.md +1 -1
- package/vendors/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/request-feature.md +1 -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/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/update.md +1 -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/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/.wtfp-generated.json +4 -4
- package/vendors/codex/plugins/wtfp/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
- package/vendors/copilot/.wtfp-generated.json +2 -2
- 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 +3 -3
- package/vendors/copilot/plugins/wtfp/repository/CONTRIBUTING.md +5 -2
- package/vendors/gemini/.wtfp-generated.json +3 -3
- package/vendors/gemini/gemini-extension.json +1 -1
- package/vendors/gemini/repository/CONTRIBUTING.md +5 -2
- package/vendors/opencode/.wtfp-generated.json +2 -2
- package/vendors/opencode/repository/CONTRIBUTING.md +5 -2
- /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/claude/ai.iowarp.clio/fleets → pancode/plugin/dev.pancode/playbooks}/wtfp-plan-section.md +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-outline.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/insert-section.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/pause-writing.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/{plugin/ai.iowarp.clio/playbooks → claude/dev.pancode/fleets}/wtfp-plan-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/claude/{ai.iowarp.clio → dev.pancode}/prompts/wtfp/pause-writing.md +0 -0
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
|
@@ -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
|
@@ -5,7 +5,7 @@ description: "Remove an unwritten future section and repair numbering and depend
|
|
|
5
5
|
WTFP_ACTION_UNAVAILABLE
|
|
6
6
|
|
|
7
7
|
Action: `remove-section`
|
|
8
|
-
Target: `
|
|
8
|
+
Target: `pancode`
|
|
9
9
|
Unavailable capabilities: `filesystem.delete`
|
|
10
10
|
Unavailable effects: `filesystem.delete`
|
|
11
11
|
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/research-gap.md
RENAMED
|
@@ -72,7 +72,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
72
72
|
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.
|
|
73
73
|
|
|
74
74
|
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`.
|
|
75
|
-
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole:
|
|
75
|
+
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.
|
|
76
76
|
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.
|
|
77
77
|
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.
|
|
78
78
|
If desk tools are absent, follow `${pluginRoot}/workflows/research-gap.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
@@ -89,19 +89,19 @@ Treat the following text as the user-supplied input for this action. Preserve it
|
|
|
89
89
|
$ARGUMENTS
|
|
90
90
|
</invocation_arguments>
|
|
91
91
|
|
|
92
|
-
##
|
|
92
|
+
## PanCode user-gate binding
|
|
93
93
|
|
|
94
94
|
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.
|
|
95
95
|
|
|
96
|
-
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`;
|
|
96
|
+
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.
|
|
97
97
|
|
|
98
|
-
##
|
|
98
|
+
## PanCode CiteNexus binding
|
|
99
99
|
|
|
100
100
|
At yolo autonomy, search through the operator's CiteNexus MCP server, declared as `cite-nexus` with read-class tools in their user configuration. This prompt admits its four lookup capabilities, so call them directly without a gateway `find` or `describe`, each of which resends the whole context: `gateway(op="call", capability="mcp_cite-nexus__search-papers", args={query, providers, limit})` with a bounded public metadata query, `providers` drawn from `crossref`, `datacite`, `europe_pmc` and `arxiv`, and `limit` at most 10 per provider; results are compact, without abstracts. Check a candidate with `mcp_cite-nexus__resolve-paper` `{identifier}` or `mcp_cite-nexus__verify-citation` `{citation, expected_title, expected_year}`, and fetch a reference with `mcp_cite-nexus__get-citation` `{identifier, format}`. MCP connections are session-owned and unavailable in delegated workers, so pass the returned candidates and provenance to `wtfp-research-synthesizer` instead of asking that worker to discover the MCP server. This user-configured read connection is prior authorization for those searches; do not call `ask_user` again for each query. Only if the gateway reports no MCP server named `cite-nexus` may yolo instead run the bundled `citation-search --backend=cite-nexus` through its declared dispatcher with bounded public queries and an explicit `--providers` list containing only `crossref`, `datacite`, `europe_pmc`, or `arxiv`; pass those candidates to the same specialist. An operator-set offline flag, unavailable companion, or host refusal stops this route. Other providers and modes follow the declared user gate. Never bypass a gateway refusal by rerunning the same denied request through `bash`. Record the exact provider IDs, queries, limits, date, and provenance; verify each retained candidate before citing it.
|
|
101
101
|
|
|
102
|
-
##
|
|
102
|
+
## PanCode role-result binding
|
|
103
103
|
|
|
104
|
-
Dispatch the declared specialist roles using these exact
|
|
104
|
+
Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-research-synthesizer`. 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.
|
|
105
105
|
|
|
106
106
|
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.
|
|
107
107
|
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/resume-writing.md
RENAMED
|
@@ -46,7 +46,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
46
46
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
47
47
|
|
|
48
48
|
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
49
|
-
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole:
|
|
49
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
|
|
50
50
|
An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
|
|
51
51
|
Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
|
|
52
52
|
If desk tools are absent, follow `${pluginRoot}/workflows/resume-writing.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
@@ -63,10 +63,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
|
|
|
63
63
|
$ARGUMENTS
|
|
64
64
|
</invocation_arguments>
|
|
65
65
|
|
|
66
|
-
##
|
|
66
|
+
## PanCode user-gate binding
|
|
67
67
|
|
|
68
68
|
This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
69
69
|
|
|
70
|
-
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`;
|
|
70
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
71
71
|
|
|
72
72
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/resume-writing; do not edit. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/review-section.md
RENAMED
|
@@ -54,7 +54,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
54
54
|
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.
|
|
55
55
|
|
|
56
56
|
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`.
|
|
57
|
-
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole:
|
|
57
|
+
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.
|
|
58
58
|
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.
|
|
59
59
|
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.
|
|
60
60
|
If desk tools are absent, follow `${pluginRoot}/workflows/review-section.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
@@ -71,16 +71,16 @@ Treat the following text as the user-supplied input for this action. Preserve it
|
|
|
71
71
|
$ARGUMENTS
|
|
72
72
|
</invocation_arguments>
|
|
73
73
|
|
|
74
|
-
##
|
|
74
|
+
## PanCode user-gate binding
|
|
75
75
|
|
|
76
76
|
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.
|
|
77
77
|
|
|
78
|
-
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`;
|
|
78
|
+
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.
|
|
79
79
|
|
|
80
|
-
##
|
|
80
|
+
## PanCode role-result binding
|
|
81
81
|
|
|
82
|
-
Dispatch the declared specialist roles using these exact
|
|
82
|
+
Dispatch the declared specialist roles using these exact PanCode agent IDs: `wtfp-section-reviewer`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so PanCode admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-section-reviewer` is read-only: begin each task for it with "Review", because PanCode refuses a read-only agent a task it reads as a change.
|
|
83
83
|
|
|
84
|
-
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.
|
|
84
|
+
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.
|
|
85
85
|
|
|
86
86
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/review-section; do not edit. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/settings.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/settings.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/settings; do not edit. -->
|
|
@@ -45,7 +45,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
45
45
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
46
46
|
|
|
47
47
|
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}, archive {archive}. 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
|
Make the milestone archive with `extension_wtfp__archive` and its archive id: it copies every `.planning` record and artifact and every `paper/` file into `.planning/archives/<archive>/` with a sha256 manifest, so never copy files by hand. Then record the archive in the manifest and state and write the validation, as the procedure says.
|
|
@@ -63,10 +63,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
|
|
|
63
63
|
$ARGUMENTS
|
|
64
64
|
</invocation_arguments>
|
|
65
65
|
|
|
66
|
-
##
|
|
66
|
+
## PanCode user-gate binding
|
|
67
67
|
|
|
68
68
|
This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
69
69
|
|
|
70
|
-
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`;
|
|
70
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
71
71
|
|
|
72
72
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/submit-milestone; do not edit. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/verify-work.md
RENAMED
|
@@ -46,7 +46,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
46
46
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
47
47
|
|
|
48
48
|
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
49
|
-
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole:
|
|
49
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: PanCode ends the turn when one turn's reads exceed its observation budget.
|
|
50
50
|
An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
|
|
51
51
|
Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
|
|
52
52
|
If desk tools are absent, follow `${pluginRoot}/workflows/verify-work.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
@@ -63,10 +63,10 @@ Treat the following text as the user-supplied input for this action. Preserve it
|
|
|
63
63
|
$ARGUMENTS
|
|
64
64
|
</invocation_arguments>
|
|
65
65
|
|
|
66
|
-
##
|
|
66
|
+
## PanCode user-gate binding
|
|
67
67
|
|
|
68
68
|
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.
|
|
69
69
|
|
|
70
|
-
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`;
|
|
70
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; PanCode refuses an `operator_only` question sent with others. PanCode never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
71
71
|
|
|
72
72
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/verify-work; do not edit. -->
|
package/{vendors/plugin/ai.iowarp.clio → pancode/plugin/dev.pancode}/prompts/wtfp/write-section.md
RENAMED
|
@@ -58,7 +58,7 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
58
58
|
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.
|
|
59
59
|
|
|
60
60
|
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`.
|
|
61
|
-
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole:
|
|
61
|
+
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.
|
|
62
62
|
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.
|
|
63
63
|
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.
|
|
64
64
|
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.
|
|
@@ -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-writer`, `wtfp-argument-verifier`. 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-argument-verifier` 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/write-section; do not edit. -->
|