wtf-p 0.8.1 → 0.8.3
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 +274 -56
- 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/review-section.md +2 -2
- package/protocol/workflows/verify-work.md +4 -2
- package/protocol/workflows/write-section.md +2 -2
- package/vendors/antigravity/.wtfp-generated.json +55 -43
- 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 +2 -10
- 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/review-section.md +2 -2
- 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 +109 -93
- 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 +5 -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 +6 -12
- 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 +2 -10
- 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/review-section.md +2 -2
- 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 +724 -6
- package/vendors/clio-extension/runtime/extension.ts +1028 -42
- 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 +32 -24
- 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/review-section.md +2 -2
- 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 +44 -32
- 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 +56 -44
- 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 +2 -10
- 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/review-section.md +2 -2
- 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/review-section.md +2 -2
- 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 +61 -49
- 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 +6 -412
- 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/review-section.md +2 -2
- package/vendors/gemini/workflows/verify-work.md +4 -2
- package/vendors/gemini/workflows/write-section.md +2 -2
- package/vendors/opencode/.wtfp-generated.json +60 -48
- 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 +6 -412
- 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/review-section.md +2 -2
- package/vendors/opencode/workflows/verify-work.md +4 -2
- package/vendors/opencode/workflows/write-section.md +2 -2
- package/vendors/plugin/.wtfp-generated.json +76 -64
- 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 +5 -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 +14 -8
- 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 +15 -9
- 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/review-section.md +2 -2
- package/vendors/plugin/workflows/verify-work.md +4 -2
- package/vendors/plugin/workflows/write-section.md +2 -2
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"reads": [
|
|
23
23
|
"project://manifest",
|
|
24
24
|
"project://config",
|
|
25
|
+
"project://state",
|
|
25
26
|
"project://decisions",
|
|
26
27
|
"project://sections/{section}",
|
|
27
28
|
"project://sections/{section}/plans/{plan}",
|
|
@@ -42,6 +43,10 @@
|
|
|
42
43
|
{
|
|
43
44
|
"uri": "project://sections/{section}",
|
|
44
45
|
"mode": "update"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"uri": "project://state",
|
|
49
|
+
"mode": "update"
|
|
45
50
|
}
|
|
46
51
|
],
|
|
47
52
|
"delegation": [],
|
|
@@ -53,15 +58,15 @@
|
|
|
53
58
|
},
|
|
54
59
|
{
|
|
55
60
|
"id": "filesystem.modify",
|
|
56
|
-
"scope": "project://sections/{section}"
|
|
61
|
+
"scope": "project://sections/{section}, project://state"
|
|
57
62
|
},
|
|
58
63
|
{
|
|
59
64
|
"id": "filesystem.read",
|
|
60
|
-
"scope": "project://manifest, project://config, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
|
|
65
|
+
"scope": "project://manifest, project://config, project://state, project://decisions, project://sections/{section}, project://sections/{section}/plans/{plan}, project://sections/{section}/reviews/{review}, project://sections/{section}/summary, project://validations/{validation}, project://paper/{artifact}"
|
|
61
66
|
},
|
|
62
67
|
{
|
|
63
68
|
"id": "filesystem.write",
|
|
64
|
-
"scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}"
|
|
69
|
+
"scope": "project://sections/{section}/plans/{plan}, project://checkpoints/{checkpoint}, project://sections/{section}, project://state"
|
|
65
70
|
},
|
|
66
71
|
{
|
|
67
72
|
"id": "user.gate",
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
"uri": "project://validations/{validation}",
|
|
37
37
|
"mode": "update"
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"uri": "project://checkpoints/{checkpoint}",
|
|
41
|
+
"mode": "create"
|
|
42
|
+
},
|
|
39
43
|
{
|
|
40
44
|
"uri": "project://sections/{section}",
|
|
41
45
|
"mode": "update"
|
|
@@ -50,7 +54,7 @@
|
|
|
50
54
|
"effects": [
|
|
51
55
|
{
|
|
52
56
|
"id": "filesystem.create",
|
|
53
|
-
"scope": "selected section verification artifact"
|
|
57
|
+
"scope": "selected section verification artifact and its acceptance checkpoint"
|
|
54
58
|
},
|
|
55
59
|
{
|
|
56
60
|
"id": "filesystem.modify",
|
|
@@ -62,7 +66,7 @@
|
|
|
62
66
|
},
|
|
63
67
|
{
|
|
64
68
|
"id": "user.gate",
|
|
65
|
-
"scope": "each failed or disputed verification check"
|
|
69
|
+
"scope": "each failed or disputed verification check, and the author's acceptance of the section"
|
|
66
70
|
}
|
|
67
71
|
]
|
|
68
72
|
}
|
|
@@ -8,7 +8,7 @@ audience: custom
|
|
|
8
8
|
category: quality
|
|
9
9
|
capabilityClass: read-only
|
|
10
10
|
latencyClass: fast
|
|
11
|
-
projectContextTier:
|
|
11
|
+
projectContextTier: none
|
|
12
12
|
budget: {toolCalls: 24, readReserve: 4, synthesis: true}
|
|
13
13
|
resultContract: {kind: verifier-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
@@ -16,6 +16,8 @@ tags: [wtfp, research, portable-protocol]
|
|
|
16
16
|
|
|
17
17
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/roles/argument-verifier; do not edit. -->
|
|
18
18
|
|
|
19
|
+
**Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
|
|
20
|
+
|
|
19
21
|
# Argument Verifier
|
|
20
22
|
|
|
21
23
|
## Purpose
|
|
@@ -57,8 +59,5 @@ Verify that completed section text actually delivers the claims, evidence, const
|
|
|
57
59
|
|
|
58
60
|
## Clio result contract
|
|
59
61
|
|
|
60
|
-
Your entire final response must be one compact JSON object: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each
|
|
61
|
-
|
|
62
|
-
Embedded portable result schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"wtfp.role-result/v1","title":"WTF-P portable specialist result","type":"object","additionalProperties":false,"required":["schema","role","action","status","summary","artifacts","issues","next_actions","effects_applied"],"properties":{"schema":{"const":"wtfp.role-result/v1"},"role":{"type":"string","minLength":1},"action":{"type":"string","minLength":1},"status":{"enum":["completed","needs_input","blocked","failed"]},"summary":{"type":"string","minLength":1},"artifacts":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["uri","description"],"properties":{"uri":{"type":"string","minLength":1},"description":{"type":"string","minLength":1}}}},"issues":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["severity","summary"],"properties":{"severity":{"enum":["info","warning","error","blocker"]},"summary":{"type":"string","minLength":1},"evidence":{"type":"string"}}}},"next_actions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action","reason"],"properties":{"action":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1}}}},"effects_applied":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","scope"],"properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","minLength":1}}}}}}
|
|
62
|
+
Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
|
|
63
63
|
|
|
64
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string must be serialized JSON conforming to schemas/role-result.schema.json: schema wtfp.role-result/v1, role, action, status, summary, artifacts, issues, next_actions, effects_applied. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,13 +3,13 @@ version: 1
|
|
|
3
3
|
name: "Citation Expert"
|
|
4
4
|
description: "Find a precise, defensible set of sources for explicit manuscript claims and analyze whether the existing bibliography covers the approved argument. Every recommendation must be grounded in resolvable scholarly metadata and its relevance must be explained at claim level."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: research
|
|
9
9
|
capabilityClass: workspace-edit
|
|
10
|
-
latencyClass:
|
|
10
|
+
latencyClass: deep
|
|
11
11
|
projectContextTier: bounded
|
|
12
|
-
budget: {toolCalls:
|
|
12
|
+
budget: {toolCalls: 96, readReserve: 12, synthesis: true}
|
|
13
13
|
resultContract: {kind: mutation-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
15
15
|
---
|
|
@@ -62,6 +62,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
62
62
|
|
|
63
63
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"citation-expert","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
66
66
|
|
|
67
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
67
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,7 +3,7 @@ version: 1
|
|
|
3
3
|
name: "Citation Formatter"
|
|
4
4
|
description: "Audit bibliography integrity and produce deterministic corrections without touching the primary bibliography. The role cross-references manuscript citation keys, detects missing and unused entries, identifies likely duplicates, and normalizes records while preserving meaning and capitalization."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: research
|
|
9
9
|
capabilityClass: workspace-edit
|
|
@@ -62,6 +62,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
62
62
|
|
|
63
63
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"citation-formatter","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
66
66
|
|
|
67
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
67
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -7,15 +7,17 @@ skills: []
|
|
|
7
7
|
audience: custom
|
|
8
8
|
category: quality
|
|
9
9
|
capabilityClass: read-only
|
|
10
|
-
latencyClass:
|
|
11
|
-
projectContextTier:
|
|
12
|
-
budget: {toolCalls:
|
|
10
|
+
latencyClass: deep
|
|
11
|
+
projectContextTier: none
|
|
12
|
+
budget: {toolCalls: 64, readReserve: 12, synthesis: true}
|
|
13
13
|
resultContract: {kind: verifier-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/roles/coherence-checker; do not edit. -->
|
|
18
18
|
|
|
19
|
+
**Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
|
|
20
|
+
|
|
19
21
|
# Coherence Checker
|
|
20
22
|
|
|
21
23
|
## Purpose
|
|
@@ -56,8 +58,5 @@ Evaluate the manuscript as a connected argument rather than a set of individuall
|
|
|
56
58
|
|
|
57
59
|
## Clio result contract
|
|
58
60
|
|
|
59
|
-
Your entire final response must be one compact JSON object: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each
|
|
60
|
-
|
|
61
|
-
Embedded portable result schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"wtfp.role-result/v1","title":"WTF-P portable specialist result","type":"object","additionalProperties":false,"required":["schema","role","action","status","summary","artifacts","issues","next_actions","effects_applied"],"properties":{"schema":{"const":"wtfp.role-result/v1"},"role":{"type":"string","minLength":1},"action":{"type":"string","minLength":1},"status":{"enum":["completed","needs_input","blocked","failed"]},"summary":{"type":"string","minLength":1},"artifacts":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["uri","description"],"properties":{"uri":{"type":"string","minLength":1},"description":{"type":"string","minLength":1}}}},"issues":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["severity","summary"],"properties":{"severity":{"enum":["info","warning","error","blocker"]},"summary":{"type":"string","minLength":1},"evidence":{"type":"string"}}}},"next_actions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action","reason"],"properties":{"action":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1}}}},"effects_applied":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","scope"],"properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","minLength":1}}}}}}
|
|
61
|
+
Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
|
|
62
62
|
|
|
63
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string must be serialized JSON conforming to schemas/role-result.schema.json: schema wtfp.role-result/v1, role, action, status, summary, artifacts, issues, next_actions, effects_applied. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,7 +3,7 @@ version: 1
|
|
|
3
3
|
name: "Outliner"
|
|
4
4
|
description: "Turn the approved project brief into the structural foundation for an academic document. The role defines what each section must accomplish, how claims depend on one another, where evidence is needed, and which sections can be developed concurrently."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: plan
|
|
9
9
|
capabilityClass: workspace-edit
|
|
@@ -67,6 +67,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
67
67
|
|
|
68
68
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"outliner","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
71
71
|
|
|
72
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
72
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -8,7 +8,7 @@ audience: custom
|
|
|
8
8
|
category: quality
|
|
9
9
|
capabilityClass: read-only
|
|
10
10
|
latencyClass: fast
|
|
11
|
-
projectContextTier:
|
|
11
|
+
projectContextTier: none
|
|
12
12
|
budget: {toolCalls: 24, readReserve: 4, synthesis: true}
|
|
13
13
|
resultContract: {kind: verifier-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
@@ -16,6 +16,8 @@ tags: [wtfp, research, portable-protocol]
|
|
|
16
16
|
|
|
17
17
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/roles/plan-checker; do not edit. -->
|
|
18
18
|
|
|
19
|
+
**Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
|
|
20
|
+
|
|
19
21
|
# Plan Checker
|
|
20
22
|
|
|
21
23
|
## Purpose
|
|
@@ -57,8 +59,5 @@ Determine whether proposed section plans are likely to produce the intended acad
|
|
|
57
59
|
|
|
58
60
|
## Clio result contract
|
|
59
61
|
|
|
60
|
-
Your entire final response must be one compact JSON object: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each
|
|
61
|
-
|
|
62
|
-
Embedded portable result schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"wtfp.role-result/v1","title":"WTF-P portable specialist result","type":"object","additionalProperties":false,"required":["schema","role","action","status","summary","artifacts","issues","next_actions","effects_applied"],"properties":{"schema":{"const":"wtfp.role-result/v1"},"role":{"type":"string","minLength":1},"action":{"type":"string","minLength":1},"status":{"enum":["completed","needs_input","blocked","failed"]},"summary":{"type":"string","minLength":1},"artifacts":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["uri","description"],"properties":{"uri":{"type":"string","minLength":1},"description":{"type":"string","minLength":1}}}},"issues":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["severity","summary"],"properties":{"severity":{"enum":["info","warning","error","blocker"]},"summary":{"type":"string","minLength":1},"evidence":{"type":"string"}}}},"next_actions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action","reason"],"properties":{"action":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1}}}},"effects_applied":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","scope"],"properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","minLength":1}}}}}}
|
|
62
|
+
Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
|
|
63
63
|
|
|
64
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string must be serialized JSON conforming to schemas/role-result.schema.json: schema wtfp.role-result/v1, role, action, status, summary, artifacts, issues, next_actions, effects_applied. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,13 +3,13 @@ version: 1
|
|
|
3
3
|
name: "Prose Polisher"
|
|
4
4
|
description: "Improve clarity, rhythm, concision, and authorial voice without changing technical meaning, evidence, citation placement, or argumentative direction. Polishing is a constrained transformation, not a substantive rewrite."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: implement
|
|
9
9
|
capabilityClass: workspace-edit
|
|
10
10
|
latencyClass: balanced
|
|
11
11
|
projectContextTier: bounded
|
|
12
|
-
budget: {toolCalls:
|
|
12
|
+
budget: {toolCalls: 48, readReserve: 6, synthesis: true}
|
|
13
13
|
resultContract: {kind: mutation-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
15
15
|
---
|
|
@@ -62,6 +62,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
62
62
|
|
|
63
63
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"prose-polisher","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
66
66
|
|
|
67
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
67
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,13 +3,13 @@ version: 1
|
|
|
3
3
|
name: "Research Synthesizer"
|
|
4
4
|
description: "Investigate the literature needed to plan and write a specific section well. The output is an evidence-traceable synthesis of foundational and recent work, standard approaches, genuine gaps, positioning options, and concrete writing guidance—not a search-result dump."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: research
|
|
9
9
|
capabilityClass: workspace-edit
|
|
10
|
-
latencyClass:
|
|
10
|
+
latencyClass: deep
|
|
11
11
|
projectContextTier: bounded
|
|
12
|
-
budget: {toolCalls:
|
|
12
|
+
budget: {toolCalls: 96, readReserve: 12, synthesis: true}
|
|
13
13
|
resultContract: {kind: mutation-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
15
15
|
---
|
|
@@ -52,7 +52,7 @@ Investigate the literature needed to plan and write a specific section well. The
|
|
|
52
52
|
## Boundaries
|
|
53
53
|
|
|
54
54
|
- This is a `mutation-report` role. It may write only the research and suggestion artifacts authorized by the invoking action.
|
|
55
|
-
- An operator-configured, trusted read-only CiteNexus MCP connection may search bounded public scholarly metadata without a second per-query gate. In
|
|
55
|
+
- An operator-configured, trusted read-only CiteNexus MCP connection may search bounded public scholarly metadata without a second per-query gate. In a host session the operator explicitly started without per-call approval cards, for this research action, `citation-search --backend=cite-nexus` may also search `crossref`, `datacite`, `europe_pmc`, or `arxiv` without another gate. Other providers or modes require explicit network approval naming providers and query bounds. Honor offline flags and host refusals. Returned results stay candidates, and this role never performs a bibliography write.
|
|
56
56
|
- Never fabricate a citation, identifier, quotation, metadata field, source conclusion, or claim of exhaustive coverage.
|
|
57
57
|
- Never overwrite an existing `project://sources/{source}` record. Additions remain provisional until identity and provenance are verified by an authorized action.
|
|
58
58
|
- Do not explore alternatives that author decisions explicitly deferred or rejected.
|
|
@@ -65,6 +65,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
65
65
|
|
|
66
66
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"research-synthesizer","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
69
69
|
|
|
70
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
70
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,7 +3,7 @@ version: 1
|
|
|
3
3
|
name: "Section Planner"
|
|
4
4
|
description: "Convert one approved section goal into small, executable writing plans. A plan is a precise writing contract: it connects claims, evidence, word budgets, sequencing, author decisions, and measurable completion criteria without pre-writing the section."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: plan
|
|
9
9
|
capabilityClass: workspace-edit
|
|
@@ -64,6 +64,6 @@ Your entire final response must be one JSON object: {"mutatedPaths":["..."],"val
|
|
|
64
64
|
|
|
65
65
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"section-planner","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
68
68
|
|
|
69
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
69
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -7,15 +7,17 @@ skills: []
|
|
|
7
7
|
audience: custom
|
|
8
8
|
category: quality
|
|
9
9
|
capabilityClass: read-only
|
|
10
|
-
latencyClass:
|
|
11
|
-
projectContextTier:
|
|
12
|
-
budget: {toolCalls:
|
|
10
|
+
latencyClass: balanced
|
|
11
|
+
projectContextTier: none
|
|
12
|
+
budget: {toolCalls: 40, readReserve: 6, synthesis: true}
|
|
13
13
|
resultContract: {kind: verifier-report}
|
|
14
14
|
tags: [wtfp, research, portable-protocol]
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/roles/section-reviewer; do not edit. -->
|
|
18
18
|
|
|
19
|
+
**Output:** your final message is one JSON object, `{"verdict":"pass|fail","checks":[...]}`, and nothing else. Do every step below as checks in that object, not as a Markdown review; the exact form is in the Clio result contract at the end.
|
|
20
|
+
|
|
19
21
|
# Section Reviewer
|
|
20
22
|
|
|
21
23
|
## Purpose
|
|
@@ -57,8 +59,5 @@ Review a section as an academic evaluator and produce prioritized, actionable fe
|
|
|
57
59
|
|
|
58
60
|
## Clio result contract
|
|
59
61
|
|
|
60
|
-
Your entire final response must be one compact JSON object: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each
|
|
61
|
-
|
|
62
|
-
Embedded portable result schema: {"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"wtfp.role-result/v1","title":"WTF-P portable specialist result","type":"object","additionalProperties":false,"required":["schema","role","action","status","summary","artifacts","issues","next_actions","effects_applied"],"properties":{"schema":{"const":"wtfp.role-result/v1"},"role":{"type":"string","minLength":1},"action":{"type":"string","minLength":1},"status":{"enum":["completed","needs_input","blocked","failed"]},"summary":{"type":"string","minLength":1},"artifacts":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["uri","description"],"properties":{"uri":{"type":"string","minLength":1},"description":{"type":"string","minLength":1}}}},"issues":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["severity","summary"],"properties":{"severity":{"enum":["info","warning","error","blocker"]},"summary":{"type":"string","minLength":1},"evidence":{"type":"string"}}}},"next_actions":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["action","reason"],"properties":{"action":{"type":"string","minLength":1},"reason":{"type":"string","minLength":1}}}},"effects_applied":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["id","scope"],"properties":{"id":{"type":"string","minLength":1},"scope":{"type":"string","minLength":1}}}}}}
|
|
62
|
+
Your entire final response must be one compact JSON object and nothing else: {"verdict":"pass|fail","checks":[{"name":"...","passed":true,"evidence":"..."}]}. The verdict must agree with every check. Return at most 12 non-duplicate checks, keep each evidence value to one short sentence that cites the artifact and location, keep the complete UTF-8 response at or below 4096 bytes, and emit no Markdown, code fence, analysis, or text outside the object. Where the procedure asks for findings, a status or a summary, the checks and the verdict are that result: a failed check is a finding, and fail means revise. Example: {"verdict":"fail","checks":[{"name":"claim coverage","passed":true,"evidence":"All five claims map to paragraphs P2-P6 of plan-01."},{"name":"word budget","passed":false,"evidence":"Units sum to 830 words, above the 805 ceiling."}]}
|
|
63
63
|
|
|
64
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string must be serialized JSON conforming to schemas/role-result.schema.json: schema wtfp.role-result/v1, role, action, status, summary, artifacts, issues, next_actions, effects_applied. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -3,7 +3,7 @@ version: 1
|
|
|
3
3
|
name: "Section Writer"
|
|
4
4
|
description: "Execute an approved section plan into evidence-grounded academic prose or the explicitly requested scaffold. Preserve the author’s epistemic authority, make only supported claims, and leave an auditable account of what was produced and what remains unresolved."
|
|
5
5
|
tools: {required: [read, context, limitation, {anyOf: [write, edit]}], optional: [grep, find, ls, ledger]}
|
|
6
|
-
skills: [
|
|
6
|
+
skills: []
|
|
7
7
|
audience: custom
|
|
8
8
|
category: implement
|
|
9
9
|
capabilityClass: workspace-edit
|
|
@@ -59,12 +59,14 @@ Execute an approved section plan into evidence-grounded academic prose or the ex
|
|
|
59
59
|
- Do not commit, delete, rename, publish, or perform destructive operations unless the exact effect is granted by the action contract.
|
|
60
60
|
- Do not initiate human interaction. Encode checkpoint needs in the result for the orchestrator.
|
|
61
61
|
|
|
62
|
+
On Clio a worker holds no word counter. The dispatching action measures the persisted manuscript after you return and writes that count into the summary, so write the summary without a count. A count you cannot take never blocks this role: return completed when the rest is done.
|
|
63
|
+
|
|
62
64
|
## Clio result contract
|
|
63
65
|
|
|
64
66
|
Your entire final response must be one JSON object: {"mutatedPaths":["..."],"validations":[{"name":"...","passed":true,"evidence":"..."}]}. Report only paths changed in this run and validations actually performed.
|
|
65
67
|
|
|
66
68
|
File readback establishes inspection, not executed validation. If this role changes files but cannot run the relevant checks with its admitted tools and approved scope, call limitation before returning. Name the exact output paths and checks left unrun, using the applicable reason: no-runner, blocked, out-of-scope, environment, or other. A prose disclaimer is not a limitation receipt. Do not add shell access or run a token command to satisfy the finish gate. Run available authorized checks when required; a limitation never turns an absent or failed check into a pass. Preserve unmeasured validation quality and leave the outstanding checks to the interactive caller.
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
Portable result object (wtfp.role-result/v1): {"schema":"wtfp.role-result/v1","role":"section-writer","action":"...","status":"completed|needs_input|blocked|failed","summary":"...","artifacts":[{"uri":"...","description":"..."}],"issues":[{"severity":"info|warning|error|blocker","summary":"...","evidence":""}],"next_actions":[{"action":"...","reason":"..."}],"effects_applied":[{"id":"...","scope":"..."}]}. Values with | are enums; every field is required except `issues[].evidence`; strings are non-empty unless shown empty; arrays may be empty; add no other field.
|
|
69
71
|
|
|
70
|
-
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string
|
|
72
|
+
Preserve the portable role outcome inside the native report. Include exactly one entry named wtfp.role-result in checks (verifier) or validations (mutation report). Its evidence string is that object serialized as JSON. Use status needs_input for author decisions and blocked for missing capabilities; passed is true only for completed. Do not contact the author directly. The orchestrator must parse this evidence, stop on needs_input/blocked/failed, ask the author when needed, and redispatch with the answer. Never infer completion from an empty mutatedPaths list. Keep the embedded result compact enough for the native response budget.
|
|
@@ -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
|
# Add a todo
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
Before acting, load the `wtfp-manage-project` skill with `context(scope="skills", name="wtfp-manage-project")`; it carries this action's method and stays loaded across compaction.
|
|
22
23
|
|
|
23
24
|
## Record contract
|
|
24
25
|
|
|
@@ -41,12 +42,15 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
41
42
|
|
|
42
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.
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
Call desk tools with `gateway(op="call", capability="extension_wtfp__<tool>", args={...})`, without a describe first; args: status {}, record {uri, record: {<every field of the record>}, expect_revision|expect_sha256} or {writes:[{uri, record, expect_...}]}, with no record field outside `record`, read_record {uri}, readiness {section}, measure_section {section}, gate {checkpoint}. Describe one only after it rejects its arguments. A record write that would not validate, or reports a stale read or a missing version, asks you to fix the record or read it again and resend; that is not a refusal. Any other error or refusal stops the action; never bypass it with a manual write or shell script. `read_record` on a family URI, such as `project://sources` or `project://evidence`, returns that family's records in one call, and names a `?after=` page for any it holds back; list a family that way, never with a shell. It serves JSON records only; read authored artifacts directly: `project://sections/{s}/context`, `research`, `summary` and `handoff` are `.planning/sections/{s}/<name>.md`, plans and reviews are `.planning/sections/{s}/plans/<id>.md` and `reviews/<id>.md`, and `project://paper/{a}` is `paper/{a}.md`.
|
|
46
|
+
Read a large source or manuscript by section with `grep` and a bounded `read` range, never whole: Clio ends the turn when one turn's reads exceed its observation budget.
|
|
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.
|
|
45
49
|
If desk tools are absent, follow `${pluginRoot}/workflows/add-todo.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
46
50
|
|
|
47
51
|
## Bound action contract
|
|
48
52
|
|
|
49
|
-
|
|
53
|
+
The desk enforces `${pluginRoot}/actions/add-todo.json`; this prompt states its reads, outputs, conditions, gates and roles. Read it only when a refusal needs its exact terms.
|
|
50
54
|
|
|
51
55
|
## Invocation input
|
|
52
56
|
|