claude-code-pilot 2.0.0 → 3.0.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/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/src/agents/docs-lookup.md +68 -0
- package/src/agents/flutter-reviewer.md +243 -0
- package/src/agents/go-build-resolver.md +94 -0
- package/src/agents/go-reviewer.md +76 -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/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/aside.md +164 -0
- package/src/commands/build-fix.md +62 -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/{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/{gsd/commands-gsd → src/commands/ccp}/check-todos.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/cleanup.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/complete-milestone.md +9 -9
- 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/execute-phase.md +59 -0
- package/src/commands/ccp/fast.md +30 -0
- package/src/commands/ccp/forensics.md +56 -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/{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/{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/{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/plant-seed.md +28 -0
- package/src/commands/ccp/pr-branch.md +25 -0
- package/{gsd/commands-gsd → src/commands/ccp}/progress.md +3 -3
- package/{gsd/commands-gsd → src/commands/ccp}/quick.md +10 -8
- 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/{gsd/commands-gsd → src/commands/ccp}/resume-work.md +3 -3
- package/src/commands/ccp/review-backlog.md +61 -0
- package/src/commands/ccp/session-report.md +19 -0
- package/src/commands/ccp/set-profile.md +12 -0
- package/{gsd/commands-gsd → src/commands/ccp}/settings.md +5 -5
- package/src/commands/ccp/ship.md +23 -0
- package/src/commands/ccp/stats.md +18 -0
- package/src/commands/ccp/thread.md +127 -0
- package/src/commands/ccp/ui-phase.md +34 -0
- package/src/commands/ccp/ui-review.md +32 -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/src/commands/code-review.md +40 -0
- package/src/commands/context-budget.md +29 -0
- package/src/commands/cpp-build.md +173 -0
- package/src/commands/cpp-review.md +132 -0
- package/src/commands/cpp-test.md +251 -0
- package/src/commands/docs.md +31 -0
- package/src/commands/e2e.md +364 -0
- package/src/commands/eval.md +120 -0
- package/{ecc → src}/commands/evolve.md +2 -2
- package/src/commands/go-build.md +183 -0
- package/src/commands/go-review.md +148 -0
- package/src/commands/go-test.md +268 -0
- package/src/commands/gradle-build.md +70 -0
- package/src/commands/harness-audit.md +71 -0
- package/src/commands/kotlin-build.md +174 -0
- package/src/commands/kotlin-review.md +140 -0
- package/src/commands/kotlin-test.md +312 -0
- package/src/commands/orchestrate.md +231 -0
- package/src/commands/plan.md +114 -0
- package/src/commands/prompt-optimize.md +38 -0
- package/src/commands/prune.md +25 -0
- package/src/commands/python-review.md +297 -0
- package/{ecc → src}/commands/quality-gate.md +1 -1
- package/src/commands/refactor-clean.md +80 -0
- package/src/commands/rules-distill.md +11 -0
- package/src/commands/rust-build.md +187 -0
- package/src/commands/rust-review.md +142 -0
- package/src/commands/rust-test.md +308 -0
- package/{ecc → src}/commands/sessions.md +10 -10
- package/src/commands/setup-pm.md +80 -0
- package/{kit → src}/commands/setup.md +45 -19
- package/src/commands/skill-create.md +172 -0
- package/src/commands/skill-health.md +51 -0
- package/src/commands/tdd.md +328 -0
- package/src/commands/test-coverage.md +69 -0
- package/src/commands/update-codemaps.md +72 -0
- package/src/commands/update-docs.md +84 -0
- 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 +75 -9
- 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/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 +775 -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/{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/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/{ecc → src}/rules/common/coding-style.md +21 -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/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/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/context-budget/SKILL.md +135 -0
- package/{ecc → src}/skills/continuous-learning-v2/SKILL.md +2 -2
- package/{ecc → src}/skills/continuous-learning-v2/agents/observer-loop.sh +1 -1
- 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/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/exa-search/SKILL.md +103 -0
- package/src/skills/frontend-patterns/SKILL.md +642 -0
- package/src/skills/golang-patterns/SKILL.md +674 -0
- package/src/skills/golang-testing/SKILL.md +720 -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-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/perl-patterns/SKILL.md +504 -0
- package/src/skills/perl-testing/SKILL.md +475 -0
- package/src/skills/postgres-patterns/SKILL.md +147 -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/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/tdd-workflow/SKILL.md +410 -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/doc-updater.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}/commands/checkpoint.md +0 -0
- /package/{ecc → src}/commands/learn.md +0 -0
- /package/{ecc → src}/commands/model-route.md +0 -0
- /package/{ecc → src}/commands/resume-session.md +0 -0
- /package/{ecc → src}/commands/save-session.md +0 -0
- /package/{kit → src}/commands/setup-refresh.md +0 -0
- /package/{kit → src}/commands/tool-guide.md +0 -0
- /package/{ecc → src}/commands/verify.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/CLAUDE.md +0 -0
- /package/{ecc → src}/examples/django-api-CLAUDE.md +0 -0
- /package/{ecc → src}/examples/go-microservice-CLAUDE.md +0 -0
- /package/{ecc → src}/examples/rust-api-CLAUDE.md +0 -0
- /package/{ecc → src}/examples/saas-nextjs-CLAUDE.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/observer.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
- /package/{ecc/skills/verification-loop-SKILL.md → src/skills/verification-loop/SKILL.md} +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# CLAUDE.md Template
|
|
2
|
+
|
|
3
|
+
Template for project-root `CLAUDE.md` — auto-generated by `ccp-tools generate-claude-md`.
|
|
4
|
+
|
|
5
|
+
Contains 6 marker-bounded sections. Each section is independently updatable.
|
|
6
|
+
The `generate-claude-md` subcommand manages 5 sections (project, stack, conventions, architecture, workflow enforcement).
|
|
7
|
+
The profile section is managed exclusively by `generate-claude-profile`.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Section Templates
|
|
12
|
+
|
|
13
|
+
### Project Section
|
|
14
|
+
```
|
|
15
|
+
<!-- CCP:project-start source:PROJECT.md -->
|
|
16
|
+
## Project
|
|
17
|
+
|
|
18
|
+
{{project_content}}
|
|
19
|
+
<!-- CCP:project-end -->
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**Fallback text:**
|
|
23
|
+
```
|
|
24
|
+
Project not yet initialized. Run /ccp:new-project to set up.
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Stack Section
|
|
28
|
+
```
|
|
29
|
+
<!-- CCP:stack-start source:STACK.md -->
|
|
30
|
+
## Technology Stack
|
|
31
|
+
|
|
32
|
+
{{stack_content}}
|
|
33
|
+
<!-- CCP:stack-end -->
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
**Fallback text:**
|
|
37
|
+
```
|
|
38
|
+
Technology stack not yet documented. Will populate after codebase mapping or first phase.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Conventions Section
|
|
42
|
+
```
|
|
43
|
+
<!-- CCP:conventions-start source:CONVENTIONS.md -->
|
|
44
|
+
## Conventions
|
|
45
|
+
|
|
46
|
+
{{conventions_content}}
|
|
47
|
+
<!-- CCP:conventions-end -->
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Fallback text:**
|
|
51
|
+
```
|
|
52
|
+
Conventions not yet established. Will populate as patterns emerge during development.
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Architecture Section
|
|
56
|
+
```
|
|
57
|
+
<!-- CCP:architecture-start source:ARCHITECTURE.md -->
|
|
58
|
+
## Architecture
|
|
59
|
+
|
|
60
|
+
{{architecture_content}}
|
|
61
|
+
<!-- CCP:architecture-end -->
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
**Fallback text:**
|
|
65
|
+
```
|
|
66
|
+
Architecture not yet mapped. Follow existing patterns found in the codebase.
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Workflow Enforcement Section
|
|
70
|
+
```
|
|
71
|
+
<!-- CCP:workflow-start source:CCP defaults -->
|
|
72
|
+
## CCP Workflow Enforcement
|
|
73
|
+
|
|
74
|
+
Before using Edit, Write, or other file-changing tools, start work through a CCP command so planning artifacts and execution context stay in sync.
|
|
75
|
+
|
|
76
|
+
Use these entry points:
|
|
77
|
+
- `/ccp:quick` for small fixes, doc updates, and ad-hoc tasks
|
|
78
|
+
- `/ccp:debug` for investigation and bug fixing
|
|
79
|
+
- `/ccp:execute-phase` for planned phase work
|
|
80
|
+
|
|
81
|
+
Do not make direct repo edits outside a CCP workflow unless the user explicitly asks to bypass it.
|
|
82
|
+
<!-- CCP:workflow-end -->
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Profile Section (Placeholder Only)
|
|
86
|
+
```
|
|
87
|
+
<!-- CCP:profile-start -->
|
|
88
|
+
## Developer Profile
|
|
89
|
+
|
|
90
|
+
> Profile not yet configured. Run `/ccp:profile-user` to generate your developer profile.
|
|
91
|
+
> This section is managed by `generate-claude-profile` — do not edit manually.
|
|
92
|
+
<!-- CCP:profile-end -->
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
**Note:** This section is NOT managed by `generate-claude-md`. It is managed exclusively
|
|
96
|
+
by `generate-claude-profile`. The placeholder above is only used when creating a new
|
|
97
|
+
CLAUDE.md file and no profile section exists yet.
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Section Ordering
|
|
102
|
+
|
|
103
|
+
1. **Project** — Identity and purpose (what this project is)
|
|
104
|
+
2. **Stack** — Technology choices (what tools are used)
|
|
105
|
+
3. **Conventions** — Code patterns and rules (how code is written)
|
|
106
|
+
4. **Architecture** — System structure (how components fit together)
|
|
107
|
+
5. **Workflow Enforcement** — Default CCP entry points for file-changing work
|
|
108
|
+
6. **Profile** — Developer behavioral preferences (how to interact)
|
|
109
|
+
|
|
110
|
+
## Marker Format
|
|
111
|
+
|
|
112
|
+
- Start: `<!-- CCP:{name}-start source:{file} -->`
|
|
113
|
+
- End: `<!-- CCP:{name}-end -->`
|
|
114
|
+
- Source attribute enables targeted updates when source files change
|
|
115
|
+
- Partial match on start marker (without closing `-->`) for detection
|
|
116
|
+
|
|
117
|
+
## Fallback Behavior
|
|
118
|
+
|
|
119
|
+
When a source file is missing, fallback text provides Claude-actionable guidance:
|
|
120
|
+
- Guides Claude's behavior in the absence of data
|
|
121
|
+
- Not placeholder ads or "missing" notices
|
|
122
|
+
- Each fallback tells Claude what to do, not just what's absent
|
|
@@ -146,7 +146,7 @@ Template for `.planning/codebase/ARCHITECTURE.md` - captures conceptual code org
|
|
|
146
146
|
|
|
147
147
|
**CLI Command Execution:**
|
|
148
148
|
|
|
149
|
-
1. User runs: `
|
|
149
|
+
1. User runs: `ccp new-project`
|
|
150
150
|
2. Commander parses args and flags
|
|
151
151
|
3. Command handler invoked (`src/commands/new-project.ts`)
|
|
152
152
|
4. Handler calls service methods (`src/services/project.ts` → `create()`)
|
|
@@ -180,7 +180,7 @@ Template for `.planning/codebase/ARCHITECTURE.md` - captures conceptual code org
|
|
|
180
180
|
|
|
181
181
|
**CLI Entry:**
|
|
182
182
|
- Location: `src/index.ts`
|
|
183
|
-
- Triggers: User runs `
|
|
183
|
+
- Triggers: User runs `ccp <command>`
|
|
184
184
|
- Responsibilities: Register commands, parse args, display help
|
|
185
185
|
|
|
186
186
|
**Commands:**
|
|
@@ -123,11 +123,11 @@ Template for `.planning/codebase/STRUCTURE.md` - captures physical file organiza
|
|
|
123
123
|
## Directory Layout
|
|
124
124
|
|
|
125
125
|
```
|
|
126
|
-
|
|
126
|
+
pilot/
|
|
127
127
|
├── bin/ # Executable entry points
|
|
128
128
|
├── commands/ # Slash command definitions
|
|
129
|
-
│ └──
|
|
130
|
-
├──
|
|
129
|
+
│ └── ccp/ # CCP-specific commands
|
|
130
|
+
├── pilot/ # Skill resources
|
|
131
131
|
│ ├── references/ # Principle documents
|
|
132
132
|
│ ├── templates/ # File templates
|
|
133
133
|
│ └── workflows/ # Multi-step procedures
|
|
@@ -145,25 +145,25 @@ get-shit-done/
|
|
|
145
145
|
- Key files: install.js - handles npx installation
|
|
146
146
|
- Subdirectories: None
|
|
147
147
|
|
|
148
|
-
**commands/
|
|
148
|
+
**commands/ccp/**
|
|
149
149
|
- Purpose: Slash command definitions for Claude Code
|
|
150
150
|
- Contains: *.md files (one per command)
|
|
151
151
|
- Key files: new-project.md, plan-phase.md, execute-plan.md
|
|
152
152
|
- Subdirectories: None (flat structure)
|
|
153
153
|
|
|
154
|
-
**
|
|
154
|
+
**pilot/references/**
|
|
155
155
|
- Purpose: Core philosophy and guidance documents
|
|
156
156
|
- Contains: principles.md, questioning.md, plan-format.md
|
|
157
157
|
- Key files: principles.md - system philosophy
|
|
158
158
|
- Subdirectories: None
|
|
159
159
|
|
|
160
|
-
**
|
|
160
|
+
**pilot/templates/**
|
|
161
161
|
- Purpose: Document templates for .planning/ files
|
|
162
162
|
- Contains: Template definitions with frontmatter
|
|
163
163
|
- Key files: project.md, roadmap.md, plan.md, summary.md
|
|
164
164
|
- Subdirectories: codebase/ (new - for stack/architecture/structure templates)
|
|
165
165
|
|
|
166
|
-
**
|
|
166
|
+
**pilot/workflows/**
|
|
167
167
|
- Purpose: Reusable multi-step procedures
|
|
168
168
|
- Contains: Workflow definitions called by commands
|
|
169
169
|
- Key files: execute-plan.md, research-phase.md
|
|
@@ -206,20 +206,20 @@ get-shit-done/
|
|
|
206
206
|
## Where to Add New Code
|
|
207
207
|
|
|
208
208
|
**New Slash Command:**
|
|
209
|
-
- Primary code: `commands/
|
|
209
|
+
- Primary code: `commands/ccp/{command-name}.md`
|
|
210
210
|
- Tests: `tests/commands/{command-name}.test.js` (if testing implemented)
|
|
211
211
|
- Documentation: Update `README.md` with new command
|
|
212
212
|
|
|
213
213
|
**New Template:**
|
|
214
|
-
- Implementation: `
|
|
214
|
+
- Implementation: `pilot/templates/{name}.md`
|
|
215
215
|
- Documentation: Template is self-documenting (includes guidelines)
|
|
216
216
|
|
|
217
217
|
**New Workflow:**
|
|
218
|
-
- Implementation: `
|
|
219
|
-
- Usage: Reference from command with `@~/.claude/
|
|
218
|
+
- Implementation: `pilot/workflows/{name}.md`
|
|
219
|
+
- Usage: Reference from command with `@~/.claude/pilot/workflows/{name}.md`
|
|
220
220
|
|
|
221
221
|
**New Reference Document:**
|
|
222
|
-
- Implementation: `
|
|
222
|
+
- Implementation: `pilot/references/{name}.md`
|
|
223
223
|
- Usage: Reference from commands/workflows as needed
|
|
224
224
|
|
|
225
225
|
**Utilities:**
|
|
@@ -228,7 +228,7 @@ get-shit-done/
|
|
|
228
228
|
|
|
229
229
|
## Special Directories
|
|
230
230
|
|
|
231
|
-
**
|
|
231
|
+
**pilot/**
|
|
232
232
|
- Purpose: Resources installed to ~/.claude/
|
|
233
233
|
- Source: Copied by bin/install.js during installation
|
|
234
234
|
- Committed: Yes (source of truth)
|
|
@@ -7,8 +7,8 @@ Template for `.planning/phases/XX-name/{phase_num}-CONTEXT.md` - captures implem
|
|
|
7
7
|
**Key principle:** Categories are NOT predefined. They emerge from what was actually discussed for THIS phase. A CLI phase has CLI-relevant sections, a UI phase has UI-relevant sections.
|
|
8
8
|
|
|
9
9
|
**Downstream consumers:**
|
|
10
|
-
- `
|
|
11
|
-
- `
|
|
10
|
+
- `ccp-phase-researcher` — Reads decisions to focus research (e.g., "card layout" → research card component patterns)
|
|
11
|
+
- `ccp-planner` — Reads decisions to create specific tasks (e.g., "infinite scroll" → task includes virtualization)
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -291,7 +291,7 @@ The output should answer: "What does the researcher need to investigate? What ch
|
|
|
291
291
|
|
|
292
292
|
**After creation:**
|
|
293
293
|
- File lives in phase directory: `.planning/phases/XX-name/{phase_num}-CONTEXT.md`
|
|
294
|
-
- `
|
|
295
|
-
- `
|
|
294
|
+
- `ccp-phase-researcher` uses decisions to focus investigation
|
|
295
|
+
- `ccp-planner` uses decisions + research to create executable tasks
|
|
296
296
|
- Downstream agents should NOT need to ask the user again about captured decisions
|
|
297
297
|
</guidelines>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Instructions for CCP
|
|
2
|
+
|
|
3
|
+
- Use the claude-code-pilot skill when the user asks for CCP or uses a `ccp-*` command.
|
|
4
|
+
- Treat `/ccp-...` or `ccp-...` as command invocations and load the matching file from `.github/skills/ccp-*`.
|
|
5
|
+
- When a command says to spawn a subagent, prefer a matching custom agent from `.github/agents`.
|
|
6
|
+
- Do not apply CCP workflows unless the user explicitly asks for them.
|
|
7
|
+
- After completing any `ccp-*` command (or any deliverable it triggers: feature, bug fix, tests, docs, etc.), ALWAYS: (1) offer the user the next step by prompting via `ask_user`; repeat this feedback loop until the user explicitly indicates they are done.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Debug Subagent Prompt Template
|
|
2
2
|
|
|
3
|
-
Template for spawning
|
|
3
|
+
Template for spawning ccp-debugger agent. The agent contains all debugging expertise - this template provides problem context only.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -51,18 +51,18 @@ Create: .planning/debug/{slug}.md
|
|
|
51
51
|
|
|
52
52
|
## Usage
|
|
53
53
|
|
|
54
|
-
**From /
|
|
54
|
+
**From /ccp:debug:**
|
|
55
55
|
```python
|
|
56
56
|
Task(
|
|
57
57
|
prompt=filled_template,
|
|
58
|
-
subagent_type="
|
|
58
|
+
subagent_type="ccp-debugger",
|
|
59
59
|
description="Debug {slug}"
|
|
60
60
|
)
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
**From diagnose-issues (UAT):**
|
|
64
64
|
```python
|
|
65
|
-
Task(prompt=template, subagent_type="
|
|
65
|
+
Task(prompt=template, subagent_type="ccp-debugger", description="Debug UAT-001")
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
---
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Load developer preferences into this session
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Developer Preferences
|
|
6
|
+
|
|
7
|
+
> Generated by CCP on {{generated_at}} from {{data_source}}.
|
|
8
|
+
> Run `/ccp:profile-user --refresh` to regenerate.
|
|
9
|
+
|
|
10
|
+
## Behavioral Directives
|
|
11
|
+
|
|
12
|
+
Follow these directives when working with this developer. Higher confidence
|
|
13
|
+
directives should be applied directly. Lower confidence directives should be
|
|
14
|
+
tried with hedging ("Based on your profile, I'll try X -- let me know if
|
|
15
|
+
that's off").
|
|
16
|
+
|
|
17
|
+
{{behavioral_directives}}
|
|
18
|
+
|
|
19
|
+
## Stack Preferences
|
|
20
|
+
|
|
21
|
+
{{stack_preferences}}
|
|
@@ -4,7 +4,7 @@ Template for `.planning/phases/XX-name/DISCOVERY.md` - shallow research for libr
|
|
|
4
4
|
|
|
5
5
|
**Purpose:** Answer "which library/option should we use" questions during mandatory discovery in plan-phase.
|
|
6
6
|
|
|
7
|
-
For deep ecosystem research ("how do experts build this"), use `/
|
|
7
|
+
For deep ecosystem research ("how do experts build this"), use `/ccp:research-phase` which produces RESEARCH.md.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -142,5 +142,5 @@ Create `.planning/phases/XX-name/DISCOVERY.md`:
|
|
|
142
142
|
- Niche/complex domains (3D, games, audio, shaders)
|
|
143
143
|
- Need ecosystem knowledge, not just library choice
|
|
144
144
|
- "How do experts build this" questions
|
|
145
|
-
- Use `/
|
|
145
|
+
- Use `/ccp:research-phase` for these
|
|
146
146
|
</guidelines>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Discussion Log Template
|
|
2
|
+
|
|
3
|
+
Template for `.planning/phases/XX-name/{phase_num}-DISCUSSION-LOG.md` — audit trail of discuss-phase Q&A sessions.
|
|
4
|
+
|
|
5
|
+
**Purpose:** Software audit trail for decision-making. Captures all options considered, not just the selected one. Separate from CONTEXT.md which is the implementation artifact consumed by downstream agents.
|
|
6
|
+
|
|
7
|
+
**NOT for LLM consumption.** This file should never be referenced in `<files_to_read>` blocks or agent prompts.
|
|
8
|
+
|
|
9
|
+
## Format
|
|
10
|
+
|
|
11
|
+
```markdown
|
|
12
|
+
# Phase [X]: [Name] - Discussion Log
|
|
13
|
+
|
|
14
|
+
> **Audit trail only.** Do not use as input to planning, research, or execution agents.
|
|
15
|
+
> Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.
|
|
16
|
+
|
|
17
|
+
**Date:** [ISO date]
|
|
18
|
+
**Phase:** [phase number]-[phase name]
|
|
19
|
+
**Areas discussed:** [comma-separated list]
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## [Area 1 Name]
|
|
24
|
+
|
|
25
|
+
| Option | Description | Selected |
|
|
26
|
+
|--------|-------------|----------|
|
|
27
|
+
| [Option 1] | [Brief description] | |
|
|
28
|
+
| [Option 2] | [Brief description] | ✓ |
|
|
29
|
+
| [Option 3] | [Brief description] | |
|
|
30
|
+
|
|
31
|
+
**User's choice:** [Selected option or verbatim free-text response]
|
|
32
|
+
**Notes:** [Any clarifications or rationale provided during discussion]
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## [Area 2 Name]
|
|
37
|
+
|
|
38
|
+
...
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Claude's Discretion
|
|
43
|
+
|
|
44
|
+
[Areas delegated to Claude's judgment — list what was deferred and why]
|
|
45
|
+
|
|
46
|
+
## Deferred Ideas
|
|
47
|
+
|
|
48
|
+
[Ideas mentioned but not in scope for this phase]
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
*Phase: XX-name*
|
|
53
|
+
*Discussion log generated: [date]*
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Rules
|
|
57
|
+
|
|
58
|
+
- Generated automatically at end of every discuss-phase session
|
|
59
|
+
- Includes ALL options considered, not just the selected one
|
|
60
|
+
- Includes user's freeform notes and clarifications
|
|
61
|
+
- Clearly marked as audit-only, not an implementation artifact
|
|
62
|
+
- Does NOT interfere with CONTEXT.md generation or downstream agent behavior
|
|
63
|
+
- Committed alongside CONTEXT.md in the same git commit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Phase Prompt Template
|
|
2
2
|
|
|
3
|
-
> **Note:** Planning methodology is in `agents/
|
|
3
|
+
> **Note:** Planning methodology is in `agents/ccp-planner.md`.
|
|
4
4
|
> This template defines the PLAN.md output format that the agent produces.
|
|
5
5
|
|
|
6
6
|
Template for `.planning/phases/XX-name/{phase}-{plan}-PLAN.md` - executable phase plans optimized for parallel execution.
|
|
@@ -38,10 +38,10 @@ Output: [What artifacts will be created]
|
|
|
38
38
|
</objective>
|
|
39
39
|
|
|
40
40
|
<execution_context>
|
|
41
|
-
@~/.claude/
|
|
42
|
-
@~/.claude/
|
|
41
|
+
@~/.claude/pilot/workflows/execute-plan.md
|
|
42
|
+
@~/.claude/pilot/templates/summary.md
|
|
43
43
|
[If plan contains checkpoint tasks (type="checkpoint:*"), add:]
|
|
44
|
-
@~/.claude/
|
|
44
|
+
@~/.claude/pilot/references/checkpoints.md
|
|
45
45
|
</execution_context>
|
|
46
46
|
|
|
47
47
|
<context>
|
|
@@ -76,7 +76,7 @@ Output: [What artifacts will be created]
|
|
|
76
76
|
<done>[Acceptance criteria]</done>
|
|
77
77
|
</task>
|
|
78
78
|
|
|
79
|
-
<!-- For checkpoint task examples and patterns, see @~/.claude/
|
|
79
|
+
<!-- For checkpoint task examples and patterns, see @~/.claude/pilot/references/checkpoints.md -->
|
|
80
80
|
<!-- Key rule: Claude starts dev server BEFORE human-verify checkpoints. User only visits URLs. -->
|
|
81
81
|
|
|
82
82
|
<task type="checkpoint:decision" gate="blocking">
|
|
@@ -134,7 +134,7 @@ After completion, create `.planning/phases/XX-name/{phase}-{plan}-SUMMARY.md`
|
|
|
134
134
|
| `user_setup` | No | Array of human-required setup items (external services) |
|
|
135
135
|
| `must_haves` | Yes | Goal-backward verification criteria (see below) |
|
|
136
136
|
|
|
137
|
-
**Wave is pre-computed:** Wave numbers are assigned during `/
|
|
137
|
+
**Wave is pre-computed:** Wave numbers are assigned during `/ccp:plan-phase`. Execute-phase reads `wave` directly from frontmatter and groups plans by wave number. No runtime dependency analysis needed.
|
|
138
138
|
|
|
139
139
|
**Must-haves enable verification:** The `must_haves` field carries goal-backward requirements from planning to execution. After all plans complete, execute-phase spawns a verification subagent that checks these criteria against the actual codebase.
|
|
140
140
|
|
|
@@ -270,7 +270,7 @@ TDD features get dedicated plans with `type: tdd`.
|
|
|
270
270
|
→ Yes: Create a TDD plan
|
|
271
271
|
→ No: Standard task in standard plan
|
|
272
272
|
|
|
273
|
-
See `~/.claude/
|
|
273
|
+
See `~/.claude/pilot/references/tdd.md` for TDD plan structure.
|
|
274
274
|
|
|
275
275
|
---
|
|
276
276
|
|
|
@@ -374,9 +374,9 @@ Output: Working dashboard component.
|
|
|
374
374
|
</objective>
|
|
375
375
|
|
|
376
376
|
<execution_context>
|
|
377
|
-
@~/.claude/
|
|
378
|
-
@~/.claude/
|
|
379
|
-
@~/.claude/
|
|
377
|
+
@~/.claude/pilot/workflows/execute-plan.md
|
|
378
|
+
@~/.claude/pilot/templates/summary.md
|
|
379
|
+
@~/.claude/pilot/references/checkpoints.md
|
|
380
380
|
</execution_context>
|
|
381
381
|
|
|
382
382
|
<context>
|
|
@@ -499,7 +499,7 @@ user_setup:
|
|
|
499
499
|
|
|
500
500
|
**Result:** Execute-plan generates `{phase}-USER-SETUP.md` with checklist for the user.
|
|
501
501
|
|
|
502
|
-
See `~/.claude/
|
|
502
|
+
See `~/.claude/pilot/templates/user-setup.md` for full schema and examples
|
|
503
503
|
|
|
504
504
|
---
|
|
505
505
|
|
|
@@ -566,4 +566,4 @@ Task completion ≠ Goal achievement. A task "create chat component" can complet
|
|
|
566
566
|
5. Gaps found → fix plans created → execute → re-verify
|
|
567
567
|
6. All must_haves pass → phase complete
|
|
568
568
|
|
|
569
|
-
See `~/.claude/
|
|
569
|
+
See `~/.claude/pilot/workflows/verify-phase.md` for verification logic.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Planner Subagent Prompt Template
|
|
2
2
|
|
|
3
|
-
Template for spawning
|
|
3
|
+
Template for spawning ccp-planner agent. The agent contains all planning expertise - this template provides planning context only.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ Template for spawning gsd-planner agent. The agent contains all planning experti
|
|
|
34
34
|
</planning_context>
|
|
35
35
|
|
|
36
36
|
<downstream_consumer>
|
|
37
|
-
Output consumed by /
|
|
37
|
+
Output consumed by /ccp:execute-phase
|
|
38
38
|
Plans must be executable prompts with:
|
|
39
39
|
- Frontmatter (wave, depends_on, files_modified, autonomous)
|
|
40
40
|
- Tasks in XML format
|
|
@@ -68,20 +68,20 @@ Before returning PLANNING COMPLETE:
|
|
|
68
68
|
|
|
69
69
|
## Usage
|
|
70
70
|
|
|
71
|
-
**From /
|
|
71
|
+
**From /ccp:plan-phase (standard mode):**
|
|
72
72
|
```python
|
|
73
73
|
Task(
|
|
74
74
|
prompt=filled_template,
|
|
75
|
-
subagent_type="
|
|
75
|
+
subagent_type="ccp-planner",
|
|
76
76
|
description="Plan Phase {phase}"
|
|
77
77
|
)
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
**From /
|
|
80
|
+
**From /ccp:plan-phase --gaps (gap closure mode):**
|
|
81
81
|
```python
|
|
82
82
|
Task(
|
|
83
83
|
prompt=filled_template, # with mode: gap_closure
|
|
84
|
-
subagent_type="
|
|
84
|
+
subagent_type="ccp-planner",
|
|
85
85
|
description="Plan gaps for Phase {phase}"
|
|
86
86
|
)
|
|
87
87
|
```
|
|
@@ -114,4 +114,4 @@ Continue: {standard | gap_closure}
|
|
|
114
114
|
|
|
115
115
|
---
|
|
116
116
|
|
|
117
|
-
**Note:** Planning methodology, task breakdown, dependency analysis, wave assignment, TDD detection, and goal-backward derivation are baked into the
|
|
117
|
+
**Note:** Planning methodology, task breakdown, dependency analysis, wave assignment, TDD detection, and goal-backward derivation are baked into the ccp-planner agent. This template only passes context.
|
|
@@ -147,7 +147,7 @@ PROJECT.md evolves throughout the project lifecycle.
|
|
|
147
147
|
|
|
148
148
|
For existing codebases:
|
|
149
149
|
|
|
150
|
-
1. **Map codebase first** via `/
|
|
150
|
+
1. **Map codebase first** via `/ccp:map-codebase`
|
|
151
151
|
|
|
152
152
|
2. **Infer Validated requirements** from existing code:
|
|
153
153
|
- What does the codebase actually do?
|
|
@@ -18,7 +18,7 @@ Template for `.planning/phases/XX-name/{phase_num}-RESEARCH.md` - comprehensive
|
|
|
18
18
|
<user_constraints>
|
|
19
19
|
## User Constraints (from CONTEXT.md)
|
|
20
20
|
|
|
21
|
-
**CRITICAL:** If CONTEXT.md exists from /
|
|
21
|
+
**CRITICAL:** If CONTEXT.md exists from /ccp:discuss-phase, copy locked decisions here verbatim. These MUST be honored by the planner.
|
|
22
22
|
|
|
23
23
|
### Locked Decisions
|
|
24
24
|
[Copy from CONTEXT.md `## Decisions` section - these are NON-NEGOTIABLE]
|
|
@@ -528,7 +528,7 @@ function useVehicleControls(rigidBodyRef) {
|
|
|
528
528
|
- When "how do experts do this" matters more than "which library"
|
|
529
529
|
|
|
530
530
|
**Structure:**
|
|
531
|
-
- Use XML tags for section markers (matches
|
|
531
|
+
- Use XML tags for section markers (matches CCP templates)
|
|
532
532
|
- Seven core sections: summary, standard_stack, architecture_patterns, dont_hand_roll, common_pitfalls, code_examples, sources
|
|
533
533
|
- All sections required (drives comprehensive research)
|
|
534
534
|
|
|
@@ -145,10 +145,10 @@ Updated after each plan completion.
|
|
|
145
145
|
|
|
146
146
|
**Decisions:** Reference to PROJECT.md Key Decisions table, plus recent decisions summary for quick access. Full decision log lives in PROJECT.md.
|
|
147
147
|
|
|
148
|
-
**Pending Todos:** Ideas captured via /
|
|
148
|
+
**Pending Todos:** Ideas captured via /ccp:add-todo
|
|
149
149
|
- Count of pending todos
|
|
150
150
|
- Reference to .planning/todos/pending/
|
|
151
|
-
- Brief list if few, count if many (e.g., "5 pending todos — see /
|
|
151
|
+
- Brief list if few, count if many (e.g., "5 pending todos — see /ccp:check-todos")
|
|
152
152
|
|
|
153
153
|
**Blockers/Concerns:** From "Next Phase Readiness" sections
|
|
154
154
|
- Issues that affect future work
|
|
@@ -49,7 +49,7 @@ completed: YYYY-MM-DD
|
|
|
49
49
|
[Key decisions with brief rationale]
|
|
50
50
|
|
|
51
51
|
## Deviations from Plan (Auto-fixed)
|
|
52
|
-
[Detailed auto-fix records per
|
|
52
|
+
[Detailed auto-fix records per CCP deviation rules]
|
|
53
53
|
|
|
54
54
|
## Issues Encountered
|
|
55
55
|
[Problems during planned work and resolutions]
|
|
@@ -11,15 +11,15 @@ Read all files referenced by the invoking prompt's execution_context before star
|
|
|
11
11
|
<step name="parse_arguments">
|
|
12
12
|
Parse the command arguments:
|
|
13
13
|
- All arguments become the phase description
|
|
14
|
-
- Example: `/
|
|
15
|
-
- Example: `/
|
|
14
|
+
- Example: `/ccp:add-phase Add authentication` → description = "Add authentication"
|
|
15
|
+
- Example: `/ccp:add-phase Fix critical performance issues` → description = "Fix critical performance issues"
|
|
16
16
|
|
|
17
17
|
If no arguments provided:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
20
|
ERROR: Phase description required
|
|
21
|
-
Usage: /
|
|
22
|
-
Example: /
|
|
21
|
+
Usage: /ccp:add-phase <description>
|
|
22
|
+
Example: /ccp:add-phase Add authentication system
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
Exit.
|
|
@@ -29,23 +29,23 @@ Exit.
|
|
|
29
29
|
Load phase operation context:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
INIT=$(node "$HOME/.claude/
|
|
32
|
+
INIT=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" init phase-op "0")
|
|
33
33
|
if [[ "$INIT" == @file:* ]]; then INIT=$(cat "${INIT#@file:}"); fi
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
Check `roadmap_exists` from init JSON. If false:
|
|
37
37
|
```
|
|
38
38
|
ERROR: No roadmap found (.planning/ROADMAP.md)
|
|
39
|
-
Run /
|
|
39
|
+
Run /ccp:new-project to initialize.
|
|
40
40
|
```
|
|
41
41
|
Exit.
|
|
42
42
|
</step>
|
|
43
43
|
|
|
44
44
|
<step name="add_phase">
|
|
45
|
-
**Delegate the phase addition to
|
|
45
|
+
**Delegate the phase addition to ccp-tools:**
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
RESULT=$(node "$HOME/.claude/
|
|
48
|
+
RESULT=$(node "$HOME/.claude/pilot/bin/ccp-tools.cjs" phase add "${description}")
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
The CLI handles:
|
|
@@ -87,14 +87,14 @@ Roadmap updated: .planning/ROADMAP.md
|
|
|
87
87
|
|
|
88
88
|
**Phase {N}: {description}**
|
|
89
89
|
|
|
90
|
-
`/
|
|
90
|
+
`/ccp:plan-phase {N}`
|
|
91
91
|
|
|
92
92
|
<sub>`/clear` first → fresh context window</sub>
|
|
93
93
|
|
|
94
94
|
---
|
|
95
95
|
|
|
96
96
|
**Also available:**
|
|
97
|
-
- `/
|
|
97
|
+
- `/ccp:add-phase <description>` — add another phase
|
|
98
98
|
- Review roadmap
|
|
99
99
|
|
|
100
100
|
---
|
|
@@ -104,7 +104,7 @@ Roadmap updated: .planning/ROADMAP.md
|
|
|
104
104
|
</process>
|
|
105
105
|
|
|
106
106
|
<success_criteria>
|
|
107
|
-
- [ ] `
|
|
107
|
+
- [ ] `ccp-tools phase add` executed successfully
|
|
108
108
|
- [ ] Phase directory created
|
|
109
109
|
- [ ] Roadmap updated with new phase entry
|
|
110
110
|
- [ ] STATE.md updated with roadmap evolution note
|