cc-codeconductor 1.1.0 → 1.3.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 +34 -12
- package/dist/core/config/codeconductor-config.d.ts +2 -1
- package/dist/core/presets/package-paths.d.ts +1 -0
- package/dist/core/runner/runner-target.d.ts +32 -0
- package/dist/core/verification/verification-runner.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2934 -761
- package/dist/library.js +103 -14
- package/dist/validation/schemas.d.ts +294 -61
- package/package.json +4 -1
- package/presets/agy/AGENTS.md +11 -10
- package/presets/agy/hooks.json +3 -3
- package/presets/agy/scripts/invoke-hook.cjs +119 -0
- package/presets/agy/skills/backlog/SKILL.md +40 -70
- package/presets/agy/skills/cc-spec-mutation/SKILL.md +165 -0
- package/presets/agy/skills/cc-tdd-cycle/SKILL.md +3 -0
- package/presets/agy/skills/evaluation/SKILL.md +61 -2
- package/presets/agy/skills/openspec/SKILL.md +49 -19
- package/presets/agy/skills/testing-tdd/SKILL.md +53 -0
- package/presets/agy/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/agy/workflows/cc-api-contract.md +18 -0
- package/presets/agy/workflows/cc-ask.md +10 -10
- package/presets/agy/workflows/cc-council.md +4 -0
- package/presets/agy/workflows/cc-db-migration.md +18 -0
- package/presets/agy/workflows/cc-explore.md +2 -2
- package/presets/agy/workflows/cc-feature.md +22 -0
- package/presets/agy/workflows/cc-fix.md +18 -0
- package/presets/agy/workflows/cc-handoff.md +1 -1
- package/presets/agy/workflows/cc-iterative.md +14 -0
- package/presets/agy/workflows/cc-openspec.md +14 -0
- package/presets/agy/workflows/cc-prototype.md +1 -1
- package/presets/agy/workflows/cc-refactor.md +5 -1
- package/presets/agy/workflows/cc-review.md +5 -1
- package/presets/agy/workflows/cc-scorecard.md +2 -0
- package/presets/agy/workflows/cc-security.md +4 -0
- package/presets/agy/workflows/cc-spec-mutation.md +195 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +15 -1
- package/presets/agy/workflows/cc-test-plan.md +5 -1
- package/presets/claude/commands/cc/api-contract.md +19 -1
- package/presets/claude/commands/cc/ask.md +1 -1
- package/presets/claude/commands/cc/backlog.md +1 -1
- package/presets/claude/commands/cc/clarify.md +1 -1
- package/presets/claude/commands/cc/council.md +4 -0
- package/presets/claude/commands/cc/db-migration.md +19 -1
- package/presets/claude/commands/cc/explore.md +1 -1
- package/presets/claude/commands/cc/feature.md +23 -1
- package/presets/claude/commands/cc/fix.md +22 -1
- package/presets/claude/commands/cc/handoff.md +1 -1
- package/presets/claude/commands/cc/iterative.md +15 -1
- package/presets/claude/commands/cc/openspec.md +15 -1
- package/presets/claude/commands/cc/prototype.md +1 -1
- package/presets/claude/commands/cc/refactor.md +5 -1
- package/presets/claude/commands/cc/review.md +8 -1
- package/presets/claude/commands/cc/scorecard.md +3 -1
- package/presets/claude/commands/cc/security.md +5 -1
- package/presets/claude/commands/cc/spec-mutation.md +194 -0
- package/presets/claude/commands/cc/tdd-cycle.md +18 -1
- package/presets/claude/commands/cc/test-plan.md +5 -1
- package/presets/claude/commands/cc/triage.md +1 -1
- package/presets/claude/settings.json +13 -11
- package/presets/claude/skills/android/SKILL.md +0 -1
- package/presets/claude/skills/api-versioning/SKILL.md +0 -1
- package/presets/claude/skills/backlog/SKILL.md +40 -70
- package/presets/claude/skills/django-orm/SKILL.md +0 -1
- package/presets/claude/skills/django-testing/SKILL.md +0 -1
- package/presets/claude/skills/evaluation/SKILL.md +47 -24
- package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/claude/skills/openspec/SKILL.md +46 -38
- package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/claude/skills/python/SKILL.md +0 -1
- package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
- package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/claude/skills/security/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
- package/presets/claude/skills/testing-tdd/SKILL.md +53 -0
- package/presets/claude/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/codex/AGENTS.md +19 -14
- package/presets/codex/commands/cc-ask.md +10 -10
- package/presets/codex/skills/android/SKILL.md +0 -1
- package/presets/codex/skills/api-versioning/SKILL.md +0 -1
- package/presets/codex/skills/backlog/SKILL.md +61 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +91 -0
- package/presets/codex/skills/cc-backlog/SKILL.md +108 -0
- package/presets/codex/skills/cc-clarify/SKILL.md +36 -0
- package/presets/codex/skills/cc-council/SKILL.md +96 -0
- package/presets/codex/skills/cc-db-migration/SKILL.md +92 -0
- package/presets/codex/skills/cc-explore/SKILL.md +40 -0
- package/presets/codex/skills/cc-feature/SKILL.md +162 -0
- package/presets/codex/skills/cc-fix/SKILL.md +172 -0
- package/presets/codex/skills/cc-handoff/SKILL.md +45 -0
- package/presets/codex/skills/cc-iterative/SKILL.md +150 -0
- package/presets/codex/skills/cc-openspec/SKILL.md +191 -0
- package/presets/codex/skills/cc-pagespeed/SKILL.md +124 -0
- package/presets/codex/skills/cc-prototype/SKILL.md +42 -0
- package/presets/codex/skills/cc-refactor/SKILL.md +167 -0
- package/presets/codex/skills/cc-review/SKILL.md +156 -0
- package/presets/codex/skills/cc-scorecard/SKILL.md +82 -0
- package/presets/codex/skills/cc-security/SKILL.md +186 -0
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +196 -0
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +266 -0
- package/presets/codex/skills/cc-test-plan/SKILL.md +157 -0
- package/presets/codex/skills/cc-triage/SKILL.md +38 -0
- package/presets/codex/skills/django-orm/SKILL.md +0 -1
- package/presets/codex/skills/django-testing/SKILL.md +0 -1
- package/presets/codex/skills/evaluation/SKILL.md +65 -0
- package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/codex/skills/openspec/SKILL.md +66 -0
- package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/codex/skills/python/SKILL.md +0 -1
- package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
- package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
- package/presets/codex/skills/testing-tdd/SKILL.md +53 -0
- package/presets/codex/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/cursor/agents/architect.md +1 -1
- package/presets/cursor/agents/complexity-auditor.md +1 -1
- package/presets/cursor/agents/contract-builder.md +1 -1
- package/presets/cursor/agents/docs.md +1 -1
- package/presets/cursor/agents/goal-planner.md +1 -1
- package/presets/cursor/agents/implementer.md +2 -2
- package/presets/cursor/agents/orchestrator.md +3 -3
- package/presets/cursor/agents/reviewer.md +4 -4
- package/presets/cursor/agents/security-reviewer.md +1 -1
- package/presets/cursor/agents/task-coach.md +1 -1
- package/presets/cursor/agents/tester.md +1 -1
- package/presets/cursor/commands/cc/api-contract.md +19 -1
- package/presets/cursor/commands/cc/ask.md +1 -1
- package/presets/cursor/commands/cc/backlog.md +1 -1
- package/presets/cursor/commands/cc/clarify.md +1 -1
- package/presets/cursor/commands/cc/council.md +4 -0
- package/presets/cursor/commands/cc/db-migration.md +19 -1
- package/presets/cursor/commands/cc/explore.md +1 -1
- package/presets/cursor/commands/cc/feature.md +23 -1
- package/presets/cursor/commands/cc/fix.md +22 -1
- package/presets/cursor/commands/cc/handoff.md +1 -1
- package/presets/cursor/commands/cc/iterative.md +15 -1
- package/presets/cursor/commands/cc/openspec.md +15 -1
- package/presets/cursor/commands/cc/prototype.md +1 -1
- package/presets/cursor/commands/cc/refactor.md +5 -1
- package/presets/cursor/commands/cc/review.md +5 -1
- package/presets/cursor/commands/cc/scorecard.md +3 -1
- package/presets/cursor/commands/cc/security.md +5 -1
- package/presets/cursor/commands/cc/spec-mutation.md +194 -0
- package/presets/cursor/commands/cc/tdd-cycle.md +15 -1
- package/presets/cursor/commands/cc/test-plan.md +5 -1
- package/presets/cursor/commands/cc/triage.md +1 -1
- package/presets/cursor/skills/android/SKILL.md +0 -1
- package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
- package/presets/cursor/skills/astro/SKILL.md +0 -1
- package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/cursor/skills/backlog/SKILL.md +40 -70
- package/presets/cursor/skills/code-review/SKILL.md +0 -1
- package/presets/cursor/skills/django-orm/SKILL.md +0 -1
- package/presets/cursor/skills/django-testing/SKILL.md +0 -1
- package/presets/cursor/skills/django-uv/SKILL.md +0 -1
- package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/cursor/skills/evaluation/SKILL.md +61 -4
- package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/cursor/skills/openspec/SKILL.md +46 -36
- package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/cursor/skills/python/SKILL.md +0 -1
- package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
- package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/cursor/skills/security/SKILL.md +0 -1
- package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/cursor/skills/testing-tdd/SKILL.md +35 -574
- package/presets/cursor/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/gemini/GEMINI.md +38 -0
- package/presets/gemini/commands/cc/api-contract.toml +86 -0
- package/presets/gemini/commands/cc/ask.toml +54 -0
- package/presets/gemini/commands/cc/backlog.toml +103 -0
- package/presets/gemini/commands/cc/clarify.toml +31 -0
- package/presets/gemini/commands/cc/council.toml +91 -0
- package/presets/gemini/commands/cc/db-migration.toml +87 -0
- package/presets/gemini/commands/cc/explore.toml +35 -0
- package/presets/gemini/commands/cc/feature.toml +157 -0
- package/presets/gemini/commands/cc/fix.toml +167 -0
- package/presets/gemini/commands/cc/handoff.toml +40 -0
- package/presets/gemini/commands/cc/iterative.toml +145 -0
- package/presets/gemini/commands/cc/openspec.toml +186 -0
- package/presets/gemini/commands/cc/pagespeed.toml +119 -0
- package/presets/gemini/commands/cc/prototype.toml +37 -0
- package/presets/gemini/commands/cc/refactor.toml +162 -0
- package/presets/gemini/commands/cc/review.toml +151 -0
- package/presets/gemini/commands/cc/scorecard.toml +77 -0
- package/presets/gemini/commands/cc/security.toml +181 -0
- package/presets/gemini/commands/cc/spec-mutation.toml +191 -0
- package/presets/gemini/commands/cc/tdd-cycle.toml +261 -0
- package/presets/gemini/commands/cc/test-plan.toml +152 -0
- package/presets/gemini/commands/cc/triage.toml +33 -0
- package/presets/gemini/settings.json +3 -0
- package/presets/opencode/README.md +24 -21
- package/presets/opencode/agents/architect.md +6 -0
- package/presets/opencode/agents/docs.md +1 -1
- package/presets/opencode/agents/implementer.md +7 -0
- package/presets/opencode/agents/reviewer.md +7 -1
- package/presets/opencode/agents/tester.md +6 -0
- package/presets/opencode/commands/cc-api-contract.md +18 -0
- package/presets/opencode/commands/cc-ask.md +10 -10
- package/presets/opencode/commands/cc-council.md +4 -0
- package/presets/opencode/commands/cc-db-migration.md +18 -0
- package/presets/opencode/commands/cc-explore.md +2 -2
- package/presets/opencode/commands/cc-feature.md +22 -0
- package/presets/opencode/commands/cc-fix.md +21 -0
- package/presets/opencode/commands/cc-handoff.md +1 -1
- package/presets/opencode/commands/cc-iterative.md +14 -0
- package/presets/opencode/commands/cc-openspec.md +14 -0
- package/presets/opencode/commands/cc-prototype.md +1 -1
- package/presets/opencode/commands/cc-refactor.md +5 -1
- package/presets/opencode/commands/cc-review.md +5 -1
- package/presets/opencode/commands/cc-scorecard.md +2 -0
- package/presets/opencode/commands/cc-security.md +4 -0
- package/presets/opencode/commands/cc-spec-mutation.md +194 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +15 -1
- package/presets/opencode/commands/cc-test-plan.md +5 -1
- package/presets/opencode/opencode.jsonc +1 -1
- package/presets/opencode/prompts/v1.0.0/README.md +1 -1
- package/presets/opencode/prompts/v1.0.0/architect.md +6 -0
- package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
- package/presets/opencode/prompts/v1.0.0/implementer.md +7 -0
- package/presets/opencode/prompts/v1.0.0/reviewer.md +7 -1
- package/presets/opencode/prompts/v1.0.0/tester.md +6 -0
- package/presets/opencode/skills/android/SKILL.md +0 -1
- package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
- package/presets/opencode/skills/astro/SKILL.md +0 -1
- package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
- package/presets/opencode/skills/backlog/SKILL.md +40 -70
- package/presets/opencode/skills/code-review/SKILL.md +0 -1
- package/presets/opencode/skills/django-orm/SKILL.md +0 -1
- package/presets/opencode/skills/django-testing/SKILL.md +0 -1
- package/presets/opencode/skills/django-uv/SKILL.md +0 -1
- package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
- package/presets/opencode/skills/evaluation/SKILL.md +61 -2
- package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
- package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
- package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
- package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
- package/presets/opencode/skills/openspec/SKILL.md +46 -34
- package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
- package/presets/opencode/skills/python/SKILL.md +0 -1
- package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
- package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
- package/presets/opencode/skills/security/SKILL.md +0 -1
- package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
- package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
- package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
- package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
- package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
- package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
- package/presets/opencode/skills/testing-tdd/SKILL.md +35 -574
- package/presets/opencode/skills/using-cc-skills/SKILL.md +48 -0
- package/presets/pi/AGENTS.md +43 -0
- package/presets/pi/settings.json +3 -0
- package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
- package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
- package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
- package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
- package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
- package/presets/shared/invoke-hook.cjs +119 -0
- package/presets/shared/mutation_runner.py +273 -0
- package/src/presets/council/council.yml +12 -9
- package/src/presets/manifests/agy.yml +3 -1
- package/src/presets/manifests/claude.yml +3 -0
- package/src/presets/manifests/gemini.yml +15 -0
- package/src/presets/manifests/pi.yml +25 -0
- package/src/presets/models/agy.yml +2 -128
- package/src/presets/models/claude.yml +2 -144
- package/src/presets/models/codex.yml +2 -144
- package/src/presets/models/cursor.yml +2 -144
- package/src/presets/models/gemini.yml +2 -144
- package/src/presets/models/opencode.yml +3 -101
- package/src/presets/models/pi.yml +5 -0
- package/src/presets/models/roles.yml +193 -0
- package/src/presets/shared-skills.yml +64 -0
- package/src/presets/targets/agy.yml +11 -0
- package/src/presets/targets/claude.yml +12 -0
- package/src/presets/targets/codex.yml +14 -0
- package/src/presets/targets/cursor.yml +11 -0
- package/src/presets/targets/gemini.yml +15 -0
- package/src/presets/targets/opencode.yml +13 -0
- package/src/presets/targets/pi.yml +12 -0
- package/presets/agy/scripts/post-tool.sh +0 -25
- package/presets/agy/scripts/pre-tool.sh +0 -56
- package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
- package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
- package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
- package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
- package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
- package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
- package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
- package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
- package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
- package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
- package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
- package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
- package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
- package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
- package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
- package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
- package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
- package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
- package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
- package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
- package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
- package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
- package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
- package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
- package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
- package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
- package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
- package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
- package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
- package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
- package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
- package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
- package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
- package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
- package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
- package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
- package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
- package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
- package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
- package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
- package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
- package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ contracts, task cards, and risk-based routing.
|
|
|
43
43
|
> - `npx cc-codeconductor goal` / `ingest` / `product` / `orchestrate` /
|
|
44
44
|
> `impact` / `verify` — Product OS (see
|
|
45
45
|
> [docs/v1.0.0-release-notes.md](docs/v1.0.0-release-notes.md))
|
|
46
|
-
> - Slash commands after `install preset` —
|
|
46
|
+
> - Slash commands after `install preset` — 21 CCEP workflows plus `/cc-ask`;
|
|
47
47
|
> prefer `/cc-iterative`, `/cc-triage`, `/cc-handoff` for wayfinding;
|
|
48
48
|
> `/cc-backlog` authors `BACKLOG.md`; `/cc-openspec` and `/cc-tdd-cycle`
|
|
49
49
|
> for delivery and TDD
|
|
@@ -124,16 +124,19 @@ not only because features were added. Re-install presets after upgrading.
|
|
|
124
124
|
|
|
125
125
|
### Slash commands
|
|
126
126
|
|
|
127
|
-
After `install preset`,
|
|
127
|
+
After `install preset`, 21 CCEP workflows plus `/cc-ask` (22 total), tiered by
|
|
128
|
+
what they do rather than which subsystem they touch:
|
|
128
129
|
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
|
|
|
134
|
-
|
|
|
130
|
+
| Tier | Commands | Purpose |
|
|
131
|
+
| ------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
|
|
132
|
+
| Entry | `/cc-ask`, `/cc-triage`, `/cc-explore` | Recommend a next command and stop — no writes. |
|
|
133
|
+
| Delivery | `/cc-feature`, `/cc-fix`, `/cc-refactor`, `/cc-tdd-cycle`, `/cc-api-contract`, `/cc-db-migration`, `/cc-spec-mutation` | Implement, test-before-implement where both apply. |
|
|
134
|
+
| Verification | `/cc-review`, `/cc-council`, `/cc-scorecard`, `/cc-test-plan`, `/cc-security` | Gate a diff or a decision before merge. |
|
|
135
|
+
| Management | `/cc-backlog`, `/cc-openspec`, `/cc-handoff`, `/cc-clarify`, `/cc-prototype`, `/cc-pagespeed`, `/cc-iterative` | Author BACKLOG.md, deliver it, or one-off ops. |
|
|
135
136
|
|
|
136
137
|
Prefer `/cc-iterative`, `/cc-triage`, and `/cc-handoff` for wayfinding.
|
|
138
|
+
`/cc-ask` recommends a command from a natural-language problem; it does not
|
|
139
|
+
start the workflow.
|
|
137
140
|
|
|
138
141
|
### OpenSpec and TDD
|
|
139
142
|
|
|
@@ -229,7 +232,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
|
|
|
229
232
|
|
|
230
233
|
## Current Support
|
|
231
234
|
|
|
232
|
-
- OpenCode, Claude, Codex, Gemini, Cursor, and
|
|
235
|
+
- OpenCode, Claude, Codex, Gemini, Cursor, Agy, and Pi presets
|
|
233
236
|
- Claude Code-compatible preset (see
|
|
234
237
|
[Claude Environment Options & Best Practices](docs/claude-env-options.md))
|
|
235
238
|
- Spring Boot / Kotlin workflow
|
|
@@ -237,7 +240,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
|
|
|
237
240
|
- **15 Conductor Agents** — including `reviewer`, `security-reviewer`,
|
|
238
241
|
`complexity-auditor`, `business-agent`, `continuous-architect`, and
|
|
239
242
|
`impact-analyst`
|
|
240
|
-
-
|
|
243
|
+
- 21 CCEP slash-command workflows plus `/cc-ask` after `install preset`
|
|
241
244
|
- OpenSpec delivery loop (`validate` … `archive`) with test-before-implement
|
|
242
245
|
- Deterministic CCEP validation (Zod schemas per agent role)
|
|
243
246
|
- Task Card template
|
|
@@ -398,6 +401,7 @@ npx cc-codeconductor install preset --target opencode # project-level
|
|
|
398
401
|
npx cc-codeconductor install preset --target claude
|
|
399
402
|
npx cc-codeconductor install preset --target codex
|
|
400
403
|
npx cc-codeconductor install preset --target agy # antigravity cli
|
|
404
|
+
npx cc-codeconductor install preset --target pi # pi.dev coding agent
|
|
401
405
|
npx cc-codeconductor install preset --target all # all targets
|
|
402
406
|
|
|
403
407
|
npx cc-codeconductor install preset --target claude --global # write to ~/.claude/
|
|
@@ -473,6 +477,7 @@ npx cc-codeconductor install council --target opencode # project-level
|
|
|
473
477
|
npx cc-codeconductor install council --target claude
|
|
474
478
|
npx cc-codeconductor install council --target codex
|
|
475
479
|
npx cc-codeconductor install council --target agy # antigravity cli
|
|
480
|
+
npx cc-codeconductor install council --target pi # pi.dev coding agent
|
|
476
481
|
npx cc-codeconductor install council --target all # all targets
|
|
477
482
|
|
|
478
483
|
npx cc-codeconductor install council --target claude --global # write to ~/.claude/
|
|
@@ -522,6 +527,21 @@ and skills (from `skills-lock.json`), preserving user edits outside managed
|
|
|
522
527
|
blocks. Also validates that `AGENTS.md` and `CLAUDE.md` do not exceed the 40KB
|
|
523
528
|
size limit.
|
|
524
529
|
|
|
530
|
+
#### `migrate` — repair a Claude Code settings.json
|
|
531
|
+
|
|
532
|
+
```bash
|
|
533
|
+
npx cc-codeconductor migrate # ./.claude/settings.json
|
|
534
|
+
npx cc-codeconductor migrate --global # ~/.claude/settings.json
|
|
535
|
+
npx cc-codeconductor migrate --dry-run # preview without writing
|
|
536
|
+
npx cc-codeconductor migrate --file .claude/settings.local.json
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
Rewrites every `Write(path)` permission rule to `Edit(path)` — Claude Code
|
|
540
|
+
only applies file-scoped rules written the second way, so a `Write(path)`
|
|
541
|
+
rule silently never matches — and dedupes the result. A reinstall can't
|
|
542
|
+
remove a bad rule already on disk (permission arrays merge by union), so this
|
|
543
|
+
is a standalone repair pass, not something `update` fixes on its own.
|
|
544
|
+
|
|
525
545
|
#### `help` / `cc-help` — distinct help contracts
|
|
526
546
|
|
|
527
547
|
```bash
|
|
@@ -601,6 +621,7 @@ Zod schema for that role. `consensus` exit codes: `0` APPROVED, `1` REJECTED,
|
|
|
601
621
|
npx cc-codeconductor openspec validate
|
|
602
622
|
npx cc-codeconductor openspec scan
|
|
603
623
|
npx cc-codeconductor openspec plan BC-001
|
|
624
|
+
npx cc-codeconductor openspec analyze --output json
|
|
604
625
|
npx cc-codeconductor openspec status
|
|
605
626
|
npx cc-codeconductor openspec next
|
|
606
627
|
npx cc-codeconductor openspec start BC-001-discover
|
|
@@ -609,8 +630,9 @@ npx cc-codeconductor openspec block BC-001-implement --reason "waiting on design
|
|
|
609
630
|
npx cc-codeconductor openspec archive BC-001
|
|
610
631
|
```
|
|
611
632
|
|
|
612
|
-
Subcommands: `validate` / `scan` / `plan` / `
|
|
613
|
-
/ `block` / `archive`.
|
|
633
|
+
Subcommands: `validate` / `scan` / `plan` / `analyze` / `status` / `next` /
|
|
634
|
+
`start` / `done` / `block` / `archive`. `analyze` is read-only coverage
|
|
635
|
+
(FR/SC → tasks → tests). Illegal status transitions fail closed. See
|
|
614
636
|
[docs/SDD.md](docs/SDD.md) and the OpenSpec skill.
|
|
615
637
|
|
|
616
638
|
#### Product OS — `ingest` / `product` / `orchestrate` / `impact` / `verify`
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IndividualRunnerTarget } from '../runner/runner-target';
|
|
1
2
|
/**
|
|
2
3
|
* CodeConductor configuration interface
|
|
3
4
|
*/
|
|
@@ -8,7 +9,7 @@ export interface CodeConductorConfig {
|
|
|
8
9
|
profile?: string;
|
|
9
10
|
};
|
|
10
11
|
defaults: {
|
|
11
|
-
target:
|
|
12
|
+
target: IndividualRunnerTarget;
|
|
12
13
|
overwrite: boolean;
|
|
13
14
|
locale: 'en' | 'es';
|
|
14
15
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runner target type
|
|
3
|
+
*/
|
|
4
|
+
export type RunnerTarget = 'opencode' | 'claude' | 'codex' | 'gemini' | 'cursor' | 'agy' | 'pi' | 'all';
|
|
5
|
+
/**
|
|
6
|
+
* Valid runner targets
|
|
7
|
+
*/
|
|
8
|
+
export declare const RUNNER_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"];
|
|
9
|
+
/**
|
|
10
|
+
* Individual runner targets (excluding 'all')
|
|
11
|
+
*/
|
|
12
|
+
export declare const INDIVIDUAL_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"];
|
|
13
|
+
/**
|
|
14
|
+
* A single, installable runner target — every RunnerTarget value except
|
|
15
|
+
* 'all'. The single source for the union type repeated inline across
|
|
16
|
+
* loaders/commands (manifest-loader.ts, install.command.ts, ...) — import
|
|
17
|
+
* this instead of re-listing the 7 targets, so adding an 8th only requires
|
|
18
|
+
* updating INDIVIDUAL_TARGETS above.
|
|
19
|
+
*/
|
|
20
|
+
export type IndividualRunnerTarget = (typeof INDIVIDUAL_TARGETS)[number];
|
|
21
|
+
/**
|
|
22
|
+
* Check if a string is a valid runner target
|
|
23
|
+
*/
|
|
24
|
+
export declare function isRunnerTarget(value: string): value is RunnerTarget;
|
|
25
|
+
/**
|
|
26
|
+
* Parse runner target from string
|
|
27
|
+
*/
|
|
28
|
+
export declare function parseRunnerTarget(value: string): RunnerTarget;
|
|
29
|
+
/**
|
|
30
|
+
* Get individual targets from 'all' or single target
|
|
31
|
+
*/
|
|
32
|
+
export declare function getIndividualTargets(target: RunnerTarget): RunnerTarget[];
|
|
@@ -37,6 +37,8 @@ export declare function runVerification(projectRoot: string, taskId: string, goa
|
|
|
37
37
|
* unreadable evidence all block completion.
|
|
38
38
|
*/
|
|
39
39
|
export declare function gateTaskCompletion(projectRoot: string, taskId: string, evidenceRequired: string[], evidenceIds?: string[]): Promise<Result<boolean, Error>>;
|
|
40
|
+
export declare const TDD_EVIDENCE_SOURCE = "cc verify";
|
|
41
|
+
export declare const TDD_CAPTURED_BY = "verification-runner";
|
|
40
42
|
export interface CaptureTddSuiteOptions extends RunVerificationOptions {
|
|
41
43
|
/** Allowlisted test command (`bun test`, `npm test`, …). */
|
|
42
44
|
readonly command: string;
|
|
@@ -55,3 +57,8 @@ export declare function captureTddSuiteEvidence(projectRoot: string, taskId: str
|
|
|
55
57
|
* files (wrong source/type/`capturedBy`) are rejected.
|
|
56
58
|
*/
|
|
57
59
|
export declare function loadTddSuiteEvidence(projectRoot: string, taskId: string, evidenceId: string): Promise<Result<TddSuiteEvidence, Error>>;
|
|
60
|
+
/**
|
|
61
|
+
* True when the verification runner stored TDD evidence for this task.
|
|
62
|
+
* Handmade JSON (wrong source/type/capturedBy) does not count.
|
|
63
|
+
*/
|
|
64
|
+
export declare function hasTddRunnerEvidence(projectRoot: string, taskId: string): Promise<boolean>;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export { getReadyTasks, goalTaskToCanonicalCard, buildTaskEnvelope, getNextTask,
|
|
|
8
8
|
export type { OrchestratorNextResult } from './core/orchestrator/runtime-orchestrator';
|
|
9
9
|
export { LoopEngine, runLoop, runLoopForProject, shouldRunAgentLoop, formatFeedback, advanceTddPhase, } from './core/loop/loop-engine';
|
|
10
10
|
export type { LoopConfig, LoopResult, EscalationReport, GuardrailHit, GenerateFn, CompileCheckFn, } from './core/loop/loop-engine';
|
|
11
|
-
export { runVerification, gateTaskCompletion, validateEvidenceIds, captureTddSuiteEvidence, loadTddSuiteEvidence, } from './core/verification/verification-runner';
|
|
11
|
+
export { runVerification, gateTaskCompletion, validateEvidenceIds, captureTddSuiteEvidence, loadTddSuiteEvidence, hasTddRunnerEvidence, } from './core/verification/verification-runner';
|
|
12
12
|
export type { RunVerificationOptions, VerificationCheck, CaptureTddSuiteOptions, } from './core/verification/verification-runner';
|
|
13
13
|
export * from './validation/schemas';
|
|
14
14
|
export { createInitialState, loopStateMachine, createInitialTddState, tddCycleStateMachine, } from './domain/loop/loop-state';
|