wtf-p 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -18
- package/bin/lib/adapter-compiler.js +269 -55
- package/package.json +1 -1
- package/protocol/actions/advance.json +232 -0
- package/protocol/actions/plan-revision.json +8 -3
- package/protocol/actions/verify-work.json +6 -2
- package/protocol/aliases.lock.json +1 -0
- package/protocol/catalog.json +4 -2
- package/protocol/project/README.md +2 -0
- package/protocol/roles/research-synthesizer.md +1 -1
- package/protocol/skills/wtfp-manage-project/SKILL.md +2 -1
- package/protocol/skills/wtfp-manage-project/references/actions.md +13 -1
- package/protocol/skills/wtfp-plan-section/references/actions.md +1 -1
- package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
- package/protocol/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/protocol/workflows/advance.md +38 -0
- package/protocol/workflows/discuss-section.md +1 -1
- package/protocol/workflows/plan-revision.md +3 -3
- package/protocol/workflows/plan-section.md +1 -1
- package/protocol/workflows/research-gap.md +3 -3
- package/protocol/workflows/verify-work.md +4 -2
- package/protocol/workflows/write-section.md +2 -2
- package/vendors/antigravity/.wtfp-generated.json +54 -42
- package/vendors/antigravity/actions/advance.json +232 -0
- package/vendors/antigravity/actions/plan-revision.json +8 -3
- package/vendors/antigravity/actions/verify-work.json +6 -2
- package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/antigravity/aliases.lock.json +1 -0
- package/vendors/antigravity/catalog.json +4 -2
- package/vendors/antigravity/compatibility/action-availability.json +13 -1
- package/vendors/antigravity/plugin.json +2 -2
- package/vendors/antigravity/project/README.md +2 -0
- package/vendors/antigravity/roles/research-synthesizer.md +1 -1
- package/vendors/antigravity/rules/wtfp-project-state.md +2 -0
- package/vendors/antigravity/skills/wtfp-add-todo/SKILL.md +0 -2
- package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
- package/vendors/antigravity/skills/wtfp-checkpoint/SKILL.md +0 -14
- package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +0 -8
- package/vendors/antigravity/skills/wtfp-create-poster/SKILL.md +1 -6
- package/vendors/antigravity/skills/wtfp-create-slides/SKILL.md +1 -6
- package/vendors/antigravity/skills/wtfp-discuss-section/SKILL.md +1 -5
- package/vendors/antigravity/skills/wtfp-execute-outline/SKILL.md +0 -10
- package/vendors/antigravity/skills/wtfp-help/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-list-assumptions/SKILL.md +1 -10
- package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-plan-milestone-gaps/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-plan-revision/SKILL.md +5 -11
- package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/antigravity/skills/wtfp-polish-prose/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-progress/SKILL.md +1 -22
- package/vendors/antigravity/skills/wtfp-quick/SKILL.md +0 -4
- package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/antigravity/skills/wtfp-resume-writing/SKILL.md +0 -12
- package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/antigravity/skills/wtfp-review-section/SKILL.md +0 -8
- package/vendors/antigravity/skills/wtfp-submit-milestone/SKILL.md +0 -12
- package/vendors/antigravity/skills/wtfp-verify-work/SKILL.md +6 -4
- package/vendors/antigravity/tools/README.md +1 -1
- package/vendors/antigravity/workflows/advance.md +38 -0
- package/vendors/antigravity/workflows/discuss-section.md +1 -1
- package/vendors/antigravity/workflows/plan-revision.md +3 -3
- package/vendors/antigravity/workflows/plan-section.md +1 -1
- package/vendors/antigravity/workflows/research-gap.md +3 -3
- package/vendors/antigravity/workflows/verify-work.md +4 -2
- package/vendors/antigravity/workflows/write-section.md +2 -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 +108 -92
- package/vendors/claude/actions/advance.json +232 -0
- package/vendors/claude/actions/plan-revision.json +8 -3
- package/vendors/claude/actions/verify-work.json +6 -2
- package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +0 -2
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +2 -16
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +2 -14
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +4 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +3 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +3 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +3 -5
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +4 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +2 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +1 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +0 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +2 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +7 -11
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -15
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +3 -22
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +4 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +12 -14
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +2 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +4 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +2 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +8 -4
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +6 -14
- package/vendors/claude/aliases.lock.json +1 -0
- package/vendors/claude/catalog.json +4 -2
- package/vendors/claude/commands/add-todo.md +0 -2
- package/vendors/claude/commands/advance.md +16 -0
- package/vendors/claude/commands/analyze-bib.md +0 -6
- package/vendors/claude/commands/audit-milestone.md +0 -16
- package/vendors/claude/commands/check-refs.md +0 -6
- package/vendors/claude/commands/checkpoint.md +0 -14
- package/vendors/claude/commands/create-outline.md +0 -8
- package/vendors/claude/commands/create-poster.md +1 -6
- package/vendors/claude/commands/create-slides.md +1 -6
- package/vendors/claude/commands/discuss-section.md +1 -5
- package/vendors/claude/commands/execute-outline.md +0 -10
- package/vendors/claude/commands/export-latex.md +0 -8
- package/vendors/claude/commands/help.md +1 -1
- package/vendors/claude/commands/list-assumptions.md +1 -10
- package/vendors/claude/commands/pause-writing.md +0 -6
- package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
- package/vendors/claude/commands/plan-revision.md +5 -11
- package/vendors/claude/commands/plan-section.md +1 -13
- package/vendors/claude/commands/polish-prose.md +0 -6
- package/vendors/claude/commands/progress.md +1 -22
- package/vendors/claude/commands/quick.md +0 -4
- package/vendors/claude/commands/research-gap.md +3 -11
- package/vendors/claude/commands/resume-writing.md +0 -12
- package/vendors/claude/commands/review-section.md +0 -8
- package/vendors/claude/commands/submit-milestone.md +0 -12
- package/vendors/claude/commands/verify-work.md +6 -4
- package/vendors/claude/commands/write-section.md +2 -12
- package/vendors/claude/compatibility/action-availability.json +10 -1
- package/vendors/claude/output-styles/wtfp-academic-writing.md +2 -2
- package/vendors/claude/plugin.json +15 -1
- package/vendors/claude/project/README.md +2 -0
- package/vendors/claude/roles/research-synthesizer.md +1 -1
- package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/claude/tools/README.md +1 -1
- package/vendors/claude/workflows/advance.md +38 -0
- package/vendors/claude/workflows/discuss-section.md +1 -1
- package/vendors/claude/workflows/plan-revision.md +3 -3
- package/vendors/claude/workflows/plan-section.md +1 -1
- package/vendors/claude/workflows/research-gap.md +3 -3
- package/vendors/claude/workflows/verify-work.md +4 -2
- package/vendors/claude/workflows/write-section.md +2 -2
- package/vendors/clio-extension/.wtfp-generated.json +56 -8
- package/vendors/clio-extension/actions/advance.json +232 -0
- package/vendors/clio-extension/actions/plan-revision.json +8 -3
- package/vendors/clio-extension/actions/verify-work.json +6 -2
- package/vendors/clio-extension/clio-coder-extension.yaml +19 -4
- package/vendors/clio-extension/compatibility/action-availability.json +9 -3
- package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
- package/vendors/clio-extension/project/templates/config.json +31 -0
- package/vendors/clio-extension/project/templates/decisions.json +35 -0
- package/vendors/clio-extension/project/templates/evidence.json +18 -0
- package/vendors/clio-extension/project/templates/interaction.json +16 -0
- package/vendors/clio-extension/project/templates/manifest.json +30 -0
- package/vendors/clio-extension/project/templates/outline.json +38 -0
- package/vendors/clio-extension/project/templates/section.json +32 -0
- package/vendors/clio-extension/project/templates/source.json +20 -0
- package/vendors/clio-extension/project/templates/state.json +22 -0
- package/vendors/clio-extension/project/templates/validation.json +32 -0
- package/vendors/clio-extension/runtime/extension.test.ts +656 -6
- package/vendors/clio-extension/runtime/extension.ts +885 -41
- package/vendors/clio-extension/runtime/write-guard.json +66 -0
- package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/.wtfp-generated.json +31 -23
- package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
- package/vendors/codex/plugins/wtfp/actions/plan-revision.json +8 -3
- package/vendors/codex/plugins/wtfp/actions/verify-work.json +6 -2
- package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
- package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
- package/vendors/codex/plugins/wtfp/catalog.json +4 -2
- package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
- package/vendors/codex/plugins/wtfp/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/project/README.md +2 -0
- package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
- package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/plan-section.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/research-gap.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/verify-work.md +4 -2
- package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/.wtfp-generated.json +43 -31
- 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 +55 -43
- package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
- package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +8 -3
- package/vendors/copilot/plugins/wtfp/actions/verify-work.json +6 -2
- package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
- package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
- package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +0 -14
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
- package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +0 -10
- package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
- package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
- package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +5 -11
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +1 -13
- package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
- package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
- package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
- package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +0 -8
- package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
- package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +6 -4
- package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -12
- package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
- package/vendors/copilot/plugins/wtfp/project/README.md +2 -0
- package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
- package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +4 -2
- package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
- package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
- package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
- package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
- package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
- package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
- package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
- package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
- package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +8 -3
- package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +6 -2
- package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
- package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
- package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
- package/vendors/copilot/project/.github/wtfp/project/README.md +2 -0
- package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
- package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +4 -2
- package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/project/README.md +1 -1
- package/vendors/gemini/.wtfp-generated.json +60 -48
- package/vendors/gemini/actions/advance.json +232 -0
- package/vendors/gemini/actions/plan-revision.json +8 -3
- package/vendors/gemini/actions/verify-work.json +6 -2
- package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/gemini/aliases.lock.json +1 -0
- package/vendors/gemini/catalog.json +4 -2
- package/vendors/gemini/commands/wtfp/add-todo.toml +17 -144
- package/vendors/gemini/commands/wtfp/advance.toml +14 -0
- package/vendors/gemini/commands/wtfp/check-todos.toml +17 -2
- package/vendors/gemini/commands/wtfp/checkpoint.toml +17 -735
- package/vendors/gemini/commands/wtfp/create-outline.toml +2 -431
- package/vendors/gemini/commands/wtfp/create-poster.toml +3 -296
- package/vendors/gemini/commands/wtfp/create-slides.toml +3 -296
- package/vendors/gemini/commands/wtfp/discuss-section.toml +4 -259
- package/vendors/gemini/commands/wtfp/execute-outline.toml +2 -480
- package/vendors/gemini/commands/wtfp/help.toml +7 -3
- package/vendors/gemini/commands/wtfp/insert-section.toml +3 -1
- package/vendors/gemini/commands/wtfp/list-assumptions.toml +4 -510
- package/vendors/gemini/commands/wtfp/map-project.toml +2 -0
- package/vendors/gemini/commands/wtfp/new-paper.toml +2 -0
- package/vendors/gemini/commands/wtfp/pause-writing.toml +17 -309
- package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +4 -369
- package/vendors/gemini/commands/wtfp/plan-revision.toml +76 -423
- package/vendors/gemini/commands/wtfp/plan-section.toml +4 -624
- package/vendors/gemini/commands/wtfp/polish-prose.toml +4 -329
- package/vendors/gemini/commands/wtfp/progress.toml +18 -1143
- package/vendors/gemini/commands/wtfp/quick.toml +2 -218
- package/vendors/gemini/commands/wtfp/resume-writing.toml +17 -698
- package/vendors/gemini/commands/wtfp/review-section.toml +4 -410
- package/vendors/gemini/commands/wtfp/settings.toml +17 -2
- package/vendors/gemini/commands/wtfp/submit-milestone.toml +2 -617
- package/vendors/gemini/commands/wtfp/verify-work.toml +123 -53
- package/vendors/gemini/commands/wtfp/write-section.toml +4 -482
- package/vendors/gemini/compatibility/action-availability.json +13 -1
- package/vendors/gemini/gemini-extension.json +1 -1
- package/vendors/gemini/project/README.md +2 -0
- package/vendors/gemini/roles/research-synthesizer.md +1 -1
- package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/gemini/tools/README.md +1 -1
- package/vendors/gemini/workflows/advance.md +38 -0
- package/vendors/gemini/workflows/discuss-section.md +1 -1
- package/vendors/gemini/workflows/plan-revision.md +3 -3
- package/vendors/gemini/workflows/plan-section.md +1 -1
- package/vendors/gemini/workflows/research-gap.md +3 -3
- package/vendors/gemini/workflows/verify-work.md +4 -2
- package/vendors/gemini/workflows/write-section.md +2 -2
- package/vendors/opencode/.wtfp-generated.json +59 -47
- package/vendors/opencode/actions/advance.json +232 -0
- package/vendors/opencode/actions/plan-revision.json +8 -3
- package/vendors/opencode/actions/verify-work.json +6 -2
- package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
- package/vendors/opencode/aliases.lock.json +1 -0
- package/vendors/opencode/catalog.json +4 -2
- package/vendors/opencode/commands/wtfp/add-todo.md +17 -144
- package/vendors/opencode/commands/wtfp/advance.md +16 -0
- package/vendors/opencode/commands/wtfp/check-todos.md +17 -2
- package/vendors/opencode/commands/wtfp/checkpoint.md +17 -735
- package/vendors/opencode/commands/wtfp/create-outline.md +2 -431
- package/vendors/opencode/commands/wtfp/create-poster.md +3 -296
- package/vendors/opencode/commands/wtfp/create-slides.md +3 -296
- package/vendors/opencode/commands/wtfp/discuss-section.md +4 -259
- package/vendors/opencode/commands/wtfp/execute-outline.md +2 -480
- package/vendors/opencode/commands/wtfp/help.md +7 -3
- package/vendors/opencode/commands/wtfp/insert-section.md +3 -1
- package/vendors/opencode/commands/wtfp/list-assumptions.md +4 -510
- package/vendors/opencode/commands/wtfp/map-project.md +2 -0
- package/vendors/opencode/commands/wtfp/new-paper.md +2 -0
- package/vendors/opencode/commands/wtfp/pause-writing.md +17 -309
- package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +4 -369
- package/vendors/opencode/commands/wtfp/plan-revision.md +76 -423
- package/vendors/opencode/commands/wtfp/plan-section.md +4 -624
- package/vendors/opencode/commands/wtfp/polish-prose.md +4 -329
- package/vendors/opencode/commands/wtfp/progress.md +18 -1143
- package/vendors/opencode/commands/wtfp/quick.md +2 -218
- package/vendors/opencode/commands/wtfp/resume-writing.md +17 -698
- package/vendors/opencode/commands/wtfp/review-section.md +4 -410
- package/vendors/opencode/commands/wtfp/settings.md +17 -2
- package/vendors/opencode/commands/wtfp/submit-milestone.md +2 -617
- package/vendors/opencode/commands/wtfp/verify-work.md +123 -53
- package/vendors/opencode/commands/wtfp/write-section.md +4 -482
- package/vendors/opencode/compatibility/action-availability.json +13 -1
- package/vendors/opencode/project/README.md +2 -0
- package/vendors/opencode/roles/research-synthesizer.md +1 -1
- package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/opencode/tools/README.md +1 -1
- package/vendors/opencode/workflows/advance.md +38 -0
- package/vendors/opencode/workflows/discuss-section.md +1 -1
- package/vendors/opencode/workflows/plan-revision.md +3 -3
- package/vendors/opencode/workflows/plan-section.md +1 -1
- package/vendors/opencode/workflows/research-gap.md +3 -3
- package/vendors/opencode/workflows/verify-work.md +4 -2
- package/vendors/opencode/workflows/write-section.md +2 -2
- package/vendors/plugin/.wtfp-generated.json +75 -63
- package/vendors/plugin/actions/advance.json +232 -0
- package/vendors/plugin/actions/plan-revision.json +8 -3
- package/vendors/plugin/actions/verify-work.json +6 -2
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +11 -19
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +11 -19
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +18 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +18 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +11 -5
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +15 -17
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +13 -7
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +13 -7
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +19 -30
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +20 -10
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +12 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +14 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +14 -8
- package/vendors/plugin/aliases.lock.json +1 -0
- package/vendors/plugin/catalog.json +4 -2
- package/vendors/plugin/compatibility/action-availability.json +9 -3
- package/vendors/plugin/plugin.json +15 -1
- package/vendors/plugin/project/README.md +2 -0
- package/vendors/plugin/roles/research-synthesizer.md +1 -1
- package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
- package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/plugin/tools/README.md +1 -1
- package/vendors/plugin/workflows/advance.md +38 -0
- package/vendors/plugin/workflows/discuss-section.md +1 -1
- package/vendors/plugin/workflows/plan-revision.md +3 -3
- package/vendors/plugin/workflows/plan-section.md +1 -1
- package/vendors/plugin/workflows/research-gap.md +3 -3
- package/vendors/plugin/workflows/verify-work.md +4 -2
- package/vendors/plugin/workflows/write-section.md +2 -2
|
@@ -10,28 +10,17 @@ allowed-tools:
|
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
|
-
-
|
|
14
|
-
- monitor
|
|
13
|
+
- extension_wtfp__status
|
|
15
14
|
- extension_wtfp__record
|
|
16
15
|
- extension_wtfp__read_record
|
|
17
16
|
- extension_wtfp__readiness
|
|
18
17
|
- extension_wtfp__measure_section
|
|
19
18
|
- extension_wtfp__gate
|
|
20
|
-
delegated-tools:
|
|
21
|
-
- context
|
|
22
|
-
- edit
|
|
23
|
-
- find
|
|
24
|
-
- grep
|
|
25
|
-
- ledger
|
|
26
|
-
- limitation
|
|
27
|
-
- ls
|
|
28
|
-
- read
|
|
29
|
-
- write
|
|
30
19
|
---
|
|
31
20
|
|
|
32
21
|
# Create the paper outline
|
|
33
22
|
|
|
34
|
-
|
|
23
|
+
Before acting, load the `wtfp-start-project` skill with `context(scope="skills", name="wtfp-start-project")`; it carries this action's method and stays loaded across compaction.
|
|
35
24
|
|
|
36
25
|
## Record contract
|
|
37
26
|
|
|
@@ -56,12 +45,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
56
45
|
|
|
57
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.
|
|
58
47
|
|
|
59
|
-
|
|
48
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
49
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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
52
|
If desk tools are absent, follow `${pluginRoot}/workflows/create-outline.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
61
53
|
|
|
62
54
|
## Bound action contract
|
|
63
55
|
|
|
64
|
-
|
|
56
|
+
The desk enforces `${pluginRoot}/actions/create-outline.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
65
57
|
|
|
66
58
|
## Invocation input
|
|
67
59
|
|
|
@@ -73,12 +65,12 @@ $ARGUMENTS
|
|
|
73
65
|
|
|
74
66
|
## Clio user-gate binding
|
|
75
67
|
|
|
76
|
-
|
|
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.
|
|
77
69
|
|
|
78
|
-
|
|
70
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
79
71
|
|
|
80
|
-
|
|
72
|
+
## Clio role binding
|
|
81
73
|
|
|
82
|
-
|
|
74
|
+
This action writes only JSON records, which on Clio only `extension_wtfp__record` writes, so a dispatched `wtfp-outliner` would have nothing it may write and the desk refuses it. Do that role's work in this turn yourself, following the skill loaded above, and write each record through `extension_wtfp__record`. Do not dispatch it.
|
|
83
75
|
|
|
84
76
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/create-outline; do not edit. -->
|
|
@@ -10,22 +10,24 @@ allowed-tools:
|
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
|
+
- extension_wtfp__status
|
|
14
|
+
- extension_wtfp__read_record
|
|
15
|
+
- extension_wtfp__readiness
|
|
16
|
+
- extension_wtfp__gate
|
|
13
17
|
---
|
|
14
18
|
|
|
15
19
|
# Create a research poster
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
@${pluginRoot}/skills/wtfp-deliver-research/SKILL.md
|
|
19
|
-
@${pluginRoot}/skills/wtfp-deliver-research/references/actions.md
|
|
21
|
+
Before acting, load the `wtfp-deliver-research` skill with `context(scope="skills", name="wtfp-deliver-research")`; it carries this action's method and stays loaded across compaction.
|
|
20
22
|
|
|
21
23
|
## Record contract
|
|
22
24
|
|
|
23
25
|
Read: `project://manifest`, `project://structure/outline`, `project://paper/{artifact}`.
|
|
24
26
|
Produce: `project://deliverables/poster/{artifact}` (create).
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
Read each JSON record with `extension_wtfp__read_record` at its logical URI; it returns the record, its revision and SHA-256, and for a checkpoint whether the author's answer is attested. This action writes no JSON record.
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
|
|
29
31
|
|
|
30
32
|
## Procedure
|
|
31
33
|
|
|
@@ -40,14 +42,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
40
42
|
|
|
41
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.
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, read_record {uri}, readiness {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
46
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/create-poster.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
49
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
50
|
-
@${pluginRoot}/project/templates/outline.json
|
|
51
|
+
## Bound action contract
|
|
52
|
+
|
|
53
|
+
The desk enforces `${pluginRoot}/actions/create-poster.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
51
54
|
|
|
52
55
|
## Invocation input
|
|
53
56
|
|
|
@@ -59,6 +62,8 @@ $ARGUMENTS
|
|
|
59
62
|
|
|
60
63
|
## Clio user-gate binding
|
|
61
64
|
|
|
62
|
-
|
|
65
|
+
This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
66
|
+
|
|
67
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
63
68
|
|
|
64
69
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/create-poster; do not edit. -->
|
|
@@ -10,22 +10,24 @@ allowed-tools:
|
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
|
+
- extension_wtfp__status
|
|
14
|
+
- extension_wtfp__read_record
|
|
15
|
+
- extension_wtfp__readiness
|
|
16
|
+
- extension_wtfp__gate
|
|
13
17
|
---
|
|
14
18
|
|
|
15
19
|
# Create presentation slides
|
|
16
20
|
|
|
17
|
-
|
|
18
|
-
@${pluginRoot}/skills/wtfp-deliver-research/SKILL.md
|
|
19
|
-
@${pluginRoot}/skills/wtfp-deliver-research/references/actions.md
|
|
21
|
+
Before acting, load the `wtfp-deliver-research` skill with `context(scope="skills", name="wtfp-deliver-research")`; it carries this action's method and stays loaded across compaction.
|
|
20
22
|
|
|
21
23
|
## Record contract
|
|
22
24
|
|
|
23
25
|
Read: `project://manifest`, `project://structure/outline`, `project://paper/{artifact}`.
|
|
24
26
|
Produce: `project://deliverables/slides/{artifact}` (create).
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
Read each JSON record with `extension_wtfp__read_record` at its logical URI; it returns the record, its revision and SHA-256, and for a checkpoint whether the author's answer is attested. This action writes no JSON record.
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
|
|
29
31
|
|
|
30
32
|
## Procedure
|
|
31
33
|
|
|
@@ -40,14 +42,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
40
42
|
|
|
41
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.
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, read_record {uri}, readiness {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
46
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/create-slides.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
44
50
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
49
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
50
|
-
@${pluginRoot}/project/templates/outline.json
|
|
51
|
+
## Bound action contract
|
|
52
|
+
|
|
53
|
+
The desk enforces `${pluginRoot}/actions/create-slides.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
51
54
|
|
|
52
55
|
## Invocation input
|
|
53
56
|
|
|
@@ -59,6 +62,8 @@ $ARGUMENTS
|
|
|
59
62
|
|
|
60
63
|
## Clio user-gate binding
|
|
61
64
|
|
|
62
|
-
|
|
65
|
+
This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
66
|
+
|
|
67
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
63
68
|
|
|
64
69
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/create-slides; do not edit. -->
|
|
@@ -10,6 +10,7 @@ allowed-tools:
|
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
|
+
- extension_wtfp__status
|
|
13
14
|
- extension_wtfp__record
|
|
14
15
|
- extension_wtfp__read_record
|
|
15
16
|
- extension_wtfp__readiness
|
|
@@ -19,7 +20,7 @@ allowed-tools:
|
|
|
19
20
|
|
|
20
21
|
# Discuss a section
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
Before acting, load the `wtfp-plan-section` skill with `context(scope="skills", name="wtfp-plan-section")`; it carries this action's method and stays loaded across compaction.
|
|
23
24
|
|
|
24
25
|
## Record contract
|
|
25
26
|
|
|
@@ -34,7 +35,7 @@ Write prose and linked artifacts with native file tools; keep their authored for
|
|
|
34
35
|
|
|
35
36
|
1. Resolve one section ID from the outline and read its prior context, summary, and decisions before proposing updates; reject ambiguity.
|
|
36
37
|
2. Elicit the section purpose, boundaries, claims, examples, evidence needs, exclusions, and discretionary choices.
|
|
37
|
-
3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record.
|
|
38
|
+
3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record. The linked context marks the discussion as done: leave the section's status as it is, since no status means discussed.
|
|
38
39
|
|
|
39
40
|
## Safety and completion
|
|
40
41
|
|
|
@@ -42,12 +43,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
42
43
|
|
|
43
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.
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
47
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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
50
|
If desk tools are absent, follow `${pluginRoot}/workflows/discuss-section.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
47
51
|
|
|
48
52
|
## Bound action contract
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
The desk enforces `${pluginRoot}/actions/discuss-section.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
51
55
|
|
|
52
56
|
## Invocation input
|
|
53
57
|
|
|
@@ -59,6 +63,8 @@ $ARGUMENTS
|
|
|
59
63
|
|
|
60
64
|
## Clio user-gate binding
|
|
61
65
|
|
|
62
|
-
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.
|
|
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. 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
|
+
|
|
68
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
63
69
|
|
|
64
70
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/discuss-section; do not edit. -->
|
|
@@ -12,6 +12,7 @@ allowed-tools:
|
|
|
12
12
|
- ask_user
|
|
13
13
|
- dispatch
|
|
14
14
|
- monitor
|
|
15
|
+
- extension_wtfp__status
|
|
15
16
|
- extension_wtfp__record
|
|
16
17
|
- extension_wtfp__read_record
|
|
17
18
|
- extension_wtfp__readiness
|
|
@@ -31,7 +32,7 @@ delegated-tools:
|
|
|
31
32
|
|
|
32
33
|
# Execute the outline
|
|
33
34
|
|
|
34
|
-
|
|
35
|
+
Before acting, load the `wtfp-write-section` skill with `context(scope="skills", name="wtfp-write-section")`; it carries this action's method and stays loaded across compaction.
|
|
35
36
|
|
|
36
37
|
## Record contract
|
|
37
38
|
|
|
@@ -54,14 +55,17 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
54
55
|
|
|
55
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.
|
|
56
57
|
|
|
57
|
-
|
|
58
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
59
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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.
|
|
58
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.
|
|
59
63
|
After changing a linked section manuscript, call `extension_wtfp__measure_section` with that section ID; it persists the desk's body-word count in the section and state.
|
|
60
64
|
If desk tools are absent, follow `${pluginRoot}/workflows/execute-outline.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
61
65
|
|
|
62
66
|
## Bound action contract
|
|
63
67
|
|
|
64
|
-
|
|
68
|
+
The desk enforces `${pluginRoot}/actions/execute-outline.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
65
69
|
|
|
66
70
|
## Invocation input
|
|
67
71
|
|
|
@@ -73,12 +77,14 @@ $ARGUMENTS
|
|
|
73
77
|
|
|
74
78
|
## Clio user-gate binding
|
|
75
79
|
|
|
76
|
-
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.
|
|
80
|
+
For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. When none exists yet, create it pending through `extension_wtfp__record`, then call `extension_wtfp__gate` with its ID. 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
|
+
|
|
82
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
77
83
|
|
|
78
84
|
## Clio role-result binding
|
|
79
85
|
|
|
80
|
-
Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-writer`, `wtfp-coherence-checker`. Do not substitute generic coder or verifier agents. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-coherence-checker` is read-only: begin each task for it with "Review", because Clio refuses a read-only agent a task it reads as a change.
|
|
86
|
+
Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-writer`, `wtfp-coherence-checker`. Do not substitute generic coder or verifier agents. Give every dispatched task an `agent` and an `intent` with workspace-relative `read_roots`, and keep absolute paths and `project://` URIs out of the task text, so Clio admits the scope you declare instead of inferring one from the prose. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-coherence-checker` is read-only: begin each task for it with "Review", because Clio refuses a read-only agent a task it reads as a change.
|
|
81
87
|
|
|
82
|
-
Read the single wtfp.role-result entry in native validations
|
|
88
|
+
Read the single wtfp.role-result entry in native validations and parse its evidence string as portable role-result JSON. A read-only reviewer returns only a verdict and checks, no wtfp.role-result entry: treat its report as completed, each failed check as an issue, and a fail verdict as a revise recommendation. 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.
|
|
83
89
|
|
|
84
90
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/execute-outline; do not edit. -->
|
|
@@ -11,6 +11,7 @@ allowed-tools:
|
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
13
|
- bash
|
|
14
|
+
- extension_wtfp__status
|
|
14
15
|
- extension_wtfp__record
|
|
15
16
|
- extension_wtfp__read_record
|
|
16
17
|
- extension_wtfp__readiness
|
|
@@ -20,7 +21,7 @@ allowed-tools:
|
|
|
20
21
|
|
|
21
22
|
# Export LaTeX
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
Before acting, load the `wtfp-deliver-research` skill with `context(scope="skills", name="wtfp-deliver-research")`; it carries this action's method and stays loaded across compaction.
|
|
24
25
|
|
|
25
26
|
## Record contract
|
|
26
27
|
|
|
@@ -53,12 +54,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
53
54
|
|
|
54
55
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
58
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
59
|
+
An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
|
|
60
|
+
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.
|
|
57
61
|
If desk tools are absent, follow `${pluginRoot}/workflows/export-latex.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
58
62
|
|
|
59
63
|
## Bound action contract
|
|
60
64
|
|
|
61
|
-
|
|
65
|
+
The desk enforces `${pluginRoot}/actions/export-latex.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
62
66
|
|
|
63
67
|
## Invocation input
|
|
64
68
|
|
|
@@ -70,6 +74,8 @@ $ARGUMENTS
|
|
|
70
74
|
|
|
71
75
|
## Clio user-gate binding
|
|
72
76
|
|
|
73
|
-
|
|
77
|
+
This action creates no checkpoint, so ask its gate question with `ask_user` and act on the structured answer; call `extension_wtfp__gate` only for a pending checkpoint `extension_wtfp__status` lists in the gate's exact scope, and never create one. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
78
|
+
|
|
79
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
74
80
|
|
|
75
81
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/export-latex; do not edit. -->
|
|
@@ -4,12 +4,13 @@ display-only: true
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
```text
|
|
7
|
-
WTF-P 0.8.
|
|
7
|
+
WTF-P 0.8.2 on Clio Coder: evidence-grounded academic writing
|
|
8
8
|
|
|
9
9
|
Start here
|
|
10
10
|
/wtfp:new-paper [input]
|
|
11
11
|
/wtfp:map-project [input]
|
|
12
12
|
/wtfp:create-outline [input]
|
|
13
|
+
/wtfp:advance [input] or let the desk run the steps below until a decision is yours
|
|
13
14
|
/wtfp:discuss-section <section>
|
|
14
15
|
/wtfp:plan-section <section>
|
|
15
16
|
/wtfp:write-section <section>
|
|
@@ -71,6 +72,8 @@ Review the manuscript (skill wtfp-review-manuscript)
|
|
|
71
72
|
Manage the project (skill wtfp-manage-project)
|
|
72
73
|
/wtfp:add-todo [input]
|
|
73
74
|
Capture a bounded note or task without disrupting the active research flow.
|
|
75
|
+
/wtfp:advance [input]
|
|
76
|
+
Run the next writing actions automatically and stop when only the author can decide.
|
|
74
77
|
/wtfp:check-todos [input]
|
|
75
78
|
Review pending tasks and explicitly act on, defer, complete, or dismiss each one.
|
|
76
79
|
/wtfp:checkpoint [input]
|
|
@@ -10,6 +10,7 @@ allowed-tools:
|
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
12
|
- ask_user
|
|
13
|
+
- extension_wtfp__status
|
|
13
14
|
- extension_wtfp__record
|
|
14
15
|
- extension_wtfp__read_record
|
|
15
16
|
- extension_wtfp__readiness
|
|
@@ -19,7 +20,7 @@ allowed-tools:
|
|
|
19
20
|
|
|
20
21
|
# Insert a section
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
Before acting, load the `wtfp-plan-section` skill with `context(scope="skills", name="wtfp-plan-section")`; it carries this action's method and stays loaded across compaction.
|
|
23
24
|
|
|
24
25
|
## Record contract
|
|
25
26
|
|
|
@@ -42,12 +43,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
42
43
|
|
|
43
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.
|
|
44
45
|
|
|
45
|
-
|
|
46
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
47
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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
50
|
If desk tools are absent, follow `${pluginRoot}/workflows/insert-section.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
47
51
|
|
|
48
52
|
## Bound action contract
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
The desk enforces `${pluginRoot}/actions/insert-section.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
51
55
|
|
|
52
56
|
## Invocation input
|
|
53
57
|
|
|
@@ -59,6 +63,8 @@ $ARGUMENTS
|
|
|
59
63
|
|
|
60
64
|
## Clio user-gate binding
|
|
61
65
|
|
|
62
|
-
|
|
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
|
+
|
|
68
|
+
Every question `ask_user` puts to the author here is the author's to answer: ask exactly one question per `ask_user` call, with its options and `operator_only: true`; Clio refuses an `operator_only` question sent with others. Clio never answers such a question for an absent author; an unanswered one ends the turn instead of taking a recommended option, so a timeout never becomes an author decision.
|
|
63
69
|
|
|
64
70
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/insert-section; do not edit. -->
|
|
@@ -7,22 +7,23 @@ allowed-tools:
|
|
|
7
7
|
- find
|
|
8
8
|
- ls
|
|
9
9
|
- context
|
|
10
|
+
- extension_wtfp__status
|
|
11
|
+
- extension_wtfp__read_record
|
|
12
|
+
- extension_wtfp__readiness
|
|
10
13
|
---
|
|
11
14
|
|
|
12
15
|
# List section assumptions
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
@${pluginRoot}/skills/wtfp-plan-section/SKILL.md
|
|
16
|
-
@${pluginRoot}/skills/wtfp-plan-section/references/actions.md
|
|
17
|
+
Before acting, load the `wtfp-plan-section` skill with `context(scope="skills", name="wtfp-plan-section")`; it carries this action's method and stays loaded across compaction.
|
|
17
18
|
|
|
18
19
|
## Record contract
|
|
19
20
|
|
|
20
21
|
Read: `project://manifest`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`.
|
|
21
22
|
Produce: none.
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
Read each JSON record with `extension_wtfp__read_record` at its logical URI; it returns the record, its revision and SHA-256, and for a checkpoint whether the author's answer is attested. This action writes no JSON record.
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
Write prose and linked artifacts with native file tools; keep their authored formats. The record tool handles JSON records only, never manuscript text, deletion or archives.
|
|
26
27
|
|
|
27
28
|
## Procedure
|
|
28
29
|
|
|
@@ -36,18 +37,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
36
37
|
|
|
37
38
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@${pluginRoot}/project/templates/outline.json
|
|
49
|
-
@${pluginRoot}/project/schemas/section.schema.json
|
|
50
|
-
@${pluginRoot}/project/templates/section.json
|
|
40
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, read_record {uri}, readiness {section}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
41
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
42
|
+
An author's request is never permission to write outside this action's declared outputs: do the part it declares, then end by naming the action that owns the rest as the next step, and do not ask again or weigh the request against the contract; the desk refuses the rest regardless.
|
|
43
|
+
Start from the desk's status, not from individual records: the reminder the desk injects when a WTF-P turn starts, or `extension_wtfp__status` inside an advance run or after this action writes. Then read only the records and artifacts this action will change, quote or check in detail.
|
|
44
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/list-assumptions.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
45
|
+
|
|
46
|
+
## Bound action contract
|
|
47
|
+
|
|
48
|
+
The desk enforces `${pluginRoot}/actions/list-assumptions.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
51
49
|
|
|
52
50
|
## Invocation input
|
|
53
51
|
|
|
@@ -9,6 +9,7 @@ allowed-tools:
|
|
|
9
9
|
- context
|
|
10
10
|
- write
|
|
11
11
|
- edit
|
|
12
|
+
- extension_wtfp__status
|
|
12
13
|
- extension_wtfp__record
|
|
13
14
|
- extension_wtfp__read_record
|
|
14
15
|
- extension_wtfp__readiness
|
|
@@ -18,7 +19,7 @@ allowed-tools:
|
|
|
18
19
|
|
|
19
20
|
# Map an existing project
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
Before acting, load the `wtfp-start-project` skill with `context(scope="skills", name="wtfp-start-project")`; it carries this action's method and stays loaded across compaction.
|
|
22
23
|
|
|
23
24
|
## Record contract
|
|
24
25
|
|
|
@@ -43,12 +44,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
43
44
|
|
|
44
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.
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
48
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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
|
+
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.
|
|
47
51
|
If desk tools are absent, follow `${pluginRoot}/workflows/map-project.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
48
52
|
|
|
49
53
|
## Bound action contract
|
|
50
54
|
|
|
51
|
-
|
|
55
|
+
The desk enforces `${pluginRoot}/actions/map-project.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
52
56
|
|
|
53
57
|
## Invocation input
|
|
54
58
|
|