wtf-p 0.7.4 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/bin/commands/install-logic.js +1 -1
- package/bin/lib/adapter-compiler.js +305 -78
- package/bin/lib/clio-registration.js +159 -41
- package/bin/lib/manifest.js +11 -3
- package/bin/uninstall.js +22 -6
- package/package.json +3 -3
- package/protocol/actions/checkpoint.json +10 -1
- package/protocol/actions/execute-outline.json +10 -2
- package/protocol/actions/export-latex.json +15 -2
- package/protocol/actions/plan-revision.json +17 -4
- package/protocol/actions/polish-prose.json +13 -3
- package/protocol/actions/research-gap.json +16 -3
- package/protocol/actions/verify-work.json +7 -2
- package/protocol/project/README.md +37 -0
- package/protocol/project/schemas/interaction.schema.json +100 -0
- package/protocol/project/templates/interaction.json +16 -0
- package/protocol/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/protocol/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/protocol/skills/wtfp-plan-section/SKILL.md +1 -1
- package/protocol/skills/wtfp-plan-section/references/actions.md +4 -3
- package/protocol/skills/wtfp-research-literature/SKILL.md +1 -1
- package/protocol/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/protocol/skills/wtfp-write-section/SKILL.md +1 -1
- package/protocol/skills/wtfp-write-section/references/actions.md +1 -1
- package/protocol/workflows/checkpoint.md +2 -2
- package/protocol/workflows/execute-outline.md +2 -2
- package/protocol/workflows/export-latex.md +4 -4
- package/protocol/workflows/plan-revision.md +4 -3
- package/protocol/workflows/plan-section.md +2 -2
- package/protocol/workflows/polish-prose.md +3 -3
- package/protocol/workflows/research-gap.md +2 -2
- package/protocol/workflows/verify-work.md +3 -3
- package/protocol/workflows/write-section.md +2 -2
- package/vendors/antigravity/.wtfp-generated.json +172 -172
- package/vendors/antigravity/actions/checkpoint.json +10 -1
- package/vendors/antigravity/actions/execute-outline.json +10 -2
- package/vendors/antigravity/actions/export-latex.json +15 -2
- package/vendors/antigravity/actions/plan-revision.json +17 -4
- package/vendors/antigravity/actions/polish-prose.json +13 -3
- package/vendors/antigravity/actions/research-gap.json +16 -3
- package/vendors/antigravity/actions/verify-work.json +7 -2
- package/vendors/antigravity/plugin.json +2 -1
- package/vendors/antigravity/project/README.md +37 -0
- package/vendors/antigravity/project/schemas/interaction.schema.json +100 -0
- package/vendors/antigravity/project/templates/interaction.json +16 -0
- package/vendors/antigravity/rules/wtfp-project-state.md +41 -1
- package/vendors/antigravity/{commands/wtfp-add-todo.md → skills/wtfp-add-todo/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-analyze-bib.md → skills/wtfp-analyze-bib/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-audit-milestone.md → skills/wtfp-audit-milestone/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-check-refs.md → skills/wtfp-check-refs/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-check-todos.md → skills/wtfp-check-todos/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-checkpoint.md → skills/wtfp-checkpoint/SKILL.md} +4 -3
- package/vendors/antigravity/{commands/wtfp-contribute.md → skills/wtfp-contribute/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-create-outline.md → skills/wtfp-create-outline/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-create-poster.md → skills/wtfp-create-poster/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-create-slides.md → skills/wtfp-create-slides/SKILL.md} +2 -1
- package/vendors/antigravity/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/antigravity/{commands/wtfp-discuss-section.md → skills/wtfp-discuss-section/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-execute-outline.md → skills/wtfp-execute-outline/SKILL.md} +4 -3
- package/vendors/antigravity/{commands/wtfp-export-latex.md → skills/wtfp-export-latex/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-help.md → skills/wtfp-help/SKILL.md} +3 -2
- package/vendors/antigravity/{commands/wtfp-insert-section.md → skills/wtfp-insert-section/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-list-assumptions.md → skills/wtfp-list-assumptions/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-map-project.md → skills/wtfp-map-project/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-new-paper.md → skills/wtfp-new-paper/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-pause-writing.md → skills/wtfp-pause-writing/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-plan-milestone-gaps.md → skills/wtfp-plan-milestone-gaps/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-plan-revision.md → skills/wtfp-plan-revision/SKILL.md} +10 -4
- package/vendors/antigravity/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/antigravity/{commands/wtfp-polish-prose.md → skills/wtfp-polish-prose/SKILL.md} +9 -4
- package/vendors/antigravity/{commands/wtfp-progress.md → skills/wtfp-progress/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-quick.md → skills/wtfp-quick/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-remove-section.md → skills/wtfp-remove-section/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-report-bug.md → skills/wtfp-report-bug/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-request-feature.md → skills/wtfp-request-feature/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-research-gap.md → skills/wtfp-research-gap/SKILL.md} +2 -1
- package/vendors/antigravity/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/antigravity/{commands/wtfp-resume-writing.md → skills/wtfp-resume-writing/SKILL.md} +2 -1
- package/vendors/antigravity/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/antigravity/{commands/wtfp-review-section.md → skills/wtfp-review-section/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-settings.md → skills/wtfp-settings/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-submit-milestone.md → skills/wtfp-submit-milestone/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-update.md → skills/wtfp-update/SKILL.md} +2 -1
- package/vendors/antigravity/{commands/wtfp-verify-work.md → skills/wtfp-verify-work/SKILL.md} +5 -4
- package/vendors/antigravity/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/antigravity/workflows/checkpoint.md +2 -2
- package/vendors/antigravity/workflows/execute-outline.md +2 -2
- package/vendors/antigravity/workflows/export-latex.md +4 -4
- package/vendors/antigravity/workflows/plan-revision.md +4 -3
- package/vendors/antigravity/workflows/plan-section.md +2 -2
- package/vendors/antigravity/workflows/polish-prose.md +3 -3
- package/vendors/antigravity/workflows/research-gap.md +2 -2
- package/vendors/antigravity/workflows/verify-work.md +3 -3
- 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 +84 -76
- package/vendors/claude/actions/checkpoint.json +10 -1
- package/vendors/claude/actions/execute-outline.json +10 -2
- package/vendors/claude/actions/export-latex.json +15 -2
- package/vendors/claude/actions/plan-revision.json +17 -4
- package/vendors/claude/actions/polish-prose.json +13 -3
- package/vendors/claude/actions/research-gap.json +16 -3
- package/vendors/claude/actions/verify-work.json +7 -2
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
- package/vendors/claude/ai.iowarp.clio/fleets/wtfp-draft-review.md +1 -1
- package/vendors/claude/ai.iowarp.clio/fleets/wtfp-plan-section.md +1 -1
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +8 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +22 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +22 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +11 -2
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +21 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +24 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +14 -4
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +1 -1
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/map-project.md +8 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +8 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +17 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +24 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +28 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +21 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +25 -2
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +19 -1
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +9 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +12 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +24 -3
- package/vendors/claude/commands/checkpoint.md +2 -2
- package/vendors/claude/commands/execute-outline.md +2 -2
- package/vendors/claude/commands/export-latex.md +4 -4
- package/vendors/claude/commands/plan-revision.md +8 -3
- package/vendors/claude/commands/plan-section.md +2 -2
- package/vendors/claude/commands/polish-prose.md +7 -3
- package/vendors/claude/commands/research-gap.md +2 -2
- package/vendors/claude/commands/verify-work.md +3 -3
- package/vendors/claude/commands/write-section.md +2 -2
- package/vendors/claude/output-styles/wtfp-academic-writing.md +5 -5
- package/vendors/claude/plugin.json +1 -1
- package/vendors/claude/project/README.md +37 -0
- package/vendors/claude/project/schemas/interaction.schema.json +100 -0
- package/vendors/claude/project/templates/interaction.json +16 -0
- package/vendors/claude/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/claude/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/claude/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/claude/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/claude/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/claude/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/claude/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/claude/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/claude/workflows/checkpoint.md +2 -2
- package/vendors/claude/workflows/execute-outline.md +2 -2
- package/vendors/claude/workflows/export-latex.md +4 -4
- package/vendors/claude/workflows/plan-revision.md +4 -3
- package/vendors/claude/workflows/plan-section.md +2 -2
- package/vendors/claude/workflows/polish-prose.md +3 -3
- package/vendors/claude/workflows/research-gap.md +2 -2
- package/vendors/claude/workflows/verify-work.md +3 -3
- package/vendors/claude/workflows/write-section.md +2 -2
- package/vendors/clio-extension/.wtfp-generated.json +240 -0
- package/vendors/clio-extension/actions/add-todo.json +52 -0
- package/vendors/clio-extension/actions/analyze-bib.json +97 -0
- package/vendors/clio-extension/actions/audit-milestone.json +63 -0
- package/vendors/clio-extension/actions/check-refs.json +80 -0
- package/vendors/clio-extension/actions/check-todos.json +52 -0
- package/vendors/clio-extension/actions/checkpoint.json +85 -0
- package/vendors/clio-extension/actions/contribute.json +57 -0
- package/vendors/clio-extension/actions/create-outline.json +84 -0
- package/vendors/clio-extension/actions/create-poster.json +54 -0
- package/vendors/clio-extension/actions/create-slides.json +54 -0
- package/vendors/clio-extension/actions/discuss-section.json +76 -0
- package/vendors/clio-extension/actions/execute-outline.json +124 -0
- package/vendors/clio-extension/actions/export-latex.json +78 -0
- package/vendors/clio-extension/actions/help.json +30 -0
- package/vendors/clio-extension/actions/insert-section.json +61 -0
- package/vendors/clio-extension/actions/list-assumptions.json +35 -0
- package/vendors/clio-extension/actions/map-project.json +71 -0
- package/vendors/clio-extension/actions/new-paper.json +70 -0
- package/vendors/clio-extension/actions/pause-writing.json +71 -0
- package/vendors/clio-extension/actions/plan-milestone-gaps.json +57 -0
- package/vendors/clio-extension/actions/plan-revision.json +71 -0
- package/vendors/clio-extension/actions/plan-section.json +100 -0
- package/vendors/clio-extension/actions/polish-prose.json +79 -0
- package/vendors/clio-extension/actions/progress.json +51 -0
- package/vendors/clio-extension/actions/quick.json +70 -0
- package/vendors/clio-extension/actions/remove-section.json +63 -0
- package/vendors/clio-extension/actions/report-bug.json +47 -0
- package/vendors/clio-extension/actions/request-feature.json +47 -0
- package/vendors/clio-extension/actions/research-gap.json +115 -0
- package/vendors/clio-extension/actions/resume-writing.json +65 -0
- package/vendors/clio-extension/actions/review-section.json +83 -0
- package/vendors/clio-extension/actions/settings.json +47 -0
- package/vendors/clio-extension/actions/submit-milestone.json +77 -0
- package/vendors/clio-extension/actions/update.json +42 -0
- package/vendors/clio-extension/actions/verify-work.json +68 -0
- package/vendors/clio-extension/actions/write-section.json +115 -0
- package/vendors/clio-extension/clio-coder-extension.yaml +76 -0
- package/vendors/clio-extension/compatibility/action-availability.json +295 -0
- package/vendors/clio-extension/project/schemas/checkpoint.schema.json +102 -0
- package/vendors/clio-extension/project/schemas/common.schema.json +33 -0
- package/vendors/clio-extension/project/schemas/config.schema.json +69 -0
- package/vendors/clio-extension/project/schemas/decisions.schema.json +31 -0
- package/vendors/clio-extension/project/schemas/evidence.schema.json +48 -0
- package/vendors/clio-extension/project/schemas/interaction.schema.json +100 -0
- package/vendors/clio-extension/project/schemas/manifest.schema.json +102 -0
- package/vendors/clio-extension/project/schemas/outline.schema.json +67 -0
- package/vendors/clio-extension/project/schemas/section.schema.json +95 -0
- package/vendors/clio-extension/project/schemas/source.schema.json +73 -0
- package/vendors/clio-extension/project/schemas/state.schema.json +58 -0
- package/vendors/clio-extension/project/schemas/validation.schema.json +74 -0
- package/vendors/clio-extension/runtime/claim-coverage.cjs +332 -0
- package/vendors/clio-extension/runtime/desk-trust.cjs +112 -0
- package/vendors/clio-extension/runtime/extension.test.ts +1567 -0
- package/vendors/clio-extension/runtime/extension.ts +3074 -0
- package/vendors/clio-extension/runtime/json-schema.cjs +304 -0
- package/vendors/clio-extension/runtime/package.json +3 -0
- package/vendors/clio-extension/runtime/write-guard.json +566 -0
- package/vendors/clio-extension/skins/wtfp.json +20 -0
- package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/.wtfp-generated.json +36 -28
- package/vendors/codex/plugins/wtfp/actions/checkpoint.json +10 -1
- package/vendors/codex/plugins/wtfp/actions/execute-outline.json +10 -2
- package/vendors/codex/plugins/wtfp/actions/export-latex.json +15 -2
- package/vendors/codex/plugins/wtfp/actions/plan-revision.json +17 -4
- package/vendors/codex/plugins/wtfp/actions/polish-prose.json +13 -3
- package/vendors/codex/plugins/wtfp/actions/research-gap.json +16 -3
- package/vendors/codex/plugins/wtfp/actions/verify-work.json +7 -2
- package/vendors/codex/plugins/wtfp/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/project/README.md +37 -0
- package/vendors/codex/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
- package/vendors/codex/plugins/wtfp/project/templates/interaction.json +16 -0
- package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/checkpoint.md +2 -2
- package/vendors/codex/plugins/wtfp/workflows/execute-outline.md +2 -2
- package/vendors/codex/plugins/wtfp/workflows/export-latex.md +4 -4
- package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +4 -3
- package/vendors/codex/plugins/wtfp/workflows/plan-section.md +2 -2
- package/vendors/codex/plugins/wtfp/workflows/polish-prose.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/research-gap.md +2 -2
- package/vendors/codex/plugins/wtfp/workflows/verify-work.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/.wtfp-generated.json +43 -35
- 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 +42 -34
- package/vendors/copilot/plugins/wtfp/actions/checkpoint.json +10 -1
- package/vendors/copilot/plugins/wtfp/actions/execute-outline.json +10 -2
- package/vendors/copilot/plugins/wtfp/actions/export-latex.json +15 -2
- package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +17 -4
- package/vendors/copilot/plugins/wtfp/actions/polish-prose.json +13 -3
- package/vendors/copilot/plugins/wtfp/actions/research-gap.json +16 -3
- package/vendors/copilot/plugins/wtfp/actions/verify-work.json +7 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +2 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +2 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +8 -3
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +2 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +7 -3
- package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +3 -3
- package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -2
- package/vendors/copilot/plugins/wtfp/project/README.md +37 -0
- package/vendors/copilot/plugins/wtfp/project/schemas/interaction.schema.json +100 -0
- package/vendors/copilot/plugins/wtfp/project/templates/interaction.json +16 -0
- package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/checkpoint.md +2 -2
- package/vendors/copilot/plugins/wtfp/workflows/execute-outline.md +2 -2
- package/vendors/copilot/plugins/wtfp/workflows/export-latex.md +4 -4
- package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +4 -3
- package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +2 -2
- package/vendors/copilot/plugins/wtfp/workflows/polish-prose.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +2 -2
- package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/project/.github/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/copilot/project/.github/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/copilot/project/.github/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/actions/checkpoint.json +10 -1
- package/vendors/copilot/project/.github/wtfp/actions/execute-outline.json +10 -2
- package/vendors/copilot/project/.github/wtfp/actions/export-latex.json +15 -2
- package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +17 -4
- package/vendors/copilot/project/.github/wtfp/actions/polish-prose.json +13 -3
- package/vendors/copilot/project/.github/wtfp/actions/research-gap.json +16 -3
- package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +7 -2
- package/vendors/copilot/project/.github/wtfp/project/README.md +37 -0
- package/vendors/copilot/project/.github/wtfp/project/schemas/interaction.schema.json +100 -0
- package/vendors/copilot/project/.github/wtfp/project/templates/interaction.json +16 -0
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/checkpoint.md +2 -2
- package/vendors/copilot/project/.github/wtfp/workflows/execute-outline.md +2 -2
- package/vendors/copilot/project/.github/wtfp/workflows/export-latex.md +4 -4
- package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +4 -3
- package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +2 -2
- package/vendors/copilot/project/.github/wtfp/workflows/polish-prose.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +2 -2
- package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
- package/vendors/gemini/.wtfp-generated.json +61 -53
- package/vendors/gemini/actions/checkpoint.json +10 -1
- package/vendors/gemini/actions/execute-outline.json +10 -2
- package/vendors/gemini/actions/export-latex.json +15 -2
- package/vendors/gemini/actions/plan-revision.json +17 -4
- package/vendors/gemini/actions/polish-prose.json +13 -3
- package/vendors/gemini/actions/research-gap.json +16 -3
- package/vendors/gemini/actions/verify-work.json +7 -2
- package/vendors/gemini/commands/wtfp/add-todo.toml +37 -0
- package/vendors/gemini/commands/wtfp/check-todos.toml +37 -0
- package/vendors/gemini/commands/wtfp/checkpoint.toml +49 -3
- package/vendors/gemini/commands/wtfp/create-outline.toml +37 -0
- package/vendors/gemini/commands/wtfp/create-poster.toml +40 -3
- package/vendors/gemini/commands/wtfp/create-slides.toml +40 -3
- package/vendors/gemini/commands/wtfp/discuss-section.toml +42 -4
- package/vendors/gemini/commands/wtfp/execute-outline.toml +51 -6
- package/vendors/gemini/commands/wtfp/help.toml +37 -0
- package/vendors/gemini/commands/wtfp/insert-section.toml +42 -4
- package/vendors/gemini/commands/wtfp/list-assumptions.toml +42 -4
- package/vendors/gemini/commands/wtfp/map-project.toml +37 -0
- package/vendors/gemini/commands/wtfp/new-paper.toml +37 -0
- package/vendors/gemini/commands/wtfp/pause-writing.toml +37 -0
- package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +38 -1
- package/vendors/gemini/commands/wtfp/plan-revision.toml +310 -11
- package/vendors/gemini/commands/wtfp/plan-section.toml +44 -6
- package/vendors/gemini/commands/wtfp/polish-prose.toml +281 -7
- package/vendors/gemini/commands/wtfp/progress.toml +37 -0
- package/vendors/gemini/commands/wtfp/quick.toml +39 -2
- package/vendors/gemini/commands/wtfp/resume-writing.toml +37 -0
- package/vendors/gemini/commands/wtfp/review-section.toml +38 -1
- package/vendors/gemini/commands/wtfp/settings.toml +37 -0
- package/vendors/gemini/commands/wtfp/submit-milestone.toml +40 -3
- package/vendors/gemini/commands/wtfp/verify-work.toml +48 -6
- package/vendors/gemini/commands/wtfp/write-section.toml +41 -4
- package/vendors/gemini/gemini-extension.json +1 -1
- package/vendors/gemini/project/README.md +37 -0
- package/vendors/gemini/project/schemas/interaction.schema.json +100 -0
- package/vendors/gemini/project/templates/interaction.json +16 -0
- package/vendors/gemini/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/gemini/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/gemini/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/gemini/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/gemini/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/gemini/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/gemini/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/gemini/workflows/checkpoint.md +2 -2
- package/vendors/gemini/workflows/execute-outline.md +2 -2
- package/vendors/gemini/workflows/export-latex.md +4 -4
- package/vendors/gemini/workflows/plan-revision.md +4 -3
- package/vendors/gemini/workflows/plan-section.md +2 -2
- package/vendors/gemini/workflows/polish-prose.md +3 -3
- package/vendors/gemini/workflows/research-gap.md +2 -2
- package/vendors/gemini/workflows/verify-work.md +3 -3
- package/vendors/gemini/workflows/write-section.md +2 -2
- package/vendors/opencode/.wtfp-generated.json +60 -52
- package/vendors/opencode/actions/checkpoint.json +10 -1
- package/vendors/opencode/actions/execute-outline.json +10 -2
- package/vendors/opencode/actions/export-latex.json +15 -2
- package/vendors/opencode/actions/plan-revision.json +17 -4
- package/vendors/opencode/actions/polish-prose.json +13 -3
- package/vendors/opencode/actions/research-gap.json +16 -3
- package/vendors/opencode/actions/verify-work.json +7 -2
- package/vendors/opencode/commands/wtfp/add-todo.md +37 -0
- package/vendors/opencode/commands/wtfp/check-todos.md +37 -0
- package/vendors/opencode/commands/wtfp/checkpoint.md +49 -3
- package/vendors/opencode/commands/wtfp/create-outline.md +37 -0
- package/vendors/opencode/commands/wtfp/create-poster.md +40 -3
- package/vendors/opencode/commands/wtfp/create-slides.md +40 -3
- package/vendors/opencode/commands/wtfp/discuss-section.md +42 -4
- package/vendors/opencode/commands/wtfp/execute-outline.md +51 -6
- package/vendors/opencode/commands/wtfp/help.md +37 -0
- package/vendors/opencode/commands/wtfp/insert-section.md +42 -4
- package/vendors/opencode/commands/wtfp/list-assumptions.md +42 -4
- package/vendors/opencode/commands/wtfp/map-project.md +37 -0
- package/vendors/opencode/commands/wtfp/new-paper.md +37 -0
- package/vendors/opencode/commands/wtfp/pause-writing.md +37 -0
- package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +38 -1
- package/vendors/opencode/commands/wtfp/plan-revision.md +310 -11
- package/vendors/opencode/commands/wtfp/plan-section.md +44 -6
- package/vendors/opencode/commands/wtfp/polish-prose.md +281 -7
- package/vendors/opencode/commands/wtfp/progress.md +37 -0
- package/vendors/opencode/commands/wtfp/quick.md +39 -2
- package/vendors/opencode/commands/wtfp/resume-writing.md +37 -0
- package/vendors/opencode/commands/wtfp/review-section.md +38 -1
- package/vendors/opencode/commands/wtfp/settings.md +37 -0
- package/vendors/opencode/commands/wtfp/submit-milestone.md +40 -3
- package/vendors/opencode/commands/wtfp/verify-work.md +48 -6
- package/vendors/opencode/commands/wtfp/write-section.md +41 -4
- package/vendors/opencode/project/README.md +37 -0
- package/vendors/opencode/project/schemas/interaction.schema.json +100 -0
- package/vendors/opencode/project/templates/interaction.json +16 -0
- package/vendors/opencode/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/opencode/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/opencode/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/opencode/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/opencode/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/opencode/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/opencode/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/opencode/workflows/checkpoint.md +2 -2
- package/vendors/opencode/workflows/execute-outline.md +2 -2
- package/vendors/opencode/workflows/export-latex.md +4 -4
- package/vendors/opencode/workflows/plan-revision.md +4 -3
- package/vendors/opencode/workflows/plan-section.md +2 -2
- package/vendors/opencode/workflows/polish-prose.md +3 -3
- package/vendors/opencode/workflows/research-gap.md +2 -2
- package/vendors/opencode/workflows/verify-work.md +3 -3
- package/vendors/opencode/workflows/write-section.md +2 -2
- package/vendors/plugin/.wtfp-generated.json +75 -67
- package/vendors/plugin/actions/checkpoint.json +10 -1
- package/vendors/plugin/actions/execute-outline.json +10 -2
- package/vendors/plugin/actions/export-latex.json +15 -2
- package/vendors/plugin/actions/plan-revision.json +17 -4
- package/vendors/plugin/actions/polish-prose.json +13 -3
- package/vendors/plugin/actions/research-gap.json +16 -3
- package/vendors/plugin/actions/verify-work.json +7 -2
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-draft-review.md +1 -1
- package/vendors/plugin/ai.iowarp.clio/{fleets → playbooks}/wtfp-plan-section.md +1 -1
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +19 -12
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +34 -19
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +22 -25
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +34 -15
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +23 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +23 -29
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +33 -25
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +9 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +9 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +21 -17
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +38 -30
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +26 -21
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +2 -2
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +21 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +6 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +19 -14
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +21 -17
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +19 -18
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +21 -15
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +25 -18
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +36 -30
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +38 -18
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +7 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +35 -15
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +37 -23
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +21 -23
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +31 -20
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +21 -9
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +21 -25
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +24 -18
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +38 -31
- package/vendors/plugin/compatibility/action-availability.json +18 -3
- package/vendors/plugin/plugin.json +7 -7
- package/vendors/plugin/project/README.md +37 -0
- package/vendors/plugin/project/schemas/interaction.schema.json +100 -0
- package/vendors/plugin/project/templates/interaction.json +16 -0
- package/vendors/plugin/skills/wtfp-deliver-research/SKILL.md +1 -1
- package/vendors/plugin/skills/wtfp-deliver-research/references/actions.md +2 -2
- package/vendors/plugin/skills/wtfp-plan-section/SKILL.md +1 -1
- package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +4 -3
- package/vendors/plugin/skills/wtfp-research-literature/SKILL.md +1 -1
- package/vendors/plugin/skills/wtfp-review-manuscript/SKILL.md +1 -1
- package/vendors/plugin/skills/wtfp-write-section/SKILL.md +1 -1
- package/vendors/plugin/skills/wtfp-write-section/references/actions.md +1 -1
- package/vendors/plugin/workflows/checkpoint.md +2 -2
- package/vendors/plugin/workflows/execute-outline.md +2 -2
- package/vendors/plugin/workflows/export-latex.md +4 -4
- package/vendors/plugin/workflows/plan-revision.md +4 -3
- package/vendors/plugin/workflows/plan-section.md +2 -2
- package/vendors/plugin/workflows/polish-prose.md +3 -3
- package/vendors/plugin/workflows/research-gap.md +2 -2
- package/vendors/plugin/workflows/verify-work.md +3 -3
- package/vendors/plugin/workflows/write-section.md +2 -2
- package/vendors/antigravity/commands/wtfp-plan-section.md +0 -78
- package/vendors/antigravity/commands/wtfp-write-section.md +0 -77
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Index existing drafts, data, figures, and references into portable project state."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- extension_wtfp__record
|
|
13
|
+
- extension_wtfp__read_record
|
|
14
|
+
- extension_wtfp__readiness
|
|
15
|
+
- extension_wtfp__measure_section
|
|
16
|
+
- extension_wtfp__gate
|
|
4
17
|
---
|
|
5
18
|
|
|
6
19
|
# Map an existing project
|
|
7
20
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
21
|
@${pluginRoot}/skills/wtfp-start-project/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-start-project/references/actions.md
|
|
11
22
|
|
|
12
23
|
## Record contract
|
|
13
24
|
|
|
14
25
|
Read: `project://manifest`, `project://state`, `project://materials/{artifact}`, `project://paper/{artifact}`, `project://sources/{source}`, `project://evidence/{evidence}`.
|
|
15
26
|
Produce: `project://sources/{source}` (create), `project://evidence/{evidence}` (create), `project://state` (update), `project://sources/{source}` (update), `project://evidence/{evidence}` (update), `project://manifest` (update).
|
|
16
27
|
|
|
17
|
-
|
|
28
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
29
|
|
|
19
|
-
|
|
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.
|
|
20
31
|
|
|
21
32
|
## Procedure
|
|
22
33
|
|
|
@@ -32,18 +43,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
32
43
|
|
|
33
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.
|
|
34
45
|
|
|
35
|
-
|
|
46
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
47
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/map-project.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
48
|
+
|
|
49
|
+
## Bound action contract
|
|
36
50
|
|
|
37
51
|
@${pluginRoot}/actions/map-project.json
|
|
38
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
39
|
-
@${pluginRoot}/project/schemas/evidence.schema.json
|
|
40
|
-
@${pluginRoot}/project/templates/evidence.json
|
|
41
|
-
@${pluginRoot}/project/schemas/manifest.schema.json
|
|
42
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
43
|
-
@${pluginRoot}/project/schemas/source.schema.json
|
|
44
|
-
@${pluginRoot}/project/templates/source.json
|
|
45
|
-
@${pluginRoot}/project/schemas/state.schema.json
|
|
46
|
-
@${pluginRoot}/project/templates/state.json
|
|
47
52
|
|
|
48
53
|
## Invocation input
|
|
49
54
|
|
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Interview the researcher and initialize a portable WTF-P project."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- ask_user
|
|
13
|
+
- extension_wtfp__record
|
|
14
|
+
- extension_wtfp__read_record
|
|
15
|
+
- extension_wtfp__readiness
|
|
16
|
+
- extension_wtfp__measure_section
|
|
17
|
+
- extension_wtfp__gate
|
|
4
18
|
---
|
|
5
19
|
|
|
6
20
|
# Start a new paper
|
|
7
21
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
22
|
@${pluginRoot}/skills/wtfp-start-project/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-start-project/references/actions.md
|
|
11
23
|
|
|
12
24
|
## Record contract
|
|
13
25
|
|
|
14
26
|
Read: `project://manifest`, `project://materials/{artifact}`, `project://paper/{artifact}`.
|
|
15
27
|
Produce: `project://manifest` (create), `project://config` (create), `project://state` (create), `project://decisions` (create), `project://structure/outline` (create).
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
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.
|
|
20
32
|
|
|
21
33
|
## Procedure
|
|
22
34
|
|
|
@@ -35,20 +47,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
35
47
|
|
|
36
48
|
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.
|
|
37
49
|
|
|
38
|
-
|
|
50
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
51
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/new-paper.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
52
|
+
|
|
53
|
+
## Bound action contract
|
|
39
54
|
|
|
40
55
|
@${pluginRoot}/actions/new-paper.json
|
|
41
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
42
|
-
@${pluginRoot}/project/schemas/config.schema.json
|
|
43
|
-
@${pluginRoot}/project/templates/config.json
|
|
44
|
-
@${pluginRoot}/project/schemas/decisions.schema.json
|
|
45
|
-
@${pluginRoot}/project/templates/decisions.json
|
|
46
|
-
@${pluginRoot}/project/schemas/manifest.schema.json
|
|
47
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
48
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
49
|
-
@${pluginRoot}/project/templates/outline.json
|
|
50
|
-
@${pluginRoot}/project/schemas/state.schema.json
|
|
51
|
-
@${pluginRoot}/project/templates/state.json
|
|
52
56
|
|
|
53
57
|
## Invocation input
|
|
54
58
|
|
|
@@ -60,6 +64,6 @@ $ARGUMENTS
|
|
|
60
64
|
|
|
61
65
|
## Clio user-gate binding
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
For a pending checkpoint in the declared gate's exact scope, call `extension_wtfp__gate` with its ID; the desk shows it to the author and seals the answer. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. 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.
|
|
64
68
|
|
|
65
69
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/new-paper; do not edit. -->
|
|
@@ -1,22 +1,33 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Record an exact context handoff so another session can resume without reconstructing intent."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- extension_wtfp__record
|
|
13
|
+
- extension_wtfp__read_record
|
|
14
|
+
- extension_wtfp__readiness
|
|
15
|
+
- extension_wtfp__measure_section
|
|
16
|
+
- extension_wtfp__gate
|
|
4
17
|
---
|
|
5
18
|
|
|
6
19
|
# Pause writing
|
|
7
20
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
21
|
@${pluginRoot}/skills/wtfp-manage-project/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-manage-project/references/actions.md
|
|
11
22
|
|
|
12
23
|
## Record contract
|
|
13
24
|
|
|
14
25
|
Read: `project://state`, `project://decisions`, `project://structure/outline`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://sections/{section}/reviews/{review}`, `project://sections/{section}/summary`, `project://sections/{section}/handoff`, `project://validations/{validation}`, `project://paper/{artifact}`.
|
|
15
26
|
Produce: `project://sections/{section}/handoff` (create), `project://sections/{section}/handoff` (update), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
16
27
|
|
|
17
|
-
|
|
28
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
29
|
|
|
19
|
-
|
|
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.
|
|
20
31
|
|
|
21
32
|
## Procedure
|
|
22
33
|
|
|
@@ -30,22 +41,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
30
41
|
|
|
31
42
|
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.
|
|
32
43
|
|
|
33
|
-
|
|
44
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
45
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/pause-writing.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
46
|
+
|
|
47
|
+
## Bound action contract
|
|
34
48
|
|
|
35
49
|
@${pluginRoot}/actions/pause-writing.json
|
|
36
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
37
|
-
@${pluginRoot}/project/schemas/checkpoint.schema.json
|
|
38
|
-
@${pluginRoot}/project/templates/checkpoint.json
|
|
39
|
-
@${pluginRoot}/project/schemas/decisions.schema.json
|
|
40
|
-
@${pluginRoot}/project/templates/decisions.json
|
|
41
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
42
|
-
@${pluginRoot}/project/templates/outline.json
|
|
43
|
-
@${pluginRoot}/project/schemas/section.schema.json
|
|
44
|
-
@${pluginRoot}/project/templates/section.json
|
|
45
|
-
@${pluginRoot}/project/schemas/state.schema.json
|
|
46
|
-
@${pluginRoot}/project/templates/state.json
|
|
47
|
-
@${pluginRoot}/project/schemas/validation.schema.json
|
|
48
|
-
@${pluginRoot}/project/templates/validation.json
|
|
49
50
|
|
|
50
51
|
## Invocation input
|
|
51
52
|
|
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Convert milestone audit failures into targeted, verifiable fix plans."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- ask_user
|
|
13
|
+
- extension_wtfp__record
|
|
14
|
+
- extension_wtfp__read_record
|
|
15
|
+
- extension_wtfp__readiness
|
|
16
|
+
- extension_wtfp__measure_section
|
|
17
|
+
- extension_wtfp__gate
|
|
4
18
|
---
|
|
5
19
|
|
|
6
20
|
# Plan milestone gap fixes
|
|
7
21
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
22
|
@${pluginRoot}/skills/wtfp-review-manuscript/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-review-manuscript/references/actions.md
|
|
11
23
|
|
|
12
24
|
## Record contract
|
|
13
25
|
|
|
14
26
|
Read: `project://validations/{validation}`, `project://structure/outline`, `project://sections/{section}`.
|
|
15
27
|
Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create).
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
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.
|
|
20
32
|
|
|
21
33
|
## Procedure
|
|
22
34
|
|
|
@@ -30,18 +42,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
30
42
|
|
|
31
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.
|
|
32
44
|
|
|
33
|
-
|
|
45
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
46
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/plan-milestone-gaps.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
47
|
+
|
|
48
|
+
## Bound action contract
|
|
34
49
|
|
|
35
50
|
@${pluginRoot}/actions/plan-milestone-gaps.json
|
|
36
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
37
|
-
@${pluginRoot}/project/schemas/checkpoint.schema.json
|
|
38
|
-
@${pluginRoot}/project/templates/checkpoint.json
|
|
39
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
40
|
-
@${pluginRoot}/project/templates/outline.json
|
|
41
|
-
@${pluginRoot}/project/schemas/section.schema.json
|
|
42
|
-
@${pluginRoot}/project/templates/section.json
|
|
43
|
-
@${pluginRoot}/project/schemas/validation.schema.json
|
|
44
|
-
@${pluginRoot}/project/templates/validation.json
|
|
45
51
|
|
|
46
52
|
## Invocation input
|
|
47
53
|
|
|
@@ -53,6 +59,6 @@ $ARGUMENTS
|
|
|
53
59
|
|
|
54
60
|
## Clio user-gate binding
|
|
55
61
|
|
|
56
|
-
|
|
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. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. 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.
|
|
57
63
|
|
|
58
64
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/plan-milestone-gaps; do not edit. -->
|
|
@@ -1,28 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Turn prioritized review findings into a bounded, testable revision plan."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- ask_user
|
|
13
|
+
- extension_wtfp__record
|
|
14
|
+
- extension_wtfp__read_record
|
|
15
|
+
- extension_wtfp__readiness
|
|
16
|
+
- extension_wtfp__measure_section
|
|
17
|
+
- extension_wtfp__gate
|
|
4
18
|
---
|
|
5
19
|
|
|
6
20
|
# Plan a revision
|
|
7
21
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
22
|
@${pluginRoot}/skills/wtfp-plan-section/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-plan-section/references/actions.md
|
|
11
23
|
|
|
12
24
|
## Record contract
|
|
13
25
|
|
|
14
|
-
Read: `project://manifest`, `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}`.
|
|
15
|
-
Produce: `project://sections/{section}/plans/{plan}` (create).
|
|
26
|
+
Read: `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}`.
|
|
27
|
+
Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update).
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
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.
|
|
20
32
|
|
|
21
33
|
## Procedure
|
|
22
34
|
|
|
23
35
|
1. Resolve manifest requirements, the selected section, linked review or failed validation findings, prior summary, current draft, original plan, and decisions.
|
|
24
36
|
2. Separate required fixes, optional improvements, protected text, dependencies, and verification criteria.
|
|
25
|
-
3. Write a new immutable plan artifact after
|
|
37
|
+
3. Write a new immutable plan artifact after the author approves the revision priorities; never overwrite the plan that produced the reviewed draft.
|
|
38
|
+
4. When confirm_plan is on, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan, and ask the author. Append the plan to the section's `artifacts.plans` only after an `approve` answer for its current bytes; any other answer leaves the earlier plan current and the revision unlinked. With confirm_plan off, append it directly.
|
|
26
39
|
|
|
27
40
|
## Safety and completion
|
|
28
41
|
|
|
@@ -30,18 +43,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
30
43
|
|
|
31
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.
|
|
32
45
|
|
|
33
|
-
|
|
46
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
47
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/plan-revision.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
48
|
+
|
|
49
|
+
## Bound action contract
|
|
34
50
|
|
|
35
51
|
@${pluginRoot}/actions/plan-revision.json
|
|
36
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
37
|
-
@${pluginRoot}/project/schemas/decisions.schema.json
|
|
38
|
-
@${pluginRoot}/project/templates/decisions.json
|
|
39
|
-
@${pluginRoot}/project/schemas/manifest.schema.json
|
|
40
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
41
|
-
@${pluginRoot}/project/schemas/section.schema.json
|
|
42
|
-
@${pluginRoot}/project/templates/section.json
|
|
43
|
-
@${pluginRoot}/project/schemas/validation.schema.json
|
|
44
|
-
@${pluginRoot}/project/templates/validation.json
|
|
45
52
|
|
|
46
53
|
## Invocation input
|
|
47
54
|
|
|
@@ -53,6 +60,6 @@ $ARGUMENTS
|
|
|
53
60
|
|
|
54
61
|
## Clio user-gate binding
|
|
55
62
|
|
|
56
|
-
|
|
63
|
+
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. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. 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.
|
|
57
64
|
|
|
58
65
|
<!-- Generated by WTF-P adapter compiler v5 from protocol/actions/plan-revision; do not edit. -->
|
|
@@ -1,31 +1,55 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Create and independently check a detailed writing plan for one section."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- ask_user
|
|
13
|
+
- dispatch
|
|
14
|
+
- monitor
|
|
15
|
+
- extension_wtfp__record
|
|
16
|
+
- extension_wtfp__read_record
|
|
17
|
+
- extension_wtfp__readiness
|
|
18
|
+
- extension_wtfp__measure_section
|
|
19
|
+
- extension_wtfp__gate
|
|
20
|
+
delegated-tools:
|
|
21
|
+
- context
|
|
22
|
+
- edit
|
|
23
|
+
- find
|
|
24
|
+
- grep
|
|
25
|
+
- ledger
|
|
26
|
+
- limitation
|
|
27
|
+
- ls
|
|
28
|
+
- read
|
|
29
|
+
- write
|
|
4
30
|
---
|
|
5
31
|
|
|
6
32
|
# Plan a section
|
|
7
33
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
34
|
@${pluginRoot}/skills/wtfp-plan-section/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-plan-section/references/actions.md
|
|
11
35
|
|
|
12
36
|
## Record contract
|
|
13
37
|
|
|
14
38
|
Read: `project://manifest`, `project://config`, `project://state`, `project://decisions`, `project://structure/outline`, `project://validations/*`, `project://sections/{section}`, `project://sections/{section}/context`, `project://sections/{section}/research`, `project://sections/{section}/summary`, `project://sources/{source}`, `project://evidence/{evidence}`.
|
|
15
39
|
Produce: `project://sections/{section}/plans/{plan}` (create), `project://validations/{validation}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
16
40
|
|
|
17
|
-
|
|
41
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
42
|
|
|
19
|
-
|
|
43
|
+
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.
|
|
20
44
|
|
|
21
45
|
## Procedure
|
|
22
46
|
|
|
23
47
|
1. Resolve one section record, load its linked context, research, evidence, decisions, and outline constraints, and enumerate the bounded `project://validations/*` collection before any specialist dispatch.
|
|
24
48
|
2. Filter those records to candidates whose `subject_uri` is exactly `project://structure/outline` and whose `action_id` is exactly `create-outline`. A candidate is current only when `executed_at >= outline.updated_at`. Because the v1 validation schema carries no outline revision or content hash, disclose that this timestamp test is a conservative freshness proxy.
|
|
25
49
|
3. Require exactly one current candidate and require its `status` to be `passed`. Separately verify that the current outline and target section are consistent with all current locked and deferred author choices: honor locked choices and do not treat deferred choices as resolved. A missing, stale, ambiguous, or non-passing candidate, or a decision contradiction, blocks all specialist dispatch and every plan, section, state, or validation write. Only a recovery checkpoint may be proposed on this blocked path, and it may be written only after a complete record preview and explicit author approval.
|
|
26
|
-
4. For a literature-heavy section, first require a section-specific research artifact plus resolvable source/evidence records that cover the planned claims. If they are absent or insufficient,
|
|
50
|
+
4. For a literature-heavy section, first require a section-specific research artifact plus resolvable source/evidence records that cover the planned claims. If they are absent or insufficient, stop planning: create a research checkpoint naming the uncovered claims and recommend `research-gap` as the next action. Sources and evidence are `research-gap` outputs, never written by this action. Never invent citations or treat search candidates as verified sources.
|
|
27
51
|
5. Only after those prerequisites pass, delegate a bounded plan to `section-planner`, then require a fresh `plan-checker` pass over claim coverage, dependencies, file scope, citations, and decision fidelity. Dispatch the exact WTF-P specialist roles; generic coder and verifier roles do not satisfy this workflow.
|
|
28
|
-
6. At confirm_plan, preview the plan and validation; on approval
|
|
52
|
+
6. At confirm_plan, create a blocking `decision` checkpoint scoped to the plan's URI whose options include `approve`, `revise`, and `reject`, preview the plan and validation, and ask the author. Only an `approve` answer for the plan as it now is approves it; `revise` or `reject` leaves it unlinked, and any later edit voids the approval. Only on approval, append the plan to `artifacts.plans`, update section status to planned, and reconcile state. With confirm_plan off, link the checked plan directly. Create a checkpoint for unresolved judgment instead of bypassing the required checker.
|
|
29
53
|
|
|
30
54
|
## Safety and completion
|
|
31
55
|
|
|
@@ -33,30 +57,12 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
33
57
|
|
|
34
58
|
Report the logical resources read, created, updated, archived, or deleted; the gates crossed; validation results; unresolved checkpoints; and the safest next action. Never claim a mutation that was not verified.
|
|
35
59
|
|
|
36
|
-
|
|
60
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
61
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/plan-section.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
62
|
+
|
|
63
|
+
## Bound action contract
|
|
37
64
|
|
|
38
65
|
@${pluginRoot}/actions/plan-section.json
|
|
39
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
40
|
-
@${pluginRoot}/project/schemas/checkpoint.schema.json
|
|
41
|
-
@${pluginRoot}/project/templates/checkpoint.json
|
|
42
|
-
@${pluginRoot}/project/schemas/config.schema.json
|
|
43
|
-
@${pluginRoot}/project/templates/config.json
|
|
44
|
-
@${pluginRoot}/project/schemas/decisions.schema.json
|
|
45
|
-
@${pluginRoot}/project/templates/decisions.json
|
|
46
|
-
@${pluginRoot}/project/schemas/evidence.schema.json
|
|
47
|
-
@${pluginRoot}/project/templates/evidence.json
|
|
48
|
-
@${pluginRoot}/project/schemas/manifest.schema.json
|
|
49
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
50
|
-
@${pluginRoot}/project/schemas/outline.schema.json
|
|
51
|
-
@${pluginRoot}/project/templates/outline.json
|
|
52
|
-
@${pluginRoot}/project/schemas/section.schema.json
|
|
53
|
-
@${pluginRoot}/project/templates/section.json
|
|
54
|
-
@${pluginRoot}/project/schemas/source.schema.json
|
|
55
|
-
@${pluginRoot}/project/templates/source.json
|
|
56
|
-
@${pluginRoot}/project/schemas/state.schema.json
|
|
57
|
-
@${pluginRoot}/project/templates/state.json
|
|
58
|
-
@${pluginRoot}/project/schemas/validation.schema.json
|
|
59
|
-
@${pluginRoot}/project/templates/validation.json
|
|
60
66
|
|
|
61
67
|
## Invocation input
|
|
62
68
|
|
|
@@ -68,11 +74,11 @@ $ARGUMENTS
|
|
|
68
74
|
|
|
69
75
|
## Clio user-gate binding
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
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. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. Only the structured author answer satisfies the gate; cancelled, kept or expired checkpoints authorize nothing. Never write `resolution.resolved_by: author`, never resolve, unblock or expire a blocking checkpoint, and never infer approval from invocation text, prose or silence. A plan is approved only by an `approve` answer on a checkpoint scoped to that plan's URI, for its current bytes. Read back a persisted resolution with `extension_wtfp__read_record`, which reports whether the desk attests it, before applying its gated mutation. A record change that turns a gate off waits for the author's confirmation, which the record tool asks for itself.
|
|
72
78
|
|
|
73
79
|
## Clio role-result binding
|
|
74
80
|
|
|
75
|
-
Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-planner`, `wtfp-plan-checker`. Do not substitute generic coder or verifier agents. If a named agent is unavailable, report that blocker and stop instead of silently changing roles.
|
|
81
|
+
Dispatch the declared specialist roles using these exact Clio agent IDs: `wtfp-section-planner`, `wtfp-plan-checker`. Do not substitute generic coder or verifier agents. If a named agent is unavailable, report that blocker and stop instead of silently changing roles. `wtfp-plan-checker` is read-only: begin each task for it with "Review", because Clio refuses a read-only agent a task it reads as a change.
|
|
76
82
|
|
|
77
83
|
Read the single wtfp.role-result entry in native validations/checks and parse its evidence string as portable role-result JSON. Validate its schema, role and action against the dispatched task. Missing, duplicate or malformed outcomes fail closed. On needs_input ask the author through ask_user and redispatch with the response; on blocked or failed stop and report the issue. Only completed permits downstream work, and it never substitutes for an author gate or artifact readback.
|
|
78
84
|
|
|
@@ -1,28 +1,52 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: "Improve clarity, flow, precision, and academic voice without changing supported claims."
|
|
3
3
|
argument-hint: "[arguments]"
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- read
|
|
6
|
+
- grep
|
|
7
|
+
- find
|
|
8
|
+
- ls
|
|
9
|
+
- context
|
|
10
|
+
- write
|
|
11
|
+
- edit
|
|
12
|
+
- ask_user
|
|
13
|
+
- dispatch
|
|
14
|
+
- monitor
|
|
15
|
+
- extension_wtfp__record
|
|
16
|
+
- extension_wtfp__read_record
|
|
17
|
+
- extension_wtfp__readiness
|
|
18
|
+
- extension_wtfp__measure_section
|
|
19
|
+
- extension_wtfp__gate
|
|
20
|
+
delegated-tools:
|
|
21
|
+
- context
|
|
22
|
+
- edit
|
|
23
|
+
- find
|
|
24
|
+
- grep
|
|
25
|
+
- ledger
|
|
26
|
+
- limitation
|
|
27
|
+
- ls
|
|
28
|
+
- read
|
|
29
|
+
- write
|
|
4
30
|
---
|
|
5
31
|
|
|
6
32
|
# Polish prose
|
|
7
33
|
|
|
8
|
-
@${pluginRoot}/project/README.md
|
|
9
34
|
@${pluginRoot}/skills/wtfp-review-manuscript/SKILL.md
|
|
10
|
-
@${pluginRoot}/skills/wtfp-review-manuscript/references/actions.md
|
|
11
35
|
|
|
12
36
|
## Record contract
|
|
13
37
|
|
|
14
|
-
Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`.
|
|
15
|
-
Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create).
|
|
38
|
+
Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`, `project://sections/{section}`, `project://state`.
|
|
39
|
+
Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
16
40
|
|
|
17
|
-
|
|
41
|
+
Use `extension_wtfp__record` for each declared JSON record write. Read an existing record first with `extension_wtfp__read_record` and pass back the version it returns: `expect_revision` for state, outline and decisions, `expect_sha256` for every other record; a create passes neither. When one transition changes several records, such as a checkpoint and the state that lists it, pass them together as `writes` so they commit together. The tool validates, bumps revisions and timestamps, commits under the project lock and reads back. It refuses author resolutions and any record this action does not declare; preserve stable IDs and author decisions.
|
|
18
42
|
|
|
19
|
-
|
|
43
|
+
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.
|
|
20
44
|
|
|
21
45
|
## Procedure
|
|
22
46
|
|
|
23
47
|
1. Require an explicit manuscript selection and preserve claims, evidence meaning, citations, author voice, and protected text.
|
|
24
48
|
2. Propose substantive changes separately from mechanical edits and gate the substantive diff.
|
|
25
|
-
3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects.
|
|
49
|
+
3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects. When the edited text is a section's linked manuscript, measure it again and reconcile that section's and the state's word counts.
|
|
26
50
|
|
|
27
51
|
## Safety and completion
|
|
28
52
|
|
|
@@ -30,18 +54,14 @@ Do not initialize a repository or run branch, stage, commit, merge, push, or pub
|
|
|
30
54
|
|
|
31
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.
|
|
32
56
|
|
|
33
|
-
|
|
57
|
+
Discover the named tools with `gateway(op="describe", capability="extension_wtfp__record")` (and the corresponding `read_record`, `readiness`, `measure_section` or `gate` name), then use `gateway(op="call", capability="<exact name>", args={...})`. A present tool's error or refusal stops the action; never bypass it with a manual write or shell script.
|
|
58
|
+
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
|
+
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
|
+
If desk tools are absent, follow `${pluginRoot}/workflows/polish-prose.md` and `${pluginRoot}/project/README.md` with native tools and `ask_user` gates.
|
|
61
|
+
|
|
62
|
+
## Bound action contract
|
|
34
63
|
|
|
35
64
|
@${pluginRoot}/actions/polish-prose.json
|
|
36
|
-
@${pluginRoot}/project/schemas/common.schema.json
|
|
37
|
-
@${pluginRoot}/project/schemas/config.schema.json
|
|
38
|
-
@${pluginRoot}/project/templates/config.json
|
|
39
|
-
@${pluginRoot}/project/schemas/decisions.schema.json
|
|
40
|
-
@${pluginRoot}/project/templates/decisions.json
|
|
41
|
-
@${pluginRoot}/project/schemas/manifest.schema.json
|
|
42
|
-
@${pluginRoot}/project/templates/manifest.json
|
|
43
|
-
@${pluginRoot}/project/schemas/validation.schema.json
|
|
44
|
-
@${pluginRoot}/project/templates/validation.json
|
|
45
65
|
|
|
46
66
|
## Invocation input
|
|
47
67
|
|
|
@@ -53,7 +73,7 @@ $ARGUMENTS
|
|
|
53
73
|
|
|
54
74
|
## Clio user-gate binding
|
|
55
75
|
|
|
56
|
-
|
|
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. Create a missing pending checkpoint through `extension_wtfp__record` only when this action declares checkpoint creation; otherwise use `ask_user` for the unpersisted author decision and do not invent an undeclared output. 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.
|
|
57
77
|
|
|
58
78
|
## Clio role-result binding
|
|
59
79
|
|