@lvlup-sw/exarchos 2.5.0 → 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 +1 -1
- package/README.md +21 -0
- package/commands/dogfood.md +31 -0
- package/commands/oneshot.md +178 -0
- package/commands/prune.md +90 -0
- package/dist/exarchos.js +292 -289
- package/package.json +7 -3
- package/skills/{cleanup → claude/cleanup}/SKILL.md +6 -0
- package/skills/{delegation → claude/delegation}/SKILL.md +50 -29
- package/skills/{delegation → claude/delegation}/references/troubleshooting.md +2 -2
- 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/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 +2 -0
- package/skills/{shepherd → claude/shepherd}/SKILL.md +4 -0
- package/skills/{spec-review → claude/spec-review}/SKILL.md +2 -0
- package/skills/{synthesis → claude/synthesis}/SKILL.md +40 -0
- package/skills/{workflow-state → claude/workflow-state}/SKILL.md +40 -4
- package/skills/{workflow-state → claude/workflow-state}/references/phase-transitions.md +22 -0
- 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/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/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 -39
- package/skills/shared/references/skill-path-resolution.md +0 -10
- package/skills/shared/references/tdd.md +0 -58
- package/skills/shared/references/telemetry-awareness.md +0 -9
- /package/skills/{brainstorming → claude/brainstorming}/SKILL.md +0 -0
- /package/skills/{brainstorming → claude/brainstorming}/references/design-template.md +0 -0
- /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}/SKILL.md +0 -0
- /package/skills/{debug → claude/debug}/references/hotfix-track.md +0 -0
- /package/skills/{debug → claude/debug}/references/investigation-checklist.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/thorough-track.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/agent-teams-saga.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/fix-mode.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/fixer-prompt.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/implementer-prompt.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/parallel-strategy.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/state-management.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/{delegation → claude/delegation}/references/workflow-steps.md +0 -0
- /package/skills/{delegation → claude/delegation}/references/worktree-enforcement.md +0 -0
- /package/skills/{git-worktrees → claude/git-worktrees}/SKILL.md +0 -0
- /package/skills/{git-worktrees → claude/git-worktrees}/references/commands-reference.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/SKILL.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/{implementation-planning → claude/implementation-planning}/references/task-template.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/testing-strategy-guide.md +0 -0
- /package/skills/{implementation-planning → claude/implementation-planning}/references/worked-example.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/auto-transition.md +0 -0
- /package/skills/{quality-review → claude/quality-review}/references/axiom-integration.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}/SKILL.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/brief-template.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/doc-update-checklist.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/explore-checklist.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/overhaul-track.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/polish-implement.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/polish-validate.md +0 -0
- /package/skills/{refactor → claude/refactor/references}/phases/update-docs.md +0 -0
- /package/skills/{refactor → claude/refactor}/references/polish-track.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/fix-strategies.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/gate-event-emission.md +0 -0
- /package/skills/{shepherd → claude/shepherd}/references/shepherd-event-schemas.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/{spec-review → claude/spec-review}/references/worked-example.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/github-native-stacking.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/synthesis-steps.md +0 -0
- /package/skills/{synthesis → claude/synthesis}/references/troubleshooting.md +0 -0
- /package/skills/{workflow-state → claude/workflow-state}/references/mcp-tool-reference.md +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
# RCA Template
|
|
2
|
+
|
|
3
|
+
Use this template when documenting root cause analysis for bugs.
|
|
4
|
+
|
|
5
|
+
## Template
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
# RCA: [Issue Title]
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
[1-2 sentences: What broke and why]
|
|
13
|
+
|
|
14
|
+
## Symptom
|
|
15
|
+
|
|
16
|
+
[How the bug manifested - error messages, behavior, user reports]
|
|
17
|
+
|
|
18
|
+
### Reproduction Steps
|
|
19
|
+
|
|
20
|
+
1. [Step 1]
|
|
21
|
+
2. [Step 2]
|
|
22
|
+
3. [Step N]
|
|
23
|
+
|
|
24
|
+
### Observed Behavior
|
|
25
|
+
|
|
26
|
+
[What happened]
|
|
27
|
+
|
|
28
|
+
### Expected Behavior
|
|
29
|
+
|
|
30
|
+
[What should have happened]
|
|
31
|
+
|
|
32
|
+
## Root Cause
|
|
33
|
+
|
|
34
|
+
[Technical explanation of why this happened]
|
|
35
|
+
|
|
36
|
+
### Code Location
|
|
37
|
+
|
|
38
|
+
File: `[path/to/file.ts]`
|
|
39
|
+
Line: [N]
|
|
40
|
+
|
|
41
|
+
### Analysis
|
|
42
|
+
|
|
43
|
+
[Detailed technical analysis of the bug mechanism]
|
|
44
|
+
|
|
45
|
+
## Contributing Factors
|
|
46
|
+
|
|
47
|
+
[What conditions allowed this bug to exist/ship]
|
|
48
|
+
|
|
49
|
+
- [ ] Missing test coverage
|
|
50
|
+
- [ ] Inadequate code review
|
|
51
|
+
- [ ] Unclear requirements
|
|
52
|
+
- [ ] Race condition / timing issue
|
|
53
|
+
- [ ] Edge case not considered
|
|
54
|
+
- [ ] External dependency failure
|
|
55
|
+
- [ ] Configuration error
|
|
56
|
+
- [ ] Other: [describe]
|
|
57
|
+
|
|
58
|
+
## Fix Approach
|
|
59
|
+
|
|
60
|
+
[High-level approach to fixing - not full implementation details]
|
|
61
|
+
|
|
62
|
+
### Changes Required
|
|
63
|
+
|
|
64
|
+
| File | Change |
|
|
65
|
+
|------|--------|
|
|
66
|
+
| `path/to/file.ts` | [Brief description] |
|
|
67
|
+
|
|
68
|
+
### Risks
|
|
69
|
+
|
|
70
|
+
[Any risks introduced by the fix]
|
|
71
|
+
|
|
72
|
+
## Prevention
|
|
73
|
+
|
|
74
|
+
[How to prevent similar issues in future]
|
|
75
|
+
|
|
76
|
+
### Immediate Actions
|
|
77
|
+
|
|
78
|
+
- [ ] [Action 1]
|
|
79
|
+
- [ ] [Action 2]
|
|
80
|
+
|
|
81
|
+
### Long-term Improvements
|
|
82
|
+
|
|
83
|
+
- [ ] [Improvement 1]
|
|
84
|
+
- [ ] [Improvement 2]
|
|
85
|
+
|
|
86
|
+
## Timeline
|
|
87
|
+
|
|
88
|
+
| Event | Date | Notes |
|
|
89
|
+
|-------|------|-------|
|
|
90
|
+
| Reported | YYYY-MM-DD | [How it was reported] |
|
|
91
|
+
| Investigated | YYYY-MM-DD | [Time spent] |
|
|
92
|
+
| Fixed | YYYY-MM-DD | [PR/commit reference] |
|
|
93
|
+
| Verified | YYYY-MM-DD | [How verified in production] |
|
|
94
|
+
|
|
95
|
+
## Related
|
|
96
|
+
|
|
97
|
+
- Issue: [link or N/A]
|
|
98
|
+
- PR: [link or N/A]
|
|
99
|
+
- Related RCAs: [links or N/A]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Usage
|
|
103
|
+
|
|
104
|
+
1. Copy template to `docs/rca/YYYY-MM-DD-<issue-slug>.md`
|
|
105
|
+
2. Fill in all sections during investigation
|
|
106
|
+
3. Update timeline as work progresses
|
|
107
|
+
4. Link to PR when fix is merged
|
|
108
|
+
|
|
109
|
+
## Naming Convention
|
|
110
|
+
|
|
111
|
+
`YYYY-MM-DD-<issue-slug>.md`
|
|
112
|
+
|
|
113
|
+
Examples:
|
|
114
|
+
- `2026-01-27-null-user-session.md`
|
|
115
|
+
- `2026-01-27-api-timeout-on-large-payload.md`
|
|
116
|
+
- `2026-01-27-login-redirect-loop.md`
|
|
117
|
+
|
|
118
|
+
## Abbreviated Template (Hotfix Follow-up)
|
|
119
|
+
|
|
120
|
+
For RCAs created after a hotfix, use this abbreviated version:
|
|
121
|
+
|
|
122
|
+
```markdown
|
|
123
|
+
# RCA: [Issue Title]
|
|
124
|
+
|
|
125
|
+
## Summary
|
|
126
|
+
|
|
127
|
+
[What broke and the quick fix applied]
|
|
128
|
+
|
|
129
|
+
## Hotfix Reference
|
|
130
|
+
|
|
131
|
+
- State file: `~/.claude/workflow-state/debug-<issue>.state.json`
|
|
132
|
+
- Commit: [hash]
|
|
133
|
+
- Date: YYYY-MM-DD
|
|
134
|
+
|
|
135
|
+
## Root Cause
|
|
136
|
+
|
|
137
|
+
[Now that you have time, document the actual root cause]
|
|
138
|
+
|
|
139
|
+
## Why Hotfix Worked
|
|
140
|
+
|
|
141
|
+
[Explain why the quick fix resolved the symptom]
|
|
142
|
+
|
|
143
|
+
## Proper Fix (if needed)
|
|
144
|
+
|
|
145
|
+
[If the hotfix was not the ideal solution, document what should be done]
|
|
146
|
+
|
|
147
|
+
## Prevention
|
|
148
|
+
|
|
149
|
+
[How to prevent similar issues]
|
|
150
|
+
```
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# Debug Workflow State Schema
|
|
2
|
+
|
|
3
|
+
Extended schema for debug workflow state files.
|
|
4
|
+
|
|
5
|
+
## Base Schema
|
|
6
|
+
|
|
7
|
+
Debug workflows extend the standard workflow state with additional fields.
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"version": "1.1",
|
|
12
|
+
"featureId": "debug-<issue-slug>",
|
|
13
|
+
"workflowType": "debug",
|
|
14
|
+
"createdAt": "ISO8601",
|
|
15
|
+
"updatedAt": "ISO8601",
|
|
16
|
+
"track": "hotfix | thorough",
|
|
17
|
+
"phase": "triage | investigate | rca | design | debug-implement | debug-validate | debug-review | hotfix-implement | hotfix-validate | synthesize | completed | cancelled | blocked",
|
|
18
|
+
|
|
19
|
+
"urgency": {
|
|
20
|
+
"level": "P0 | P1 | P2",
|
|
21
|
+
"justification": "string"
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
"triage": {
|
|
25
|
+
"symptom": "string",
|
|
26
|
+
"reproduction": "string | null",
|
|
27
|
+
"affectedArea": "string",
|
|
28
|
+
"impact": "string"
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
"investigation": {
|
|
32
|
+
"startedAt": "ISO8601 | null",
|
|
33
|
+
"completedAt": "ISO8601 | null",
|
|
34
|
+
"rootCause": "string | null",
|
|
35
|
+
"findings": ["string"]
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
"artifacts": {
|
|
39
|
+
"rca": "string | null",
|
|
40
|
+
"fixDesign": "string | null",
|
|
41
|
+
"pr": "string | null"
|
|
42
|
+
},
|
|
43
|
+
|
|
44
|
+
"followUp": {
|
|
45
|
+
"rcaRequired": "boolean",
|
|
46
|
+
"issueUrl": "string | null"
|
|
47
|
+
},
|
|
48
|
+
|
|
49
|
+
"tasks": [],
|
|
50
|
+
"worktrees": {},
|
|
51
|
+
"reviews": {},
|
|
52
|
+
"synthesis": {
|
|
53
|
+
"integrationBranch": "string | null",
|
|
54
|
+
"mergeOrder": [],
|
|
55
|
+
"mergedBranches": [],
|
|
56
|
+
"prUrl": "string | null",
|
|
57
|
+
"prFeedback": []
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Field Definitions
|
|
63
|
+
|
|
64
|
+
### Top-Level Fields
|
|
65
|
+
|
|
66
|
+
| Field | Type | Description |
|
|
67
|
+
|-------|------|-------------|
|
|
68
|
+
| `version` | string | Schema version, currently "1.1" |
|
|
69
|
+
| `featureId` | string | Unique identifier, format: `debug-<issue-slug>` |
|
|
70
|
+
| `workflowType` | string | Always "debug" for debug workflows |
|
|
71
|
+
| `createdAt` | ISO8601 | When workflow was created |
|
|
72
|
+
| `updatedAt` | ISO8601 | Last modification timestamp |
|
|
73
|
+
| `track` | enum | "hotfix" or "thorough" |
|
|
74
|
+
| `phase` | enum | Current workflow phase |
|
|
75
|
+
|
|
76
|
+
### Phase Values
|
|
77
|
+
|
|
78
|
+
| Track | Valid Phases |
|
|
79
|
+
|----------|-----------------------------------------------------------------------------------------|
|
|
80
|
+
| Hotfix | triage → investigate → hotfix-implement → hotfix-validate → completed |
|
|
81
|
+
| Thorough | triage → investigate → rca → design → debug-implement → debug-validate → debug-review → synthesize → completed |
|
|
82
|
+
|
|
83
|
+
Note: Thorough track may skip `rca` and `design` phases if root cause is straightforward.
|
|
84
|
+
|
|
85
|
+
### Urgency Object
|
|
86
|
+
|
|
87
|
+
```json
|
|
88
|
+
{
|
|
89
|
+
"urgency": {
|
|
90
|
+
"level": "P0",
|
|
91
|
+
"justification": "Production login broken, 100% of users affected"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
| Field | Type | Description |
|
|
97
|
+
|-------|------|-------------|
|
|
98
|
+
| `level` | enum | P0 (critical), P1 (high), P2 (normal) |
|
|
99
|
+
| `justification` | string | Why this urgency level was selected |
|
|
100
|
+
|
|
101
|
+
### Triage Object
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"triage": {
|
|
106
|
+
"symptom": "Login returns 500 error",
|
|
107
|
+
"reproduction": "Click login button with valid credentials",
|
|
108
|
+
"affectedArea": "src/auth/login.ts",
|
|
109
|
+
"impact": "All users cannot log in"
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
| Field | Type | Description |
|
|
115
|
+
|-------|------|-------------|
|
|
116
|
+
| `symptom` | string | Observable problem description |
|
|
117
|
+
| `reproduction` | string\|null | Steps to reproduce, null if unknown |
|
|
118
|
+
| `affectedArea` | string | Suspected code area or component |
|
|
119
|
+
| `impact` | string | Business/user impact description |
|
|
120
|
+
|
|
121
|
+
### Investigation Object
|
|
122
|
+
|
|
123
|
+
```json
|
|
124
|
+
{
|
|
125
|
+
"investigation": {
|
|
126
|
+
"startedAt": "2026-01-27T10:00:00Z",
|
|
127
|
+
"completedAt": "2026-01-27T10:15:00Z",
|
|
128
|
+
"rootCause": "Session cookie SameSite attribute mismatch",
|
|
129
|
+
"findings": [
|
|
130
|
+
"Error occurs in handleLogin function",
|
|
131
|
+
"Session object is null when it shouldn't be",
|
|
132
|
+
"Cookie not being set due to browser security policy"
|
|
133
|
+
]
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
| Field | Type | Description |
|
|
139
|
+
|-------|------|-------------|
|
|
140
|
+
| `startedAt` | ISO8601\|null | When investigation began |
|
|
141
|
+
| `completedAt` | ISO8601\|null | When root cause was found |
|
|
142
|
+
| `rootCause` | string\|null | Final root cause determination |
|
|
143
|
+
| `findings` | string[] | Progressive findings during investigation |
|
|
144
|
+
|
|
145
|
+
### Artifacts Object
|
|
146
|
+
|
|
147
|
+
```json
|
|
148
|
+
{
|
|
149
|
+
"artifacts": {
|
|
150
|
+
"rca": "docs/rca/2026-01-27-login-500-error.md",
|
|
151
|
+
"fixDesign": "Set SameSite=None on session cookie, add Secure flag",
|
|
152
|
+
"pr": "https://github.com/org/repo/pull/123"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
| Field | Type | Description |
|
|
158
|
+
|-------|------|-------------|
|
|
159
|
+
| `rca` | string\|null | Path to RCA document (thorough track only) |
|
|
160
|
+
| `fixDesign` | string\|null | Brief fix description (in state, not separate doc) |
|
|
161
|
+
| `pr` | string\|null | Pull request URL |
|
|
162
|
+
|
|
163
|
+
### Follow-Up Object
|
|
164
|
+
|
|
165
|
+
```json
|
|
166
|
+
{
|
|
167
|
+
"followUp": {
|
|
168
|
+
"rcaRequired": true,
|
|
169
|
+
"issueUrl": "https://github.com/org/repo/issues/456"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
| Field | Type | Description |
|
|
175
|
+
|-------|------|-------------|
|
|
176
|
+
| `rcaRequired` | boolean | True if hotfix shipped without full RCA |
|
|
177
|
+
| `issueUrl` | string\|null | Link to follow-up issue for RCA |
|
|
178
|
+
|
|
179
|
+
## State Transitions
|
|
180
|
+
|
|
181
|
+
### Hotfix Track
|
|
182
|
+
|
|
183
|
+
```text
|
|
184
|
+
triage → investigate → hotfix-implement → hotfix-validate → completed
|
|
185
|
+
│ │ │ │ │
|
|
186
|
+
│ │ │ │ └─ Human checkpoint: merge
|
|
187
|
+
│ │ │ └─ Run smoke tests
|
|
188
|
+
│ │ └─ Apply minimal fix
|
|
189
|
+
│ └─ Find root cause (15 min max)
|
|
190
|
+
└─ Gather context, select track
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Thorough Track
|
|
194
|
+
|
|
195
|
+
```text
|
|
196
|
+
triage → investigate → rca → design → debug-implement → debug-validate → debug-review → synthesize → completed
|
|
197
|
+
│ │ │ │ │ │ │ │ │
|
|
198
|
+
│ │ │ │ │ │ │ │ └─ Merge
|
|
199
|
+
│ │ │ │ │ │ │ └─ Create PR
|
|
200
|
+
│ │ │ │ │ │ └─ Spec review
|
|
201
|
+
│ │ │ │ │ └─ Run validation
|
|
202
|
+
│ │ │ │ └─ TDD implementation
|
|
203
|
+
│ │ │ └─ Brief fix approach
|
|
204
|
+
│ │ └─ Full RCA document
|
|
205
|
+
│ └─ Systematic investigation
|
|
206
|
+
└─ Gather context, select track
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Example State Files
|
|
210
|
+
|
|
211
|
+
### Hotfix In Progress
|
|
212
|
+
|
|
213
|
+
```json
|
|
214
|
+
{
|
|
215
|
+
"version": "1.1",
|
|
216
|
+
"featureId": "debug-login-500",
|
|
217
|
+
"workflowType": "debug",
|
|
218
|
+
"createdAt": "2026-01-27T10:00:00Z",
|
|
219
|
+
"updatedAt": "2026-01-27T10:12:00Z",
|
|
220
|
+
"track": "hotfix",
|
|
221
|
+
"phase": "hotfix-implement",
|
|
222
|
+
"urgency": {
|
|
223
|
+
"level": "P0",
|
|
224
|
+
"justification": "Production login broken"
|
|
225
|
+
},
|
|
226
|
+
"triage": {
|
|
227
|
+
"symptom": "Login returns 500",
|
|
228
|
+
"reproduction": "Click login with valid creds",
|
|
229
|
+
"affectedArea": "src/auth/login.ts",
|
|
230
|
+
"impact": "All users blocked"
|
|
231
|
+
},
|
|
232
|
+
"investigation": {
|
|
233
|
+
"startedAt": "2026-01-27T10:02:00Z",
|
|
234
|
+
"completedAt": "2026-01-27T10:10:00Z",
|
|
235
|
+
"rootCause": "Missing null check on session",
|
|
236
|
+
"findings": [
|
|
237
|
+
"Error in handleLogin line 42",
|
|
238
|
+
"Session is null when user has no prior session"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"artifacts": {
|
|
242
|
+
"rca": null,
|
|
243
|
+
"fixDesign": "Add null check before accessing session properties",
|
|
244
|
+
"pr": null
|
|
245
|
+
},
|
|
246
|
+
"followUp": {
|
|
247
|
+
"rcaRequired": true,
|
|
248
|
+
"issueUrl": null
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
### Thorough Completed
|
|
254
|
+
|
|
255
|
+
```json
|
|
256
|
+
{
|
|
257
|
+
"version": "1.1",
|
|
258
|
+
"featureId": "debug-cart-total-wrong",
|
|
259
|
+
"workflowType": "debug",
|
|
260
|
+
"createdAt": "2026-01-26T14:00:00Z",
|
|
261
|
+
"updatedAt": "2026-01-27T09:00:00Z",
|
|
262
|
+
"track": "thorough",
|
|
263
|
+
"phase": "completed",
|
|
264
|
+
"urgency": {
|
|
265
|
+
"level": "P2",
|
|
266
|
+
"justification": "Cart shows wrong total, workaround is refresh"
|
|
267
|
+
},
|
|
268
|
+
"triage": {
|
|
269
|
+
"symptom": "Cart total doesn't update after removing item",
|
|
270
|
+
"reproduction": "Add 2 items, remove 1, total shows both",
|
|
271
|
+
"affectedArea": "src/cart/CartTotal.tsx",
|
|
272
|
+
"impact": "Users confused, may abandon checkout"
|
|
273
|
+
},
|
|
274
|
+
"investigation": {
|
|
275
|
+
"startedAt": "2026-01-26T14:05:00Z",
|
|
276
|
+
"completedAt": "2026-01-26T15:30:00Z",
|
|
277
|
+
"rootCause": "React state not updating due to stale closure in useEffect",
|
|
278
|
+
"findings": [
|
|
279
|
+
"Total computed in useEffect",
|
|
280
|
+
"Effect has stale items reference",
|
|
281
|
+
"Missing items in dependency array"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"artifacts": {
|
|
285
|
+
"rca": "docs/rca/2026-01-26-cart-total-wrong.md",
|
|
286
|
+
"fixDesign": "Add items to useEffect deps, use useMemo for total",
|
|
287
|
+
"pr": "https://github.com/org/repo/pull/789"
|
|
288
|
+
},
|
|
289
|
+
"followUp": {
|
|
290
|
+
"rcaRequired": false,
|
|
291
|
+
"issueUrl": null
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
```
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: thorough-track
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Thorough Track
|
|
6
|
+
|
|
7
|
+
## Purpose
|
|
8
|
+
|
|
9
|
+
Fix bugs with proper rigor. Capture institutional knowledge through RCA.
|
|
10
|
+
|
|
11
|
+
## Phases
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
triage -> investigate -> rca -> design -> debug-implement -> debug-validate -> debug-review -> synthesize -> completed
|
|
15
|
+
| | | | | | | |
|
|
16
|
+
| | | | | | | +- Merge
|
|
17
|
+
| | | | | | +- Create PR
|
|
18
|
+
| | | | | +- Spec review only
|
|
19
|
+
| | | | +- TDD in worktree
|
|
20
|
+
| | | +- Brief fix approach
|
|
21
|
+
| | +- Full RCA document
|
|
22
|
+
| +- Systematic investigation
|
|
23
|
+
+- Capture symptom, select track
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Phase Details
|
|
27
|
+
|
|
28
|
+
### 1. Triage Phase
|
|
29
|
+
|
|
30
|
+
Same as hotfix, but set track to "thorough":
|
|
31
|
+
|
|
32
|
+
**Set track and advance to investigate:**
|
|
33
|
+
|
|
34
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the `triage → investigate` guard requirements, then `set` the track to `"thorough"` and phase.
|
|
35
|
+
|
|
36
|
+
### 2. Investigate Phase
|
|
37
|
+
|
|
38
|
+
Use `@skills/debug/references/investigation-checklist.md`.
|
|
39
|
+
|
|
40
|
+
No time limit. Be thorough:
|
|
41
|
+
- Use Task tool with Explore agent for complex investigation
|
|
42
|
+
- Document all findings
|
|
43
|
+
- Understand the full picture before proposing fix
|
|
44
|
+
|
|
45
|
+
### 3. RCA Phase
|
|
46
|
+
|
|
47
|
+
Create RCA document using `@skills/debug/references/rca-template.md`.
|
|
48
|
+
|
|
49
|
+
Save to: `docs/rca/YYYY-MM-DD-<issue-slug>.md`
|
|
50
|
+
|
|
51
|
+
Update state:
|
|
52
|
+
|
|
53
|
+
**Record RCA artifact and advance to design:**
|
|
54
|
+
|
|
55
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the `rca → design` guard requirements, then `set` the required fields (artifacts.rca) and phase.
|
|
56
|
+
|
|
57
|
+
### 4. Design Phase
|
|
58
|
+
|
|
59
|
+
Brief fix approach (NOT a full design document).
|
|
60
|
+
|
|
61
|
+
2-3 paragraphs max in state file:
|
|
62
|
+
|
|
63
|
+
**Record fix design and advance to implement:**
|
|
64
|
+
|
|
65
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the `design → debug-implement` guard requirements, then `set` the required fields (artifacts.fixDesign) and phase.
|
|
66
|
+
|
|
67
|
+
### 5. Implement Phase
|
|
68
|
+
|
|
69
|
+
Create worktree and implement with TDD:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Create worktree
|
|
73
|
+
git branch feature/debug-<issue-slug> main
|
|
74
|
+
git worktree add .worktrees/debug-<issue-slug> feature/debug-<issue-slug>
|
|
75
|
+
cd .worktrees/debug-<issue-slug> && npm install
|
|
76
|
+
|
|
77
|
+
# TDD: Write failing test first, then implement
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Update state:
|
|
81
|
+
|
|
82
|
+
**Record worktree and advance to validate:**
|
|
83
|
+
|
|
84
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the `debug-implement → debug-validate` guard requirements, then `set` the required fields (worktrees) and phase.
|
|
85
|
+
|
|
86
|
+
### 6. Review Phase
|
|
87
|
+
|
|
88
|
+
Spec review only (not quality review - this is a fix, not new feature).
|
|
89
|
+
|
|
90
|
+
Run the debug review gate to verify test coverage for the bug fix:
|
|
91
|
+
|
|
92
|
+
```typescript
|
|
93
|
+
exarchos_orchestrate({
|
|
94
|
+
action: "debug_review_gate",
|
|
95
|
+
repoRoot: "<path>",
|
|
96
|
+
baseBranch: "<branch>"
|
|
97
|
+
})
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**On `passed: true`:** Review passed -- tests added and passing.
|
|
101
|
+
**On `passed: false`:** Gaps found -- missing tests or regressions.
|
|
102
|
+
|
|
103
|
+
Additionally verify:
|
|
104
|
+
- [ ] Fix matches RCA root cause
|
|
105
|
+
- [ ] Fix matches design approach
|
|
106
|
+
|
|
107
|
+
Update state:
|
|
108
|
+
|
|
109
|
+
**Advance to synthesize:**
|
|
110
|
+
|
|
111
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the `debug-review → synthesize` guard requirements, then `set` the phase.
|
|
112
|
+
|
|
113
|
+
### 7. Synthesize Phase
|
|
114
|
+
|
|
115
|
+
Create PR via GitHub CLI:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Stage, commit, and push
|
|
119
|
+
git add <fixed-files>
|
|
120
|
+
git commit -m "fix: <issue summary>"
|
|
121
|
+
git push -u origin <branch-name>
|
|
122
|
+
|
|
123
|
+
# Create PR and enable auto-merge
|
|
124
|
+
gh pr create --base main --title "fix: <issue summary>" --body "<pr-body>"
|
|
125
|
+
gh pr merge <number> --auto --squash
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Then update the PR description:
|
|
129
|
+
```bash
|
|
130
|
+
gh pr edit <number> --body "## Summary
|
|
131
|
+
[Brief description]
|
|
132
|
+
|
|
133
|
+
## Root Cause Analysis
|
|
134
|
+
See: docs/rca/YYYY-MM-DD-<issue-slug>.md
|
|
135
|
+
|
|
136
|
+
## Changes
|
|
137
|
+
- [change 1]
|
|
138
|
+
|
|
139
|
+
## Test Plan
|
|
140
|
+
- [test approach]"
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
> Or use GitHub MCP `update_pull_request` if available.
|
|
144
|
+
|
|
145
|
+
**Human checkpoint:** Confirm merge.
|
|
146
|
+
|
|
147
|
+
## Track Switching
|
|
148
|
+
|
|
149
|
+
### Hotfix -> Thorough
|
|
150
|
+
|
|
151
|
+
When `exarchos_orchestrate({ action: "investigation_timer" })` returns `passed: false` (budget exceeded), switch to thorough track:
|
|
152
|
+
|
|
153
|
+
**Switch to thorough track:**
|
|
154
|
+
|
|
155
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the field shapes, then `set` the track to `"thorough"` and record the switch reason in `investigation.findings`.
|
|
156
|
+
|
|
157
|
+
Continue investigation without time constraint.
|
|
158
|
+
|
|
159
|
+
### Thorough -> Escalate
|
|
160
|
+
|
|
161
|
+
If fix requires architectural changes:
|
|
162
|
+
|
|
163
|
+
**Escalate to blocked:**
|
|
164
|
+
|
|
165
|
+
Call `exarchos_workflow({ action: "describe", playbook: "debug" })` for the guard requirements, then `set` the investigation findings and phase to `"blocked"`.
|
|
166
|
+
|
|
167
|
+
Output to user:
|
|
168
|
+
> This issue requires architectural changes that exceed bug fix scope.
|
|
169
|
+
> Recommend running `/exarchos:ideate` to design the solution properly.
|
|
170
|
+
>
|
|
171
|
+
> Context preserved in: `<state-file>`
|