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
|
@@ -29,6 +29,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
|
|
|
29
29
|
| `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
|
|
30
30
|
| `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
|
|
31
31
|
| `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
|
|
32
|
+
| `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
|
|
32
33
|
|
|
33
34
|
The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
|
|
34
35
|
|
|
@@ -73,6 +74,42 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
73
74
|
- Validation records report findings and never imply that a mutation was applied.
|
|
74
75
|
- Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
|
|
75
76
|
|
|
77
|
+
## Author answers and approvals
|
|
78
|
+
|
|
79
|
+
A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
|
|
80
|
+
|
|
81
|
+
- `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
|
|
82
|
+
- `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
|
|
83
|
+
- `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
|
|
84
|
+
- `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
|
|
85
|
+
|
|
86
|
+
A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
|
|
87
|
+
|
|
88
|
+
On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
|
|
89
|
+
|
|
90
|
+
A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
|
|
91
|
+
|
|
92
|
+
Each path through an author gate on an attesting host, and what it leaves behind:
|
|
93
|
+
|
|
94
|
+
| Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
|
|
95
|
+
| --- | --- | --- | --- |
|
|
96
|
+
| Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
|
|
97
|
+
| Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
|
|
98
|
+
| Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
|
|
99
|
+
| Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
|
|
100
|
+
| Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
|
|
101
|
+
| Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
|
|
102
|
+
| Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
|
|
103
|
+
| Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
|
|
104
|
+
| Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
|
|
105
|
+
| Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
|
|
106
|
+
|
|
107
|
+
## Concurrent updates and recovery
|
|
108
|
+
|
|
109
|
+
An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
|
|
110
|
+
|
|
111
|
+
Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
|
|
112
|
+
|
|
76
113
|
`templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
|
|
77
114
|
|
|
78
115
|
</details>
|
|
@@ -81,7 +118,7 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
81
118
|
|
|
82
119
|
---
|
|
83
120
|
name: wtfp-review-manuscript
|
|
84
|
-
description: This skill reviews,
|
|
121
|
+
description: This skill reviews, polishes, and audits academic manuscript sections for clarity, flow, precision, voice, unsupported claims, and citation misuse. It activates when an agent needs to review a section, test work against a plan, refine academic voice, audit submission readiness, create milestone gap plans, or perform the WTF-P review-section, verify-work, polish-prose, audit-milestone, or plan-milestone-gaps actions.
|
|
85
122
|
---
|
|
86
123
|
|
|
87
124
|
# Review a WTF-P Manuscript
|
|
@@ -224,8 +261,8 @@ Completion requires total traceability from each audit gap to one appropriate re
|
|
|
224
261
|
</details>
|
|
225
262
|
## Record contract
|
|
226
263
|
|
|
227
|
-
Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`.
|
|
228
|
-
Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create).
|
|
264
|
+
Read: `project://manifest`, `project://config`, `project://decisions`, `project://paper/{artifact}`, `project://sections/{section}`, `project://state`.
|
|
265
|
+
Produce: `project://paper/{artifact}` (update), `project://validations/{validation}` (create), `project://sections/{section}` (update), `project://state` (update).
|
|
229
266
|
|
|
230
267
|
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.
|
|
231
268
|
|
|
@@ -235,7 +272,7 @@ Manuscript prose and supporting context, research, plan, review, summary, handof
|
|
|
235
272
|
|
|
236
273
|
1. Require an explicit manuscript selection and preserve claims, evidence meaning, citations, author voice, and protected text.
|
|
237
274
|
2. Propose substantive changes separately from mechanical edits and gate the substantive diff.
|
|
238
|
-
3. Apply only approved edits and emit a validation describing preserved meaning and any unresolved defects.
|
|
275
|
+
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.
|
|
239
276
|
|
|
240
277
|
## Safety and completion
|
|
241
278
|
|
|
@@ -274,7 +311,9 @@ Report the logical resources read, created, updated, archived, or deleted; the g
|
|
|
274
311
|
"project://manifest",
|
|
275
312
|
"project://config",
|
|
276
313
|
"project://decisions",
|
|
277
|
-
"project://paper/{artifact}"
|
|
314
|
+
"project://paper/{artifact}",
|
|
315
|
+
"project://sections/{section}",
|
|
316
|
+
"project://state"
|
|
278
317
|
],
|
|
279
318
|
"produces": [
|
|
280
319
|
{
|
|
@@ -284,6 +323,14 @@ Report the logical resources read, created, updated, archived, or deleted; the g
|
|
|
284
323
|
{
|
|
285
324
|
"uri": "project://validations/{validation}",
|
|
286
325
|
"mode": "create"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"uri": "project://sections/{section}",
|
|
329
|
+
"mode": "update"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"uri": "project://state",
|
|
333
|
+
"mode": "update"
|
|
287
334
|
}
|
|
288
335
|
],
|
|
289
336
|
"delegation": [
|
|
@@ -305,11 +352,11 @@ Report the logical resources read, created, updated, archived, or deleted; the g
|
|
|
305
352
|
},
|
|
306
353
|
{
|
|
307
354
|
"id": "filesystem.modify",
|
|
308
|
-
"scope": "project://paper/{artifact}"
|
|
355
|
+
"scope": "project://paper/{artifact}, project://sections/{section}, project://state"
|
|
309
356
|
},
|
|
310
357
|
{
|
|
311
358
|
"id": "filesystem.read",
|
|
312
|
-
"scope": "project://manifest, project://config, project://decisions, project://paper/{artifact}"
|
|
359
|
+
"scope": "project://manifest, project://config, project://decisions, project://paper/{artifact}, project://sections/{section}, project://state"
|
|
313
360
|
},
|
|
314
361
|
{
|
|
315
362
|
"id": "user.gate",
|
|
@@ -684,6 +731,233 @@ Report the logical resources read, created, updated, archived, or deleted; the g
|
|
|
684
731
|
}
|
|
685
732
|
}
|
|
686
733
|
|
|
734
|
+
</details>
|
|
735
|
+
<details data-wtfp-source="protocol://project/schemas/section.schema.json" open>
|
|
736
|
+
<summary>Bundled WTF-P protocol resource: project/schemas/section.schema.json</summary>
|
|
737
|
+
|
|
738
|
+
{
|
|
739
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
740
|
+
"$id": "https://schemas.wtf-p.dev/project/section/v1",
|
|
741
|
+
"type": "object",
|
|
742
|
+
"additionalProperties": false,
|
|
743
|
+
"required": [
|
|
744
|
+
"schema",
|
|
745
|
+
"id",
|
|
746
|
+
"project_id",
|
|
747
|
+
"outline_uri",
|
|
748
|
+
"title",
|
|
749
|
+
"goal",
|
|
750
|
+
"status",
|
|
751
|
+
"word_target",
|
|
752
|
+
"word_count",
|
|
753
|
+
"wave",
|
|
754
|
+
"depends_on",
|
|
755
|
+
"claims",
|
|
756
|
+
"artifacts",
|
|
757
|
+
"checkpoint_uris",
|
|
758
|
+
"validation_uris",
|
|
759
|
+
"updated_at"
|
|
760
|
+
],
|
|
761
|
+
"properties": {
|
|
762
|
+
"schema": { "const": "wtfp.project.section/v1" },
|
|
763
|
+
"id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
|
|
764
|
+
"project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
|
|
765
|
+
"outline_uri": { "const": "project://structure/outline" },
|
|
766
|
+
"title": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
|
|
767
|
+
"goal": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
|
|
768
|
+
"status": {
|
|
769
|
+
"enum": ["not-started", "researching", "planned", "writing", "reviewing", "complete", "blocked"]
|
|
770
|
+
},
|
|
771
|
+
"word_target": { "type": "integer", "minimum": 1 },
|
|
772
|
+
"word_count": { "type": "integer", "minimum": 0 },
|
|
773
|
+
"wave": { "type": "integer", "minimum": 1 },
|
|
774
|
+
"depends_on": {
|
|
775
|
+
"type": "array",
|
|
776
|
+
"items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
|
|
777
|
+
"uniqueItems": true
|
|
778
|
+
},
|
|
779
|
+
"claims": {
|
|
780
|
+
"type": "array",
|
|
781
|
+
"items": {
|
|
782
|
+
"type": "object",
|
|
783
|
+
"additionalProperties": false,
|
|
784
|
+
"required": ["id", "statement", "status", "evidence_required", "evidence_uris"],
|
|
785
|
+
"properties": {
|
|
786
|
+
"id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
|
|
787
|
+
"statement": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/nonEmptyString" },
|
|
788
|
+
"status": { "enum": ["planned", "drafted", "verified", "rejected"] },
|
|
789
|
+
"evidence_required": { "type": "boolean" },
|
|
790
|
+
"evidence_uris": {
|
|
791
|
+
"type": "array",
|
|
792
|
+
"items": { "type": "string", "pattern": "^project://evidence/[A-Za-z0-9._~-]+$" },
|
|
793
|
+
"uniqueItems": true
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"artifacts": {
|
|
799
|
+
"type": "object",
|
|
800
|
+
"additionalProperties": false,
|
|
801
|
+
"required": ["plans", "reviews"],
|
|
802
|
+
"properties": {
|
|
803
|
+
"context": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
804
|
+
"research": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
805
|
+
"plans": {
|
|
806
|
+
"type": "array",
|
|
807
|
+
"items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
808
|
+
"uniqueItems": true
|
|
809
|
+
},
|
|
810
|
+
"reviews": {
|
|
811
|
+
"type": "array",
|
|
812
|
+
"items": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
813
|
+
"uniqueItems": true
|
|
814
|
+
},
|
|
815
|
+
"manuscript": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
816
|
+
"summary": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" },
|
|
817
|
+
"handoff": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/logicalUri" }
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"checkpoint_uris": {
|
|
821
|
+
"type": "array",
|
|
822
|
+
"items": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
|
|
823
|
+
"uniqueItems": true
|
|
824
|
+
},
|
|
825
|
+
"validation_uris": {
|
|
826
|
+
"type": "array",
|
|
827
|
+
"items": { "type": "string", "pattern": "^project://validations/[A-Za-z0-9._~-]+$" },
|
|
828
|
+
"uniqueItems": true
|
|
829
|
+
},
|
|
830
|
+
"updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
</details>
|
|
835
|
+
<details data-wtfp-source="protocol://project/templates/section.json" open>
|
|
836
|
+
<summary>Bundled WTF-P protocol resource: project/templates/section.json</summary>
|
|
837
|
+
|
|
838
|
+
{
|
|
839
|
+
"schema": "wtfp.project.section/v1",
|
|
840
|
+
"id": "introduction",
|
|
841
|
+
"project_id": "portable-research-demo",
|
|
842
|
+
"outline_uri": "project://structure/outline",
|
|
843
|
+
"title": "Introduction",
|
|
844
|
+
"goal": "Establish the portability problem, the evidence-fidelity requirement, and the paper's contribution.",
|
|
845
|
+
"status": "researching",
|
|
846
|
+
"word_target": 1500,
|
|
847
|
+
"word_count": 0,
|
|
848
|
+
"wave": 1,
|
|
849
|
+
"depends_on": [],
|
|
850
|
+
"claims": [
|
|
851
|
+
{
|
|
852
|
+
"id": "claim-portable-state",
|
|
853
|
+
"statement": "Portable project state reduces coupling between academic workflows and runtime-specific interfaces.",
|
|
854
|
+
"status": "planned",
|
|
855
|
+
"evidence_required": true,
|
|
856
|
+
"evidence_uris": ["project://evidence/evidence-portability-boundaries"]
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"artifacts": {
|
|
860
|
+
"context": "project://sections/introduction/context",
|
|
861
|
+
"research": "project://sections/introduction/research",
|
|
862
|
+
"plans": ["project://sections/introduction/plans/initial"],
|
|
863
|
+
"reviews": [],
|
|
864
|
+
"manuscript": "project://paper/introduction"
|
|
865
|
+
},
|
|
866
|
+
"checkpoint_uris": [],
|
|
867
|
+
"validation_uris": [],
|
|
868
|
+
"updated_at": "2026-08-28T12:35:00Z"
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
</details>
|
|
872
|
+
<details data-wtfp-source="protocol://project/schemas/state.schema.json" open>
|
|
873
|
+
<summary>Bundled WTF-P protocol resource: project/schemas/state.schema.json</summary>
|
|
874
|
+
|
|
875
|
+
{
|
|
876
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
877
|
+
"$id": "https://schemas.wtf-p.dev/project/state/v1",
|
|
878
|
+
"type": "object",
|
|
879
|
+
"additionalProperties": false,
|
|
880
|
+
"required": [
|
|
881
|
+
"schema",
|
|
882
|
+
"project_id",
|
|
883
|
+
"revision",
|
|
884
|
+
"phase",
|
|
885
|
+
"status",
|
|
886
|
+
"current_section_uri",
|
|
887
|
+
"progress",
|
|
888
|
+
"active_checkpoint_uris",
|
|
889
|
+
"updated_at"
|
|
890
|
+
],
|
|
891
|
+
"properties": {
|
|
892
|
+
"schema": { "const": "wtfp.project.state/v1" },
|
|
893
|
+
"project_id": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/identifier" },
|
|
894
|
+
"revision": { "type": "integer", "minimum": 0 },
|
|
895
|
+
"phase": {
|
|
896
|
+
"enum": ["initialized", "mapped", "outlining", "planning", "writing", "reviewing", "ready", "delivered"]
|
|
897
|
+
},
|
|
898
|
+
"status": { "enum": ["active", "paused", "blocked", "complete"] },
|
|
899
|
+
"current_section_uri": {
|
|
900
|
+
"type": ["string", "null"],
|
|
901
|
+
"pattern": "^project://sections/[A-Za-z0-9._~-]+$"
|
|
902
|
+
},
|
|
903
|
+
"progress": {
|
|
904
|
+
"type": "object",
|
|
905
|
+
"additionalProperties": false,
|
|
906
|
+
"required": ["sections_total", "sections_complete", "word_target", "word_count"],
|
|
907
|
+
"properties": {
|
|
908
|
+
"sections_total": { "type": "integer", "minimum": 0 },
|
|
909
|
+
"sections_complete": { "type": "integer", "minimum": 0 },
|
|
910
|
+
"word_target": { "type": "integer", "minimum": 0 },
|
|
911
|
+
"word_count": { "type": "integer", "minimum": 0 }
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"active_checkpoint_uris": {
|
|
915
|
+
"type": "array",
|
|
916
|
+
"items": { "type": "string", "pattern": "^project://checkpoints/[A-Za-z0-9._~-]+$" },
|
|
917
|
+
"uniqueItems": true
|
|
918
|
+
},
|
|
919
|
+
"last_transition": {
|
|
920
|
+
"type": "object",
|
|
921
|
+
"additionalProperties": false,
|
|
922
|
+
"required": ["from", "to", "reason", "at"],
|
|
923
|
+
"properties": {
|
|
924
|
+
"from": { "type": "string", "minLength": 1 },
|
|
925
|
+
"to": { "type": "string", "minLength": 1 },
|
|
926
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
927
|
+
"at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
"updated_at": { "$ref": "https://schemas.wtf-p.dev/project/common/v1#/$defs/timestamp" }
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
</details>
|
|
935
|
+
<details data-wtfp-source="protocol://project/templates/state.json" open>
|
|
936
|
+
<summary>Bundled WTF-P protocol resource: project/templates/state.json</summary>
|
|
937
|
+
|
|
938
|
+
{
|
|
939
|
+
"schema": "wtfp.project.state/v1",
|
|
940
|
+
"project_id": "portable-research-demo",
|
|
941
|
+
"revision": 0,
|
|
942
|
+
"phase": "outlining",
|
|
943
|
+
"status": "active",
|
|
944
|
+
"current_section_uri": "project://sections/introduction",
|
|
945
|
+
"progress": {
|
|
946
|
+
"sections_total": 2,
|
|
947
|
+
"sections_complete": 0,
|
|
948
|
+
"word_target": 6000,
|
|
949
|
+
"word_count": 0
|
|
950
|
+
},
|
|
951
|
+
"active_checkpoint_uris": [],
|
|
952
|
+
"last_transition": {
|
|
953
|
+
"from": "initialized",
|
|
954
|
+
"to": "outlining",
|
|
955
|
+
"reason": "The project brief and author decisions are recorded.",
|
|
956
|
+
"at": "2026-08-28T12:10:00Z"
|
|
957
|
+
},
|
|
958
|
+
"updated_at": "2026-08-28T12:10:00Z"
|
|
959
|
+
}
|
|
960
|
+
|
|
687
961
|
</details>
|
|
688
962
|
<details data-wtfp-source="protocol://project/schemas/validation.schema.json" open>
|
|
689
963
|
<summary>Bundled WTF-P protocol resource: project/schemas/validation.schema.json</summary>
|
|
@@ -29,6 +29,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
|
|
|
29
29
|
| `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
|
|
30
30
|
| `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
|
|
31
31
|
| `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
|
|
32
|
+
| `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
|
|
32
33
|
|
|
33
34
|
The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
|
|
34
35
|
|
|
@@ -73,6 +74,42 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
73
74
|
- Validation records report findings and never imply that a mutation was applied.
|
|
74
75
|
- Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
|
|
75
76
|
|
|
77
|
+
## Author answers and approvals
|
|
78
|
+
|
|
79
|
+
A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
|
|
80
|
+
|
|
81
|
+
- `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
|
|
82
|
+
- `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
|
|
83
|
+
- `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
|
|
84
|
+
- `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
|
|
85
|
+
|
|
86
|
+
A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
|
|
87
|
+
|
|
88
|
+
On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
|
|
89
|
+
|
|
90
|
+
A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
|
|
91
|
+
|
|
92
|
+
Each path through an author gate on an attesting host, and what it leaves behind:
|
|
93
|
+
|
|
94
|
+
| Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
|
|
95
|
+
| --- | --- | --- | --- |
|
|
96
|
+
| Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
|
|
97
|
+
| Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
|
|
98
|
+
| Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
|
|
99
|
+
| Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
|
|
100
|
+
| Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
|
|
101
|
+
| Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
|
|
102
|
+
| Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
|
|
103
|
+
| Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
|
|
104
|
+
| Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
|
|
105
|
+
| Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
|
|
106
|
+
|
|
107
|
+
## Concurrent updates and recovery
|
|
108
|
+
|
|
109
|
+
An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
|
|
110
|
+
|
|
111
|
+
Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
|
|
112
|
+
|
|
76
113
|
`templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
|
|
77
114
|
|
|
78
115
|
</details>
|
|
@@ -29,6 +29,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
|
|
|
29
29
|
| `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
|
|
30
30
|
| `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
|
|
31
31
|
| `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
|
|
32
|
+
| `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
|
|
32
33
|
|
|
33
34
|
The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
|
|
34
35
|
|
|
@@ -73,6 +74,42 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
73
74
|
- Validation records report findings and never imply that a mutation was applied.
|
|
74
75
|
- Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
|
|
75
76
|
|
|
77
|
+
## Author answers and approvals
|
|
78
|
+
|
|
79
|
+
A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
|
|
80
|
+
|
|
81
|
+
- `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
|
|
82
|
+
- `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
|
|
83
|
+
- `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
|
|
84
|
+
- `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
|
|
85
|
+
|
|
86
|
+
A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
|
|
87
|
+
|
|
88
|
+
On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
|
|
89
|
+
|
|
90
|
+
A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
|
|
91
|
+
|
|
92
|
+
Each path through an author gate on an attesting host, and what it leaves behind:
|
|
93
|
+
|
|
94
|
+
| Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
|
|
95
|
+
| --- | --- | --- | --- |
|
|
96
|
+
| Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
|
|
97
|
+
| Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
|
|
98
|
+
| Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
|
|
99
|
+
| Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
|
|
100
|
+
| Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
|
|
101
|
+
| Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
|
|
102
|
+
| Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
|
|
103
|
+
| Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
|
|
104
|
+
| Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
|
|
105
|
+
| Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
|
|
106
|
+
|
|
107
|
+
## Concurrent updates and recovery
|
|
108
|
+
|
|
109
|
+
An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
|
|
110
|
+
|
|
111
|
+
Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
|
|
112
|
+
|
|
76
113
|
`templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
|
|
77
114
|
|
|
78
115
|
</details>
|
|
@@ -81,7 +118,7 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
81
118
|
|
|
82
119
|
---
|
|
83
120
|
name: wtfp-write-section
|
|
84
|
-
description: This skill
|
|
121
|
+
description: This skill writes and revises academic manuscript sections, including narrow wording corrections to the abstract or any section. It activates when an agent needs to write one section, execute an outline in dependency waves, make a small targeted prose or citation change, or perform the WTF-P write-section, execute-outline, or quick actions.
|
|
85
122
|
---
|
|
86
123
|
|
|
87
124
|
# Write a WTF-P Section
|
|
@@ -129,7 +166,7 @@ Use exactly one action procedure per invocation. Draft only from verified projec
|
|
|
129
166
|
|
|
130
167
|
Contract: [protocol/actions/write-section.json](../../../actions/write-section.json)
|
|
131
168
|
|
|
132
|
-
1. Require
|
|
169
|
+
1. Require the exact `project://sections/{section}/plans/{plan}` artifact last linked from `project://sections/{section}` and verify its declared inputs, outputs, dependencies, validation, and approval state: with confirm_plan on, an `approve` answer on a checkpoint scoped to that plan, given for its current bytes.
|
|
133
170
|
2. If a corresponding summary or manuscript output exists, show the overwrite or merge impact and require explicit re-execution approval.
|
|
134
171
|
3. Read the plan, `project://manifest`, `project://state`, `project://decisions`, `project://structure/outline`, section context and research, relevant source/evidence records, and enough neighboring prose to maintain continuity. For a literature-heavy section, require research and verified source/evidence coverage of the plan's factual claims before drafting. Route missing coverage through `research-gap` and a checkpoint; do not substitute model memory or search candidates for source records.
|
|
135
172
|
4. Present the plan objective, output path, target words, evidence obligations, and checkpoints at the configured writing gate.
|
|
@@ -29,6 +29,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
|
|
|
29
29
|
| `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
|
|
30
30
|
| `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
|
|
31
31
|
| `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
|
|
32
|
+
| `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
|
|
32
33
|
|
|
33
34
|
The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
|
|
34
35
|
|
|
@@ -73,6 +74,42 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
73
74
|
- Validation records report findings and never imply that a mutation was applied.
|
|
74
75
|
- Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
|
|
75
76
|
|
|
77
|
+
## Author answers and approvals
|
|
78
|
+
|
|
79
|
+
A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
|
|
80
|
+
|
|
81
|
+
- `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
|
|
82
|
+
- `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
|
|
83
|
+
- `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
|
|
84
|
+
- `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
|
|
85
|
+
|
|
86
|
+
A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
|
|
87
|
+
|
|
88
|
+
On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
|
|
89
|
+
|
|
90
|
+
A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
|
|
91
|
+
|
|
92
|
+
Each path through an author gate on an attesting host, and what it leaves behind:
|
|
93
|
+
|
|
94
|
+
| Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
|
|
95
|
+
| --- | --- | --- | --- |
|
|
96
|
+
| Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
|
|
97
|
+
| Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
|
|
98
|
+
| Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
|
|
99
|
+
| Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
|
|
100
|
+
| Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
|
|
101
|
+
| Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
|
|
102
|
+
| Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
|
|
103
|
+
| Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
|
|
104
|
+
| Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
|
|
105
|
+
| Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
|
|
106
|
+
|
|
107
|
+
## Concurrent updates and recovery
|
|
108
|
+
|
|
109
|
+
An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
|
|
110
|
+
|
|
111
|
+
Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
|
|
112
|
+
|
|
76
113
|
`templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
|
|
77
114
|
|
|
78
115
|
</details>
|
|
@@ -29,6 +29,7 @@ Logical URIs identify project data without exposing a workstation path or a runt
|
|
|
29
29
|
| `project://evidence/{evidence}` | `.planning/evidence/{evidence}.json` | Claim-level interpretation of a source |
|
|
30
30
|
| `project://checkpoints/{checkpoint}` | `.planning/checkpoints/{checkpoint}.json` | Orchestrator-managed interaction gate |
|
|
31
31
|
| `project://validations/{validation}` | `.planning/validations/{validation}.json` | Read-only verification result |
|
|
32
|
+
| `project://interactions/{interaction}` | `.planning/interactions/{interaction}.json` | An author's answer as the host observed it |
|
|
32
33
|
|
|
33
34
|
The conventional locations are adapter mappings, not absolute paths embedded in records. Adapters must reject URI traversal segments and must not resolve a logical URI outside the project root.
|
|
34
35
|
|
|
@@ -73,6 +74,42 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
73
74
|
- Validation records report findings and never imply that a mutation was applied.
|
|
74
75
|
- Timestamps use RFC 3339 date-time strings. Dates use ISO 8601 calendar dates.
|
|
75
76
|
|
|
77
|
+
## Author answers and approvals
|
|
78
|
+
|
|
79
|
+
A checkpoint's `resolution.resolved_by: author` is a claim. It becomes evidence only when an interaction record stands behind it. An interaction records what the author was shown and what the author chose:
|
|
80
|
+
|
|
81
|
+
- `kind: checkpoint-answer` answers a checkpoint. `subject_uri` names the checkpoint, and `outcome` is `selected` (with `selected_option`), `done`, `waived`, `kept-pending`, or `discarded-stale`.
|
|
82
|
+
- `kind: record-change` confirms or declines a record change that would weaken the author's controls or what the host holds back: a gate, check or safeguard turned off, a step down in interaction mode, a changed locked decision, a section dropped from the outline, a research or claim evidence requirement turned off, a section's manuscript re-pointed, or its plan history rewritten. Its outcome is `approved`, `declined`, or `discarded-stale`.
|
|
83
|
+
- `presented.content_sha256` is the SHA-256 of the canonical JSON of what was asked. For a checkpoint, that is the record with `status` and `resolution` removed, so answering it does not change the digest. Canonical JSON orders object keys by code unit and has no insignificant whitespace. `presented.options` lists the option identifiers offered, and `presented.artifact` holds the URI and SHA-256 of the file the checkpoint is about, when it names one.
|
|
84
|
+
- `channel: attested-interview` means the host observed the answer in its own interview and sealed the record with `seal` (HMAC-SHA-256 over the canonical record without `seal`, keyed by a secret that never enters the project). `channel: host-prompt` documents an answer obtained through a host prompt that the host cannot attest; it carries no seal.
|
|
85
|
+
|
|
86
|
+
A host that attests answers counts a resolution as the author's only when an interaction given at its interview (`channel: attested-interview`), for this project, whose seal verifies in exactly the form the host writes, matches the checkpoint's current digest and recorded outcome. Anything else is unattested: a hand edit, an answer recorded by another host, or a seal made with another machine's key. An unattested resolution of a blocking checkpoint keeps holding its scope until the author confirms it, which records a new sealed interaction. Migration never upgrades an existing resolution to an attested one.
|
|
87
|
+
|
|
88
|
+
On a host that attests answers, only its recorder writes interaction records and author resolutions; agents never write `resolved_by: author` and never resolve a blocking checkpoint. On a host that cannot attest, the agent records the resolution from the answer it received through the host's prompt. That resolution documents the answer without proving it, and an attesting host treats it as unattested. On every host, a pending blocking checkpoint cannot be made nonblocking, re-scoped, or expired by an agent. The one exception is a plan-approval checkpoint whose plan is no longer the section's current plan, which may be expired. An answered checkpoint is immutable; asking again creates a new checkpoint. `resolved_by: policy` applies only to nonblocking checkpoints.
|
|
89
|
+
|
|
90
|
+
A plan is approved for drafting when its section links it as the last entry of `artifacts.plans` and a `decision` checkpoint scoped to that plan's URI carries an attested answer of `approve` that was given for the plan's current SHA-256. Any other answer, such as `revise` or `reject`, leaves the plan unapproved even when `confirm_plan` is off. With `confirm_plan` off and no author answer on the plan, a linked plan that resolves to a file stands by policy. Editing an approved plan voids its approval. Linked plans are immutable, and `artifacts.plans` is append-only: removing or reordering an entry is a record change the author confirms, so a pending approval cannot be retired by linking another plan and unlinking it again. A revision is a new plan appended to `artifacts.plans` that needs its own approval. A host that asks for plan approval shows the `approve` option in its own words and never lets another option read as approval, whatever the checkpoint's labels say.
|
|
91
|
+
|
|
92
|
+
Each path through an author gate on an attesting host, and what it leaves behind:
|
|
93
|
+
|
|
94
|
+
| Path | Checkpoint afterwards | Interaction recorded | Holds its scope |
|
|
95
|
+
| --- | --- | --- | --- |
|
|
96
|
+
| Author selects an offered option | `resolved`, `resolved_by: author`, `selected_option` | `selected`, sealed | No, while the seal matches the checkpoint |
|
|
97
|
+
| Author marks a task done, or waives it | `resolved` or `waived` | `done` or `waived`, sealed | No |
|
|
98
|
+
| Author answers `revise` or `reject` on a plan | `resolved` with that option | `selected`, sealed | No, but the plan stays unapproved |
|
|
99
|
+
| Author keeps it pending (deferral) | `pending`, unchanged | `kept-pending`, sealed | Yes |
|
|
100
|
+
| Interview cancelled, or no author can be asked | `pending`, unchanged | none | Yes |
|
|
101
|
+
| Checkpoint or its subject changed while asked | `pending`, unchanged; asked again as it now is | `discarded-stale`, sealed | Yes |
|
|
102
|
+
| Answer not offered, replayed, or for another project | unchanged | none | Unchanged |
|
|
103
|
+
| Process stops between the paired writes | the journal completes the checkpoint, state and interaction together | as committed | As committed |
|
|
104
|
+
| Resolution written by hand or by another host | as written | none that matches | Yes, until the author confirms it |
|
|
105
|
+
| Approved plan edited afterwards | unchanged | unchanged | The plan is unapproved again |
|
|
106
|
+
|
|
107
|
+
## Concurrent updates and recovery
|
|
108
|
+
|
|
109
|
+
An update names the version it read. Revisioned records (`state`, `outline`, `decisions`) carry the revision read; every other record carries the SHA-256 of the bytes read. An update that names no version, or a stale one, is refused and changes nothing. A create names no version and fails if the record already exists. Adapters advance revisions and timestamps themselves and replace each record atomically.
|
|
110
|
+
|
|
111
|
+
Several records that change together, such as a checkpoint and the state that lists it, either all change or none does. An adapter stages every new file durably and then writes one journal naming them all, which is the commit point. It then moves each file into place and removes the journal. A process that stops before the journal exists leaves only staged files, which the next writer removes. A process that stops after it leaves the journal, which the next writer completes. Readers report a pending journal instead of repairing it.
|
|
112
|
+
|
|
76
113
|
`templates/` contains minimal valid examples and `schemas/` contains JSON Schema 2020-12 contracts. The examples are safe fixtures for adapter and conformance tests; they are not prose-writing templates.
|
|
77
114
|
|
|
78
115
|
</details>
|
|
@@ -81,7 +118,7 @@ The JSON records above are the interoperable source of truth, while research and
|
|
|
81
118
|
|
|
82
119
|
---
|
|
83
120
|
name: wtfp-review-manuscript
|
|
84
|
-
description: This skill reviews,
|
|
121
|
+
description: This skill reviews, polishes, and audits academic manuscript sections for clarity, flow, precision, voice, unsupported claims, and citation misuse. It activates when an agent needs to review a section, test work against a plan, refine academic voice, audit submission readiness, create milestone gap plans, or perform the WTF-P review-section, verify-work, polish-prose, audit-milestone, or plan-milestone-gaps actions.
|
|
85
122
|
---
|
|
86
123
|
|
|
87
124
|
# Review a WTF-P Manuscript
|