@lvlup-sw/exarchos 2.4.3 → 2.6.0
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/.claude-plugin/plugin.json +7 -2
- package/AGENTS.md +2 -2
- package/README.md +91 -57
- package/agents/.gitkeep +0 -0
- package/agents/fixer.md +62 -0
- package/agents/implementer.md +68 -0
- package/agents/reviewer.md +50 -0
- package/commands/dogfood.md +31 -0
- package/commands/ideate.md +1 -1
- package/commands/oneshot.md +178 -0
- package/commands/plan.md +1 -1
- package/commands/prune.md +90 -0
- package/commands/review.md +58 -0
- package/dist/exarchos.js +582 -142
- package/hooks/hooks.json +8 -0
- package/package.json +18 -6
- package/scripts/sync-versions.sh +31 -22
- package/skills/{brainstorming → claude/brainstorming}/SKILL.md +16 -0
- package/skills/{brainstorming → claude/brainstorming}/references/design-template.md +9 -0
- package/skills/{cleanup → claude/cleanup}/SKILL.md +6 -0
- package/skills/{debug → claude/debug}/SKILL.md +41 -0
- package/skills/{debug → claude/debug}/references/hotfix-track.md +12 -49
- package/skills/{debug → claude/debug}/references/investigation-checklist.md +3 -3
- package/skills/{debug → claude/debug}/references/thorough-track.md +12 -42
- package/skills/{delegation → claude/delegation}/SKILL.md +128 -40
- package/skills/{delegation → claude/delegation}/references/agent-teams-saga.md +4 -1
- package/skills/claude/delegation/references/fix-mode.md +118 -0
- package/skills/{delegation → claude/delegation}/references/implementer-prompt.md +29 -1
- package/skills/{delegation → claude/delegation}/references/parallel-strategy.md +1 -1
- package/skills/{delegation → claude/delegation}/references/state-management.md +33 -0
- package/skills/{delegation → claude/delegation}/references/troubleshooting.md +2 -2
- package/skills/{delegation → claude/delegation}/references/workflow-steps.md +6 -10
- package/skills/{delegation → claude/delegation}/references/worktree-enforcement.md +13 -7
- package/skills/claude/dogfood/SKILL.md +235 -0
- package/skills/claude/dogfood/references/report-template.md +109 -0
- package/skills/claude/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/{git-worktrees → claude/git-worktrees}/SKILL.md +6 -9
- package/skills/{implementation-planning → claude/implementation-planning}/SKILL.md +32 -27
- package/skills/claude/implementation-planning/references/task-template.md +63 -0
- package/skills/{implementation-planning → claude/implementation-planning}/references/testing-strategy-guide.md +22 -1
- package/skills/{implementation-planning → claude/implementation-planning}/references/worked-example.md +2 -2
- package/skills/claude/oneshot-workflow/SKILL.md +468 -0
- package/skills/claude/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/claude/prune-workflows/SKILL.md +290 -0
- package/skills/claude/prune-workflows/references/safeguards.md +74 -0
- package/skills/{quality-review → claude/quality-review}/SKILL.md +105 -10
- package/skills/{quality-review → claude/quality-review}/references/auto-transition.md +1 -1
- package/skills/claude/quality-review/references/axiom-integration.md +135 -0
- package/skills/{refactor → claude/refactor}/SKILL.md +32 -39
- package/skills/{refactor → claude/refactor}/references/doc-update-checklist.md +2 -3
- package/skills/{refactor → claude/refactor}/references/explore-checklist.md +4 -6
- package/skills/{refactor → claude/refactor}/references/overhaul-track.md +20 -50
- package/skills/{refactor → claude/refactor/references}/phases/polish-implement.md +2 -2
- package/skills/{refactor → claude/refactor/references}/phases/polish-validate.md +1 -1
- package/skills/{refactor → claude/refactor}/references/polish-track.md +18 -46
- package/skills/{shepherd → claude/shepherd}/SKILL.md +42 -10
- package/skills/{shepherd → claude/shepherd}/references/fix-strategies.md +1 -2
- package/skills/claude/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/{spec-review → claude/spec-review}/SKILL.md +48 -10
- package/skills/{spec-review → claude/spec-review}/references/worked-example.md +1 -1
- package/skills/{synthesis → claude/synthesis}/SKILL.md +72 -10
- package/skills/{synthesis → claude/synthesis}/references/github-native-stacking.md +3 -4
- package/skills/{synthesis → claude/synthesis}/references/synthesis-steps.md +11 -13
- package/skills/{workflow-state → claude/workflow-state}/SKILL.md +50 -6
- package/skills/{workflow-state → claude/workflow-state}/references/mcp-tool-reference.md +5 -5
- package/skills/{workflow-state → claude/workflow-state}/references/phase-transitions.md +28 -3
- package/skills/codex/brainstorming/SKILL.md +182 -0
- package/skills/codex/brainstorming/references/design-template.md +107 -0
- package/skills/codex/brainstorming/references/worked-example.md +58 -0
- package/skills/codex/cleanup/SKILL.md +169 -0
- package/skills/codex/cleanup/references/merge-verification.md +40 -0
- package/skills/codex/debug/SKILL.md +247 -0
- package/skills/codex/debug/references/hotfix-track.md +105 -0
- package/skills/codex/debug/references/investigation-checklist.md +217 -0
- package/skills/codex/debug/references/rca-template.md +150 -0
- package/skills/codex/debug/references/state-schema.md +294 -0
- package/skills/codex/debug/references/thorough-track.md +171 -0
- package/skills/codex/debug/references/triage-questions.md +155 -0
- package/skills/codex/debug/references/troubleshooting.md +47 -0
- package/skills/codex/delegation/SKILL.md +353 -0
- package/skills/codex/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/codex/delegation/references/agent-teams-saga.md +254 -0
- package/skills/codex/delegation/references/fix-mode.md +118 -0
- package/skills/codex/delegation/references/fixer-prompt.md +174 -0
- package/skills/codex/delegation/references/implementer-prompt.md +401 -0
- package/skills/codex/delegation/references/parallel-strategy.md +124 -0
- package/skills/codex/delegation/references/pbt-patterns.md +172 -0
- package/skills/codex/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/codex/delegation/references/rationalization-refutation.md +15 -0
- package/skills/codex/delegation/references/state-management.md +84 -0
- package/skills/codex/delegation/references/testing-patterns.md +146 -0
- package/skills/codex/delegation/references/troubleshooting.md +109 -0
- package/skills/codex/delegation/references/worked-example.md +104 -0
- package/skills/codex/delegation/references/workflow-steps.md +131 -0
- package/skills/codex/delegation/references/worktree-enforcement.md +71 -0
- package/skills/codex/dogfood/SKILL.md +235 -0
- package/skills/codex/dogfood/references/report-template.md +109 -0
- package/skills/codex/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/codex/git-worktrees/SKILL.md +193 -0
- package/skills/codex/git-worktrees/references/commands-reference.md +78 -0
- package/skills/codex/implementation-planning/SKILL.md +289 -0
- package/skills/codex/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/codex/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/codex/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/codex/implementation-planning/references/task-template.md +63 -0
- package/skills/codex/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/codex/implementation-planning/references/worked-example.md +76 -0
- package/skills/codex/oneshot-workflow/SKILL.md +468 -0
- package/skills/codex/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/codex/prune-workflows/SKILL.md +290 -0
- package/skills/codex/prune-workflows/references/safeguards.md +74 -0
- package/skills/codex/quality-review/SKILL.md +371 -0
- package/skills/codex/quality-review/references/auto-transition.md +47 -0
- package/skills/codex/quality-review/references/axiom-integration.md +135 -0
- package/skills/codex/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/codex/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/codex/quality-review/references/gate-execution.md +60 -0
- package/skills/codex/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/codex/quality-review/references/review-report-template.md +65 -0
- package/skills/codex/quality-review/references/security-checklist.md +79 -0
- package/skills/codex/quality-review/references/typescript-standards.md +24 -0
- package/skills/codex/refactor/SKILL.md +196 -0
- package/skills/codex/refactor/references/brief-template.md +81 -0
- package/skills/codex/refactor/references/doc-update-checklist.md +113 -0
- package/skills/codex/refactor/references/explore-checklist.md +79 -0
- package/skills/codex/refactor/references/overhaul-track.md +194 -0
- package/skills/codex/refactor/references/phases/auto-chain.md +267 -0
- package/skills/codex/refactor/references/phases/brief.md +176 -0
- package/skills/codex/refactor/references/phases/explore.md +132 -0
- package/skills/codex/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/codex/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/codex/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/codex/refactor/references/phases/polish-implement.md +347 -0
- package/skills/codex/refactor/references/phases/polish-validate.md +218 -0
- package/skills/codex/refactor/references/phases/update-docs.md +234 -0
- package/skills/codex/refactor/references/polish-track.md +152 -0
- package/skills/codex/shepherd/SKILL.md +251 -0
- package/skills/codex/shepherd/references/assess-checklist.md +170 -0
- package/skills/codex/shepherd/references/escalation-criteria.md +53 -0
- package/skills/codex/shepherd/references/fix-strategies.md +289 -0
- package/skills/codex/shepherd/references/gate-event-emission.md +47 -0
- package/skills/codex/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/codex/spec-review/SKILL.md +294 -0
- package/skills/codex/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/codex/spec-review/references/review-checklist.md +79 -0
- package/skills/codex/spec-review/references/worked-example.md +72 -0
- package/skills/codex/synthesis/SKILL.md +217 -0
- package/skills/codex/synthesis/references/github-native-stacking.md +135 -0
- package/skills/codex/synthesis/references/merge-ordering.md +50 -0
- package/skills/codex/synthesis/references/pr-descriptions.md +87 -0
- package/skills/codex/synthesis/references/synthesis-steps.md +145 -0
- package/skills/codex/synthesis/references/troubleshooting.md +115 -0
- package/skills/codex/workflow-state/SKILL.md +254 -0
- package/skills/codex/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/codex/workflow-state/references/phase-transitions.md +206 -0
- package/skills/copilot/brainstorming/SKILL.md +182 -0
- package/skills/copilot/brainstorming/references/design-template.md +107 -0
- package/skills/copilot/brainstorming/references/worked-example.md +58 -0
- package/skills/copilot/cleanup/SKILL.md +169 -0
- package/skills/copilot/cleanup/references/merge-verification.md +40 -0
- package/skills/copilot/debug/SKILL.md +247 -0
- package/skills/copilot/debug/references/hotfix-track.md +105 -0
- package/skills/copilot/debug/references/investigation-checklist.md +217 -0
- package/skills/copilot/debug/references/rca-template.md +150 -0
- package/skills/copilot/debug/references/state-schema.md +294 -0
- package/skills/copilot/debug/references/thorough-track.md +171 -0
- package/skills/copilot/debug/references/triage-questions.md +155 -0
- package/skills/copilot/debug/references/troubleshooting.md +47 -0
- package/skills/copilot/delegation/SKILL.md +345 -0
- package/skills/copilot/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/copilot/delegation/references/agent-teams-saga.md +254 -0
- package/skills/copilot/delegation/references/fix-mode.md +118 -0
- package/skills/copilot/delegation/references/fixer-prompt.md +174 -0
- package/skills/copilot/delegation/references/implementer-prompt.md +401 -0
- package/skills/copilot/delegation/references/parallel-strategy.md +124 -0
- package/skills/copilot/delegation/references/pbt-patterns.md +172 -0
- package/skills/copilot/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/copilot/delegation/references/rationalization-refutation.md +15 -0
- package/skills/copilot/delegation/references/state-management.md +84 -0
- package/skills/copilot/delegation/references/testing-patterns.md +146 -0
- package/skills/copilot/delegation/references/troubleshooting.md +109 -0
- package/skills/copilot/delegation/references/worked-example.md +104 -0
- package/skills/copilot/delegation/references/workflow-steps.md +131 -0
- package/skills/copilot/delegation/references/worktree-enforcement.md +71 -0
- package/skills/copilot/dogfood/SKILL.md +235 -0
- package/skills/copilot/dogfood/references/report-template.md +109 -0
- package/skills/copilot/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/copilot/git-worktrees/SKILL.md +193 -0
- package/skills/copilot/git-worktrees/references/commands-reference.md +78 -0
- package/skills/copilot/implementation-planning/SKILL.md +289 -0
- package/skills/copilot/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/copilot/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/copilot/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/copilot/implementation-planning/references/task-template.md +63 -0
- package/skills/copilot/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/copilot/implementation-planning/references/worked-example.md +76 -0
- package/skills/copilot/oneshot-workflow/SKILL.md +468 -0
- package/skills/copilot/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/copilot/prune-workflows/SKILL.md +290 -0
- package/skills/copilot/prune-workflows/references/safeguards.md +74 -0
- package/skills/copilot/quality-review/SKILL.md +371 -0
- package/skills/copilot/quality-review/references/auto-transition.md +47 -0
- package/skills/copilot/quality-review/references/axiom-integration.md +135 -0
- package/skills/copilot/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/copilot/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/copilot/quality-review/references/gate-execution.md +60 -0
- package/skills/copilot/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/copilot/quality-review/references/review-report-template.md +65 -0
- package/skills/copilot/quality-review/references/security-checklist.md +79 -0
- package/skills/copilot/quality-review/references/typescript-standards.md +24 -0
- package/skills/copilot/refactor/SKILL.md +196 -0
- package/skills/copilot/refactor/references/brief-template.md +81 -0
- package/skills/copilot/refactor/references/doc-update-checklist.md +113 -0
- package/skills/copilot/refactor/references/explore-checklist.md +79 -0
- package/skills/copilot/refactor/references/overhaul-track.md +194 -0
- package/skills/copilot/refactor/references/phases/auto-chain.md +267 -0
- package/skills/copilot/refactor/references/phases/brief.md +176 -0
- package/skills/copilot/refactor/references/phases/explore.md +132 -0
- package/skills/copilot/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/copilot/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/copilot/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/copilot/refactor/references/phases/polish-implement.md +347 -0
- package/skills/copilot/refactor/references/phases/polish-validate.md +218 -0
- package/skills/copilot/refactor/references/phases/update-docs.md +234 -0
- package/skills/copilot/refactor/references/polish-track.md +152 -0
- package/skills/copilot/shepherd/SKILL.md +251 -0
- package/skills/copilot/shepherd/references/assess-checklist.md +170 -0
- package/skills/copilot/shepherd/references/escalation-criteria.md +53 -0
- package/skills/copilot/shepherd/references/fix-strategies.md +289 -0
- package/skills/copilot/shepherd/references/gate-event-emission.md +47 -0
- package/skills/copilot/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/copilot/spec-review/SKILL.md +294 -0
- package/skills/copilot/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/copilot/spec-review/references/review-checklist.md +79 -0
- package/skills/copilot/spec-review/references/worked-example.md +72 -0
- package/skills/copilot/synthesis/SKILL.md +217 -0
- package/skills/copilot/synthesis/references/github-native-stacking.md +135 -0
- package/skills/copilot/synthesis/references/merge-ordering.md +50 -0
- package/skills/copilot/synthesis/references/pr-descriptions.md +87 -0
- package/skills/copilot/synthesis/references/synthesis-steps.md +145 -0
- package/skills/copilot/synthesis/references/troubleshooting.md +115 -0
- package/skills/copilot/workflow-state/SKILL.md +254 -0
- package/skills/copilot/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/copilot/workflow-state/references/phase-transitions.md +206 -0
- package/skills/cursor/brainstorming/SKILL.md +182 -0
- package/skills/cursor/brainstorming/references/design-template.md +107 -0
- package/skills/cursor/brainstorming/references/worked-example.md +58 -0
- package/skills/cursor/cleanup/SKILL.md +169 -0
- package/skills/cursor/cleanup/references/merge-verification.md +40 -0
- package/skills/cursor/debug/SKILL.md +247 -0
- package/skills/cursor/debug/references/hotfix-track.md +105 -0
- package/skills/cursor/debug/references/investigation-checklist.md +217 -0
- package/skills/cursor/debug/references/rca-template.md +150 -0
- package/skills/cursor/debug/references/state-schema.md +294 -0
- package/skills/cursor/debug/references/thorough-track.md +171 -0
- package/skills/cursor/debug/references/triage-questions.md +155 -0
- package/skills/cursor/debug/references/troubleshooting.md +47 -0
- package/skills/cursor/delegation/SKILL.md +351 -0
- package/skills/cursor/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/cursor/delegation/references/agent-teams-saga.md +254 -0
- package/skills/cursor/delegation/references/fix-mode.md +118 -0
- package/skills/cursor/delegation/references/fixer-prompt.md +174 -0
- package/skills/cursor/delegation/references/implementer-prompt.md +401 -0
- package/skills/cursor/delegation/references/parallel-strategy.md +124 -0
- package/skills/cursor/delegation/references/pbt-patterns.md +172 -0
- package/skills/cursor/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/cursor/delegation/references/rationalization-refutation.md +15 -0
- package/skills/cursor/delegation/references/state-management.md +84 -0
- package/skills/cursor/delegation/references/testing-patterns.md +146 -0
- package/skills/cursor/delegation/references/troubleshooting.md +109 -0
- package/skills/cursor/delegation/references/worked-example.md +104 -0
- package/skills/cursor/delegation/references/workflow-steps.md +131 -0
- package/skills/cursor/delegation/references/worktree-enforcement.md +71 -0
- package/skills/cursor/dogfood/SKILL.md +235 -0
- package/skills/cursor/dogfood/references/report-template.md +109 -0
- package/skills/cursor/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/cursor/git-worktrees/SKILL.md +193 -0
- package/skills/cursor/git-worktrees/references/commands-reference.md +78 -0
- package/skills/cursor/implementation-planning/SKILL.md +289 -0
- package/skills/cursor/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/cursor/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/cursor/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/cursor/implementation-planning/references/task-template.md +63 -0
- package/skills/cursor/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/cursor/implementation-planning/references/worked-example.md +76 -0
- package/skills/cursor/oneshot-workflow/SKILL.md +468 -0
- package/skills/cursor/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/cursor/prune-workflows/SKILL.md +290 -0
- package/skills/cursor/prune-workflows/references/safeguards.md +74 -0
- package/skills/cursor/quality-review/SKILL.md +371 -0
- package/skills/cursor/quality-review/references/auto-transition.md +47 -0
- package/skills/cursor/quality-review/references/axiom-integration.md +135 -0
- package/skills/cursor/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/cursor/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/cursor/quality-review/references/gate-execution.md +60 -0
- package/skills/cursor/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/cursor/quality-review/references/review-report-template.md +65 -0
- package/skills/cursor/quality-review/references/security-checklist.md +79 -0
- package/skills/cursor/quality-review/references/typescript-standards.md +24 -0
- package/skills/cursor/refactor/SKILL.md +196 -0
- package/skills/cursor/refactor/references/brief-template.md +81 -0
- package/skills/cursor/refactor/references/doc-update-checklist.md +113 -0
- package/skills/cursor/refactor/references/explore-checklist.md +79 -0
- package/skills/cursor/refactor/references/overhaul-track.md +194 -0
- package/skills/cursor/refactor/references/phases/auto-chain.md +267 -0
- package/skills/cursor/refactor/references/phases/brief.md +176 -0
- package/skills/cursor/refactor/references/phases/explore.md +132 -0
- package/skills/cursor/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/cursor/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/cursor/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/cursor/refactor/references/phases/polish-implement.md +347 -0
- package/skills/cursor/refactor/references/phases/polish-validate.md +218 -0
- package/skills/cursor/refactor/references/phases/update-docs.md +234 -0
- package/skills/cursor/refactor/references/polish-track.md +152 -0
- package/skills/cursor/shepherd/SKILL.md +251 -0
- package/skills/cursor/shepherd/references/assess-checklist.md +170 -0
- package/skills/cursor/shepherd/references/escalation-criteria.md +53 -0
- package/skills/cursor/shepherd/references/fix-strategies.md +289 -0
- package/skills/cursor/shepherd/references/gate-event-emission.md +47 -0
- package/skills/cursor/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/cursor/spec-review/SKILL.md +294 -0
- package/skills/cursor/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/cursor/spec-review/references/review-checklist.md +79 -0
- package/skills/cursor/spec-review/references/worked-example.md +72 -0
- package/skills/cursor/synthesis/SKILL.md +217 -0
- package/skills/cursor/synthesis/references/github-native-stacking.md +135 -0
- package/skills/cursor/synthesis/references/merge-ordering.md +50 -0
- package/skills/cursor/synthesis/references/pr-descriptions.md +87 -0
- package/skills/cursor/synthesis/references/synthesis-steps.md +145 -0
- package/skills/cursor/synthesis/references/troubleshooting.md +115 -0
- package/skills/cursor/workflow-state/SKILL.md +254 -0
- package/skills/cursor/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/cursor/workflow-state/references/phase-transitions.md +206 -0
- package/skills/generic/brainstorming/SKILL.md +182 -0
- package/skills/generic/brainstorming/references/design-template.md +107 -0
- package/skills/generic/brainstorming/references/worked-example.md +58 -0
- package/skills/generic/cleanup/SKILL.md +169 -0
- package/skills/generic/cleanup/references/merge-verification.md +40 -0
- package/skills/generic/debug/SKILL.md +247 -0
- package/skills/generic/debug/references/hotfix-track.md +105 -0
- package/skills/generic/debug/references/investigation-checklist.md +217 -0
- package/skills/generic/debug/references/rca-template.md +150 -0
- package/skills/generic/debug/references/state-schema.md +294 -0
- package/skills/generic/debug/references/thorough-track.md +171 -0
- package/skills/generic/debug/references/triage-questions.md +155 -0
- package/skills/generic/debug/references/troubleshooting.md +47 -0
- package/skills/generic/delegation/SKILL.md +345 -0
- package/skills/generic/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/generic/delegation/references/agent-teams-saga.md +254 -0
- package/skills/generic/delegation/references/fix-mode.md +118 -0
- package/skills/generic/delegation/references/fixer-prompt.md +174 -0
- package/skills/generic/delegation/references/implementer-prompt.md +401 -0
- package/skills/generic/delegation/references/parallel-strategy.md +124 -0
- package/skills/generic/delegation/references/pbt-patterns.md +172 -0
- package/skills/generic/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/generic/delegation/references/rationalization-refutation.md +15 -0
- package/skills/generic/delegation/references/state-management.md +84 -0
- package/skills/generic/delegation/references/testing-patterns.md +146 -0
- package/skills/generic/delegation/references/troubleshooting.md +109 -0
- package/skills/generic/delegation/references/worked-example.md +104 -0
- package/skills/generic/delegation/references/workflow-steps.md +131 -0
- package/skills/generic/delegation/references/worktree-enforcement.md +71 -0
- package/skills/generic/dogfood/SKILL.md +235 -0
- package/skills/generic/dogfood/references/report-template.md +109 -0
- package/skills/generic/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/generic/git-worktrees/SKILL.md +193 -0
- package/skills/generic/git-worktrees/references/commands-reference.md +78 -0
- package/skills/generic/implementation-planning/SKILL.md +289 -0
- package/skills/generic/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/generic/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/generic/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/generic/implementation-planning/references/task-template.md +63 -0
- package/skills/generic/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/generic/implementation-planning/references/worked-example.md +76 -0
- package/skills/generic/oneshot-workflow/SKILL.md +468 -0
- package/skills/generic/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/generic/prune-workflows/SKILL.md +290 -0
- package/skills/generic/prune-workflows/references/safeguards.md +74 -0
- package/skills/generic/quality-review/SKILL.md +371 -0
- package/skills/generic/quality-review/references/auto-transition.md +47 -0
- package/skills/generic/quality-review/references/axiom-integration.md +135 -0
- package/skills/generic/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/generic/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/generic/quality-review/references/gate-execution.md +60 -0
- package/skills/generic/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/generic/quality-review/references/review-report-template.md +65 -0
- package/skills/generic/quality-review/references/security-checklist.md +79 -0
- package/skills/generic/quality-review/references/typescript-standards.md +24 -0
- package/skills/generic/refactor/SKILL.md +196 -0
- package/skills/generic/refactor/references/brief-template.md +81 -0
- package/skills/generic/refactor/references/doc-update-checklist.md +113 -0
- package/skills/generic/refactor/references/explore-checklist.md +79 -0
- package/skills/generic/refactor/references/overhaul-track.md +194 -0
- package/skills/generic/refactor/references/phases/auto-chain.md +267 -0
- package/skills/generic/refactor/references/phases/brief.md +176 -0
- package/skills/generic/refactor/references/phases/explore.md +132 -0
- package/skills/generic/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/generic/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/generic/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/generic/refactor/references/phases/polish-implement.md +347 -0
- package/skills/generic/refactor/references/phases/polish-validate.md +218 -0
- package/skills/generic/refactor/references/phases/update-docs.md +234 -0
- package/skills/generic/refactor/references/polish-track.md +152 -0
- package/skills/generic/shepherd/SKILL.md +251 -0
- package/skills/generic/shepherd/references/assess-checklist.md +170 -0
- package/skills/generic/shepherd/references/escalation-criteria.md +53 -0
- package/skills/generic/shepherd/references/fix-strategies.md +289 -0
- package/skills/generic/shepherd/references/gate-event-emission.md +47 -0
- package/skills/generic/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/generic/spec-review/SKILL.md +294 -0
- package/skills/generic/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/generic/spec-review/references/review-checklist.md +79 -0
- package/skills/generic/spec-review/references/worked-example.md +72 -0
- package/skills/generic/synthesis/SKILL.md +217 -0
- package/skills/generic/synthesis/references/github-native-stacking.md +135 -0
- package/skills/generic/synthesis/references/merge-ordering.md +50 -0
- package/skills/generic/synthesis/references/pr-descriptions.md +87 -0
- package/skills/generic/synthesis/references/synthesis-steps.md +145 -0
- package/skills/generic/synthesis/references/troubleshooting.md +115 -0
- package/skills/generic/workflow-state/SKILL.md +254 -0
- package/skills/generic/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/generic/workflow-state/references/phase-transitions.md +206 -0
- package/skills/opencode/brainstorming/SKILL.md +182 -0
- package/skills/opencode/brainstorming/references/design-template.md +107 -0
- package/skills/opencode/brainstorming/references/worked-example.md +58 -0
- package/skills/opencode/cleanup/SKILL.md +169 -0
- package/skills/opencode/cleanup/references/merge-verification.md +40 -0
- package/skills/opencode/debug/SKILL.md +247 -0
- package/skills/opencode/debug/references/hotfix-track.md +105 -0
- package/skills/opencode/debug/references/investigation-checklist.md +217 -0
- package/skills/opencode/debug/references/rca-template.md +150 -0
- package/skills/opencode/debug/references/state-schema.md +294 -0
- package/skills/opencode/debug/references/thorough-track.md +171 -0
- package/skills/opencode/debug/references/triage-questions.md +155 -0
- package/skills/opencode/debug/references/troubleshooting.md +47 -0
- package/skills/opencode/delegation/SKILL.md +353 -0
- package/skills/opencode/delegation/references/adaptive-orchestration.md +31 -0
- package/skills/opencode/delegation/references/agent-teams-saga.md +254 -0
- package/skills/opencode/delegation/references/fix-mode.md +118 -0
- package/skills/opencode/delegation/references/fixer-prompt.md +174 -0
- package/skills/opencode/delegation/references/implementer-prompt.md +401 -0
- package/skills/opencode/delegation/references/parallel-strategy.md +124 -0
- package/skills/opencode/delegation/references/pbt-patterns.md +172 -0
- package/skills/opencode/delegation/references/pr-fixes-mode.md +155 -0
- package/skills/opencode/delegation/references/rationalization-refutation.md +15 -0
- package/skills/opencode/delegation/references/state-management.md +84 -0
- package/skills/opencode/delegation/references/testing-patterns.md +146 -0
- package/skills/opencode/delegation/references/troubleshooting.md +109 -0
- package/skills/opencode/delegation/references/worked-example.md +104 -0
- package/skills/opencode/delegation/references/workflow-steps.md +131 -0
- package/skills/opencode/delegation/references/worktree-enforcement.md +71 -0
- package/skills/opencode/dogfood/SKILL.md +235 -0
- package/skills/opencode/dogfood/references/report-template.md +109 -0
- package/skills/opencode/dogfood/references/root-cause-patterns.md +227 -0
- package/skills/opencode/git-worktrees/SKILL.md +193 -0
- package/skills/opencode/git-worktrees/references/commands-reference.md +78 -0
- package/skills/opencode/implementation-planning/SKILL.md +289 -0
- package/skills/opencode/implementation-planning/references/plan-document-template.md +42 -0
- package/skills/opencode/implementation-planning/references/rationalization-refutation.md +13 -0
- package/skills/opencode/implementation-planning/references/spec-tracing-guide.md +51 -0
- package/skills/opencode/implementation-planning/references/task-template.md +63 -0
- package/skills/opencode/implementation-planning/references/testing-strategy-guide.md +109 -0
- package/skills/opencode/implementation-planning/references/worked-example.md +76 -0
- package/skills/opencode/oneshot-workflow/SKILL.md +468 -0
- package/skills/opencode/oneshot-workflow/references/choice-state.md +65 -0
- package/skills/opencode/prune-workflows/SKILL.md +290 -0
- package/skills/opencode/prune-workflows/references/safeguards.md +74 -0
- package/skills/opencode/quality-review/SKILL.md +371 -0
- package/skills/opencode/quality-review/references/auto-transition.md +47 -0
- package/skills/opencode/quality-review/references/axiom-integration.md +135 -0
- package/skills/opencode/quality-review/references/code-quality-checklist.md +171 -0
- package/skills/opencode/quality-review/references/convergence-and-verdict.md +48 -0
- package/skills/opencode/quality-review/references/gate-execution.md +60 -0
- package/skills/opencode/quality-review/references/rationalization-refutation.md +13 -0
- package/skills/opencode/quality-review/references/review-report-template.md +65 -0
- package/skills/opencode/quality-review/references/security-checklist.md +79 -0
- package/skills/opencode/quality-review/references/typescript-standards.md +24 -0
- package/skills/opencode/refactor/SKILL.md +196 -0
- package/skills/opencode/refactor/references/brief-template.md +81 -0
- package/skills/opencode/refactor/references/doc-update-checklist.md +113 -0
- package/skills/opencode/refactor/references/explore-checklist.md +79 -0
- package/skills/opencode/refactor/references/overhaul-track.md +194 -0
- package/skills/opencode/refactor/references/phases/auto-chain.md +267 -0
- package/skills/opencode/refactor/references/phases/brief.md +176 -0
- package/skills/opencode/refactor/references/phases/explore.md +132 -0
- package/skills/opencode/refactor/references/phases/overhaul-delegate.md +136 -0
- package/skills/opencode/refactor/references/phases/overhaul-plan.md +312 -0
- package/skills/opencode/refactor/references/phases/overhaul-review.md +304 -0
- package/skills/opencode/refactor/references/phases/polish-implement.md +347 -0
- package/skills/opencode/refactor/references/phases/polish-validate.md +218 -0
- package/skills/opencode/refactor/references/phases/update-docs.md +234 -0
- package/skills/opencode/refactor/references/polish-track.md +152 -0
- package/skills/opencode/shepherd/SKILL.md +251 -0
- package/skills/opencode/shepherd/references/assess-checklist.md +170 -0
- package/skills/opencode/shepherd/references/escalation-criteria.md +53 -0
- package/skills/opencode/shepherd/references/fix-strategies.md +289 -0
- package/skills/opencode/shepherd/references/gate-event-emission.md +47 -0
- package/skills/opencode/shepherd/references/shepherd-event-schemas.md +56 -0
- package/skills/opencode/spec-review/SKILL.md +294 -0
- package/skills/opencode/spec-review/references/rationalization-refutation.md +13 -0
- package/skills/opencode/spec-review/references/review-checklist.md +79 -0
- package/skills/opencode/spec-review/references/worked-example.md +72 -0
- package/skills/opencode/synthesis/SKILL.md +217 -0
- package/skills/opencode/synthesis/references/github-native-stacking.md +135 -0
- package/skills/opencode/synthesis/references/merge-ordering.md +50 -0
- package/skills/opencode/synthesis/references/pr-descriptions.md +87 -0
- package/skills/opencode/synthesis/references/synthesis-steps.md +145 -0
- package/skills/opencode/synthesis/references/troubleshooting.md +115 -0
- package/skills/opencode/workflow-state/SKILL.md +254 -0
- package/skills/opencode/workflow-state/references/mcp-tool-reference.md +89 -0
- package/skills/opencode/workflow-state/references/phase-transitions.md +206 -0
- package/.claude-plugin/marketplace.json +0 -34
- package/dist/node_modules/electron/index.js +0 -1
- package/dist/node_modules/electron/package.json +0 -1
- package/dist/node_modules/playwright-core/index.js +0 -1
- package/dist/node_modules/playwright-core/package.json +0 -1
- package/scripts/assess-refactor-scope.sh +0 -239
- package/scripts/check-coderabbit.sh +0 -288
- package/scripts/check-context-economy.sh +0 -405
- package/scripts/check-coverage-thresholds.sh +0 -194
- package/scripts/check-operational-resilience.sh +0 -306
- package/scripts/check-polish-scope.sh +0 -245
- package/scripts/check-post-merge.sh +0 -185
- package/scripts/check-pr-comments.sh +0 -127
- package/scripts/check-task-decomposition.sh +0 -451
- package/scripts/check-tdd-compliance.sh +0 -265
- package/scripts/check-workflow-determinism.sh +0 -312
- package/scripts/debug-review-gate.sh +0 -201
- package/scripts/extract-fix-tasks.sh +0 -179
- package/scripts/extract-task.sh +0 -67
- package/scripts/generate-traceability.sh +0 -209
- package/scripts/investigation-timer.sh +0 -171
- package/scripts/needs-schema-sync.sh +0 -174
- package/scripts/new-project.sh +0 -103
- package/scripts/post-delegation-check.sh +0 -317
- package/scripts/pre-synthesis-check.sh +0 -475
- package/scripts/reconcile-state.sh +0 -346
- package/scripts/review-diff.sh +0 -63
- package/scripts/review-verdict.sh +0 -169
- package/scripts/security-scan.sh +0 -248
- package/scripts/select-debug-track.sh +0 -186
- package/scripts/setup-worktree.sh +0 -323
- package/scripts/spec-coverage-check.sh +0 -230
- package/scripts/static-analysis-gate.sh +0 -261
- package/scripts/validate-companion.sh +0 -161
- package/scripts/validate-pr-body.sh +0 -158
- package/scripts/validate-pr-stack.sh +0 -146
- package/scripts/verify-delegation-saga.sh +0 -240
- package/scripts/verify-doc-links.sh +0 -211
- package/scripts/verify-ideate-artifacts.sh +0 -296
- package/scripts/verify-plan-coverage.sh +0 -408
- package/scripts/verify-provenance-chain.sh +0 -310
- package/scripts/verify-review-triage.sh +0 -219
- package/scripts/verify-worktree-baseline.sh +0 -159
- package/scripts/verify-worktree.sh +0 -84
- package/skills/delegation/references/fix-mode.md +0 -78
- package/skills/implementation-planning/references/task-template.md +0 -43
- package/skills/shared/prompts/context-reading.md +0 -66
- package/skills/shared/prompts/report-format.md +0 -54
- package/skills/shared/prompts/tdd-requirements.md +0 -39
- package/skills/shared/references/coding-standards.md +0 -46
- package/skills/shared/references/mcp-tool-guidance.md +0 -26
- package/skills/shared/references/skill-path-resolution.md +0 -10
- package/skills/shared/references/tdd.md +0 -41
- package/skills/shared/references/telemetry-awareness.md +0 -9
- /package/skills/{brainstorming → claude/brainstorming}/references/worked-example.md +0 -0
- /package/skills/{cleanup → claude/cleanup}/references/merge-verification.md +0 -0
- /package/skills/{debug → claude/debug}/references/rca-template.md +0 -0
- /package/skills/{debug → claude/debug}/references/state-schema.md +0 -0
- /package/skills/{debug → claude/debug}/references/triage-questions.md +0 -0
- /package/skills/{debug → claude/debug}/references/troubleshooting.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/adaptive-orchestration.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/fixer-prompt.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/pbt-patterns.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/pr-fixes-mode.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/rationalization-refutation.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/testing-patterns.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/worked-example.md +0 -0
- /package/skills/{git-worktrees → claude/git-worktrees}/references/commands-reference.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/plan-document-template.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/rationalization-refutation.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/spec-tracing-guide.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/code-quality-checklist.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/convergence-and-verdict.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/gate-execution.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/rationalization-refutation.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/review-report-template.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/security-checklist.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/typescript-standards.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/brief-template.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/auto-chain.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/brief.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/explore.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-delegate.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-plan.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/overhaul-review.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/update-docs.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/assess-checklist.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/escalation-criteria.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/gate-event-emission.md +0 -0
- /package/skills/{spec-review → claude/spec-review}/references/rationalization-refutation.md +0 -0
- /package/skills/{spec-review → claude/spec-review}/references/review-checklist.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/merge-ordering.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/pr-descriptions.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/troubleshooting.md +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-steps
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Delegation Workflow Steps
|
|
6
|
+
|
|
7
|
+
## Step 1: Prepare Environment
|
|
8
|
+
|
|
9
|
+
For parallel tasks, create worktrees:
|
|
10
|
+
```bash
|
|
11
|
+
git worktree add .worktrees/task-001 feature/task-001
|
|
12
|
+
cd .worktrees/task-001 && npm install
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Step 2: Extract Task Details
|
|
16
|
+
|
|
17
|
+
From implementation plan, extract for each task:
|
|
18
|
+
- Full task description
|
|
19
|
+
- Files to create/modify
|
|
20
|
+
- Test file paths
|
|
21
|
+
- Expected test names
|
|
22
|
+
- Dependencies
|
|
23
|
+
|
|
24
|
+
## Step 3: Create TodoWrite Entries
|
|
25
|
+
|
|
26
|
+
Track all delegated tasks:
|
|
27
|
+
```typescript
|
|
28
|
+
TodoWrite({
|
|
29
|
+
todos: [
|
|
30
|
+
{ content: "Task 001: User model", status: "in_progress", activeForm: "Implementing user model" },
|
|
31
|
+
{ content: "Task 002: Auth endpoints", status: "pending", activeForm: "Implementing auth endpoints" }
|
|
32
|
+
]
|
|
33
|
+
})
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Step 4: Dispatch Implementers
|
|
37
|
+
|
|
38
|
+
**Parallel dispatch:**
|
|
39
|
+
```typescript
|
|
40
|
+
// Launch multiple in single message for parallel execution
|
|
41
|
+
Task({
|
|
42
|
+
subagent_type: "general-purpose",
|
|
43
|
+
model: "opus",
|
|
44
|
+
run_in_background: true,
|
|
45
|
+
description: "Implement task 001",
|
|
46
|
+
prompt: "[Full implementer prompt]"
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
Task({
|
|
50
|
+
subagent_type: "general-purpose",
|
|
51
|
+
model: "opus",
|
|
52
|
+
run_in_background: true,
|
|
53
|
+
description: "Implement task 002",
|
|
54
|
+
prompt: "[Full implementer prompt]"
|
|
55
|
+
})
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Agent Teams Dispatch (enhanced)
|
|
59
|
+
|
|
60
|
+
When using `--mode agent-team`:
|
|
61
|
+
1. **Pre-delegation intelligence:** Query `exarchos_view team_performance` for historical metrics
|
|
62
|
+
2. **Team creation:** Create team with named teammates, each assigned to a worktree
|
|
63
|
+
3. **Task list setup:** Create native Claude Code tasks with dependency annotations
|
|
64
|
+
4. **Natural language delegation:** Describe tasks to teammates with full implementer prompt content (MUST include Commit Strategy section with `git commit`/`git push` instructions)
|
|
65
|
+
5. **Event emission:** Append `team.spawned` event with `event.data`: teamSize, teammateNames, taskCount, dispatchMode
|
|
66
|
+
|
|
67
|
+
Teammates self-coordinate via shared task list. No `Task()` calls needed.
|
|
68
|
+
|
|
69
|
+
## Step 5: Monitor Progress
|
|
70
|
+
|
|
71
|
+
For background tasks:
|
|
72
|
+
```typescript
|
|
73
|
+
TaskOutput({ task_id: "task-001-id", block: true })
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Agent Teams Monitoring (enhanced)
|
|
77
|
+
|
|
78
|
+
When using `--mode agent-team`:
|
|
79
|
+
- Teammates visible in tmux split panes
|
|
80
|
+
- `TeammateIdle` hook auto-runs quality gates (typecheck, tests, clean worktree)
|
|
81
|
+
- On quality pass: emits `team.task.completed` event with performance data
|
|
82
|
+
- On quality fail: exit code 2 sends feedback, emits `team.task.failed` event
|
|
83
|
+
- Hook scans task graph for newly unblocked tasks for teammates to claim
|
|
84
|
+
- Orchestrator monitors via `exarchos_view delegation_timeline` for bottleneck detection
|
|
85
|
+
|
|
86
|
+
## Step 6: Collect Results
|
|
87
|
+
|
|
88
|
+
When tasks complete, run the post-delegation check:
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
exarchos_orchestrate({
|
|
92
|
+
action: "post_delegation_check",
|
|
93
|
+
stateFile: "<path-to-state.json>",
|
|
94
|
+
repoRoot: "<project-root>"
|
|
95
|
+
})
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
**Validates:**
|
|
99
|
+
- State file exists and is valid JSON
|
|
100
|
+
- Tasks array has entries
|
|
101
|
+
- All tasks report "complete" status
|
|
102
|
+
- Per-worktree test runs pass (unless `--skip-tests`)
|
|
103
|
+
- State file consistency (all tasks have id and status fields)
|
|
104
|
+
|
|
105
|
+
**On `passed: true`:** All delegation results collected and verified. Update TodoWrite status, then check if schema sync is needed (Step 7) and proceed to review phase.
|
|
106
|
+
|
|
107
|
+
**On `passed: false`:** Failures detected. Review the per-task status report. Address incomplete tasks or failing tests before proceeding.
|
|
108
|
+
|
|
109
|
+
### Agent Teams Collection (enhanced)
|
|
110
|
+
|
|
111
|
+
When using `--mode agent-team`:
|
|
112
|
+
- `TeammateIdle` hook bridges real-time Agent Teams with persistent Exarchos state
|
|
113
|
+
- On quality gate pass: task marked "complete" + `team.task.completed` event emitted
|
|
114
|
+
- On quality gate fail: exit code 2 sends feedback + `team.task.failed` event emitted
|
|
115
|
+
- Rich event data: taskId, teammateName, durationMs, filesChanged, testsPassed
|
|
116
|
+
- After all teammates finish: append `team.disbanded` event with summary metrics
|
|
117
|
+
- Run `exarchos_orchestrate({ action: "post_delegation_check" })` as usual for final validation
|
|
118
|
+
|
|
119
|
+
## Step 7: Schema Sync (Auto-Detection)
|
|
120
|
+
|
|
121
|
+
After all tasks complete, check if API files were modified:
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
exarchos_orchestrate({
|
|
125
|
+
action: "needs_schema_sync",
|
|
126
|
+
repoRoot: "<path>"
|
|
127
|
+
})
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**On `passed: true`:** No sync needed — proceed to review.
|
|
131
|
+
**On `passed: false`:** Sync needed — API files modified (`*Endpoints.cs`, `Models/*.cs`, `Requests/*.cs`, `Responses/*.cs`, `Dtos/*.cs`). Run `npm run sync:schemas` and commit before proceeding.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: worktree-enforcement
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Worktree Enforcement (MANDATORY)
|
|
6
|
+
|
|
7
|
+
All implementation tasks MUST run in isolated worktrees, not the main project root.
|
|
8
|
+
|
|
9
|
+
## Why Worktrees Are Required
|
|
10
|
+
|
|
11
|
+
- **Isolation:** Prevents merge conflicts between parallel tasks
|
|
12
|
+
- **Safety:** Protects main project state
|
|
13
|
+
- **Parallelism:** Enables multiple subagents to work simultaneously
|
|
14
|
+
- **Recovery:** Easy rollback via branch deletion
|
|
15
|
+
|
|
16
|
+
## Pre-Dispatch Checklist
|
|
17
|
+
|
|
18
|
+
Before dispatching ANY implementer, run the worktree setup script:
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
exarchos_orchestrate({
|
|
22
|
+
action: "setup_worktree",
|
|
23
|
+
repoRoot: "<project-root>",
|
|
24
|
+
taskId: "<task-id>",
|
|
25
|
+
taskName: "<task-name>"
|
|
26
|
+
})
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
**Validates:**
|
|
30
|
+
- `.worktrees/` is gitignored (adds to `.gitignore` if missing)
|
|
31
|
+
- Feature branch created (`feature/<task-id>-<task-name>` from base branch)
|
|
32
|
+
- Git worktree added at `.worktrees/<task-id>-<task-name>`
|
|
33
|
+
- `npm install` ran in worktree
|
|
34
|
+
- Baseline tests pass in worktree
|
|
35
|
+
|
|
36
|
+
**On `passed: true`:** Worktree is ready. Proceed with implementer dispatch.
|
|
37
|
+
|
|
38
|
+
**On `passed: false`:** Setup failed. Review the checklist output for which step failed. Fix the issue before dispatching.
|
|
39
|
+
|
|
40
|
+
## Worktree State Tracking
|
|
41
|
+
|
|
42
|
+
Track worktrees in the workflow state file using `mcp__plugin_exarchos_exarchos__exarchos_workflow` with `action: "set"`:
|
|
43
|
+
- Set `worktrees.<worktree-id>` to an object containing `branch`, `status`, and either `taskId` (single task) or `tasks` (array of task IDs for multi-task worktrees)
|
|
44
|
+
|
|
45
|
+
## Implementer Prompt Requirements
|
|
46
|
+
|
|
47
|
+
Include in ALL implementer prompts:
|
|
48
|
+
|
|
49
|
+
1. **Absolute worktree path** as Working Directory
|
|
50
|
+
2. **Worktree verification block** (from implementer-prompt.md template)
|
|
51
|
+
3. **Abort instructions** if not in worktree
|
|
52
|
+
|
|
53
|
+
## Native Worktree Isolation
|
|
54
|
+
|
|
55
|
+
When the `exarchos-implementer` agent definition includes `isolation: worktree` in its frontmatter, Claude Code handles worktree creation natively. The `prepare_delegation` action accepts `nativeIsolation: true` to skip manual worktree creation while preserving quality pre-checks. The worktree verification in the agent system prompt remains as defense-in-depth.
|
|
56
|
+
|
|
57
|
+
When using native isolation:
|
|
58
|
+
- Claude Code creates and manages the worktree lifecycle
|
|
59
|
+
- The `prepare_delegation` action skips `setup-worktree.sh` but still validates state, checks quality signals, and detects benchmarks
|
|
60
|
+
- The worktree verification block in the implementer prompt acts as a safety net — if native isolation fails silently, the agent self-aborts rather than modifying the main project root
|
|
61
|
+
|
|
62
|
+
## Anti-Patterns
|
|
63
|
+
|
|
64
|
+
| Don't | Do Instead |
|
|
65
|
+
|-------|------------|
|
|
66
|
+
| Make subagents read plan files | Provide full task text in prompt |
|
|
67
|
+
| Use default model for coding | Specify `model: "opus"` |
|
|
68
|
+
| Send sequential Task calls | Batch parallel tasks in one message |
|
|
69
|
+
| Skip worktree for parallel work | Create isolated worktrees |
|
|
70
|
+
| Forget to track in TodoWrite | Update status for every task |
|
|
71
|
+
| Skip TDD requirements | Include TDD instructions in prompt |
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dogfood
|
|
3
|
+
description: "Review failed Exarchos MCP tool calls from the current session, diagnose root causes, and categorize into code bug, documentation issue, or user error. Use when the user says 'dogfood', 'review failures', 'what went wrong', 'triage errors', or runs /dogfood. Scopes exclusively to Exarchos tools (exarchos_workflow, exarchos_event, exarchos_orchestrate, exarchos_view, exarchos_sync). Do NOT use for debugging application code or non-Exarchos tool failures."
|
|
4
|
+
metadata:
|
|
5
|
+
author: exarchos
|
|
6
|
+
version: 2.0.0
|
|
7
|
+
mcp-server: exarchos
|
|
8
|
+
category: utility
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Dogfood Skill
|
|
12
|
+
|
|
13
|
+
## Overview
|
|
14
|
+
|
|
15
|
+
Retrospective analysis of Exarchos MCP tool usage. Uses the MCP server's own self-service capabilities as the primary diagnostic instrument — describe APIs, views, playbooks, and runbooks turned inward to diagnose failures.
|
|
16
|
+
|
|
17
|
+
Three distinct failure modes require different fixes — code changes, documentation updates, or skill instruction improvements. Mixing them wastes effort.
|
|
18
|
+
|
|
19
|
+
### Platform-Agnosticity
|
|
20
|
+
|
|
21
|
+
Per `docs/designs/2026-03-09-platform-agnosticity.md`: the MCP server is the self-sufficient, platform-agnostic core. The debug trace relies entirely on MCP tools — not conversation introspection — so it works for any MCP client. Conversation scanning is supplementary.
|
|
22
|
+
|
|
23
|
+
**Diagnostic self-service tools:** `describe(topology)` for HSM verification, `describe(playbook)` for adherence checks, `describe(eventTypes, emissionGuide)` for event schema/catalog comparison, `describe(actions)` for schema/gate metadata, `runbook(phase)` for step conformance, `pipeline`/`convergence`/`telemetry` views for health metrics.
|
|
24
|
+
|
|
25
|
+
## Triggers
|
|
26
|
+
|
|
27
|
+
Activate this skill when:
|
|
28
|
+
- User runs `/dogfood` or `dogfood`
|
|
29
|
+
- User asks "what went wrong this session" or "review the failures"
|
|
30
|
+
- User wants to triage errors from a workflow run
|
|
31
|
+
- End of a workflow session to capture learnings
|
|
32
|
+
|
|
33
|
+
## Process
|
|
34
|
+
|
|
35
|
+
### Step 1: Debug Trace via MCP Self-Service
|
|
36
|
+
|
|
37
|
+
Query the MCP server's own self-service capabilities to build a ground-truth diagnostic picture. This is the primary investigation method — it uses the same tools any MCP client has access to.
|
|
38
|
+
|
|
39
|
+
#### 1a. Identify Active Workflows
|
|
40
|
+
|
|
41
|
+
Use `exarchos_view` with `action: "pipeline"` to get an aggregated view of active workflows with their phases and task counts.
|
|
42
|
+
|
|
43
|
+
If `$ARGUMENTS` specifies a workflow or feature ID, scope to that workflow. Otherwise, inspect all non-terminal workflows.
|
|
44
|
+
|
|
45
|
+
#### 1b. Inspect Workflow State and Topology
|
|
46
|
+
|
|
47
|
+
For each relevant workflow:
|
|
48
|
+
|
|
49
|
+
1. **Read state** — `exarchos_workflow get` to retrieve current phase, tasks, reviews, gate results.
|
|
50
|
+
2. **Read topology** — `exarchos_workflow describe(topology: "<workflowType>")` to get the HSM definition. Compare the agent's phase transition attempts against valid transitions. Invalid transition attempts = documentation issue (skill prescribed wrong path) or user error.
|
|
51
|
+
3. **Check guard prerequisites** — For `workflow.guard-failed` events, look up the guard in the topology to understand unmet preconditions.
|
|
52
|
+
|
|
53
|
+
#### 1c. Playbook Adherence Check
|
|
54
|
+
|
|
55
|
+
Use `exarchos_workflow describe(playbook: "<workflowType>")` to retrieve phase playbooks. For each phase executed, compare playbook's `tools`, `events`, `transitionCriteria`, `guardPrerequisites`, `humanCheckpoint`, and `compactGuidance` against what the agent actually did and what skill docs prescribe.
|
|
56
|
+
|
|
57
|
+
**Playbook violations are diagnostic gold:**
|
|
58
|
+
- Agent deviated and skill docs told it to → **documentation issue** (skill contradicts playbook)
|
|
59
|
+
- Agent deviated and skill docs agree with playbook → **user error**
|
|
60
|
+
- Playbook is wrong (prescribes invalid tools/events) → **code bug**
|
|
61
|
+
|
|
62
|
+
#### 1d. Event Log Analysis
|
|
63
|
+
|
|
64
|
+
Use `exarchos_event query(stream)` on the workflow's event stream. Look for:
|
|
65
|
+
|
|
66
|
+
- **Rejected events** — absent from log despite agent attempts (corroborate with conversation errors)
|
|
67
|
+
- **Missing events** — compare against playbook `events` field and `exarchos_event describe(emissionGuide: true)`. Missing model-emitted events = documentation gap or user error.
|
|
68
|
+
- **Sequence anomalies** — wrong order, duplicates, or timeline gaps
|
|
69
|
+
- **Schema mismatches** — use `describe(eventTypes: [...])` to get authoritative JSON Schema. Compare actual payloads against schema for semantically wrong fields.
|
|
70
|
+
|
|
71
|
+
#### 1e. Orchestrate Action and Gate Analysis
|
|
72
|
+
|
|
73
|
+
1. **Schema verification** — `exarchos_orchestrate describe(actions: [...])` for authoritative schemas. Compare agent's parameters against schema to detect stale skill docs or improvisation.
|
|
74
|
+
2. **Gate metadata** — Describe output includes `{ blocking, dimension, autoEmits }`. Check: did the agent treat blocking/non-blocking correctly? Did expected auto-emissions fire?
|
|
75
|
+
3. **Gate convergence** — `exarchos_view convergence` for per-dimension (D1-D5) pass rates. Low convergence suggests systemic gate issues.
|
|
76
|
+
|
|
77
|
+
#### 1f. Runbook Conformance Check
|
|
78
|
+
|
|
79
|
+
Use `exarchos_orchestrate runbook(phase)` to retrieve relevant runbooks. Check: step ordering, decision branch correctness (steps with `decide` fields), `onFail` directive adherence (`stop`/`continue`/`retry`), and `templateVars` completeness.
|
|
80
|
+
|
|
81
|
+
#### 1g. Telemetry Review
|
|
82
|
+
|
|
83
|
+
Use `exarchos_view telemetry` for per-tool performance. Flag: high error rates (systemic issues), high invocation counts (retry loops), and tools never invoked that the playbook prescribes.
|
|
84
|
+
|
|
85
|
+
### Step 2: Scan Session for Failed Tool Calls
|
|
86
|
+
|
|
87
|
+
Supplement the debug trace with client-side context — review conversation for failed Exarchos tool calls.
|
|
88
|
+
|
|
89
|
+
**Note:** Platform-dependent step (requires conversation history). Skip on platforms without introspection; the debug trace is self-sufficient.
|
|
90
|
+
|
|
91
|
+
**Target tools:** `exarchos_workflow`, `exarchos_event`, `exarchos_orchestrate`, `exarchos_view`, `exarchos_sync`
|
|
92
|
+
|
|
93
|
+
**Error signals:** `INVALID_INPUT`, `VALIDATION_ERROR`, `BATCH_APPEND_FAILED`, Zod failures (`invalid_type`, `invalid_enum_value`, `unrecognized_keys`), `ENOENT`, `CLAIM_FAILED`, `SEQUENCE_CONFLICT`, CAS exhaustion, retry sequences, successful-after-retry calls.
|
|
94
|
+
|
|
95
|
+
### Step 3: Diagnose Each Failure
|
|
96
|
+
|
|
97
|
+
Merge debug trace and conversation scan findings. For each failure document:
|
|
98
|
+
|
|
99
|
+
1. **What was attempted** — action, parameters, intent
|
|
100
|
+
2. **What went wrong** — error message and validation path
|
|
101
|
+
3. **Server-side evidence** — event log, state, describe output, views
|
|
102
|
+
4. **Authoritative reference** — the self-service query providing ground truth (playbook, topology, schema, runbook)
|
|
103
|
+
5. **Root cause** — per `references/root-cause-patterns.md`
|
|
104
|
+
6. **Fix category** — code, docs, or user behavior
|
|
105
|
+
|
|
106
|
+
Flag discrepancies only visible via server-side inspection as **trace-only findings**.
|
|
107
|
+
|
|
108
|
+
### Step 4: Categorize into Buckets
|
|
109
|
+
|
|
110
|
+
Assign each failure to exactly one root cause bucket:
|
|
111
|
+
|
|
112
|
+
#### Bucket 1: Code Bug
|
|
113
|
+
The MCP server, event store, or workflow engine has a defect.
|
|
114
|
+
|
|
115
|
+
**Signals:** Schema rejects valid input (confirmed via `describe`), CAS failures with no concurrent writers, gate over-enforcement, identical-parameter retry succeeds (race condition), state corruption, topology/engine mismatch, auto-emission failure.
|
|
116
|
+
|
|
117
|
+
**Action:** File bug issue with reproduction steps, expected vs actual, and suggested fix.
|
|
118
|
+
|
|
119
|
+
#### Bucket 2: Documentation Issue
|
|
120
|
+
Skill docs are wrong, incomplete, or out of sync with the MCP server's self-service output.
|
|
121
|
+
|
|
122
|
+
**Signals:** Skill payload doesn't match `describe` schema, skill/playbook divergence, skill documents nonexistent topology paths, missing event types (compare emission guide), retry-based field discovery, runbook/skill contradictions, compactGuidance drift.
|
|
123
|
+
|
|
124
|
+
**Action:** File docs issue with file:line, the discrepancy, and correct information from `describe` output.
|
|
125
|
+
|
|
126
|
+
#### Bucket 3: User Error
|
|
127
|
+
The agent misused a tool in a way both docs and `describe` output correctly describe.
|
|
128
|
+
|
|
129
|
+
**Signals:** Format mismatch (confirmed by `describe` + docs agreement), invalid sequence (topology confirms), missing context both skill and playbook prescribe, runbook deviation without justification.
|
|
130
|
+
|
|
131
|
+
**Action:** Note for skill improvement if errors are frequent.
|
|
132
|
+
|
|
133
|
+
### Step 5: Generate Report
|
|
134
|
+
|
|
135
|
+
Produce the report using the template from `references/report-template.md`. Include:
|
|
136
|
+
- Summary counts per bucket
|
|
137
|
+
- Debug trace summary (workflows inspected, events reviewed, describe queries issued, views consulted)
|
|
138
|
+
- Each failure with full diagnosis (including authoritative self-service references)
|
|
139
|
+
- Trace-only findings section (issues only visible via server-side inspection)
|
|
140
|
+
- Playbook/runbook adherence summary
|
|
141
|
+
- Actionable next steps (draft issue bodies for bugs/docs issues)
|
|
142
|
+
|
|
143
|
+
### Step 6: Offer to File Issues
|
|
144
|
+
|
|
145
|
+
For findings in the **Code Bug** and **Documentation Issue** buckets, offer to create GitHub issues:
|
|
146
|
+
|
|
147
|
+
```bash
|
|
148
|
+
gh issue create --title "<type>: <summary>" --body "<issue body>" --label "bug"
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
Only file issues with user confirmation — present the draft first.
|
|
152
|
+
|
|
153
|
+
## Required Output Format
|
|
154
|
+
|
|
155
|
+
```json
|
|
156
|
+
{
|
|
157
|
+
"session_summary": {
|
|
158
|
+
"total_tool_calls": 0,
|
|
159
|
+
"failed_tool_calls": 0,
|
|
160
|
+
"failure_rate": "0%",
|
|
161
|
+
"debug_trace": {
|
|
162
|
+
"workflows_inspected": 0,
|
|
163
|
+
"events_reviewed": 0,
|
|
164
|
+
"describe_queries": 0,
|
|
165
|
+
"views_consulted": [],
|
|
166
|
+
"trace_only_findings": 0
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"playbook_adherence": {
|
|
170
|
+
"phases_checked": 0,
|
|
171
|
+
"violations": [
|
|
172
|
+
{
|
|
173
|
+
"phase": "delegate",
|
|
174
|
+
"field": "events",
|
|
175
|
+
"expected": "team.spawned, team.task.assigned",
|
|
176
|
+
"actual": "none emitted",
|
|
177
|
+
"bucket": "documentation_issue"
|
|
178
|
+
}
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"runbook_conformance": {
|
|
182
|
+
"runbooks_checked": 0,
|
|
183
|
+
"deviations": []
|
|
184
|
+
},
|
|
185
|
+
"buckets": {
|
|
186
|
+
"code_bug": [],
|
|
187
|
+
"documentation_issue": [],
|
|
188
|
+
"user_error": []
|
|
189
|
+
},
|
|
190
|
+
"findings": [
|
|
191
|
+
{
|
|
192
|
+
"id": 1,
|
|
193
|
+
"bucket": "code_bug | documentation_issue | user_error",
|
|
194
|
+
"tool": "exarchos_workflow",
|
|
195
|
+
"action": "set",
|
|
196
|
+
"error": "INVALID_INPUT: ...",
|
|
197
|
+
"root_cause": "Schema rejects null branch on pending tasks",
|
|
198
|
+
"trace_evidence": "describe(actions: ['set']) shows branch as required string; event log confirms no task.updated event",
|
|
199
|
+
"authoritative_ref": "exarchos_workflow describe(actions: ['set']) → TaskSchema",
|
|
200
|
+
"severity": "HIGH | MEDIUM | LOW",
|
|
201
|
+
"suggested_fix": "Accept nullable branch in TaskSchema",
|
|
202
|
+
"issue_draft": {
|
|
203
|
+
"title": "bug: workflow task schema rejects null branch",
|
|
204
|
+
"labels": ["bug"],
|
|
205
|
+
"body": "..."
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"trace_only_findings": [
|
|
210
|
+
{
|
|
211
|
+
"id": "T1",
|
|
212
|
+
"description": "State drift: agent assumed phase was 'delegate' but server shows 'plan'",
|
|
213
|
+
"evidence": "exarchos_workflow get shows phase=plan; topology confirms plan→delegate requires planReviewComplete guard",
|
|
214
|
+
"authoritative_ref": "exarchos_workflow describe(topology: 'feature') → guards",
|
|
215
|
+
"bucket": "documentation_issue",
|
|
216
|
+
"suggested_fix": "Skill should instruct agent to verify phase via get before proceeding"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Anti-Patterns
|
|
223
|
+
|
|
224
|
+
| Don't | Do Instead |
|
|
225
|
+
|-------|------------|
|
|
226
|
+
| Skip the debug trace and only scan conversation | Always query MCP self-service tools first — conversation scan is supplementary |
|
|
227
|
+
| Guess what the schema expects | Use `describe` to get authoritative schemas — they are the source of truth |
|
|
228
|
+
| Assess playbook adherence from memory | Query `describe(playbook)` to get the actual prescribed tools, events, and criteria |
|
|
229
|
+
| Assume the topology without checking | Query `describe(topology)` to get valid transitions, guards, and effects |
|
|
230
|
+
| Blame the user when skill docs contradict the playbook | If skill docs diverge from playbook/describe output, it's a documentation issue |
|
|
231
|
+
| File duplicate issues | Check existing open/closed issues before drafting |
|
|
232
|
+
| Categorize retries as separate failures | Group retry sequences as a single finding |
|
|
233
|
+
| Ignore successful-after-retry calls | These reveal friction even though they eventually worked |
|
|
234
|
+
| Include non-Exarchos failures | Scope strictly to the 5 Exarchos tools — other MCP failures are out of scope |
|
|
235
|
+
| Report conversation-only findings without trace corroboration | Cross-reference every finding with server-side state when possible |
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Dogfood Report Template
|
|
2
|
+
|
|
3
|
+
```markdown
|
|
4
|
+
## Dogfood Report
|
|
5
|
+
|
|
6
|
+
**Session:** [workflow name or description]
|
|
7
|
+
**Date:** [ISO 8601]
|
|
8
|
+
**Workflow type:** [feature | debug | refactor | ad-hoc]
|
|
9
|
+
|
|
10
|
+
### Summary
|
|
11
|
+
|
|
12
|
+
| Metric | Value |
|
|
13
|
+
|--------|-------|
|
|
14
|
+
| Total Exarchos tool calls | X |
|
|
15
|
+
| Failed tool calls | Y |
|
|
16
|
+
| Failure rate | Z% |
|
|
17
|
+
| Code bugs found | A |
|
|
18
|
+
| Documentation issues found | B |
|
|
19
|
+
| User errors found | C |
|
|
20
|
+
|
|
21
|
+
### Debug Trace Summary
|
|
22
|
+
|
|
23
|
+
| Metric | Value |
|
|
24
|
+
|--------|-------|
|
|
25
|
+
| Workflows inspected | X |
|
|
26
|
+
| Events reviewed | Y |
|
|
27
|
+
| Describe queries issued | Z |
|
|
28
|
+
| Views consulted | [pipeline, convergence, telemetry, ...] |
|
|
29
|
+
| Trace-only findings | W |
|
|
30
|
+
|
|
31
|
+
### Playbook Adherence
|
|
32
|
+
|
|
33
|
+
| Phase | Tools | Events | Transition Criteria | Guards | Verdict |
|
|
34
|
+
|-------|-------|--------|-------------------|--------|---------|
|
|
35
|
+
| [phase] | [match/mismatch] | [match/mismatch] | [match/mismatch] | [match/mismatch] | [OK/VIOLATION] |
|
|
36
|
+
|
|
37
|
+
**Violations:**
|
|
38
|
+
- [phase]: [playbook says X, agent did Y — bucket: documentation_issue/user_error]
|
|
39
|
+
|
|
40
|
+
### Runbook Conformance
|
|
41
|
+
|
|
42
|
+
| Runbook | Steps Executed | Deviations | Verdict |
|
|
43
|
+
|---------|---------------|------------|---------|
|
|
44
|
+
| [id] | X/Y | [list] | [OK/DEVIATED] |
|
|
45
|
+
|
|
46
|
+
### Code Bugs
|
|
47
|
+
|
|
48
|
+
#### [CB-1] [Title]
|
|
49
|
+
- **Tool:** `exarchos_workflow` action `set`
|
|
50
|
+
- **Error:** `INVALID_INPUT: ...`
|
|
51
|
+
- **Root cause:** [diagnosis]
|
|
52
|
+
- **Trace evidence:** [what describe/view/event query revealed]
|
|
53
|
+
- **Authoritative ref:** [e.g., `describe(actions: ['set']) → TaskSchema`]
|
|
54
|
+
- **Impact:** [blocked workflow / degraded experience / minor friction]
|
|
55
|
+
- **Suggested fix:** [specific code change]
|
|
56
|
+
- **Files:** [file:line references]
|
|
57
|
+
|
|
58
|
+
### Documentation Issues
|
|
59
|
+
|
|
60
|
+
#### [DOC-1] [Title]
|
|
61
|
+
- **Tool:** `exarchos_event` action `append`
|
|
62
|
+
- **Error:** `VALIDATION_ERROR: invalid_enum_value`
|
|
63
|
+
- **Root cause:** [diagnosis — what the docs say vs what describe output shows]
|
|
64
|
+
- **Trace evidence:** [describe output vs skill doc content]
|
|
65
|
+
- **Authoritative ref:** [e.g., `describe(eventTypes: ['team.spawned']) → JSON Schema`]
|
|
66
|
+
- **Skill/Reference:** [skills/X/SKILL.md:line or references/Y.md:line]
|
|
67
|
+
- **Source of truth:** [describe action + servers/exarchos-mcp/src/file.ts:line]
|
|
68
|
+
- **Suggested fix:** [update docs to match describe output]
|
|
69
|
+
|
|
70
|
+
### User Errors
|
|
71
|
+
|
|
72
|
+
#### [UE-1] [Title]
|
|
73
|
+
- **Tool:** `exarchos_orchestrate` action `check_tdd_compliance`
|
|
74
|
+
- **Error:** [error message]
|
|
75
|
+
- **What happened:** [agent did X]
|
|
76
|
+
- **What should have happened:** [both docs and describe agree on Y]
|
|
77
|
+
- **Authoritative ref:** [confirm docs match describe/topology/playbook]
|
|
78
|
+
- **Skill improvement:** [if the error is common, suggest making the skill clearer]
|
|
79
|
+
|
|
80
|
+
### Trace-Only Findings
|
|
81
|
+
|
|
82
|
+
Issues discovered solely through debug trace (not visible in conversation errors):
|
|
83
|
+
|
|
84
|
+
#### [T-1] [Title]
|
|
85
|
+
- **Discovery method:** [describe comparison / event log analysis / view query / playbook check]
|
|
86
|
+
- **Evidence:** [what the trace revealed]
|
|
87
|
+
- **Authoritative ref:** [which self-service query provided the ground truth]
|
|
88
|
+
- **Bucket:** [code_bug / documentation_issue]
|
|
89
|
+
- **Impact:** [silent data loss / state drift / stale guidance / playbook-skill divergence]
|
|
90
|
+
- **Suggested fix:** [specific change]
|
|
91
|
+
|
|
92
|
+
### Issue Drafts
|
|
93
|
+
|
|
94
|
+
Ready-to-file issue bodies for Code Bugs and Documentation Issues:
|
|
95
|
+
|
|
96
|
+
#### Issue: [CB-1 title]
|
|
97
|
+
```
|
|
98
|
+
gh issue create --title "bug: [summary]" --label "bug" --body "..."
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
#### Issue: [DOC-1 title]
|
|
102
|
+
```
|
|
103
|
+
gh issue create --title "docs: [summary]" --label "bug" --body "..."
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Patterns & Trends
|
|
107
|
+
|
|
108
|
+
[Observations about recurring failure modes, systemic issues, or improvements to the dogfood process itself]
|
|
109
|
+
```
|