@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exarchos",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "2.
|
|
3
|
+
"description": "A local-first SDLC workflow harness — structured, durable state for coding agents, with convergence gates, agent teams, and full audit trail.",
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "LevelUp Software"
|
|
7
7
|
},
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
"audit-trail",
|
|
19
19
|
"code-review"
|
|
20
20
|
],
|
|
21
|
+
"agents": [
|
|
22
|
+
"./agents/implementer.md",
|
|
23
|
+
"./agents/fixer.md",
|
|
24
|
+
"./agents/reviewer.md"
|
|
25
|
+
],
|
|
21
26
|
"commands": "./commands/",
|
|
22
27
|
"skills": "./skills/",
|
|
23
28
|
"mcpServers": {
|
package/AGENTS.md
CHANGED
|
@@ -11,7 +11,7 @@ Exarchos is local agent governance for Claude Code. It provides event-sourced SD
|
|
|
11
11
|
- **Testing:** Vitest (co-located `*.test.ts`), bash integration tests (co-located `*.test.sh`)
|
|
12
12
|
- **MCP Framework:** `@modelcontextprotocol/sdk` + `zod`
|
|
13
13
|
- **Build:** `tsc` for type checking, `bun build` for bundling MCP server and CLI
|
|
14
|
-
- **Tools:** Claude Code CLI,
|
|
14
|
+
- **Tools:** Claude Code CLI, GitHub CLI (`gh`) for PRs
|
|
15
15
|
|
|
16
16
|
## Code Organization
|
|
17
17
|
|
|
@@ -48,7 +48,7 @@ Single server at `servers/exarchos-mcp/` exposing 5 composite tools:
|
|
|
48
48
|
|
|
49
49
|
## Known Tech Debt
|
|
50
50
|
|
|
51
|
-
- `docs/follow-ups/`
|
|
51
|
+
- `docs/follow-ups/` contains 73+ design/plan files, many likely completed — needs per-file triage
|
|
52
52
|
- Some design docs reference completed/superseded features (Jules integration, pre-Exarchos architecture)
|
|
53
53
|
|
|
54
54
|
## Scan Preferences
|
package/README.md
CHANGED
|
@@ -2,75 +2,77 @@
|
|
|
2
2
|
<img src="exarchos-logo.svg" alt="Exarchos" width="280" />
|
|
3
3
|
|
|
4
4
|
**Your agents forget. Exarchos doesn't.**<br>
|
|
5
|
-
|
|
5
|
+
A local-first SDLC workflow harness — structured, durable state for coding agents.
|
|
6
6
|
|
|
7
7
|
[](https://github.com/lvlup-sw/exarchos/actions/workflows/ci.yml)
|
|
8
8
|
[](https://www.npmjs.com/package/@lvlup-sw/exarchos)
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
[](https://nodejs.org)
|
|
11
11
|
|
|
12
|
-
[Install](#install) · [What
|
|
12
|
+
[Install](#install) · [What you get](#what-you-get) · [Architecture](#agent-first-architecture) · [Workflows](#workflows) · [Docs](https://lvlup-sw.github.io/exarchos/)
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
What to record:
|
|
19
|
-
1. Mid-feature workflow: show /checkpoint saving state
|
|
20
|
-
2. New session: show /rehydrate restoring phase, tasks, artifact pointers
|
|
21
|
-
3. Agent continues exactly where it left off
|
|
22
|
-
Tools: vhs (https://github.com/charmbracelet/vhs) or asciinema + agg
|
|
23
|
-
Specs: 720px wide, 15-20s, dark terminal, no typing delays > 50ms
|
|
24
|
-
See docs/assets/PRODUCTION-GUIDE.md for full instructions
|
|
17
|
+
## You already manage this by hand
|
|
25
18
|
|
|
26
|
-
|
|
27
|
-
<a href="docs/assets/demo-rehydrate.gif">
|
|
28
|
-
<img src="docs/assets/demo-rehydrate.gif" alt="Checkpoint a workflow mid-feature, rehydrate in a new session — full awareness restored in ~2k tokens" width="720" />
|
|
29
|
-
</a>
|
|
30
|
-
<br>
|
|
31
|
-
<sub>Checkpoint mid-feature. Rehydrate next day. Full workflow restored in ~2k tokens.</sub>
|
|
32
|
-
</div>
|
|
33
|
-
-->
|
|
34
|
-
|
|
35
|
-
## You probably already do this
|
|
36
|
-
|
|
37
|
-
You have a plan.md. Maybe a spec file per feature. You iterate with Claude, tell it to execute, commit the artifacts alongside the code. It works.
|
|
38
|
-
|
|
39
|
-
Until context compaction wipes the session halfway through. Or the agent drifts from the spec and you don't catch it until review. Or you come back tomorrow and spend 30 minutes re-explaining what the agent already knew.
|
|
40
|
-
|
|
41
|
-
Developers keep reinventing this on their own: iterate on a plan file, execute it, commit the artifacts. Skill-based workflow tools try to systematize it with markdown files loaded into context. But they're stateless. Nothing persists across context compaction, suggestions get ignored as conversations grow, and there's no verification that the agent followed through.
|
|
42
|
-
|
|
43
|
-
The plan-file workflow is the right instinct. Markdown files just can't persist state across sessions, enforce phase gates, or prove that the agent actually did what you asked.
|
|
19
|
+
A plan file per feature, CLAUDE.md updated between sessions, summaries written out before `/clear` so the next context window has something to work with. Maybe you enforce your own phases — design, plan, implement, review. It works. It's also manual, and nothing holds the agent to it once the window gets long enough that your instructions start getting ignored.
|
|
44
20
|
|
|
45
21
|
## Your plan.md workflow, with teeth
|
|
46
22
|
|
|
47
|
-
Exarchos
|
|
23
|
+
Exarchos is a local-first SDLC workflow harness. It gives your agent structured, durable state that lives outside the context window. Phase transitions are enforced by a state machine. Deterministic convergence gates run as TypeScript checks against your diff and git history, not prompts. You approve the design, you approve the merge — everything between runs on its own.
|
|
48
24
|
|
|
49
|
-
|
|
25
|
+
`/clear` whenever you want. `/rehydrate` when you're back. State persists.
|
|
26
|
+
|
|
27
|
+
It ships as a Claude Code plugin and a standalone MCP server with a CLI adapter. Install it and run `/ideate`.
|
|
50
28
|
|
|
51
29
|
<div align="center">
|
|
52
30
|
<a href="docs/assets/architecture.svg">
|
|
53
|
-
<img src="docs/assets/architecture.svg" alt="Exarchos architecture: workflow pipeline,
|
|
31
|
+
<img src="docs/assets/architecture.svg" alt="Exarchos architecture: workflow pipeline, state machine, agent teams in worktrees, quality gates" width="720" />
|
|
54
32
|
</a>
|
|
55
33
|
<br>
|
|
56
|
-
<sub>
|
|
34
|
+
<sub>Architecture: workflow phases, agent dispatch, convergence gates.</sub>
|
|
57
35
|
</div>
|
|
58
36
|
|
|
59
37
|
## Install
|
|
60
38
|
|
|
39
|
+
**Claude Code plugin:**
|
|
61
40
|
```bash
|
|
62
|
-
|
|
63
|
-
/plugin marketplace add lvlup-sw/exarchos
|
|
41
|
+
/plugin marketplace add lvlup-sw/.github
|
|
64
42
|
/plugin install exarchos@lvlup-sw
|
|
65
43
|
```
|
|
66
44
|
|
|
67
|
-
|
|
45
|
+
**Standalone MCP server:**
|
|
46
|
+
```bash
|
|
47
|
+
npx @lvlup-sw/exarchos mcp
|
|
48
|
+
```
|
|
68
49
|
|
|
69
|
-
**
|
|
50
|
+
**Interactive installer** (installs Exarchos + optional companions):
|
|
70
51
|
```bash
|
|
71
|
-
npx
|
|
52
|
+
npx create-exarchos
|
|
72
53
|
```
|
|
73
54
|
|
|
55
|
+
### Installing skills for your agent
|
|
56
|
+
|
|
57
|
+
Exarchos ships its skills as platform-agnostic source. To materialize the
|
|
58
|
+
rendered bundle for a specific agent runtime, use `install-skills`:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
exarchos install-skills --agent claude
|
|
62
|
+
exarchos install-skills --agent codex
|
|
63
|
+
exarchos install-skills --agent opencode
|
|
64
|
+
exarchos install-skills --agent copilot
|
|
65
|
+
exarchos install-skills --agent cursor
|
|
66
|
+
exarchos install-skills --agent generic
|
|
67
|
+
exarchos install-skills # auto-detect from PATH + env vars
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Auto-detection checks for known agent binaries on your `PATH` and for
|
|
71
|
+
runtime-specific environment variables. If nothing is found, the generic
|
|
72
|
+
bundle is installed and a message explains the fallback. If multiple
|
|
73
|
+
agents are detected, an interactive prompt asks which one to target (or
|
|
74
|
+
you can pass `--agent` explicitly).
|
|
75
|
+
|
|
74
76
|
<details>
|
|
75
77
|
<summary>Development setup</summary>
|
|
76
78
|
|
|
@@ -80,47 +82,79 @@ npm install && npm run build
|
|
|
80
82
|
claude --plugin-dir .
|
|
81
83
|
```
|
|
82
84
|
|
|
83
|
-
Requires Node.js >= 20.
|
|
85
|
+
Requires Node.js >= 20.
|
|
84
86
|
</details>
|
|
85
87
|
|
|
86
88
|
## What you get
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
Three workflow types (feature, debug, refactor) with enforced phase transitions. You approve the design and you approve the merge. Everything between auto-continues.
|
|
91
|
+
|
|
92
|
+
**Checkpoint and resume.** `/checkpoint` saves mid-task. `/rehydrate` restores it in ~2-3k tokens.
|
|
93
|
+
|
|
94
|
+
**Typed agent teams.** Implementer, fixer, reviewer — each with scoped tools, hooks, and worktree isolation. Fixers resume failed tasks with full context instead of starting over.
|
|
95
|
+
|
|
96
|
+
**Runbooks.** Machine-readable orchestration sequences served via MCP. Agents request the steps for a given phase, get back ordered tool calls with schemas and gate semantics. Any MCP client can use them.
|
|
97
|
+
|
|
98
|
+
**Two-stage review.** Spec compliance first (does it match the design?), then code quality (is it well-written?). Deterministic convergence gates, not prompts.
|
|
99
|
+
|
|
100
|
+
**Audit trail.** Every transition, gate result, and agent action goes into an append-only event log. When something breaks, trace what happened.
|
|
89
101
|
|
|
90
|
-
**
|
|
102
|
+
**Token-efficient.** Lazy schema registration keeps MCP startup under 500 tokens. Field projection trims state queries by 90%. Review sends diffs, not full files.
|
|
91
103
|
|
|
92
|
-
|
|
104
|
+
### Agent-first architecture
|
|
93
105
|
|
|
94
|
-
|
|
106
|
+
Exarchos ships as a single binary (`exarchos`) with an `mcp` subcommand. Claude Code spawns it as a stdio MCP server and talks to it with structured JSON. Four composite tools cover the surface:
|
|
95
107
|
|
|
96
|
-
|
|
108
|
+
| Tool | What it does |
|
|
109
|
+
|------|-------------|
|
|
110
|
+
| `exarchos_workflow` | Workflow lifecycle: init, get, set, cancel, cleanup, reconcile |
|
|
111
|
+
| `exarchos_event` | Append-only event store: append, query, batch |
|
|
112
|
+
| `exarchos_orchestrate` | Team coordination: task dispatch, review triage, runbooks, agent specs |
|
|
113
|
+
| `exarchos_view` | CQRS projections: pipeline status, task boards, stack health |
|
|
97
114
|
|
|
98
|
-
|
|
115
|
+
All four tools support lazy schema loading via `describe`. At startup, only slim descriptions and action enums are registered. Full schemas load on demand.
|
|
99
116
|
|
|
100
|
-
|
|
117
|
+
Every tool input is a Zod-validated discriminated union keyed on `action`. The same `dispatch()` function backs both the MCP transport and the CLI, so `exarchos workflow get --featureId my-feature` from a terminal returns the same result the agent gets.
|
|
101
118
|
|
|
119
|
+
Structured input over natural language. Strict schema validation over loose parsing. One binary, same behavior whether an agent or a human is driving it.
|
|
102
120
|
|
|
103
121
|
### Integrations
|
|
104
122
|
|
|
105
123
|
| Component | Source | Purpose |
|
|
106
124
|
|-----------|--------|---------|
|
|
107
|
-
|
|
|
108
|
-
|
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
| **Microsoft Learn** | [Dev companion](companion/) | Official Azure/.NET documentation |
|
|
125
|
+
| Exarchos | Core plugin | Workflow state, event log, team coordination, convergence gates |
|
|
126
|
+
| Serena | Optional companion (`npx create-exarchos`) | Semantic code analysis |
|
|
127
|
+
| Context7 | Optional companion (`npx create-exarchos`) | Up-to-date library documentation |
|
|
128
|
+
| Microsoft Learn | Optional companion (`npx create-exarchos`) | Azure and .NET documentation |
|
|
112
129
|
|
|
113
130
|
## Workflows
|
|
114
131
|
|
|
115
132
|
> Commands shown in short form (`/ideate`). As a plugin, they're namespaced: `/exarchos:ideate`, `/exarchos:plan`, etc.
|
|
116
133
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
|
120
|
-
|
|
121
|
-
|
|
|
122
|
-
|
|
|
123
|
-
|
|
|
134
|
+
**Start a workflow:**
|
|
135
|
+
|
|
136
|
+
| When you need to... | Command | What it does |
|
|
137
|
+
|:---------------------|:--------|:-------------|
|
|
138
|
+
| Build a feature | `/ideate` | Design exploration, TDD plan, parallel implementation |
|
|
139
|
+
| Fix a bug | `/debug` | Triage, investigate, fix, validate (hotfix or thorough) |
|
|
140
|
+
| Improve code | `/refactor` | Assess scope, brief, implement (polish or full overhaul) |
|
|
141
|
+
|
|
142
|
+
**Lifecycle commands:**
|
|
143
|
+
|
|
144
|
+
| Command | What it does |
|
|
145
|
+
|:--------|:-------------|
|
|
146
|
+
| `/plan` | Create TDD implementation plan from a design doc |
|
|
147
|
+
| `/delegate` | Dispatch tasks to agent teammates in worktrees |
|
|
148
|
+
| `/review` | Run two-stage review (spec compliance + code quality) |
|
|
149
|
+
| `/synthesize` | Create PR from feature branch |
|
|
150
|
+
| `/shepherd` | Push PRs through CI and reviews to merge readiness |
|
|
151
|
+
| `/cleanup` | Resolve merged workflow to completed state |
|
|
152
|
+
| `/checkpoint` | Save workflow state for later resumption |
|
|
153
|
+
| `/rehydrate` | Restore workflow state after compaction or session break |
|
|
154
|
+
| `/reload` | Re-inject context after degradation |
|
|
155
|
+
| `/autocompact` | Toggle autocompact or set threshold |
|
|
156
|
+
| `/tag` | Attribute current session to a feature or project |
|
|
157
|
+
| `/tdd` | Plan implementation using strict Red-Green-Refactor |
|
|
124
158
|
|
|
125
159
|
## Build & test
|
|
126
160
|
|
package/agents/.gitkeep
ADDED
|
File without changes
|
package/agents/fixer.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: exarchos-fixer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent when a task has failed and needs diagnosis and repair with adversarial verification.
|
|
5
|
+
|
|
6
|
+
<example>
|
|
7
|
+
Context: A delegated task failed its quality gates or tests
|
|
8
|
+
user: "Task-005 failed TDD compliance — fix it"
|
|
9
|
+
assistant: "I'll dispatch the exarchos-fixer agent to diagnose and repair the failure."
|
|
10
|
+
<commentary>
|
|
11
|
+
Failed task requiring root cause analysis and targeted fix triggers the fixer agent.
|
|
12
|
+
</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
|
|
15
|
+
model: opus
|
|
16
|
+
color: red
|
|
17
|
+
disallowedTools: ["Agent"]
|
|
18
|
+
skills:
|
|
19
|
+
- tdd-patterns
|
|
20
|
+
hooks:
|
|
21
|
+
PostToolUse:
|
|
22
|
+
- matcher: "Bash"
|
|
23
|
+
hooks:
|
|
24
|
+
- type: command
|
|
25
|
+
command: "npm run test:run"
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
You are a fixer agent. Your job is to diagnose and repair failures.
|
|
29
|
+
|
|
30
|
+
## Failure Context
|
|
31
|
+
{{failureContext}}
|
|
32
|
+
|
|
33
|
+
## Task
|
|
34
|
+
{{taskDescription}}
|
|
35
|
+
|
|
36
|
+
## Files
|
|
37
|
+
{{filePaths}}
|
|
38
|
+
|
|
39
|
+
## Adversarial Verification Protocol
|
|
40
|
+
1. Reproduce the failure first — confirm you can see it fail
|
|
41
|
+
2. Identify root cause — do not guess, trace the actual error
|
|
42
|
+
3. Apply minimal fix — change only what is necessary
|
|
43
|
+
4. Verify fix — run the failing test and confirm it passes
|
|
44
|
+
5. Run full test suite — ensure no regressions
|
|
45
|
+
6. If fix introduces new failures, revert and try again
|
|
46
|
+
|
|
47
|
+
Rules:
|
|
48
|
+
- NEVER apply a fix without first reproducing the failure
|
|
49
|
+
- NEVER suppress or skip failing tests
|
|
50
|
+
- Prefer targeted fixes over broad changes
|
|
51
|
+
- Document what caused the failure and why the fix works
|
|
52
|
+
|
|
53
|
+
## Completion Report
|
|
54
|
+
When done, output a JSON completion report:
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"status": "complete",
|
|
58
|
+
"implements": ["<design requirement IDs>"],
|
|
59
|
+
"tests": [{"name": "<test name>", "file": "<path>"}],
|
|
60
|
+
"files": ["<created/modified files>"]
|
|
61
|
+
}
|
|
62
|
+
```
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: exarchos-implementer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent when dispatching TDD implementation tasks to a subagent in an isolated worktree.
|
|
5
|
+
|
|
6
|
+
<example>
|
|
7
|
+
Context: Orchestrator is dispatching a task from an implementation plan
|
|
8
|
+
user: "Implement the agent spec handler (task-003)"
|
|
9
|
+
assistant: "I'll dispatch the exarchos-implementer agent to implement this task using TDD in an isolated worktree."
|
|
10
|
+
<commentary>
|
|
11
|
+
Implementation task requiring test-first development triggers the implementer agent.
|
|
12
|
+
</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
tools: ["Read", "Write", "Edit", "Bash", "Grep", "Glob"]
|
|
15
|
+
model: opus
|
|
16
|
+
color: blue
|
|
17
|
+
disallowedTools: ["Agent"]
|
|
18
|
+
isolation: worktree
|
|
19
|
+
memory: project
|
|
20
|
+
skills:
|
|
21
|
+
- tdd-patterns
|
|
22
|
+
- testing-patterns
|
|
23
|
+
hooks:
|
|
24
|
+
PostToolUse:
|
|
25
|
+
- matcher: "Bash"
|
|
26
|
+
hooks:
|
|
27
|
+
- type: command
|
|
28
|
+
command: "npm run test:run"
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
You are a TDD implementer agent working in an isolated worktree.
|
|
32
|
+
|
|
33
|
+
## Worktree Verification
|
|
34
|
+
Before making ANY file changes:
|
|
35
|
+
1. Run: `pwd`
|
|
36
|
+
2. Verify the path contains `.worktrees/`
|
|
37
|
+
3. If NOT in worktree: STOP and report error
|
|
38
|
+
|
|
39
|
+
## Task
|
|
40
|
+
{{taskDescription}}
|
|
41
|
+
|
|
42
|
+
## Requirements
|
|
43
|
+
{{requirements}}
|
|
44
|
+
|
|
45
|
+
## Files
|
|
46
|
+
{{filePaths}}
|
|
47
|
+
|
|
48
|
+
## TDD Protocol (Red-Green-Refactor)
|
|
49
|
+
1. **RED**: Write a failing test that defines the expected behavior
|
|
50
|
+
2. **GREEN**: Write the minimum code to make the test pass
|
|
51
|
+
3. **REFACTOR**: Clean up while keeping tests green
|
|
52
|
+
|
|
53
|
+
Rules:
|
|
54
|
+
- NEVER write implementation before its test
|
|
55
|
+
- Each test must fail before writing implementation
|
|
56
|
+
- Run tests after each change to verify state
|
|
57
|
+
- Keep commits atomic: one logical change per commit
|
|
58
|
+
|
|
59
|
+
## Completion Report
|
|
60
|
+
When done, output a JSON completion report:
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"status": "complete",
|
|
64
|
+
"implements": ["<design requirement IDs>"],
|
|
65
|
+
"tests": [{"name": "<test name>", "file": "<path>"}],
|
|
66
|
+
"files": ["<created/modified files>"]
|
|
67
|
+
}
|
|
68
|
+
```
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: exarchos-reviewer
|
|
3
|
+
description: |
|
|
4
|
+
Use this agent when performing read-only code review for quality, design compliance, and test coverage.
|
|
5
|
+
|
|
6
|
+
<example>
|
|
7
|
+
Context: Feature implementation is complete and needs review
|
|
8
|
+
user: "Review the agent spec handler for code quality"
|
|
9
|
+
assistant: "I'll dispatch the exarchos-reviewer agent to analyze code quality and design compliance."
|
|
10
|
+
<commentary>
|
|
11
|
+
Code review request triggers the reviewer agent for read-only analysis.
|
|
12
|
+
</commentary>
|
|
13
|
+
</example>
|
|
14
|
+
tools: ["Read", "Grep", "Glob", "Bash"]
|
|
15
|
+
model: opus
|
|
16
|
+
color: green
|
|
17
|
+
disallowedTools: ["Write", "Edit", "Agent"]
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are a code reviewer agent. You analyze code for quality, correctness, and design compliance.
|
|
21
|
+
|
|
22
|
+
## Review Scope
|
|
23
|
+
{{reviewScope}}
|
|
24
|
+
|
|
25
|
+
## Design Requirements
|
|
26
|
+
{{designRequirements}}
|
|
27
|
+
|
|
28
|
+
## Review Protocol
|
|
29
|
+
1. Read all changed files in scope
|
|
30
|
+
2. Check design requirement compliance
|
|
31
|
+
3. Verify test coverage for new code
|
|
32
|
+
4. Check for common anti-patterns
|
|
33
|
+
5. Produce structured review verdict
|
|
34
|
+
|
|
35
|
+
Rules:
|
|
36
|
+
- You have READ-ONLY access — do not modify any files
|
|
37
|
+
- Bash is restricted to read-only commands only (e.g., git diff, git log, test runners in dry-run mode). NEVER use Bash to create, edit, or delete files.
|
|
38
|
+
- Be specific in findings — include file paths and line references
|
|
39
|
+
- Categorize findings: critical, warning, suggestion
|
|
40
|
+
|
|
41
|
+
## Completion Report
|
|
42
|
+
When done, output a JSON completion report:
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"status": "complete",
|
|
46
|
+
"implements": ["<design requirement IDs>"],
|
|
47
|
+
"tests": [{"name": "<test name>", "file": "<path>"}],
|
|
48
|
+
"files": ["<reviewed files>"]
|
|
49
|
+
}
|
|
50
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Review failed tool calls in this session, diagnose root causes, and triage into code bug / docs issue / user error"
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Dogfood
|
|
6
|
+
|
|
7
|
+
Triage session failures for: "$ARGUMENTS"
|
|
8
|
+
|
|
9
|
+
## Skill Reference
|
|
10
|
+
|
|
11
|
+
Follow the dogfood skill: `@skills/dogfood/SKILL.md`
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
1. **Debug trace first** — Use MCP self-service tools to build a ground-truth picture:
|
|
16
|
+
- `exarchos_view pipeline` → identify active workflows
|
|
17
|
+
- `exarchos_workflow describe(topology, playbook)` → get HSM + phase playbooks
|
|
18
|
+
- `exarchos_event query` + `describe(emissionGuide)` → compare actual vs expected events
|
|
19
|
+
- `exarchos_orchestrate describe(actions)` + `runbook(phase)` → verify schemas, gates, step ordering
|
|
20
|
+
- `exarchos_view convergence, telemetry` → per-dimension pass rates, per-tool error rates
|
|
21
|
+
2. Scan this conversation for failed calls to the 5 Exarchos MCP tools (supplementary)
|
|
22
|
+
3. Cross-reference conversation errors with self-service evidence
|
|
23
|
+
4. Check playbook adherence and runbook conformance
|
|
24
|
+
5. Diagnose each failure using `references/root-cause-patterns.md`
|
|
25
|
+
6. Categorize: **code bug**, **documentation issue**, or **user error**
|
|
26
|
+
7. Present the report (include trace-only findings, playbook/runbook adherence)
|
|
27
|
+
8. Offer to file GitHub issues for bugs and doc issues
|
|
28
|
+
|
|
29
|
+
## Scope
|
|
30
|
+
|
|
31
|
+
If `$ARGUMENTS` is provided, focus analysis on that workflow or tool. Otherwise, review all Exarchos tool failures in the current session.
|
package/commands/ideate.md
CHANGED
|
@@ -52,7 +52,7 @@ After user selects approach:
|
|
|
52
52
|
|
|
53
53
|
## State Management
|
|
54
54
|
|
|
55
|
-
Initialize workflow state at the start using `mcp__plugin_exarchos_exarchos__exarchos_workflow` with `action: "init"` and
|
|
55
|
+
Initialize workflow state at the start using `mcp__plugin_exarchos_exarchos__exarchos_workflow` with `action: "init"`, `featureId`, and `workflowType: "feature"`.
|
|
56
56
|
|
|
57
57
|
After saving design, update state using `mcp__plugin_exarchos_exarchos__exarchos_workflow` with `action: "set"`:
|
|
58
58
|
- Set `artifacts.design` to the design path
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Run a lightweight oneshot workflow — plan + TDD implement + optional PR
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Oneshot
|
|
6
|
+
|
|
7
|
+
Start a lightweight oneshot workflow for: "$ARGUMENTS"
|
|
8
|
+
|
|
9
|
+
## When to use
|
|
10
|
+
|
|
11
|
+
Reach for `/exarchos:oneshot` when the change is:
|
|
12
|
+
|
|
13
|
+
- Bounded — single file or 2-3 tightly-coupled files
|
|
14
|
+
- Self-contained — no subagent dispatch needed
|
|
15
|
+
- Obvious — no design exploration required
|
|
16
|
+
- Small — direct-commit acceptable, or a single PR review will suffice
|
|
17
|
+
|
|
18
|
+
Examples: typo fixes, dependency bumps, single-function null checks, CI YAML
|
|
19
|
+
tweaks, config key renames, exploratory spikes.
|
|
20
|
+
|
|
21
|
+
For anything cross-cutting, multi-file, or needing two-stage review, use
|
|
22
|
+
`/exarchos:ideate` instead.
|
|
23
|
+
|
|
24
|
+
## Skill Reference
|
|
25
|
+
|
|
26
|
+
Follow the oneshot workflow skill: `@skills/oneshot-workflow/SKILL.md`
|
|
27
|
+
|
|
28
|
+
## Iron Law
|
|
29
|
+
|
|
30
|
+
> **NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
|
|
31
|
+
|
|
32
|
+
TDD applies to oneshot workflows. There is no exemption for "small" changes —
|
|
33
|
+
the test is what makes the change auditable.
|
|
34
|
+
|
|
35
|
+
## Workflow position
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
plan ──► implementing ──┬── [direct-commit] ──► completed
|
|
39
|
+
│
|
|
40
|
+
└── [opt-in PR] ──► synthesize ──► completed
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Choice state at the end of `implementing` is decided by `synthesisPolicy`
|
|
44
|
+
(set at init) plus any `synthesize.requested` events on the stream.
|
|
45
|
+
|
|
46
|
+
## Process
|
|
47
|
+
|
|
48
|
+
### Step 1: Init
|
|
49
|
+
|
|
50
|
+
Initialize a oneshot workflow using
|
|
51
|
+
`mcp__plugin_exarchos_exarchos__exarchos_workflow` with
|
|
52
|
+
`action: "init"`, `workflowType: "oneshot"`, a `featureId`, and optionally
|
|
53
|
+
`synthesisPolicy: "always" | "never" | "on-request"` (default: `"on-request"`).
|
|
54
|
+
|
|
55
|
+
If the user has stated a clear preference ("I want a PR for this" → `always`;
|
|
56
|
+
"don't open a PR" → `never`), pass it explicitly. Otherwise rely on the
|
|
57
|
+
default and let the user opt in mid-implementing if they change their mind.
|
|
58
|
+
|
|
59
|
+
### Step 2: Plan
|
|
60
|
+
|
|
61
|
+
Produce a one-page plan with four sections:
|
|
62
|
+
|
|
63
|
+
1. **Goal** — what the user is trying to accomplish (1-2 lines)
|
|
64
|
+
2. **Approach** — implementation strategy (1-2 lines)
|
|
65
|
+
3. **Files** — which files will change (1-5)
|
|
66
|
+
4. **Tests** — which tests will be added (named, not described)
|
|
67
|
+
|
|
68
|
+
Persist via `mcp__plugin_exarchos_exarchos__exarchos_workflow` with
|
|
69
|
+
`action: "set"`:
|
|
70
|
+
|
|
71
|
+
- Set `artifacts.plan` to the plan text
|
|
72
|
+
- Set `oneshot.planSummary` to a one-line summary
|
|
73
|
+
- Set `phase` to `"implementing"`
|
|
74
|
+
|
|
75
|
+
### Step 3: Implementing — in-session TDD loop
|
|
76
|
+
|
|
77
|
+
For each behavior in the plan:
|
|
78
|
+
|
|
79
|
+
1. **[RED]** Write a failing test. Run it. Confirm it fails for the right reason.
|
|
80
|
+
2. **[GREEN]** Write minimum code to pass. Run the test. Confirm green.
|
|
81
|
+
3. **[REFACTOR]** Clean up while keeping tests green.
|
|
82
|
+
|
|
83
|
+
Commit each cycle as a single atomic commit. No subagent dispatch — the main
|
|
84
|
+
agent does the work directly.
|
|
85
|
+
|
|
86
|
+
### Step 4: Mid-implementing opt-in (optional)
|
|
87
|
+
|
|
88
|
+
If the user says something like "actually, let's open a PR for this" or "I
|
|
89
|
+
want a review on this", call:
|
|
90
|
+
|
|
91
|
+
```typescript
|
|
92
|
+
mcp__plugin_exarchos_exarchos__exarchos_orchestrate({
|
|
93
|
+
action: "request_synthesize",
|
|
94
|
+
featureId: "<id>",
|
|
95
|
+
reason: "<why the user wants a PR>"
|
|
96
|
+
})
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
This appends a `synthesize.requested` event. The workflow stays in
|
|
100
|
+
`implementing` — the choice is only acted on at finalize.
|
|
101
|
+
|
|
102
|
+
### Step 5: Finalize
|
|
103
|
+
|
|
104
|
+
When all tests pass and typecheck is clean, call:
|
|
105
|
+
|
|
106
|
+
```typescript
|
|
107
|
+
mcp__plugin_exarchos_exarchos__exarchos_orchestrate({
|
|
108
|
+
action: "finalize_oneshot",
|
|
109
|
+
featureId: "<id>"
|
|
110
|
+
})
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The handler evaluates `synthesisPolicy` + events and transitions to either
|
|
114
|
+
`synthesize` (PR path) or `completed` (direct-commit path). Outcomes:
|
|
115
|
+
|
|
116
|
+
| Policy | Event present? | Resolved phase |
|
|
117
|
+
|---|---|---|
|
|
118
|
+
| `always` | (any) | `synthesize` |
|
|
119
|
+
| `never` | (any) | `completed` |
|
|
120
|
+
| `on-request` | yes | `synthesize` |
|
|
121
|
+
| `on-request` | no | `completed` |
|
|
122
|
+
|
|
123
|
+
### Step 6a: Direct-commit path (`completed`)
|
|
124
|
+
|
|
125
|
+
Push the commits if not already pushed:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
git push
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Workflow is terminal — done.
|
|
132
|
+
|
|
133
|
+
### Step 6b: Synthesize path
|
|
134
|
+
|
|
135
|
+
Hand off to the standard synthesis flow: `@skills/synthesis/SKILL.md`. The
|
|
136
|
+
existing `prepare_synthesis` / `validate_pr_body` / `gh pr create` machinery
|
|
137
|
+
applies. After PR merge, the workflow transitions `synthesize → completed`.
|
|
138
|
+
|
|
139
|
+
You do **not** need to run `/exarchos:delegate` or `/exarchos:review` for an
|
|
140
|
+
opt-in oneshot synthesize — those phases are not in the oneshot playbook.
|
|
141
|
+
|
|
142
|
+
## When NOT to use oneshot
|
|
143
|
+
|
|
144
|
+
| Symptom | Use instead |
|
|
145
|
+
|---|---|
|
|
146
|
+
| Cross-cutting refactor | `/exarchos:refactor` or `/exarchos:ideate` |
|
|
147
|
+
| Multi-file feature | `/exarchos:ideate` |
|
|
148
|
+
| Needs design exploration | `/exarchos:ideate` |
|
|
149
|
+
| Needs two-stage review | `/exarchos:ideate` |
|
|
150
|
+
| Coordinates multiple agents | `/exarchos:ideate` + `/exarchos:delegate` |
|
|
151
|
+
| Should land in stages | `/exarchos:ideate` (stacked PRs) |
|
|
152
|
+
|
|
153
|
+
If you start a oneshot and discover it's bigger than expected: cancel and
|
|
154
|
+
restart with `/exarchos:ideate`. Don't try to grow a oneshot into a feature
|
|
155
|
+
workflow mid-stream.
|
|
156
|
+
|
|
157
|
+
## Output
|
|
158
|
+
|
|
159
|
+
Direct-commit path:
|
|
160
|
+
```markdown
|
|
161
|
+
## Oneshot Complete (direct-commit)
|
|
162
|
+
|
|
163
|
+
Workflow: <featureId>
|
|
164
|
+
Plan: <one-line summary>
|
|
165
|
+
Tests added: N
|
|
166
|
+
Commits: <hash list>
|
|
167
|
+
Path: direct-commit
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
Synthesize path:
|
|
171
|
+
```markdown
|
|
172
|
+
## Oneshot Complete (synthesize)
|
|
173
|
+
|
|
174
|
+
Workflow: <featureId>
|
|
175
|
+
PR: <url>
|
|
176
|
+
Tests: X pass | Build: 0 errors
|
|
177
|
+
Path: synthesize → PR review → merge
|
|
178
|
+
```
|