wtf-p 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -18
- package/bin/lib/adapter-compiler.js +269 -55
- package/package.json +1 -1
- package/protocol/actions/advance.json +232 -0
- package/protocol/actions/plan-revision.json +8 -3
- package/protocol/actions/verify-work.json +6 -2
- package/protocol/aliases.lock.json +1 -0
- package/protocol/catalog.json +4 -2
- package/protocol/project/README.md +2 -0
- package/protocol/roles/research-synthesizer.md +1 -1
- package/protocol/skills/wtfp-manage-project/SKILL.md +2 -1
- package/protocol/skills/wtfp-manage-project/references/actions.md +13 -1
- package/protocol/skills/wtfp-plan-section/references/actions.md +1 -1
- package/protocol/skills/wtfp-research-literature/references/actions.md +1 -1
- package/protocol/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/protocol/workflows/advance.md +38 -0
- package/protocol/workflows/discuss-section.md +1 -1
- package/protocol/workflows/plan-revision.md +3 -3
- package/protocol/workflows/plan-section.md +1 -1
- package/protocol/workflows/research-gap.md +3 -3
- package/protocol/workflows/verify-work.md +4 -2
- package/protocol/workflows/write-section.md +2 -2
- package/vendors/antigravity/.wtfp-generated.json +54 -42
- package/vendors/antigravity/actions/advance.json +232 -0
- package/vendors/antigravity/actions/plan-revision.json +8 -3
- package/vendors/antigravity/actions/verify-work.json +6 -2
- package/vendors/antigravity/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/antigravity/aliases.lock.json +1 -0
- package/vendors/antigravity/catalog.json +4 -2
- package/vendors/antigravity/compatibility/action-availability.json +13 -1
- package/vendors/antigravity/plugin.json +2 -2
- package/vendors/antigravity/project/README.md +2 -0
- package/vendors/antigravity/roles/research-synthesizer.md +1 -1
- package/vendors/antigravity/rules/wtfp-project-state.md +2 -0
- package/vendors/antigravity/skills/wtfp-add-todo/SKILL.md +0 -2
- package/vendors/antigravity/skills/wtfp-advance/SKILL.md +18 -0
- package/vendors/antigravity/skills/wtfp-checkpoint/SKILL.md +0 -14
- package/vendors/antigravity/skills/wtfp-create-outline/SKILL.md +0 -8
- package/vendors/antigravity/skills/wtfp-create-poster/SKILL.md +1 -6
- package/vendors/antigravity/skills/wtfp-create-slides/SKILL.md +1 -6
- package/vendors/antigravity/skills/wtfp-discuss-section/SKILL.md +1 -5
- package/vendors/antigravity/skills/wtfp-execute-outline/SKILL.md +0 -10
- package/vendors/antigravity/skills/wtfp-help/SKILL.md +1 -1
- package/vendors/antigravity/skills/wtfp-list-assumptions/SKILL.md +1 -10
- package/vendors/antigravity/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/antigravity/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/antigravity/skills/wtfp-pause-writing/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-plan-milestone-gaps/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-plan-revision/SKILL.md +5 -11
- package/vendors/antigravity/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/antigravity/skills/wtfp-polish-prose/SKILL.md +0 -6
- package/vendors/antigravity/skills/wtfp-progress/SKILL.md +1 -22
- package/vendors/antigravity/skills/wtfp-quick/SKILL.md +0 -4
- package/vendors/antigravity/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/antigravity/skills/wtfp-resume-writing/SKILL.md +0 -12
- package/vendors/antigravity/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/antigravity/skills/wtfp-review-section/SKILL.md +0 -8
- package/vendors/antigravity/skills/wtfp-submit-milestone/SKILL.md +0 -12
- package/vendors/antigravity/skills/wtfp-verify-work/SKILL.md +6 -4
- package/vendors/antigravity/tools/README.md +1 -1
- package/vendors/antigravity/workflows/advance.md +38 -0
- package/vendors/antigravity/workflows/discuss-section.md +1 -1
- package/vendors/antigravity/workflows/plan-revision.md +3 -3
- package/vendors/antigravity/workflows/plan-section.md +1 -1
- package/vendors/antigravity/workflows/research-gap.md +3 -3
- package/vendors/antigravity/workflows/verify-work.md +4 -2
- package/vendors/antigravity/workflows/write-section.md +2 -2
- package/vendors/claude/.claude-plugin/marketplace.json +2 -2
- package/vendors/claude/.claude-plugin/plugin.json +1 -1
- package/vendors/claude/.wtfp-generated.json +108 -92
- package/vendors/claude/actions/advance.json +232 -0
- package/vendors/claude/actions/plan-revision.json +8 -3
- package/vendors/claude/actions/verify-work.json +6 -2
- package/vendors/claude/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
- package/vendors/claude/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/add-todo.md +0 -2
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/advance.md +15 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +2 -16
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-refs.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/check-todos.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/checkpoint.md +2 -14
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-outline.md +4 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-poster.md +3 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/create-slides.md +3 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/discuss-section.md +3 -5
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/execute-outline.md +4 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/export-latex.md +2 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/insert-section.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +1 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/new-paper.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/pause-writing.md +0 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +2 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-revision.md +7 -11
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/plan-section.md +5 -15
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/polish-prose.md +4 -8
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/progress.md +3 -22
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/quick.md +4 -6
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/research-gap.md +12 -14
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/resume-writing.md +2 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/review-section.md +4 -10
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/settings.md +2 -0
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +2 -12
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/verify-work.md +8 -4
- package/vendors/claude/ai.iowarp.clio/prompts/wtfp/write-section.md +6 -14
- package/vendors/claude/aliases.lock.json +1 -0
- package/vendors/claude/catalog.json +4 -2
- package/vendors/claude/commands/add-todo.md +0 -2
- package/vendors/claude/commands/advance.md +16 -0
- package/vendors/claude/commands/analyze-bib.md +0 -6
- package/vendors/claude/commands/audit-milestone.md +0 -16
- package/vendors/claude/commands/check-refs.md +0 -6
- package/vendors/claude/commands/checkpoint.md +0 -14
- package/vendors/claude/commands/create-outline.md +0 -8
- package/vendors/claude/commands/create-poster.md +1 -6
- package/vendors/claude/commands/create-slides.md +1 -6
- package/vendors/claude/commands/discuss-section.md +1 -5
- package/vendors/claude/commands/execute-outline.md +0 -10
- package/vendors/claude/commands/export-latex.md +0 -8
- package/vendors/claude/commands/help.md +1 -1
- package/vendors/claude/commands/list-assumptions.md +1 -10
- package/vendors/claude/commands/pause-writing.md +0 -6
- package/vendors/claude/commands/plan-milestone-gaps.md +0 -6
- package/vendors/claude/commands/plan-revision.md +5 -11
- package/vendors/claude/commands/plan-section.md +1 -13
- package/vendors/claude/commands/polish-prose.md +0 -6
- package/vendors/claude/commands/progress.md +1 -22
- package/vendors/claude/commands/quick.md +0 -4
- package/vendors/claude/commands/research-gap.md +3 -11
- package/vendors/claude/commands/resume-writing.md +0 -12
- package/vendors/claude/commands/review-section.md +0 -8
- package/vendors/claude/commands/submit-milestone.md +0 -12
- package/vendors/claude/commands/verify-work.md +6 -4
- package/vendors/claude/commands/write-section.md +2 -12
- package/vendors/claude/compatibility/action-availability.json +10 -1
- package/vendors/claude/output-styles/wtfp-academic-writing.md +2 -2
- package/vendors/claude/plugin.json +15 -1
- package/vendors/claude/project/README.md +2 -0
- package/vendors/claude/roles/research-synthesizer.md +1 -1
- package/vendors/claude/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/claude/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/claude/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/claude/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/claude/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/claude/tools/README.md +1 -1
- package/vendors/claude/workflows/advance.md +38 -0
- package/vendors/claude/workflows/discuss-section.md +1 -1
- package/vendors/claude/workflows/plan-revision.md +3 -3
- package/vendors/claude/workflows/plan-section.md +1 -1
- package/vendors/claude/workflows/research-gap.md +3 -3
- package/vendors/claude/workflows/verify-work.md +4 -2
- package/vendors/claude/workflows/write-section.md +2 -2
- package/vendors/clio-extension/.wtfp-generated.json +56 -8
- package/vendors/clio-extension/actions/advance.json +232 -0
- package/vendors/clio-extension/actions/plan-revision.json +8 -3
- package/vendors/clio-extension/actions/verify-work.json +6 -2
- package/vendors/clio-extension/clio-coder-extension.yaml +19 -4
- package/vendors/clio-extension/compatibility/action-availability.json +9 -3
- package/vendors/clio-extension/project/templates/checkpoint.json +25 -0
- package/vendors/clio-extension/project/templates/config.json +31 -0
- package/vendors/clio-extension/project/templates/decisions.json +35 -0
- package/vendors/clio-extension/project/templates/evidence.json +18 -0
- package/vendors/clio-extension/project/templates/interaction.json +16 -0
- package/vendors/clio-extension/project/templates/manifest.json +30 -0
- package/vendors/clio-extension/project/templates/outline.json +38 -0
- package/vendors/clio-extension/project/templates/section.json +32 -0
- package/vendors/clio-extension/project/templates/source.json +20 -0
- package/vendors/clio-extension/project/templates/state.json +22 -0
- package/vendors/clio-extension/project/templates/validation.json +32 -0
- package/vendors/clio-extension/runtime/extension.test.ts +656 -6
- package/vendors/clio-extension/runtime/extension.ts +885 -41
- package/vendors/clio-extension/runtime/write-guard.json +66 -0
- package/vendors/codex/plugins/wtfp/.codex-plugin/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/.wtfp-generated.json +31 -23
- package/vendors/codex/plugins/wtfp/actions/advance.json +232 -0
- package/vendors/codex/plugins/wtfp/actions/plan-revision.json +8 -3
- package/vendors/codex/plugins/wtfp/actions/verify-work.json +6 -2
- package/vendors/codex/plugins/wtfp/agents/wtfp-research-synthesizer.toml +1 -1
- package/vendors/codex/plugins/wtfp/aliases.lock.json +1 -0
- package/vendors/codex/plugins/wtfp/catalog.json +4 -2
- package/vendors/codex/plugins/wtfp/compatibility/action-availability.json +13 -1
- package/vendors/codex/plugins/wtfp/plugin.json +1 -1
- package/vendors/codex/plugins/wtfp/project/README.md +2 -0
- package/vendors/codex/plugins/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/codex/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/codex/plugins/wtfp/tools/README.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/advance.md +38 -0
- package/vendors/codex/plugins/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/plan-section.md +1 -1
- package/vendors/codex/plugins/wtfp/workflows/research-gap.md +3 -3
- package/vendors/codex/plugins/wtfp/workflows/verify-work.md +4 -2
- package/vendors/codex/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/.wtfp-generated.json +43 -31
- package/vendors/copilot/marketplace.json +2 -2
- package/vendors/copilot/plugins/wtfp/.claude-plugin/plugin.json +1 -1
- package/vendors/copilot/plugins/wtfp/.wtfp-generated.json +55 -43
- package/vendors/copilot/plugins/wtfp/actions/advance.json +232 -0
- package/vendors/copilot/plugins/wtfp/actions/plan-revision.json +8 -3
- package/vendors/copilot/plugins/wtfp/actions/verify-work.json +6 -2
- package/vendors/copilot/plugins/wtfp/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/copilot/plugins/wtfp/aliases.lock.json +1 -0
- package/vendors/copilot/plugins/wtfp/catalog.json +4 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-add-todo.md +0 -2
- package/vendors/copilot/plugins/wtfp/commands/wtfp-advance.md +17 -0
- package/vendors/copilot/plugins/wtfp/commands/wtfp-checkpoint.md +0 -14
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-outline.md +0 -8
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-poster.md +1 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-create-slides.md +1 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-discuss-section.md +1 -5
- package/vendors/copilot/plugins/wtfp/commands/wtfp-execute-outline.md +0 -10
- package/vendors/copilot/plugins/wtfp/commands/wtfp-help.md +1 -1
- package/vendors/copilot/plugins/wtfp/commands/wtfp-list-assumptions.md +1 -10
- package/vendors/copilot/plugins/wtfp/commands/wtfp-pause-writing.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-milestone-gaps.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-revision.md +5 -11
- package/vendors/copilot/plugins/wtfp/commands/wtfp-plan-section.md +1 -13
- package/vendors/copilot/plugins/wtfp/commands/wtfp-polish-prose.md +0 -6
- package/vendors/copilot/plugins/wtfp/commands/wtfp-progress.md +1 -22
- package/vendors/copilot/plugins/wtfp/commands/wtfp-quick.md +0 -4
- package/vendors/copilot/plugins/wtfp/commands/wtfp-resume-writing.md +0 -12
- package/vendors/copilot/plugins/wtfp/commands/wtfp-review-section.md +0 -8
- package/vendors/copilot/plugins/wtfp/commands/wtfp-submit-milestone.md +0 -12
- package/vendors/copilot/plugins/wtfp/commands/wtfp-verify-work.md +6 -4
- package/vendors/copilot/plugins/wtfp/commands/wtfp-write-section.md +2 -12
- package/vendors/copilot/plugins/wtfp/compatibility/action-availability.json +13 -1
- package/vendors/copilot/plugins/wtfp/project/README.md +2 -0
- package/vendors/copilot/plugins/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/plugins/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/plugins/wtfp/tools/README.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/advance.md +38 -0
- package/vendors/copilot/plugins/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/plan-section.md +1 -1
- package/vendors/copilot/plugins/wtfp/workflows/research-gap.md +3 -3
- package/vendors/copilot/plugins/wtfp/workflows/verify-work.md +4 -2
- package/vendors/copilot/plugins/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/project/.github/agents/wtfp-research-synthesizer.agent.md +1 -1
- package/vendors/copilot/project/.github/prompts/wtfp-add-todo.prompt.md +0 -2
- package/vendors/copilot/project/.github/prompts/wtfp-advance.prompt.md +18 -0
- package/vendors/copilot/project/.github/prompts/wtfp-help.prompt.md +1 -1
- package/vendors/copilot/project/.github/prompts/wtfp-list-assumptions.prompt.md +1 -10
- package/vendors/copilot/project/.github/prompts/wtfp-pause-writing.prompt.md +0 -6
- package/vendors/copilot/project/.github/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/project/.github/skills/wtfp-manage-project/references/actions.md +25 -1
- package/vendors/copilot/project/.github/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/project/.github/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/project/.github/wtfp/actions/advance.json +232 -0
- package/vendors/copilot/project/.github/wtfp/actions/plan-revision.json +8 -3
- package/vendors/copilot/project/.github/wtfp/actions/verify-work.json +6 -2
- package/vendors/copilot/project/.github/wtfp/aliases.lock.json +1 -0
- package/vendors/copilot/project/.github/wtfp/catalog.json +4 -2
- package/vendors/copilot/project/.github/wtfp/compatibility/action-availability.json +14 -1
- package/vendors/copilot/project/.github/wtfp/project/README.md +2 -0
- package/vendors/copilot/project/.github/wtfp/roles/research-synthesizer.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-manage-project/references/actions.md +13 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/copilot/project/.github/wtfp/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/copilot/project/.github/wtfp/workflows/advance.md +38 -0
- package/vendors/copilot/project/.github/wtfp/workflows/discuss-section.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/plan-revision.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/plan-section.md +1 -1
- package/vendors/copilot/project/.github/wtfp/workflows/research-gap.md +3 -3
- package/vendors/copilot/project/.github/wtfp/workflows/verify-work.md +4 -2
- package/vendors/copilot/project/.github/wtfp/workflows/write-section.md +2 -2
- package/vendors/copilot/project/README.md +1 -1
- package/vendors/gemini/.wtfp-generated.json +60 -48
- package/vendors/gemini/actions/advance.json +232 -0
- package/vendors/gemini/actions/plan-revision.json +8 -3
- package/vendors/gemini/actions/verify-work.json +6 -2
- package/vendors/gemini/agents/wtfp-research-synthesizer.md +1 -1
- package/vendors/gemini/aliases.lock.json +1 -0
- package/vendors/gemini/catalog.json +4 -2
- package/vendors/gemini/commands/wtfp/add-todo.toml +17 -144
- package/vendors/gemini/commands/wtfp/advance.toml +14 -0
- package/vendors/gemini/commands/wtfp/check-todos.toml +17 -2
- package/vendors/gemini/commands/wtfp/checkpoint.toml +17 -735
- package/vendors/gemini/commands/wtfp/create-outline.toml +2 -431
- package/vendors/gemini/commands/wtfp/create-poster.toml +3 -296
- package/vendors/gemini/commands/wtfp/create-slides.toml +3 -296
- package/vendors/gemini/commands/wtfp/discuss-section.toml +4 -259
- package/vendors/gemini/commands/wtfp/execute-outline.toml +2 -480
- package/vendors/gemini/commands/wtfp/help.toml +7 -3
- package/vendors/gemini/commands/wtfp/insert-section.toml +3 -1
- package/vendors/gemini/commands/wtfp/list-assumptions.toml +4 -510
- package/vendors/gemini/commands/wtfp/map-project.toml +2 -0
- package/vendors/gemini/commands/wtfp/new-paper.toml +2 -0
- package/vendors/gemini/commands/wtfp/pause-writing.toml +17 -309
- package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +4 -369
- package/vendors/gemini/commands/wtfp/plan-revision.toml +76 -423
- package/vendors/gemini/commands/wtfp/plan-section.toml +4 -624
- package/vendors/gemini/commands/wtfp/polish-prose.toml +4 -329
- package/vendors/gemini/commands/wtfp/progress.toml +18 -1143
- package/vendors/gemini/commands/wtfp/quick.toml +2 -218
- package/vendors/gemini/commands/wtfp/resume-writing.toml +17 -698
- package/vendors/gemini/commands/wtfp/review-section.toml +4 -410
- package/vendors/gemini/commands/wtfp/settings.toml +17 -2
- package/vendors/gemini/commands/wtfp/submit-milestone.toml +2 -617
- package/vendors/gemini/commands/wtfp/verify-work.toml +123 -53
- package/vendors/gemini/commands/wtfp/write-section.toml +4 -482
- package/vendors/gemini/compatibility/action-availability.json +13 -1
- package/vendors/gemini/gemini-extension.json +1 -1
- package/vendors/gemini/project/README.md +2 -0
- package/vendors/gemini/roles/research-synthesizer.md +1 -1
- package/vendors/gemini/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/gemini/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/gemini/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/gemini/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/gemini/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/gemini/tools/README.md +1 -1
- package/vendors/gemini/workflows/advance.md +38 -0
- package/vendors/gemini/workflows/discuss-section.md +1 -1
- package/vendors/gemini/workflows/plan-revision.md +3 -3
- package/vendors/gemini/workflows/plan-section.md +1 -1
- package/vendors/gemini/workflows/research-gap.md +3 -3
- package/vendors/gemini/workflows/verify-work.md +4 -2
- package/vendors/gemini/workflows/write-section.md +2 -2
- package/vendors/opencode/.wtfp-generated.json +59 -47
- package/vendors/opencode/actions/advance.json +232 -0
- package/vendors/opencode/actions/plan-revision.json +8 -3
- package/vendors/opencode/actions/verify-work.json +6 -2
- package/vendors/opencode/agents/wtfp/research-synthesizer.md +1 -1
- package/vendors/opencode/aliases.lock.json +1 -0
- package/vendors/opencode/catalog.json +4 -2
- package/vendors/opencode/commands/wtfp/add-todo.md +17 -144
- package/vendors/opencode/commands/wtfp/advance.md +16 -0
- package/vendors/opencode/commands/wtfp/check-todos.md +17 -2
- package/vendors/opencode/commands/wtfp/checkpoint.md +17 -735
- package/vendors/opencode/commands/wtfp/create-outline.md +2 -431
- package/vendors/opencode/commands/wtfp/create-poster.md +3 -296
- package/vendors/opencode/commands/wtfp/create-slides.md +3 -296
- package/vendors/opencode/commands/wtfp/discuss-section.md +4 -259
- package/vendors/opencode/commands/wtfp/execute-outline.md +2 -480
- package/vendors/opencode/commands/wtfp/help.md +7 -3
- package/vendors/opencode/commands/wtfp/insert-section.md +3 -1
- package/vendors/opencode/commands/wtfp/list-assumptions.md +4 -510
- package/vendors/opencode/commands/wtfp/map-project.md +2 -0
- package/vendors/opencode/commands/wtfp/new-paper.md +2 -0
- package/vendors/opencode/commands/wtfp/pause-writing.md +17 -309
- package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +4 -369
- package/vendors/opencode/commands/wtfp/plan-revision.md +76 -423
- package/vendors/opencode/commands/wtfp/plan-section.md +4 -624
- package/vendors/opencode/commands/wtfp/polish-prose.md +4 -329
- package/vendors/opencode/commands/wtfp/progress.md +18 -1143
- package/vendors/opencode/commands/wtfp/quick.md +2 -218
- package/vendors/opencode/commands/wtfp/resume-writing.md +17 -698
- package/vendors/opencode/commands/wtfp/review-section.md +4 -410
- package/vendors/opencode/commands/wtfp/settings.md +17 -2
- package/vendors/opencode/commands/wtfp/submit-milestone.md +2 -617
- package/vendors/opencode/commands/wtfp/verify-work.md +123 -53
- package/vendors/opencode/commands/wtfp/write-section.md +4 -482
- package/vendors/opencode/compatibility/action-availability.json +13 -1
- package/vendors/opencode/project/README.md +2 -0
- package/vendors/opencode/roles/research-synthesizer.md +1 -1
- package/vendors/opencode/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/opencode/skills/wtfp-manage-project/references/actions.md +29 -1
- package/vendors/opencode/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/opencode/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/opencode/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/opencode/tools/README.md +1 -1
- package/vendors/opencode/workflows/advance.md +38 -0
- package/vendors/opencode/workflows/discuss-section.md +1 -1
- package/vendors/opencode/workflows/plan-revision.md +3 -3
- package/vendors/opencode/workflows/plan-section.md +1 -1
- package/vendors/opencode/workflows/research-gap.md +3 -3
- package/vendors/opencode/workflows/verify-work.md +4 -2
- package/vendors/opencode/workflows/write-section.md +2 -2
- package/vendors/plugin/.wtfp-generated.json +75 -63
- package/vendors/plugin/actions/advance.json +232 -0
- package/vendors/plugin/actions/plan-revision.json +8 -3
- package/vendors/plugin/actions/verify-work.json +6 -2
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-argument-verifier.md +4 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-expert.md +5 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-citation-formatter.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-coherence-checker.md +6 -7
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-outliner.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-plan-checker.md +4 -5
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-prose-polisher.md +4 -4
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-research-synthesizer.md +6 -6
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-planner.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-reviewer.md +6 -7
- package/vendors/plugin/ai.iowarp.clio/agents/wtfp-section-writer.md +3 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/add-todo.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/advance.md +101 -0
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/analyze-bib.md +11 -19
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/audit-milestone.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-refs.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/check-todos.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/checkpoint.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-outline.md +11 -19
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-poster.md +18 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/create-slides.md +18 -13
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/discuss-section.md +11 -5
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/execute-outline.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/export-latex.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/help.md +4 -1
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/insert-section.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/list-assumptions.md +15 -17
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/map-project.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/new-paper.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/pause-writing.md +7 -3
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-milestone-gaps.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-revision.md +13 -7
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/plan-section.md +13 -7
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/polish-prose.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/progress.md +19 -30
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/quick.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/research-gap.md +20 -10
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/resume-writing.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/review-section.md +12 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/settings.md +10 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/submit-milestone.md +12 -4
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/verify-work.md +14 -6
- package/vendors/plugin/ai.iowarp.clio/prompts/wtfp/write-section.md +14 -8
- package/vendors/plugin/aliases.lock.json +1 -0
- package/vendors/plugin/catalog.json +4 -2
- package/vendors/plugin/compatibility/action-availability.json +9 -3
- package/vendors/plugin/plugin.json +15 -1
- package/vendors/plugin/project/README.md +2 -0
- package/vendors/plugin/roles/research-synthesizer.md +1 -1
- package/vendors/plugin/skills/wtfp-manage-project/SKILL.md +2 -1
- package/vendors/plugin/skills/wtfp-manage-project/references/actions.md +13 -1
- package/vendors/plugin/skills/wtfp-plan-section/references/actions.md +1 -1
- package/vendors/plugin/skills/wtfp-research-literature/references/actions.md +1 -1
- package/vendors/plugin/skills/wtfp-review-manuscript/references/actions.md +2 -1
- package/vendors/plugin/tools/README.md +1 -1
- package/vendors/plugin/workflows/advance.md +38 -0
- package/vendors/plugin/workflows/discuss-section.md +1 -1
- package/vendors/plugin/workflows/plan-revision.md +3 -3
- package/vendors/plugin/workflows/plan-section.md +1 -1
- package/vendors/plugin/workflows/research-gap.md +3 -3
- package/vendors/plugin/workflows/verify-work.md +4 -2
- package/vendors/plugin/workflows/write-section.md +2 -2
|
@@ -31,6 +31,6 @@ Run it with no argument, or with `list`, to print the declared command set as JS
|
|
|
31
31
|
- `s2-search --query=<text> [--limit=<1-25>] [--year=<yyyy>] [--timeout=<seconds>]` → `citation.semantic-scholar` (network.fetch, network.search)
|
|
32
32
|
- `rank <papers.json> [--intent=<seminal|recent|balanced>]` → `citation.rank` (no declared effects)
|
|
33
33
|
|
|
34
|
-
For declared scholarly discovery, `citation-search --backend=cite-nexus --query="<topic>"` uses the separately installed `cite-nexus-wtfp` companion and its real MCP stdio server. Defaults are Crossref, DataCite and Europe PMC. Select providers explicitly with `--providers`. The `research-gap`
|
|
34
|
+
For declared scholarly discovery, `citation-search --backend=cite-nexus --query="<topic>"` uses the separately installed `cite-nexus-wtfp` companion and its real MCP stdio server. Defaults are Crossref, DataCite and Europe PMC. Select providers explicitly with `--providers`. The `research-gap` yolo route may use only free no-key public indexes (`crossref`, `datacite`, `europe_pmc`, `arxiv`) without another per-query gate; other routes require action approval naming providers and query scope. CiteNexus supports only balanced provider ordering, so omit `--intent` or use `--intent=balanced`. Results remain candidates: retain `citeNexus.sources`, field attribution, metrics, warnings and `metadata.errors`; do not infer verification or combine citation counts. The result limit is a displayed total; `metadata.total` counts the fetched deduplicated page, not the full corpus. Unavailable enrichment fails explicitly without falling back to another vendor. `WTFP_CITE_NEXUS_COMMAND` may name an absolute installed companion executable; it is operator configuration, never source content. No package is installed, server registered, or user profile changed by a tool call. Offline mode refuses this backend before process launch. Host capability blockers still apply.
|
|
35
35
|
|
|
36
36
|
Every command prints one JSON document on stdout and reports failures as `{"error": "..."}` on stderr with exit status 1. Queries are capped at 512 characters, file paths at 4096, and result limits at 25. A symlinked file is accepted and read through its resolved target, which must be a regular file. Commands whose effects include `network.*` perform outbound requests to the declared scholarly indexes; pass `--offline` or set `WTFP_TOOL_OFFLINE=1` to refuse them, which is the mechanical form of "do not invoke a network-capable bibliography tool through a filesystem-only permission path". Each network command has a hard wall clock, `--timeout=<seconds>` (default 20, maximum 600); on expiry it reports `{"error": "<command> timed out after N s"}` on stderr and exits 124. `bib-impact` reports batch progress on stderr. `bib-index` flags repeated keys with `duplicate: true` and lists them under `duplicates`; `--key` refuses an ambiguous key. `bib-format` emits a standard BibTeX entry (`@article`, `@inproceedings`, ...) by default; `--style=al-folio` selects the Jekyll al-folio projection, which is not valid BibTeX. Do not execute any other module in this package directly, and do not pass a logical `project://` or `wtfp://` URI as a shell argument.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
schema: wtfp.workflow/v1
|
|
3
|
+
action: advance
|
|
4
|
+
source: wtfp.protocol
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Advance to the next author gate
|
|
8
|
+
|
|
9
|
+
@protocol://project/README.md
|
|
10
|
+
@protocol://skills/wtfp-manage-project/SKILL.md
|
|
11
|
+
@protocol://skills/wtfp-manage-project/references/actions.md
|
|
12
|
+
|
|
13
|
+
## Record contract
|
|
14
|
+
|
|
15
|
+
Read: `project://manifest`, `project://config`, `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://sources/{source}`, `project://evidence/{evidence}`, `project://checkpoints/{checkpoint}`, `project://validations/{validation}`, `project://paper/{artifact}`, `project://sections/{section}/context`, `project://sections/{section}/research`, `project://validations/*`.
|
|
16
|
+
Produce: `project://structure/outline` (update), `project://sections/{section}` (create), `project://decisions` (update), `project://state` (update), `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://sections/{section}/context` (create), `project://sections/{section}/context` (update), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://sources/{source}` (create), `project://sources/{source}` (update), `project://evidence/{evidence}` (create), `project://evidence/{evidence}` (update), `project://sections/{section}/research` (create), `project://sections/{section}/research` (update), `project://sections/{section}/plans/{plan}` (create), `project://paper/{artifact}` (create), `project://paper/{artifact}` (update), `project://manifest` (update), `project://sections/{section}/summary` (create), `project://sections/{section}/summary` (update), `project://sections/{section}/reviews/{review}` (create), `project://archives/{archive}/{artifact}` (archive).
|
|
17
|
+
|
|
18
|
+
This contract is the union of the actions the driver may select: `create-outline`, `discuss-section`, `research-gap`, `plan-section`, `write-section`, `review-section`, `verify-work`, `plan-revision`, `audit-milestone`, and `submit-milestone`. Each step may write only what its own action contract declares, for the section the driver names; the union is never a grant to one step.
|
|
19
|
+
|
|
20
|
+
Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
|
|
21
|
+
|
|
22
|
+
Manuscript prose and supporting context, research, plan, review, summary, handoff, and deliverable artifacts retain their authored format (normally Markdown). Link them from the relevant v1 record; do not convert manuscript prose into project-state JSON.
|
|
23
|
+
|
|
24
|
+
## Procedure
|
|
25
|
+
|
|
26
|
+
1. Require initialized portable project state. This action continues a project; it never starts one or maps new materials. Without project state, report `new-paper` or `map-project` as the next action and stop.
|
|
27
|
+
2. Ask the host's driver for the next step. The driver, not the agent, selects the action and section from portable project state by the same ladder `progress` follows, and authorizes only that action's declared outputs for that step. Never choose, skip, reorder, or repeat an action yourself.
|
|
28
|
+
3. When the driver names a pending gate, put it to the author through the host's gate interaction and wait for the answer. Then ask the driver again. An answer that keeps the gate pending or declines it, or a gate that cannot be put to an author, ends the run with the gate still open.
|
|
29
|
+
4. When the driver names an action, run that action exactly as its own workflow defines, with the section the driver named as its input, including every author gate and every interview that workflow raises. Then ask the driver again.
|
|
30
|
+
5. Stop when the driver reports a stop: a gate still waiting on the author, a step that would repeat with no change in project state, an action this host cannot run, the step limit, or a delivered project. A step's failure or blocked result also ends the run.
|
|
31
|
+
|
|
32
|
+
Author decisions keep their meaning inside a run. Ask each author-owned question as a question only the author may answer; a timeout, a recommended option, silence, or this invocation's text is never the author's answer. The run is automatic between gates, never autonomous across them.
|
|
33
|
+
|
|
34
|
+
## Safety and completion
|
|
35
|
+
|
|
36
|
+
Do not initialize a repository or run branch, stage, commit, merge, push, or publish operations. If requested, return a clearly labeled optional handoff for a separately authorized action.
|
|
37
|
+
|
|
38
|
+
Report each step the driver selected and its outcome, the gates the author answered, the driver's stop reason, the logical resources created or updated, unresolved checkpoints, and the next action the author faces. Never claim a mutation that was not verified.
|
|
@@ -23,7 +23,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
23
23
|
|
|
24
24
|
1. Resolve one section ID from the outline and read its prior context, summary, and decisions before proposing updates; reject ambiguity.
|
|
25
25
|
2. Elicit the section purpose, boundaries, claims, examples, evidence needs, exclusions, and discretionary choices.
|
|
26
|
-
3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record.
|
|
26
|
+
3. Store prose guidance as the section context artifact, decisions as decision records, and unresolved blocking choices as checkpoints; link artifacts from the section record. The linked context marks the discussion as done: leave the section's status as it is, since no status means discussed.
|
|
27
27
|
|
|
28
28
|
## Safety and completion
|
|
29
29
|
|
|
@@ -12,8 +12,8 @@ source: wtfp.protocol
|
|
|
12
12
|
|
|
13
13
|
## Record contract
|
|
14
14
|
|
|
15
|
-
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}`.
|
|
16
|
-
Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update).
|
|
15
|
+
Read: `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}`.
|
|
16
|
+
Produce: `project://sections/{section}/plans/{plan}` (create), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
17
17
|
|
|
18
18
|
Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
24
24
|
1. Resolve manifest requirements, the selected section, linked review or failed validation findings, prior summary, current draft, original plan, and decisions.
|
|
25
25
|
2. Separate required fixes, optional improvements, protected text, dependencies, and verification criteria.
|
|
26
26
|
3. Write a new immutable plan artifact after the author approves the revision priorities; never overwrite the plan that produced the reviewed draft.
|
|
27
|
-
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.
|
|
27
|
+
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. Linking the revision plan sets the section status to `planned`, so the next step writes from it.
|
|
28
28
|
|
|
29
29
|
## Safety and completion
|
|
30
30
|
|
|
@@ -25,7 +25,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
25
25
|
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.
|
|
26
26
|
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.
|
|
27
27
|
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.
|
|
28
|
-
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
|
+
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. When the check fails, return its findings to `section-planner` for a revised plan and check that plan afresh, at most twice; a finding that contradicts an author decision goes to the author instead of the planner. Record each check as a validation of the plan it read. A plan that still fails is never put to the author for approval: create a checkpoint naming its open findings and stop.
|
|
29
29
|
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.
|
|
30
30
|
|
|
31
31
|
## Safety and completion
|
|
@@ -22,8 +22,8 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
22
22
|
## Procedure
|
|
23
23
|
|
|
24
24
|
1. Resolve the research question and section scope against locked/deferred decisions; agree on depth and source constraints.
|
|
25
|
-
2. Prefer an operator-configured, trusted read-only CiteNexus MCP connection for bounded public metadata searches when the host has already authorized it. In
|
|
26
|
-
3. Synthesize supported, conflicting, and missing evidence into a Markdown research artifact; link new records and disclose limitations.
|
|
25
|
+
2. Prefer an operator-configured, trusted read-only CiteNexus MCP connection for bounded public metadata searches when the host has already authorized it. In a host session the operator explicitly started without per-call approval cards, for this research action, the bundled CiteNexus dispatcher may also search the free no-key public indexes `crossref`, `datacite`, `europe_pmc`, and `arxiv` without a second per-query author gate; use only selected relevant indexes with an explicit `--providers` list. Record provider IDs, queries, date, and result limits; never send unpublished manuscript text or private notes as search terms. For any other route, first obtain explicit author approval naming the providers and bounded query set. Results remain candidates and this action performs no bibliography write. Verify source identity and inspection depth, and separate source records from claim-level evidence.
|
|
26
|
+
3. Synthesize supported, conflicting, and missing evidence into a Markdown research artifact; link new records and disclose limitations. Record every claim the section must support in `project://sections/{section}` with `evidence_required: true` and its `evidence_uris`; a literature-heavy section that records no such claim has no coverage to check and cannot be planned.
|
|
27
27
|
|
|
28
28
|
## Bundled tool execution
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ The declared `tool.execute` effect authorises exactly one command, run from the
|
|
|
33
33
|
node protocol://tools/wtfp-tool.js [--offline] <command> [arguments]
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
Run it with `list` first to read the declared commands, their arguments, their bounds, and the effects each one applies; `protocol://tools/README.md` carries the same table. A command whose effects include `network.*` performs outbound requests. Pass `--offline` (or set `WTFP_TOOL_OFFLINE=1`) until the provider/query gate is approved, except for this action's explicit
|
|
36
|
+
Run it with `list` first to read the declared commands, their arguments, their bounds, and the effects each one applies; `protocol://tools/README.md` carries the same table. A command whose effects include `network.*` performs outbound requests. Pass `--offline` (or set `WTFP_TOOL_OFFLINE=1`) until the provider/query gate is approved, except for this action's explicit unattended public-index route. On that route omit `--offline` only for `citation-search --backend=cite-nexus` with bounded queries and `--providers` drawn from `crossref,datacite,europe_pmc,arxiv`; never override an operator-set offline flag or a host refusal. Never execute another module in this package, never pass a logical `project://` or `wtfp://` URI as a shell argument, and treat every returned record as candidate evidence until it is verified and written to a source or evidence record.
|
|
37
37
|
|
|
38
38
|
## Safety and completion
|
|
39
39
|
|
|
@@ -13,7 +13,7 @@ source: wtfp.protocol
|
|
|
13
13
|
## Record contract
|
|
14
14
|
|
|
15
15
|
Read: `project://state`, `project://sections/{section}`, `project://sections/{section}/plans/{plan}`, `project://evidence/{evidence}`, `project://paper/{artifact}`, `project://validations/{validation}`.
|
|
16
|
-
Produce: `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://sections/{section}` (update), `project://state` (update).
|
|
16
|
+
Produce: `project://validations/{validation}` (create), `project://validations/{validation}` (update), `project://checkpoints/{checkpoint}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
17
17
|
|
|
18
18
|
Resolve every logical URI through the host adapter. Portable v1 JSON records are the source of truth: schema-validate before a write, preserve stable IDs, update revision and timestamps where required, and replace records atomically. Never pass a literal logical URI to a shell command or infer record state from a legacy Markdown control file.
|
|
19
19
|
|
|
@@ -23,7 +23,9 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
23
23
|
|
|
24
24
|
1. Resolve the selected plan, section record, manuscript artifact, claims, and evidence.
|
|
25
25
|
2. Run acceptance, scope, citation, argument, and decision-fidelity checks without editing the subject.
|
|
26
|
-
3. Write a validation, updating it after each answered check, with passed/failed checks, issues, evidence, limitations, and next actions
|
|
26
|
+
3. Write a validation, updating it after each answered check, with passed/failed checks, issues, evidence, limitations, and next actions.
|
|
27
|
+
4. When the validation is complete, create one pending blocking `decision` checkpoint scoped to that validation's URI, with options `accept` and `revise` and `resume_action` `verify-work`, and ask the author. Only an author's `accept` marks the section `complete`; `revise` leaves it `reviewing`, and `plan-revision` owns the fix. The validation result alone never completes a section.
|
|
28
|
+
5. When a rerun finds the acceptance checkpoint for the current validation already resolved, apply its resolution to the section and state instead of asking again.
|
|
27
29
|
|
|
28
30
|
## Safety and completion
|
|
29
31
|
|
|
@@ -23,9 +23,9 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
23
23
|
|
|
24
24
|
1. Require the section's current plan, the last one linked from the section record, to be approved: with confirm_plan on, an `approve` answer on its plan checkpoint must have been given for its current bytes (see the protocol README). Resolve all linked context, research, source/evidence records, decisions, prior summary, existing target, and necessary neighboring prose before choosing create or update.
|
|
25
25
|
2. Before drafting a literature-heavy section, verify that its linked research artifact and source/evidence records cover the plan's factual claims. If coverage is missing, create the declared checkpoint naming the uncovered claims and stop; `research-gap` produces the missing sources and evidence. Draft only the declared manuscript artifact; cite only resolvable sources, preserve author constraints, and stop at blocking decisions. A plausible bibliography entry, search candidate, or model memory is not a verified citation.
|
|
26
|
-
3. Read the persisted manuscript text back and calculate its actual body word count with one deterministic method; never copy a worker self-report, plan target, or summary count into project records. Validate the persisted draft against its plan and word budget.
|
|
26
|
+
3. Open the manuscript with the section's outline title as its only level-one heading, exactly as the outline spells it; numbering is applied at document assembly. Read the persisted manuscript text back and calculate its actual body word count with one deterministic method; never copy a worker self-report, plan target, or summary count into project records. Validate the persisted draft against its plan and word budget.
|
|
27
27
|
4. Create or update the required Markdown summary with that measured count, then read back both manuscript and summary. Missing, empty, or inconsistent output is a failed completion condition, not permission to link a path that does not exist.
|
|
28
|
-
5. Persist the validation, synchronize the manuscript URI in `manifest.artifacts.manuscripts`, and reconcile section/state records only after manuscript, summary, and validation readback succeeds. If blocked, create the declared checkpoint and stop; do not commit or merge automatically.
|
|
28
|
+
5. Persist the validation, synchronize the manuscript URI in `manifest.artifacts.manuscripts`, and reconcile section/state records only after manuscript, summary, and validation readback succeeds. A draft that satisfies its plan sets the section to `reviewing`; `writing` means the draft is still incomplete. If blocked, create the declared checkpoint and stop; do not commit or merge automatically.
|
|
29
29
|
|
|
30
30
|
## Safety and completion
|
|
31
31
|
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
},
|
|
6
6
|
"metadata": {
|
|
7
7
|
"description": "WTF-P evidence-grounded academic workflow plugin.",
|
|
8
|
-
"version": "0.8.
|
|
8
|
+
"version": "0.8.2"
|
|
9
9
|
},
|
|
10
10
|
"plugins": [
|
|
11
11
|
{
|
|
12
12
|
"name": "wtfp",
|
|
13
13
|
"source": "./",
|
|
14
14
|
"description": "Portable academic research and writing workflows.",
|
|
15
|
-
"version": "0.8.
|
|
15
|
+
"version": "0.8.2",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "akougkas"
|
|
18
18
|
},
|