claude-code-pilot 2.0.0 → 3.1.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/README.md +76 -97
- package/bin/install.js +267 -250
- package/manifest.json +5 -18
- package/package.json +5 -7
- package/src/agents/build-error-resolver.md +114 -0
- package/src/agents/ccp-advisor-researcher.md +104 -0
- package/src/agents/ccp-assumptions-analyzer.md +105 -0
- package/{gsd/agents/gsd-codebase-mapper.md → src/agents/ccp-codebase-mapper.md} +7 -7
- package/{gsd/agents/gsd-debugger.md → src/agents/ccp-debugger.md} +125 -8
- package/{gsd/agents/gsd-executor.md → src/agents/ccp-executor.md} +31 -20
- package/{gsd/agents/gsd-integration-checker.md → src/agents/ccp-integration-checker.md} +2 -2
- package/{gsd/agents/gsd-nyquist-auditor.md → src/agents/ccp-nyquist-auditor.md} +3 -3
- package/{gsd/agents/gsd-phase-researcher.md → src/agents/ccp-phase-researcher.md} +127 -13
- package/{gsd/agents/gsd-plan-checker.md → src/agents/ccp-plan-checker.md} +57 -21
- package/{gsd/agents/gsd-planner.md → src/agents/ccp-planner.md} +61 -23
- package/{gsd/agents/gsd-project-researcher.md → src/agents/ccp-project-researcher.md} +33 -6
- package/{gsd/agents/gsd-research-synthesizer.md → src/agents/ccp-research-synthesizer.md} +11 -11
- package/{gsd/agents/gsd-roadmapper.md → src/agents/ccp-roadmapper.md} +39 -10
- package/src/agents/ccp-ui-auditor.md +439 -0
- package/src/agents/ccp-ui-checker.md +300 -0
- package/src/agents/ccp-ui-researcher.md +357 -0
- package/{gsd/agents/gsd-verifier.md → src/agents/ccp-verifier.md} +81 -15
- package/src/agents/cpp-build-resolver.md +90 -0
- package/src/agents/cpp-reviewer.md +72 -0
- package/src/agents/database-reviewer.md +91 -0
- package/{ecc → src}/agents/doc-updater.md +1 -1
- package/src/agents/docs-lookup.md +68 -0
- package/src/agents/flutter-reviewer.md +243 -0
- package/src/agents/gan-evaluator.md +209 -0
- package/src/agents/gan-generator.md +131 -0
- package/src/agents/gan-planner.md +99 -0
- package/src/agents/go-build-resolver.md +94 -0
- package/src/agents/go-reviewer.md +76 -0
- package/src/agents/harness-optimizer.md +35 -0
- package/src/agents/java-build-resolver.md +153 -0
- package/src/agents/java-reviewer.md +92 -0
- package/src/agents/kotlin-build-resolver.md +118 -0
- package/src/agents/kotlin-reviewer.md +159 -0
- package/src/agents/loop-operator.md +36 -0
- package/src/agents/opensource-forker.md +198 -0
- package/src/agents/opensource-packager.md +249 -0
- package/src/agents/opensource-sanitizer.md +188 -0
- package/src/agents/performance-optimizer.md +446 -0
- package/src/agents/planner.md +212 -0
- package/src/agents/python-reviewer.md +98 -0
- package/src/agents/pytorch-build-resolver.md +120 -0
- package/src/agents/refactor-cleaner.md +85 -0
- package/src/agents/rust-build-resolver.md +148 -0
- package/src/agents/rust-reviewer.md +94 -0
- package/src/agents/typescript-reviewer.md +112 -0
- package/src/available-rules/README.md +80 -0
- package/src/available-rules/cpp/coding-style.md +44 -0
- package/src/available-rules/cpp/hooks.md +39 -0
- package/src/available-rules/cpp/patterns.md +51 -0
- package/src/available-rules/cpp/security.md +51 -0
- package/src/available-rules/cpp/testing.md +44 -0
- package/src/available-rules/csharp/coding-style.md +72 -0
- package/src/available-rules/csharp/hooks.md +25 -0
- package/src/available-rules/csharp/patterns.md +50 -0
- package/src/available-rules/csharp/security.md +58 -0
- package/src/available-rules/csharp/testing.md +46 -0
- package/src/available-rules/java/coding-style.md +114 -0
- package/src/available-rules/java/hooks.md +18 -0
- package/src/available-rules/java/patterns.md +146 -0
- package/src/available-rules/java/security.md +100 -0
- package/src/available-rules/java/testing.md +131 -0
- package/src/available-rules/kotlin/hooks.md +17 -0
- package/src/available-rules/rust/coding-style.md +151 -0
- package/src/available-rules/rust/hooks.md +16 -0
- package/src/available-rules/rust/patterns.md +168 -0
- package/src/available-rules/rust/security.md +141 -0
- package/src/available-rules/rust/testing.md +154 -0
- package/src/commands/ccp/add-backlog.md +76 -0
- package/{gsd/commands-gsd → src/commands/ccp}/add-phase.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/add-tests.md +5 -5
- package/{gsd/commands-gsd → src/commands/ccp}/add-todo.md +4 -4
- package/src/commands/ccp/aside.md +165 -0
- package/{gsd/commands-gsd → src/commands/ccp}/audit-milestone.md +3 -3
- package/src/commands/ccp/audit-uat.md +24 -0
- package/src/commands/ccp/autonomous.md +41 -0
- package/src/commands/ccp/build-fix.md +67 -0
- package/{gsd/commands-gsd → src/commands/ccp}/check-todos.md +3 -3
- package/{ecc/commands → src/commands/ccp}/checkpoint.md +12 -7
- package/{gsd/commands-gsd → src/commands/ccp}/cleanup.md +3 -3
- package/src/commands/ccp/code-review.md +45 -0
- package/{gsd/commands-gsd → src/commands/ccp}/complete-milestone.md +9 -9
- package/src/commands/ccp/context-budget.md +30 -0
- package/src/commands/ccp/cpp-build.md +174 -0
- package/src/commands/ccp/cpp-review.md +133 -0
- package/src/commands/ccp/cpp-test.md +252 -0
- package/{gsd/commands-gsd → src/commands/ccp}/debug.md +14 -9
- package/src/commands/ccp/discuss-phase.md +64 -0
- package/src/commands/ccp/do.md +30 -0
- package/src/commands/ccp/docs-update.md +48 -0
- package/src/commands/ccp/docs.md +32 -0
- package/src/commands/ccp/e2e.md +365 -0
- package/src/commands/ccp/eval.md +125 -0
- package/{ecc/commands → src/commands/ccp}/evolve.md +5 -5
- package/src/commands/ccp/execute-phase.md +59 -0
- package/src/commands/ccp/fast.md +30 -0
- package/src/commands/ccp/forensics.md +56 -0
- package/src/commands/ccp/go-build.md +184 -0
- package/src/commands/ccp/go-review.md +149 -0
- package/src/commands/ccp/go-test.md +269 -0
- package/src/commands/ccp/gradle-build.md +71 -0
- package/src/commands/ccp/harness-audit.md +76 -0
- package/{gsd/commands-gsd → src/commands/ccp}/health.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/help.md +5 -5
- package/{gsd/commands-gsd → src/commands/ccp}/insert-phase.md +3 -3
- package/src/commands/ccp/kotlin-build.md +175 -0
- package/src/commands/ccp/kotlin-review.md +141 -0
- package/src/commands/ccp/kotlin-test.md +313 -0
- package/{ecc/commands → src/commands/ccp}/learn.md +7 -2
- package/{gsd/commands-gsd → src/commands/ccp}/list-phase-assumptions.md +2 -2
- package/src/commands/ccp/manager.md +39 -0
- package/{gsd/commands-gsd → src/commands/ccp}/map-codebase.md +7 -7
- package/src/commands/ccp/milestone-summary.md +51 -0
- package/{ecc/commands → src/commands/ccp}/model-route.md +6 -1
- package/{gsd/commands-gsd → src/commands/ccp}/new-milestone.md +8 -8
- package/{gsd/commands-gsd → src/commands/ccp}/new-project.md +8 -8
- package/src/commands/ccp/next.md +24 -0
- package/src/commands/ccp/note.md +34 -0
- package/src/commands/ccp/orchestrate.md +232 -0
- package/{gsd/commands-gsd → src/commands/ccp}/pause-work.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/plan-milestone-gaps.md +5 -5
- package/{gsd/commands-gsd → src/commands/ccp}/plan-phase.md +9 -7
- package/src/commands/ccp/plan.md +115 -0
- package/src/commands/ccp/plant-seed.md +28 -0
- package/src/commands/ccp/pr-branch.md +25 -0
- package/src/commands/ccp/profile-user.md +46 -0
- package/{gsd/commands-gsd → src/commands/ccp}/progress.md +3 -3
- package/src/commands/ccp/prompt-optimize.md +39 -0
- package/src/commands/ccp/prune.md +25 -0
- package/src/commands/ccp/python-review.md +298 -0
- package/{ecc/commands → src/commands/ccp}/quality-gate.md +7 -2
- package/{gsd/commands-gsd → src/commands/ccp}/quick.md +10 -8
- package/src/commands/ccp/refactor-clean.md +85 -0
- package/{gsd/commands-gsd → src/commands/ccp}/remove-phase.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/research-phase.md +17 -12
- package/{ecc/commands → src/commands/ccp}/resume-session.md +9 -8
- package/{gsd/commands-gsd → src/commands/ccp}/resume-work.md +3 -3
- package/src/commands/ccp/review-backlog.md +61 -0
- package/src/commands/ccp/review.md +37 -0
- package/src/commands/ccp/rules-distill.md +12 -0
- package/src/commands/ccp/rust-build.md +188 -0
- package/src/commands/ccp/rust-review.md +143 -0
- package/src/commands/ccp/rust-test.md +309 -0
- package/{ecc/commands → src/commands/ccp}/save-session.md +2 -1
- package/src/commands/ccp/secure-phase.md +35 -0
- package/src/commands/ccp/session-report.md +19 -0
- package/{ecc/commands → src/commands/ccp}/sessions.md +39 -34
- package/src/commands/ccp/set-profile.md +12 -0
- package/{gsd/commands-gsd → src/commands/ccp}/settings.md +5 -5
- package/src/commands/ccp/setup-pm.md +81 -0
- package/{kit/commands → src/commands/ccp}/setup-refresh.md +4 -3
- package/{kit/commands → src/commands/ccp}/setup.md +67 -40
- package/src/commands/ccp/ship.md +23 -0
- package/src/commands/ccp/skill-create.md +172 -0
- package/src/commands/ccp/skill-health.md +51 -0
- package/src/commands/ccp/stats.md +18 -0
- package/src/commands/ccp/tdd.md +329 -0
- package/src/commands/ccp/test-coverage.md +74 -0
- package/src/commands/ccp/thread.md +127 -0
- package/{kit/commands → src/commands/ccp}/tool-guide.md +2 -1
- package/src/commands/ccp/ui-phase.md +34 -0
- package/src/commands/ccp/ui-review.md +32 -0
- package/src/commands/ccp/update-codemaps.md +77 -0
- package/src/commands/ccp/update-docs.md +89 -0
- package/{gsd/commands-gsd → src/commands/ccp}/update.md +5 -5
- package/{gsd/commands-gsd → src/commands/ccp}/validate-phase.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/verify-work.md +5 -5
- package/{ecc/commands → src/commands/ccp}/verify.md +5 -0
- package/src/commands/ccp/workstreams.md +68 -0
- package/{ecc → src}/examples/CLAUDE.md +4 -4
- package/{ecc → src}/examples/django-api-CLAUDE.md +5 -5
- package/{ecc → src}/examples/go-microservice-CLAUDE.md +6 -6
- package/{ecc → src}/examples/rust-api-CLAUDE.md +4 -4
- package/{ecc → src}/examples/saas-nextjs-CLAUDE.md +8 -8
- package/{gsd/hooks/gsd-context-monitor.js → src/hooks/ccp-context-monitor.js} +3 -3
- package/src/hooks/ccp-prompt-guard.js +96 -0
- package/{gsd/hooks/gsd-statusline.js → src/hooks/ccp-statusline.js} +7 -7
- package/src/hooks/ccp-workflow-guard.js +94 -0
- package/src/hooks/config-protection.js +141 -0
- package/{kit → src}/hooks/kit-check-update.js +7 -4
- package/src/hooks/mcp-health-check.js +620 -0
- package/{ecc/scripts → src}/hooks/run-with-flags-shell.sh +1 -1
- package/{ecc/scripts → src}/hooks/run-with-flags.js +74 -13
- package/src/hooks/session-end-marker.js +29 -0
- package/{ecc/scripts → src}/hooks/session-end.js +83 -40
- package/{ecc/scripts → src}/hooks/session-start.js +76 -10
- package/{ecc/scripts → src}/lib/hook-flags.js +8 -4
- package/{ecc/scripts → src}/lib/project-detect.js +2 -1
- package/{ecc/scripts → src}/lib/session-manager.d.ts +5 -1
- package/{ecc/scripts → src}/lib/session-manager.js +202 -92
- package/{ecc/scripts → src}/lib/utils.d.ts +23 -1
- package/{ecc/scripts → src}/lib/utils.js +91 -3
- package/{gsd/get-shit-done/bin/gsd-tools.cjs → src/pilot/bin/ccp-tools.cjs} +257 -86
- package/{gsd/get-shit-done → src/pilot}/bin/lib/commands.cjs +1 -1
- package/src/pilot/bin/lib/config.cjs +444 -0
- package/src/pilot/bin/lib/core.cjs +1190 -0
- package/src/pilot/bin/lib/init.cjs +1281 -0
- package/src/pilot/bin/lib/model-profiles.cjs +67 -0
- package/{gsd/get-shit-done → src/pilot}/bin/lib/phase.cjs +2 -2
- package/src/pilot/bin/lib/security.cjs +382 -0
- package/{gsd/get-shit-done → src/pilot}/bin/lib/state.cjs +1 -1
- package/src/pilot/bin/lib/uat.cjs +282 -0
- package/{gsd/get-shit-done → src/pilot}/bin/lib/verify.cjs +10 -10
- package/{gsd/get-shit-done → src/pilot}/references/continuation-format.md +16 -16
- package/{gsd/get-shit-done → src/pilot}/references/decimal-phase-calculation.md +5 -5
- package/{gsd/get-shit-done → src/pilot}/references/git-integration.md +5 -5
- package/{gsd/get-shit-done → src/pilot}/references/git-planning-commit.md +4 -4
- package/src/pilot/references/mcp-servers.json +153 -0
- package/{gsd/get-shit-done → src/pilot}/references/model-profile-resolution.md +2 -2
- package/{gsd/get-shit-done → src/pilot}/references/model-profiles.md +20 -20
- package/{gsd/get-shit-done → src/pilot}/references/phase-argument-parsing.md +4 -4
- package/{gsd/get-shit-done → src/pilot}/references/planning-config.md +15 -15
- package/{gsd/get-shit-done → src/pilot}/references/ui-brand.md +5 -5
- package/{gsd/get-shit-done → src/pilot}/references/verification-patterns.md +1 -1
- package/{gsd/get-shit-done → src/pilot}/templates/DEBUG.md +1 -1
- package/{gsd/get-shit-done → src/pilot}/templates/UAT.md +3 -3
- package/src/pilot/templates/UI-SPEC.md +100 -0
- package/{gsd/get-shit-done → src/pilot}/templates/VALIDATION.md +1 -1
- package/src/pilot/templates/claude-md.md +122 -0
- package/{gsd/get-shit-done → src/pilot}/templates/codebase/architecture.md +2 -2
- package/{gsd/get-shit-done → src/pilot}/templates/codebase/structure.md +13 -13
- package/{gsd/get-shit-done → src/pilot}/templates/context.md +4 -4
- package/src/pilot/templates/copilot-instructions.md +7 -0
- package/{gsd/get-shit-done → src/pilot}/templates/debug-subagent-prompt.md +4 -4
- package/src/pilot/templates/dev-preferences.md +21 -0
- package/{gsd/get-shit-done → src/pilot}/templates/discovery.md +2 -2
- package/src/pilot/templates/discussion-log.md +63 -0
- package/{gsd/get-shit-done → src/pilot}/templates/phase-prompt.md +12 -12
- package/{gsd/get-shit-done → src/pilot}/templates/planner-subagent-prompt.md +7 -7
- package/{gsd/get-shit-done → src/pilot}/templates/project.md +1 -1
- package/{gsd/get-shit-done → src/pilot}/templates/research.md +2 -2
- package/{gsd/get-shit-done → src/pilot}/templates/state.md +2 -2
- package/{gsd/get-shit-done → src/pilot}/templates/summary-complex.md +1 -1
- package/{gsd/get-shit-done → src/pilot}/workflows/add-phase.md +11 -11
- package/{gsd/get-shit-done → src/pilot}/workflows/add-tests.md +15 -15
- package/{gsd/get-shit-done → src/pilot}/workflows/add-todo.md +7 -7
- package/{gsd/get-shit-done → src/pilot}/workflows/audit-milestone.md +24 -16
- package/src/pilot/workflows/audit-uat.md +109 -0
- package/src/pilot/workflows/autonomous.md +891 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/check-todos.md +10 -10
- package/{gsd/get-shit-done → src/pilot}/workflows/cleanup.md +3 -3
- package/{gsd/get-shit-done → src/pilot}/workflows/complete-milestone.md +19 -16
- package/{gsd/get-shit-done → src/pilot}/workflows/diagnose-issues.md +9 -4
- package/{gsd/get-shit-done → src/pilot}/workflows/discovery-phase.md +8 -8
- package/src/pilot/workflows/discuss-phase-assumptions.md +653 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/discuss-phase.md +407 -49
- package/src/pilot/workflows/do.md +104 -0
- package/src/pilot/workflows/docs-update.md +1165 -0
- package/src/pilot/workflows/execute-phase.md +821 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/execute-plan.md +79 -28
- package/src/pilot/workflows/fast.md +105 -0
- package/src/pilot/workflows/forensics.md +265 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/health.md +34 -11
- package/src/pilot/workflows/help.md +767 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/insert-phase.md +10 -10
- package/{gsd/get-shit-done → src/pilot}/workflows/list-phase-assumptions.md +4 -4
- package/src/pilot/workflows/manager.md +362 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/map-codebase.md +27 -17
- package/src/pilot/workflows/milestone-summary.md +223 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/new-milestone.md +135 -33
- package/{gsd/get-shit-done → src/pilot}/workflows/new-project.md +152 -79
- package/src/pilot/workflows/next.md +97 -0
- package/src/pilot/workflows/node-repair.md +92 -0
- package/src/pilot/workflows/note.md +156 -0
- package/src/pilot/workflows/pause-work.md +177 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/plan-milestone-gaps.md +10 -11
- package/src/pilot/workflows/plan-phase.md +859 -0
- package/src/pilot/workflows/plant-seed.md +169 -0
- package/src/pilot/workflows/pr-branch.md +129 -0
- package/src/pilot/workflows/profile-user.md +452 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/progress.md +95 -34
- package/{gsd/get-shit-done → src/pilot}/workflows/quick.md +33 -21
- package/{gsd/get-shit-done → src/pilot}/workflows/remove-phase.md +14 -14
- package/{gsd/get-shit-done → src/pilot}/workflows/research-phase.md +18 -10
- package/{gsd/get-shit-done → src/pilot}/workflows/resume-project.md +37 -18
- package/src/pilot/workflows/review.md +244 -0
- package/src/pilot/workflows/secure-phase.md +164 -0
- package/src/pilot/workflows/session-report.md +146 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/set-profile.md +7 -7
- package/{gsd/get-shit-done → src/pilot}/workflows/settings.md +75 -22
- package/src/pilot/workflows/ship.md +228 -0
- package/src/pilot/workflows/stats.md +60 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/transition.md +57 -17
- package/src/pilot/workflows/ui-phase.md +302 -0
- package/src/pilot/workflows/ui-review.md +165 -0
- package/{gsd/get-shit-done → src/pilot}/workflows/update.md +88 -58
- package/{gsd/get-shit-done → src/pilot}/workflows/validate-phase.md +24 -17
- package/{gsd/get-shit-done → src/pilot}/workflows/verify-phase.md +26 -15
- package/{gsd/get-shit-done → src/pilot}/workflows/verify-work.md +89 -37
- package/{ecc → src}/rules/common/agents.md +1 -0
- package/src/rules/common/code-review.md +124 -0
- package/{ecc → src}/rules/common/coding-style.md +21 -0
- package/src/rules/zh/README.md +108 -0
- package/src/rules/zh/agents.md +50 -0
- package/src/rules/zh/code-review.md +124 -0
- package/src/rules/zh/coding-style.md +48 -0
- package/src/rules/zh/development-workflow.md +44 -0
- package/src/rules/zh/git-workflow.md +24 -0
- package/src/rules/zh/hooks.md +30 -0
- package/src/rules/zh/patterns.md +31 -0
- package/src/rules/zh/performance.md +55 -0
- package/src/rules/zh/security.md +29 -0
- package/src/rules/zh/testing.md +29 -0
- package/src/skills/agentic-engineering/SKILL.md +63 -0
- package/src/skills/ai-first-engineering/SKILL.md +51 -0
- package/src/skills/ai-regression-testing/SKILL.md +385 -0
- package/src/skills/api-design/SKILL.md +523 -0
- package/src/skills/architecture-decision-records/SKILL.md +179 -0
- package/src/skills/autonomous-agent-harness/SKILL.md +267 -0
- package/src/skills/autonomous-loops/SKILL.md +610 -0
- package/src/skills/backend-patterns/SKILL.md +598 -0
- package/src/skills/benchmark/SKILL.md +87 -0
- package/src/skills/blueprint/SKILL.md +90 -0
- package/src/skills/browser-qa/SKILL.md +81 -0
- package/src/skills/bun-runtime/SKILL.md +84 -0
- package/src/skills/claude-api/SKILL.md +337 -0
- package/src/skills/codebase-onboarding/SKILL.md +233 -0
- package/src/skills/coding-standards/SKILL.md +530 -0
- package/src/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/src/skills/context-budget/SKILL.md +135 -0
- package/{ecc → src}/skills/continuous-learning-v2/SKILL.md +6 -6
- package/{ecc → src}/skills/continuous-learning-v2/agents/observer-loop.sh +1 -1
- package/{ecc → src}/skills/continuous-learning-v2/agents/observer.md +1 -1
- package/src/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/src/skills/cpp-coding-standards/SKILL.md +723 -0
- package/src/skills/cpp-testing/SKILL.md +324 -0
- package/src/skills/database-migrations/SKILL.md +429 -0
- package/src/skills/deep-research/SKILL.md +155 -0
- package/src/skills/deployment-patterns/SKILL.md +427 -0
- package/src/skills/design-system/SKILL.md +82 -0
- package/src/skills/django-patterns/SKILL.md +734 -0
- package/src/skills/django-security/SKILL.md +593 -0
- package/src/skills/django-tdd/SKILL.md +729 -0
- package/src/skills/django-verification/SKILL.md +469 -0
- package/src/skills/docker-patterns/SKILL.md +364 -0
- package/src/skills/documentation-lookup/SKILL.md +90 -0
- package/src/skills/e2e-testing/SKILL.md +326 -0
- package/src/skills/eval-harness/SKILL.md +270 -0
- package/src/skills/exa-search/SKILL.md +103 -0
- package/src/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/src/skills/frontend-patterns/SKILL.md +642 -0
- package/src/skills/gan-style-harness/SKILL.md +278 -0
- package/src/skills/git-workflow/SKILL.md +715 -0
- package/src/skills/golang-patterns/SKILL.md +674 -0
- package/src/skills/golang-testing/SKILL.md +720 -0
- package/src/skills/hexagonal-architecture/SKILL.md +276 -0
- package/src/skills/iterative-retrieval/SKILL.md +211 -0
- package/src/skills/java-coding-standards/SKILL.md +147 -0
- package/src/skills/jpa-patterns/SKILL.md +151 -0
- package/src/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/src/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/src/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/src/skills/kotlin-patterns/SKILL.md +711 -0
- package/src/skills/kotlin-testing/SKILL.md +824 -0
- package/src/skills/laravel-patterns/SKILL.md +415 -0
- package/src/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/src/skills/laravel-security/SKILL.md +285 -0
- package/src/skills/laravel-tdd/SKILL.md +283 -0
- package/src/skills/laravel-verification/SKILL.md +179 -0
- package/src/skills/mcp-server-patterns/SKILL.md +67 -0
- package/src/skills/nextjs-turbopack/SKILL.md +44 -0
- package/src/skills/nuxt4-patterns/SKILL.md +100 -0
- package/src/skills/opensource-pipeline/SKILL.md +255 -0
- package/src/skills/perl-patterns/SKILL.md +504 -0
- package/src/skills/perl-security/SKILL.md +503 -0
- package/src/skills/perl-testing/SKILL.md +475 -0
- package/src/skills/postgres-patterns/SKILL.md +147 -0
- package/src/skills/project-flow-ops/SKILL.md +111 -0
- package/src/skills/project-guidelines-example/SKILL.md +349 -0
- package/src/skills/prompt-optimizer/SKILL.md +397 -0
- package/src/skills/python-patterns/SKILL.md +750 -0
- package/src/skills/python-testing/SKILL.md +816 -0
- package/src/skills/pytorch-patterns/SKILL.md +396 -0
- package/src/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/src/skills/repo-scan/SKILL.md +78 -0
- package/src/skills/rules-distill/SKILL.md +264 -0
- package/src/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/src/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/src/skills/rust-patterns/SKILL.md +499 -0
- package/src/skills/rust-testing/SKILL.md +500 -0
- package/src/skills/safety-guard/SKILL.md +69 -0
- package/src/skills/search-first/SKILL.md +161 -0
- package/src/skills/security-review/SKILL.md +495 -0
- package/src/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/src/skills/security-scan/SKILL.md +165 -0
- package/src/skills/springboot-patterns/SKILL.md +314 -0
- package/src/skills/springboot-security/SKILL.md +272 -0
- package/src/skills/springboot-tdd/SKILL.md +158 -0
- package/src/skills/springboot-verification/SKILL.md +231 -0
- package/src/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/src/skills/tdd-workflow/SKILL.md +410 -0
- package/src/skills/token-budget-advisor/SKILL.md +133 -0
- package/{ecc/skills/verification-loop-SKILL.md → src/skills/verification-loop/SKILL.md} +1 -1
- package/src/skills/workspace-surface-audit/SKILL.md +125 -0
- package/ecc/scripts/hooks/session-end-marker.js +0 -15
- package/gsd/LICENSE +0 -21
- package/gsd/commands-gsd/discuss-phase.md +0 -90
- package/gsd/commands-gsd/execute-phase.md +0 -41
- package/gsd/commands-gsd/join-discord.md +0 -18
- package/gsd/commands-gsd/reapply-patches.md +0 -123
- package/gsd/commands-gsd/set-profile.md +0 -34
- package/gsd/get-shit-done/bin/lib/config.cjs +0 -169
- package/gsd/get-shit-done/bin/lib/core.cjs +0 -492
- package/gsd/get-shit-done/bin/lib/init.cjs +0 -710
- package/gsd/get-shit-done/workflows/execute-phase.md +0 -459
- package/gsd/get-shit-done/workflows/help.md +0 -489
- package/gsd/get-shit-done/workflows/pause-work.md +0 -122
- package/gsd/get-shit-done/workflows/plan-phase.md +0 -560
- package/gsd/hooks/gsd-check-update.js +0 -81
- package/kit/CLAUDE.md +0 -43
- package/kit/commands/kit/update.md +0 -46
- package/kit/mcp.json +0 -10
- package/kit/rules/code-style.md +0 -24
- /package/{ecc → src}/agents/architect.md +0 -0
- /package/{ecc → src}/agents/code-reviewer.md +0 -0
- /package/{ecc → src}/agents/e2e-runner.md +0 -0
- /package/{ecc → src}/agents/security-reviewer.md +0 -0
- /package/{ecc → src}/agents/tdd-guide.md +0 -0
- /package/{ecc/rules → src/available-rules}/golang/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/golang/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/golang/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/golang/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/golang/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/kotlin/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/kotlin/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/kotlin/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/kotlin/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/perl/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/perl/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/perl/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/perl/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/perl/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/php/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/php/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/php/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/php/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/php/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/python/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/python/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/python/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/python/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/python/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/swift/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/swift/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/swift/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/swift/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/swift/testing.md +0 -0
- /package/{ecc/rules → src/available-rules}/typescript/coding-style.md +0 -0
- /package/{ecc/rules → src/available-rules}/typescript/hooks.md +0 -0
- /package/{ecc/rules → src/available-rules}/typescript/patterns.md +0 -0
- /package/{ecc/rules → src/available-rules}/typescript/security.md +0 -0
- /package/{ecc/rules → src/available-rules}/typescript/testing.md +0 -0
- /package/{ecc → src}/contexts/dev.md +0 -0
- /package/{ecc → src}/contexts/research.md +0 -0
- /package/{ecc → src}/contexts/review.md +0 -0
- /package/{ecc → src}/examples/user-CLAUDE.md +0 -0
- /package/{ecc/scripts → src}/hooks/check-hook-enabled.js +0 -0
- /package/{ecc/scripts → src}/hooks/evaluate-session.js +0 -0
- /package/{ecc/scripts → src}/hooks/pre-compact.js +0 -0
- /package/{ecc/scripts → src}/hooks/suggest-compact.js +0 -0
- /package/{ecc/scripts → src}/lib/package-manager.d.ts +0 -0
- /package/{ecc/scripts → src}/lib/package-manager.js +0 -0
- /package/{ecc/scripts → src}/lib/resolve-formatter.js +0 -0
- /package/{ecc/scripts → src}/lib/session-aliases.d.ts +0 -0
- /package/{ecc/scripts → src}/lib/session-aliases.js +0 -0
- /package/{ecc/scripts → src}/lib/shell-split.js +0 -0
- /package/{gsd/get-shit-done → src/pilot}/bin/lib/frontmatter.cjs +0 -0
- /package/{gsd/get-shit-done → src/pilot}/bin/lib/milestone.cjs +0 -0
- /package/{gsd/get-shit-done → src/pilot}/bin/lib/roadmap.cjs +0 -0
- /package/{gsd/get-shit-done → src/pilot}/bin/lib/template.cjs +0 -0
- /package/{gsd/get-shit-done → src/pilot}/references/checkpoints.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/references/questioning.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/references/tdd.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/codebase/concerns.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/codebase/conventions.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/codebase/integrations.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/codebase/stack.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/codebase/testing.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/config.json +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/continue-here.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/milestone-archive.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/milestone.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/requirements.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/research-project/ARCHITECTURE.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/research-project/FEATURES.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/research-project/PITFALLS.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/research-project/STACK.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/research-project/SUMMARY.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/retrospective.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/roadmap.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/summary-minimal.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/summary-standard.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/summary.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/user-setup.md +0 -0
- /package/{gsd/get-shit-done → src/pilot}/templates/verification-report.md +0 -0
- /package/{ecc → src}/rules/common/development-workflow.md +0 -0
- /package/{ecc → src}/rules/common/git-workflow.md +0 -0
- /package/{ecc → src}/rules/common/hooks.md +0 -0
- /package/{ecc → src}/rules/common/patterns.md +0 -0
- /package/{ecc → src}/rules/common/performance.md +0 -0
- /package/{ecc → src}/rules/common/security.md +0 -0
- /package/{ecc → src}/rules/common/testing.md +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/agents/start-observer.sh +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/config.json +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/hooks/observe.sh +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/scripts/detect-project.sh +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/scripts/instinct-cli.py +0 -0
- /package/{ecc → src}/skills/continuous-learning-v2/scripts/test_parse_instinct.py +0 -0
- /package/{ecc → src}/skills/strategic-compact/SKILL.md +0 -0
- /package/{ecc → src}/skills/strategic-compact/suggest-compact.sh +0 -0
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# Milestone Summary Workflow
|
|
2
|
+
|
|
3
|
+
Generate a comprehensive, human-friendly project summary from completed milestone artifacts.
|
|
4
|
+
Designed for team onboarding — a new contributor can read the output and understand the entire project.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Step 1: Resolve Version
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
VERSION="$ARGUMENTS"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
If `$ARGUMENTS` is empty:
|
|
15
|
+
1. Check `.planning/STATE.md` for current milestone version
|
|
16
|
+
2. Check `.planning/milestones/` for the latest archived version
|
|
17
|
+
3. If neither found, check if `.planning/ROADMAP.md` exists (project may be mid-milestone)
|
|
18
|
+
4. If nothing found: error "No milestone found. Run /ccp:new-project or /ccp:new-milestone first."
|
|
19
|
+
|
|
20
|
+
Set `VERSION` to the resolved version (e.g., "1.0").
|
|
21
|
+
|
|
22
|
+
## Step 2: Locate Artifacts
|
|
23
|
+
|
|
24
|
+
Determine whether the milestone is **archived** or **current**:
|
|
25
|
+
|
|
26
|
+
**Archived milestone** (`.planning/milestones/v{VERSION}-ROADMAP.md` exists):
|
|
27
|
+
```
|
|
28
|
+
ROADMAP_PATH=".planning/milestones/v${VERSION}-ROADMAP.md"
|
|
29
|
+
REQUIREMENTS_PATH=".planning/milestones/v${VERSION}-REQUIREMENTS.md"
|
|
30
|
+
AUDIT_PATH=".planning/milestones/v${VERSION}-MILESTONE-AUDIT.md"
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**Current/in-progress milestone** (no archive yet):
|
|
34
|
+
```
|
|
35
|
+
ROADMAP_PATH=".planning/ROADMAP.md"
|
|
36
|
+
REQUIREMENTS_PATH=".planning/REQUIREMENTS.md"
|
|
37
|
+
AUDIT_PATH=".planning/v${VERSION}-MILESTONE-AUDIT.md"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Note: The audit file moves to `.planning/milestones/` on archive (per `complete-milestone` workflow). Check both locations as a fallback.
|
|
41
|
+
|
|
42
|
+
**Always available:**
|
|
43
|
+
```
|
|
44
|
+
PROJECT_PATH=".planning/PROJECT.md"
|
|
45
|
+
RETRO_PATH=".planning/RETROSPECTIVE.md"
|
|
46
|
+
STATE_PATH=".planning/STATE.md"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Read all files that exist. Missing files are fine — the summary adapts to what's available.
|
|
50
|
+
|
|
51
|
+
## Step 3: Discover Phase Artifacts
|
|
52
|
+
|
|
53
|
+
Find all phase directories:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ccp-tools.cjs init progress
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
This returns phase metadata. For each phase in the milestone scope:
|
|
60
|
+
|
|
61
|
+
- Read `{phase_dir}/{padded}-SUMMARY.md` if it exists — extract `one_liner`, `accomplishments`, `decisions`
|
|
62
|
+
- Read `{phase_dir}/{padded}-VERIFICATION.md` if it exists — extract status, gaps, deferred items
|
|
63
|
+
- Read `{phase_dir}/{padded}-CONTEXT.md` if it exists — extract key decisions from `<decisions>` section
|
|
64
|
+
- Read `{phase_dir}/{padded}-RESEARCH.md` if it exists — note what was researched
|
|
65
|
+
|
|
66
|
+
Track which phases have which artifacts.
|
|
67
|
+
|
|
68
|
+
**If no phase directories exist** (empty milestone or pre-build state): skip to Step 5 and generate a minimal summary noting "No phases have been executed yet." Do not error — the summary should still capture PROJECT.md and ROADMAP.md content.
|
|
69
|
+
|
|
70
|
+
## Step 4: Gather Git Statistics
|
|
71
|
+
|
|
72
|
+
Try each method in order until one succeeds:
|
|
73
|
+
|
|
74
|
+
**Method 1 — Tagged milestone** (check first):
|
|
75
|
+
```bash
|
|
76
|
+
git tag -l "v${VERSION}" | head -1
|
|
77
|
+
```
|
|
78
|
+
If the tag exists:
|
|
79
|
+
```bash
|
|
80
|
+
git log v${VERSION} --oneline | wc -l
|
|
81
|
+
git diff --stat $(git log --format=%H --reverse v${VERSION} | head -1)..v${VERSION}
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
**Method 2 — STATE.md date range** (if no tag):
|
|
85
|
+
Read STATE.md and extract the `started_at` or earliest session date. Use it as the `--since` boundary:
|
|
86
|
+
```bash
|
|
87
|
+
git log --oneline --since="<started_at_date>" | wc -l
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Method 3 — Earliest phase commit** (if STATE.md has no date):
|
|
91
|
+
Find the earliest `.planning/phases/` commit:
|
|
92
|
+
```bash
|
|
93
|
+
git log --oneline --diff-filter=A -- ".planning/phases/" | tail -1
|
|
94
|
+
```
|
|
95
|
+
Use that commit's date as the start boundary.
|
|
96
|
+
|
|
97
|
+
**Method 4 — Skip stats** (if none of the above work):
|
|
98
|
+
Report "Git statistics unavailable — no tag or date range could be determined." This is not an error — the summary continues without the Stats section.
|
|
99
|
+
|
|
100
|
+
Extract (when available):
|
|
101
|
+
- Total commits in milestone
|
|
102
|
+
- Files changed, insertions, deletions
|
|
103
|
+
- Timeline (start date → end date)
|
|
104
|
+
- Contributors (from git log authors)
|
|
105
|
+
|
|
106
|
+
## Step 5: Generate Summary Document
|
|
107
|
+
|
|
108
|
+
Write to `.planning/reports/MILESTONE_SUMMARY-v${VERSION}.md`:
|
|
109
|
+
|
|
110
|
+
```markdown
|
|
111
|
+
# Milestone v{VERSION} — Project Summary
|
|
112
|
+
|
|
113
|
+
**Generated:** {date}
|
|
114
|
+
**Purpose:** Team onboarding and project review
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## 1. Project Overview
|
|
119
|
+
|
|
120
|
+
{From PROJECT.md: "What This Is", core value proposition, target users}
|
|
121
|
+
{If mid-milestone: note which phases are complete vs in-progress}
|
|
122
|
+
|
|
123
|
+
## 2. Architecture & Technical Decisions
|
|
124
|
+
|
|
125
|
+
{From CONTEXT.md files across phases: key technical choices}
|
|
126
|
+
{From SUMMARY.md decisions: patterns, libraries, frameworks chosen}
|
|
127
|
+
{From PROJECT.md: tech stack if documented}
|
|
128
|
+
|
|
129
|
+
Present as a bulleted list of decisions with brief rationale:
|
|
130
|
+
- **Decision:** {what was chosen}
|
|
131
|
+
- **Why:** {rationale from CONTEXT.md}
|
|
132
|
+
- **Phase:** {which phase made this decision}
|
|
133
|
+
|
|
134
|
+
## 3. Phases Delivered
|
|
135
|
+
|
|
136
|
+
| Phase | Name | Status | One-Liner |
|
|
137
|
+
|-------|------|--------|-----------|
|
|
138
|
+
{For each phase: number, name, status (complete/in-progress/planned), one_liner from SUMMARY.md}
|
|
139
|
+
|
|
140
|
+
## 4. Requirements Coverage
|
|
141
|
+
|
|
142
|
+
{From REQUIREMENTS.md: list each requirement with status}
|
|
143
|
+
- ✅ {Requirement met}
|
|
144
|
+
- ⚠️ {Requirement partially met — note gap}
|
|
145
|
+
- ❌ {Requirement not met — note reason}
|
|
146
|
+
|
|
147
|
+
{If MILESTONE-AUDIT.md exists: include audit verdict}
|
|
148
|
+
|
|
149
|
+
## 5. Key Decisions Log
|
|
150
|
+
|
|
151
|
+
{Aggregate from all CONTEXT.md <decisions> sections}
|
|
152
|
+
{Each decision with: ID, description, phase, rationale}
|
|
153
|
+
|
|
154
|
+
## 6. Tech Debt & Deferred Items
|
|
155
|
+
|
|
156
|
+
{From VERIFICATION.md files: gaps found, anti-patterns noted}
|
|
157
|
+
{From RETROSPECTIVE.md: lessons learned, what to improve}
|
|
158
|
+
{From CONTEXT.md <deferred> sections: ideas parked for later}
|
|
159
|
+
|
|
160
|
+
## 7. Getting Started
|
|
161
|
+
|
|
162
|
+
{Entry points for new contributors:}
|
|
163
|
+
- **Run the project:** {from PROJECT.md or SUMMARY.md}
|
|
164
|
+
- **Key directories:** {from codebase structure}
|
|
165
|
+
- **Tests:** {test command from PROJECT.md or CLAUDE.md}
|
|
166
|
+
- **Where to look first:** {main entry points, core modules}
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Stats
|
|
171
|
+
|
|
172
|
+
- **Timeline:** {start} → {end} ({duration})
|
|
173
|
+
- **Phases:** {count complete} / {count total}
|
|
174
|
+
- **Commits:** {count}
|
|
175
|
+
- **Files changed:** {count} (+{insertions} / -{deletions})
|
|
176
|
+
- **Contributors:** {list}
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## Step 6: Write and Commit
|
|
180
|
+
|
|
181
|
+
**Overwrite guard:** If `.planning/reports/MILESTONE_SUMMARY-v${VERSION}.md` already exists, ask the user:
|
|
182
|
+
> "A milestone summary for v{VERSION} already exists. Overwrite it, or view the existing one?"
|
|
183
|
+
If "view": display existing file and skip to Step 8 (interactive mode). If "overwrite": proceed.
|
|
184
|
+
|
|
185
|
+
Create the reports directory if needed:
|
|
186
|
+
```bash
|
|
187
|
+
mkdir -p .planning/reports
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
Write the summary, then commit:
|
|
191
|
+
```bash
|
|
192
|
+
ccp-tools.cjs commit "docs(v${VERSION}): generate milestone summary for onboarding" \
|
|
193
|
+
--files ".planning/reports/MILESTONE_SUMMARY-v${VERSION}.md"
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## Step 7: Present Summary
|
|
197
|
+
|
|
198
|
+
Display the full summary document inline.
|
|
199
|
+
|
|
200
|
+
## Step 8: Offer Interactive Mode
|
|
201
|
+
|
|
202
|
+
After presenting the summary:
|
|
203
|
+
|
|
204
|
+
> "Summary written to `.planning/reports/MILESTONE_SUMMARY-v{VERSION}.md`.
|
|
205
|
+
>
|
|
206
|
+
> I have full context from the build artifacts. Want to ask anything about the project?
|
|
207
|
+
> Architecture decisions, specific phases, requirements, tech debt — ask away."
|
|
208
|
+
|
|
209
|
+
If the user asks questions:
|
|
210
|
+
- Answer from the artifacts already loaded (CONTEXT.md, SUMMARY.md, VERIFICATION.md, etc.)
|
|
211
|
+
- Reference specific files and decisions
|
|
212
|
+
- Stay grounded in what was actually built (not speculation)
|
|
213
|
+
|
|
214
|
+
If the user is done:
|
|
215
|
+
- Suggest next steps: `/ccp:new-milestone`, `/ccp:progress`, or sharing the summary with the team
|
|
216
|
+
|
|
217
|
+
## Step 9: Update STATE.md
|
|
218
|
+
|
|
219
|
+
```bash
|
|
220
|
+
ccp-tools.cjs state record-session \
|
|
221
|
+
--stopped-at "Milestone v${VERSION} summary generated" \
|
|
222
|
+
--resume-file ".planning/reports/MILESTONE_SUMMARY-v${VERSION}.md"
|
|
223
|
+
```
|
|
@@ -10,14 +10,27 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
10
10
|
|
|
11
11
|
</required_reading>
|
|
12
12
|
|
|
13
|
+
<available_agent_types>
|
|
14
|
+
Valid CCP subagent types (use exact names — do not fall back to 'general-purpose'):
|
|
15
|
+
- ccp-project-researcher — Researches project-level technical decisions
|
|
16
|
+
- ccp-research-synthesizer — Synthesizes findings from parallel research agents
|
|
17
|
+
- ccp-roadmapper — Creates phased execution roadmaps
|
|
18
|
+
</available_agent_types>
|
|
19
|
+
|
|
13
20
|
<process>
|
|
14
21
|
|
|
15
22
|
## 1. Load Context
|
|
16
23
|
|
|
24
|
+
Parse `$ARGUMENTS` before doing anything else:
|
|
25
|
+
- `--reset-phase-numbers` flag → opt into restarting roadmap phase numbering at `1`
|
|
26
|
+
- remaining text → use as milestone name if present
|
|
27
|
+
|
|
28
|
+
If the flag is absent, keep the current behavior of continuing phase numbering from the previous milestone.
|
|
29
|
+
|
|
17
30
|
- Read PROJECT.md (existing project, validated requirements, decisions)
|
|
18
31
|
- Read MILESTONES.md (what shipped previously)
|
|
19
32
|
- Read STATE.md (pending todos, blockers)
|
|
20
|
-
- Check for MILESTONE-CONTEXT.md (from /
|
|
33
|
+
- Check for MILESTONE-CONTEXT.md (from /ccp:discuss-milestone)
|
|
21
34
|
|
|
22
35
|
## 2. Gather Milestone Goals
|
|
23
36
|
|
|
@@ -37,6 +50,38 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
37
50
|
- Suggest next version (v1.0 → v1.1, or v2.0 for major)
|
|
38
51
|
- Confirm with user
|
|
39
52
|
|
|
53
|
+
## 3.5. Verify Milestone Understanding
|
|
54
|
+
|
|
55
|
+
Before writing any files, present a summary of what was gathered and ask for confirmation.
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
59
|
+
Pilot ► MILESTONE SUMMARY
|
|
60
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
61
|
+
|
|
62
|
+
**Milestone v[X.Y]: [Name]**
|
|
63
|
+
|
|
64
|
+
**Goal:** [One sentence]
|
|
65
|
+
|
|
66
|
+
**Target features:**
|
|
67
|
+
- [Feature 1]
|
|
68
|
+
- [Feature 2]
|
|
69
|
+
- [Feature 3]
|
|
70
|
+
|
|
71
|
+
**Key context:** [Any important constraints, decisions, or notes from questioning]
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
AskUserQuestion:
|
|
75
|
+
- header: "Confirm?"
|
|
76
|
+
- question: "Does this capture what you want to build in this milestone?"
|
|
77
|
+
- options:
|
|
78
|
+
- "Looks good" — Proceed to write PROJECT.md
|
|
79
|
+
- "Adjust" — Let me correct or add details
|
|
80
|
+
|
|
81
|
+
**If "Adjust":** Ask what needs changing (plain text, NOT AskUserQuestion). Incorporate changes, re-present the summary. Loop until "Looks good" is selected.
|
|
82
|
+
|
|
83
|
+
**If "Looks good":** Proceed to Step 4.
|
|
84
|
+
|
|
40
85
|
## 4. Update PROJECT.md
|
|
41
86
|
|
|
42
87
|
Add/update:
|
|
@@ -54,6 +99,27 @@ Add/update:
|
|
|
54
99
|
|
|
55
100
|
Update Active requirements section and "Last updated" footer.
|
|
56
101
|
|
|
102
|
+
Ensure the `## Evolution` section exists in PROJECT.md. If missing (projects created before this feature), add it before the footer:
|
|
103
|
+
|
|
104
|
+
```markdown
|
|
105
|
+
## Evolution
|
|
106
|
+
|
|
107
|
+
This document evolves at phase transitions and milestone boundaries.
|
|
108
|
+
|
|
109
|
+
**After each phase transition** (via transition workflow):
|
|
110
|
+
1. Requirements invalidated? → Move to Out of Scope with reason
|
|
111
|
+
2. Requirements validated? → Move to Validated with phase reference
|
|
112
|
+
3. New requirements emerged? → Add to Active
|
|
113
|
+
4. Decisions to log? → Add to Key Decisions
|
|
114
|
+
5. "What This Is" still accurate? → Update if drifted
|
|
115
|
+
|
|
116
|
+
**After each milestone** (via `/ccp:complete-milestone`):
|
|
117
|
+
1. Full review of all sections
|
|
118
|
+
2. Core Value check — still the right priority?
|
|
119
|
+
3. Audit Out of Scope — reasons still valid?
|
|
120
|
+
4. Update Context with current state
|
|
121
|
+
```
|
|
122
|
+
|
|
57
123
|
## 5. Update STATE.md
|
|
58
124
|
|
|
59
125
|
```markdown
|
|
@@ -72,39 +138,64 @@ Keep Accumulated Context section from previous milestone.
|
|
|
72
138
|
Delete MILESTONE-CONTEXT.md if exists (consumed).
|
|
73
139
|
|
|
74
140
|
```bash
|
|
75
|
-
node "$HOME/.claude/
|
|
141
|
+
node "$HOME/.claude/pilot/bin/ccp-tools.cjs" commit "docs: start milestone v[X.Y] [Name]" --files .planning/PROJECT.md .planning/STATE.md
|
|
76
142
|
```
|
|
77
143
|
|
|
78
144
|
## 7. Load Context and Resolve Models
|
|
79
145
|
|
|
80
146
|
```bash
|
|
81
|
-
INIT=$(node "$HOME/.claude/
|
|
147
|
+
INIT=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" init new-milestone)
|
|
82
148
|
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
149
|
+
AGENT_SKILLS_RESEARCHER=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" agent-skills ccp-project-researcher 2>/dev/null)
|
|
150
|
+
AGENT_SKILLS_SYNTHESIZER=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" agent-skills ccp-synthesizer 2>/dev/null)
|
|
151
|
+
AGENT_SKILLS_ROADMAPPER=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" agent-skills ccp-roadmapper 2>/dev/null)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Extract from init JSON: `researcher_model`, `synthesizer_model`, `roadmapper_model`, `commit_docs`, `research_enabled`, `current_milestone`, `project_exists`, `roadmap_exists`, `latest_completed_milestone`, `phase_dir_count`, `phase_archive_path`.
|
|
155
|
+
|
|
156
|
+
## 7.5 Reset-phase safety (only when `--reset-phase-numbers`)
|
|
157
|
+
|
|
158
|
+
If `--reset-phase-numbers` is active:
|
|
159
|
+
|
|
160
|
+
1. Set starting phase number to `1` for the upcoming roadmap.
|
|
161
|
+
2. If `phase_dir_count > 0`, archive the old phase directories before roadmapping so new `01-*` / `02-*` directories cannot collide with stale milestone directories.
|
|
162
|
+
|
|
163
|
+
If `phase_dir_count > 0` and `phase_archive_path` is available:
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
mkdir -p "${phase_archive_path}"
|
|
167
|
+
find .planning/phases -mindepth 1 -maxdepth 1 -type d -exec mv {} "${phase_archive_path}/" \;
|
|
83
168
|
```
|
|
84
169
|
|
|
85
|
-
|
|
170
|
+
Then verify `.planning/phases/` no longer contains old milestone directories before continuing.
|
|
171
|
+
|
|
172
|
+
If `phase_dir_count > 0` but `phase_archive_path` is missing:
|
|
173
|
+
- Stop and explain that reset numbering is unsafe without a completed milestone archive target.
|
|
174
|
+
- Tell the user to complete/archive the previous milestone first, then rerun `/ccp:new-milestone --reset-phase-numbers`.
|
|
86
175
|
|
|
87
176
|
## 8. Research Decision
|
|
88
177
|
|
|
178
|
+
Check `research_enabled` from init JSON (loaded from config).
|
|
179
|
+
|
|
180
|
+
**If `research_enabled` is `true`:**
|
|
181
|
+
|
|
89
182
|
AskUserQuestion: "Research the domain ecosystem for new features before defining requirements?"
|
|
90
183
|
- "Research first (Recommended)" — Discover patterns, features, architecture for NEW capabilities
|
|
91
|
-
- "Skip research" — Go straight to requirements
|
|
184
|
+
- "Skip research for this milestone" — Go straight to requirements (does not change your default)
|
|
92
185
|
|
|
93
|
-
**
|
|
186
|
+
**If `research_enabled` is `false`:**
|
|
94
187
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
188
|
+
AskUserQuestion: "Research the domain ecosystem for new features before defining requirements?"
|
|
189
|
+
- "Skip research (current default)" — Go straight to requirements
|
|
190
|
+
- "Research first" — Discover patterns, features, architecture for NEW capabilities
|
|
98
191
|
|
|
99
|
-
|
|
100
|
-
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-set workflow.research false
|
|
101
|
-
```
|
|
192
|
+
**IMPORTANT:** Do NOT persist this choice to config.json. The `workflow.research` setting is a persistent user preference that controls plan-phase behavior across the project. Changing it here would silently alter future `/ccp:plan-phase` behavior. To change the default, use `/ccp:settings`.
|
|
102
193
|
|
|
103
|
-
**If "Research first":**
|
|
194
|
+
**If user chose "Research first":**
|
|
104
195
|
|
|
105
196
|
```
|
|
106
197
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
107
|
-
|
|
198
|
+
Pilot ► RESEARCHING
|
|
108
199
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
109
200
|
|
|
110
201
|
◆ Spawning 4 researchers in parallel...
|
|
@@ -115,7 +206,7 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" config-set workflow.researc
|
|
|
115
206
|
mkdir -p .planning/research
|
|
116
207
|
```
|
|
117
208
|
|
|
118
|
-
Spawn 4 parallel
|
|
209
|
+
Spawn 4 parallel ccp-project-researcher agents. Each uses this template with dimension-specific fields:
|
|
119
210
|
|
|
120
211
|
**Common structure for all 4 researchers:**
|
|
121
212
|
```
|
|
@@ -134,15 +225,17 @@ Focus ONLY on what's needed for the NEW features.
|
|
|
134
225
|
- .planning/PROJECT.md (Project context)
|
|
135
226
|
</files_to_read>
|
|
136
227
|
|
|
228
|
+
${AGENT_SKILLS_RESEARCHER}
|
|
229
|
+
|
|
137
230
|
<downstream_consumer>{CONSUMER}</downstream_consumer>
|
|
138
231
|
|
|
139
232
|
<quality_gate>{GATES}</quality_gate>
|
|
140
233
|
|
|
141
234
|
<output>
|
|
142
235
|
Write to: .planning/research/{FILE}
|
|
143
|
-
Use template: ~/.claude/
|
|
236
|
+
Use template: ~/.claude/pilot/templates/research-project/{FILE}
|
|
144
237
|
</output>
|
|
145
|
-
", subagent_type="
|
|
238
|
+
", subagent_type="ccp-project-researcher", model="{researcher_model}", description="{DIMENSION} research")
|
|
146
239
|
```
|
|
147
240
|
|
|
148
241
|
**Dimension-specific fields:**
|
|
@@ -168,16 +261,18 @@ Synthesize research outputs into SUMMARY.md.
|
|
|
168
261
|
- .planning/research/PITFALLS.md
|
|
169
262
|
</files_to_read>
|
|
170
263
|
|
|
264
|
+
${AGENT_SKILLS_SYNTHESIZER}
|
|
265
|
+
|
|
171
266
|
Write to: .planning/research/SUMMARY.md
|
|
172
|
-
Use template: ~/.claude/
|
|
267
|
+
Use template: ~/.claude/pilot/templates/research-project/SUMMARY.md
|
|
173
268
|
Commit after writing.
|
|
174
|
-
", subagent_type="
|
|
269
|
+
", subagent_type="ccp-research-synthesizer", model="{synthesizer_model}", description="Synthesize research")
|
|
175
270
|
```
|
|
176
271
|
|
|
177
272
|
Display key findings from SUMMARY.md:
|
|
178
273
|
```
|
|
179
274
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
180
|
-
|
|
275
|
+
Pilot ► RESEARCH COMPLETE ✓
|
|
181
276
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
182
277
|
|
|
183
278
|
**Stack additions:** [from SUMMARY.md]
|
|
@@ -191,7 +286,7 @@ Display key findings from SUMMARY.md:
|
|
|
191
286
|
|
|
192
287
|
```
|
|
193
288
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
194
|
-
|
|
289
|
+
Pilot ► DEFINING REQUIREMENTS
|
|
195
290
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
196
291
|
```
|
|
197
292
|
|
|
@@ -255,20 +350,22 @@ If "adjust": Return to scoping.
|
|
|
255
350
|
|
|
256
351
|
**Commit requirements:**
|
|
257
352
|
```bash
|
|
258
|
-
node "$HOME/.claude/
|
|
353
|
+
node "$HOME/.claude/pilot/bin/ccp-tools.cjs" commit "docs: define milestone v[X.Y] requirements" --files .planning/REQUIREMENTS.md
|
|
259
354
|
```
|
|
260
355
|
|
|
261
356
|
## 10. Create Roadmap
|
|
262
357
|
|
|
263
358
|
```
|
|
264
359
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
265
|
-
|
|
360
|
+
Pilot ► CREATING ROADMAP
|
|
266
361
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
267
362
|
|
|
268
363
|
◆ Spawning roadmapper...
|
|
269
364
|
```
|
|
270
365
|
|
|
271
|
-
**Starting phase number:**
|
|
366
|
+
**Starting phase number:**
|
|
367
|
+
- If `--reset-phase-numbers` is active, start at **Phase 1**
|
|
368
|
+
- Otherwise, continue from the previous milestone's last phase number (v1.0 ended at phase 5 → v1.1 starts at phase 6)
|
|
272
369
|
|
|
273
370
|
```
|
|
274
371
|
Task(prompt="
|
|
@@ -280,11 +377,16 @@ Task(prompt="
|
|
|
280
377
|
- .planning/config.json
|
|
281
378
|
- .planning/MILESTONES.md
|
|
282
379
|
</files_to_read>
|
|
380
|
+
|
|
381
|
+
${AGENT_SKILLS_ROADMAPPER}
|
|
382
|
+
|
|
283
383
|
</planning_context>
|
|
284
384
|
|
|
285
385
|
<instructions>
|
|
286
386
|
Create roadmap for milestone v[X.Y]:
|
|
287
|
-
1.
|
|
387
|
+
1. Respect the selected numbering mode:
|
|
388
|
+
- `--reset-phase-numbers` → start at Phase 1
|
|
389
|
+
- default behavior → continue from the previous milestone's last phase number
|
|
288
390
|
2. Derive phases from THIS MILESTONE's requirements only
|
|
289
391
|
3. Map every requirement to exactly one phase
|
|
290
392
|
4. Derive 2-5 success criteria per phase (observable user behaviors)
|
|
@@ -294,7 +396,7 @@ Create roadmap for milestone v[X.Y]:
|
|
|
294
396
|
|
|
295
397
|
Write files first, then return.
|
|
296
398
|
</instructions>
|
|
297
|
-
", subagent_type="
|
|
399
|
+
", subagent_type="ccp-roadmapper", model="{roadmapper_model}", description="Create roadmap")
|
|
298
400
|
```
|
|
299
401
|
|
|
300
402
|
**Handle return:**
|
|
@@ -332,14 +434,14 @@ Success criteria:
|
|
|
332
434
|
|
|
333
435
|
**Commit roadmap** (after approval):
|
|
334
436
|
```bash
|
|
335
|
-
node "$HOME/.claude/
|
|
437
|
+
node "$HOME/.claude/pilot/bin/ccp-tools.cjs" commit "docs: create milestone v[X.Y] roadmap ([N] phases)" --files .planning/ROADMAP.md .planning/STATE.md .planning/REQUIREMENTS.md
|
|
336
438
|
```
|
|
337
439
|
|
|
338
440
|
## 11. Done
|
|
339
441
|
|
|
340
442
|
```
|
|
341
443
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
342
|
-
|
|
444
|
+
Pilot ► MILESTONE INITIALIZED ✓
|
|
343
445
|
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
344
446
|
|
|
345
447
|
**Milestone v[X.Y]: [Name]**
|
|
@@ -357,11 +459,11 @@ node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" commit "docs: create milest
|
|
|
357
459
|
|
|
358
460
|
**Phase [N]: [Phase Name]** — [Goal]
|
|
359
461
|
|
|
360
|
-
`/
|
|
462
|
+
`/ccp:discuss-phase [N]` — gather context and clarify approach
|
|
361
463
|
|
|
362
464
|
<sub>`/clear` first → fresh context window</sub>
|
|
363
465
|
|
|
364
|
-
Also: `/
|
|
466
|
+
Also: `/ccp:plan-phase [N]` — skip discussion, plan directly
|
|
365
467
|
```
|
|
366
468
|
|
|
367
469
|
</process>
|
|
@@ -373,12 +475,12 @@ Also: `/gsd:plan-phase [N]` — skip discussion, plan directly
|
|
|
373
475
|
- [ ] Research completed (if selected) — 4 parallel agents, milestone-aware
|
|
374
476
|
- [ ] Requirements gathered and scoped per category
|
|
375
477
|
- [ ] REQUIREMENTS.md created with REQ-IDs
|
|
376
|
-
- [ ]
|
|
478
|
+
- [ ] ccp-roadmapper spawned with phase numbering context
|
|
377
479
|
- [ ] Roadmap files written immediately (not draft)
|
|
378
480
|
- [ ] User feedback incorporated (if any)
|
|
379
|
-
- [ ]
|
|
481
|
+
- [ ] Phase numbering mode respected (continued or reset)
|
|
380
482
|
- [ ] All commits made (if planning docs committed)
|
|
381
|
-
- [ ] User knows next step: `/
|
|
483
|
+
- [ ] User knows next step: `/ccp:discuss-phase [N]`
|
|
382
484
|
|
|
383
485
|
**Atomic commits:** Each phase commits its artifacts immediately.
|
|
384
486
|
</success_criteria>
|