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
|
@@ -1,36 +1,66 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: openspec
|
|
3
3
|
description:
|
|
4
|
-
|
|
5
|
-
Use when running /cc-openspec
|
|
6
|
-
|
|
4
|
+
Guides agents through OpenSpec delivery from BACKLOG.md (validate, analyze,
|
|
5
|
+
test-before-implement, scorecard, archive). Use when running /cc-openspec,
|
|
6
|
+
/cc:openspec, or delivering an existing backlog item. Authoring BACKLOG.md
|
|
7
|
+
is skill backlog, not this skill.
|
|
7
8
|
---
|
|
8
9
|
|
|
9
|
-
# OpenSpec
|
|
10
|
+
# OpenSpec delivery
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
`/cc-backlog` and skill `backlog`. This skill is **delivery**.
|
|
12
|
+
## Overview
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
This skill delivers an existing `BACKLOG.md` item. It is a workflow with CLI
|
|
15
|
+
gates, not a reference doc. Specs describe WHAT; `design.md` describes HOW.
|
|
15
16
|
|
|
16
|
-
|
|
17
|
+
## When to Use
|
|
17
18
|
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
- `## Archive` — completed entries (do not re-execute)
|
|
19
|
+
- `/cc-openspec` or `openspec next` / `plan` / `done` / `archive`
|
|
20
|
+
- An item is `READY` or later and must move through the state machine
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
**NOT** for creating `BACKLOG.md` (use skill `backlog`) or for stack-specific
|
|
23
|
+
coding rules.
|
|
23
24
|
|
|
24
|
-
##
|
|
25
|
+
## Process
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
Local CLI is `bun run dev`. Published package is `npx cc-codeconductor`.
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
1. `openspec validate` — must pass before delivery.
|
|
30
|
+
2. `openspec plan BC-xxx` if the item is not yet `PLANNED`.
|
|
31
|
+
3. `openspec analyze --output json` — CRITICAL findings exit 1. Do not implement.
|
|
32
|
+
4. Phases: discover (`repo-explorer`) → design (`architect`) → test (`tester`) →
|
|
33
|
+
implement (`implementer`) → review (`reviewer`). If Global `TDD required: yes`,
|
|
34
|
+
test runs before implement.
|
|
35
|
+
5. `openspec done` on test/implement requires `captureTddSuiteEvidence`. Handmade
|
|
36
|
+
evidence JSON is rejected.
|
|
37
|
+
6. `scorecard create --task BC-xxx --from-diff` then record a verdict.
|
|
38
|
+
7. `openspec archive` only after human review when `Review required: yes` and
|
|
39
|
+
the scorecard is PASS.
|
|
29
40
|
|
|
30
|
-
`
|
|
41
|
+
Status machine: `TODO` → `READY` → `PLANNED` → `IN_PROGRESS` → `REVIEW` → `DONE`
|
|
42
|
+
→ Archive. `BLOCKED` returns to `READY`. Reviewer rejection: `REVIEW` →
|
|
43
|
+
`IN_PROGRESS`.
|
|
31
44
|
|
|
32
|
-
##
|
|
45
|
+
## Common Rationalizations
|
|
33
46
|
|
|
34
|
-
|
|
47
|
+
| Rationalization | Reality |
|
|
48
|
+
| --- | --- |
|
|
49
|
+
| Validate is bureaucracy | `openspec validate` is the gate. Skipping it is a defect. |
|
|
50
|
+
| I'll add tests after green | Global TDD required means tester before implementer. |
|
|
51
|
+
| I'll write the evidence JSON myself | Handmade TDD JSON is rejected. Use the verification runner. |
|
|
52
|
+
| The item is small; skip analyze | `openspec analyze` CRITICAL still stops implement. |
|
|
35
53
|
|
|
36
|
-
|
|
54
|
+
## Red Flags
|
|
55
|
+
|
|
56
|
+
- Implementing while analyze reports CRITICAL
|
|
57
|
+
- Archive without a PASS scorecard when review is required
|
|
58
|
+
- Acceptance like "improve UX" with no measurable check
|
|
59
|
+
|
|
60
|
+
## Verification
|
|
61
|
+
|
|
62
|
+
- [ ] `openspec validate` exit 0
|
|
63
|
+
- [ ] `openspec analyze --output json` has no CRITICAL
|
|
64
|
+
- [ ] TDD evidence from the runner when TDD is required
|
|
65
|
+
- [ ] `scorecard create --from-diff` recorded
|
|
66
|
+
- [ ] Suite check (optional): `bun run dev scorecard suite-run --suite workflow-gates`
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testing-tdd
|
|
3
|
+
description:
|
|
4
|
+
Guides agents through Red-Green-Refactor with runner-captured evidence.
|
|
5
|
+
Use when running /cc-tdd-cycle, writing tests before implementation, or
|
|
6
|
+
Global TDD required is yes.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Test-Driven Development
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Red (failing test) → Green (minimal code) → Refactor. Evidence comes from
|
|
14
|
+
`captureTddSuiteEvidence`, not handmade JSON.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- `/cc-tdd-cycle`, new behavior, bug fixes, TDD-required OpenSpec items
|
|
19
|
+
|
|
20
|
+
**NOT** for docs-only changes or when the Task Card forbids tests.
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. Write the failing test that encodes one acceptance criterion. Run the suite.
|
|
25
|
+
It MUST fail (`suiteFails === true`).
|
|
26
|
+
2. Implement the minimum that turns it green. Do not expand scope.
|
|
27
|
+
3. Refactor only with a green suite.
|
|
28
|
+
4. Capture evidence via the verification runner (`openspec done` on test/implement
|
|
29
|
+
when TDD is required).
|
|
30
|
+
5. Cover happy path, edge, and error for each behavior.
|
|
31
|
+
|
|
32
|
+
Local: `bun run dev`. Pyramid default: many unit, fewer integration, rare E2E.
|
|
33
|
+
|
|
34
|
+
## Common Rationalizations
|
|
35
|
+
|
|
36
|
+
| Rationalization | Reality |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| I'll add tests later | Later means never. Red first. |
|
|
39
|
+
| This is too small to test | If it can break, it needs a failing test first. |
|
|
40
|
+
| I'll write the evidence JSON | Handmade TDD JSON is rejected. |
|
|
41
|
+
|
|
42
|
+
## Red Flags
|
|
43
|
+
|
|
44
|
+
- Tests that assert implementation details instead of behavior
|
|
45
|
+
- Green without a recorded red
|
|
46
|
+
- Skipping error cases
|
|
47
|
+
|
|
48
|
+
## Verification
|
|
49
|
+
|
|
50
|
+
- [ ] Suite failed before implement
|
|
51
|
+
- [ ] Suite passed after implement
|
|
52
|
+
- [ ] Runner evidence exists (not handmade)
|
|
53
|
+
- [ ] Optional: `bun run dev scorecard suite-run --suite workflow-gates`
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: using-cc-skills
|
|
3
|
+
description:
|
|
4
|
+
Maps incoming work to the CodeConductor slash command and workflow skill.
|
|
5
|
+
Use when starting a session or deciding which /cc-* command applies.
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Using CodeConductor skills
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
Pick one slash command. Follow its skill. Invoke CLI for gates. Do not invent
|
|
13
|
+
a parallel process.
|
|
14
|
+
|
|
15
|
+
## When to Use
|
|
16
|
+
|
|
17
|
+
- Start of a session, ambiguous request, or "which /cc should I run?"
|
|
18
|
+
|
|
19
|
+
## Process
|
|
20
|
+
|
|
21
|
+
| Intent | Command | Skill |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| New backlog item | `/cc-backlog` | `backlog` |
|
|
24
|
+
| Deliver a BC-xxx item | `/cc-openspec` | `openspec` |
|
|
25
|
+
| New feature | `/cc-feature` | `openspec` + `testing-tdd` |
|
|
26
|
+
| Bug fix | `/cc-fix` | `testing-tdd` |
|
|
27
|
+
| Review a diff | `/cc-review` | `evaluation` |
|
|
28
|
+
| TDD cycle only | `/cc-tdd-cycle` | `testing-tdd` |
|
|
29
|
+
| Scorecard / suites | `/cc-scorecard` | `evaluation` |
|
|
30
|
+
|
|
31
|
+
Then run the matching CLI (`openspec validate`, `scorecard create --from-diff`,
|
|
32
|
+
`hook pre-tool`, `scorecard suite-run`).
|
|
33
|
+
|
|
34
|
+
## Common Rationalizations
|
|
35
|
+
|
|
36
|
+
| Rationalization | Reality |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| I'll skip the slash and just code | Skipping the workflow is a defect. |
|
|
39
|
+
|
|
40
|
+
## Red Flags
|
|
41
|
+
|
|
42
|
+
- Two slash commands in parallel that mutate the same files
|
|
43
|
+
- Implementing before `openspec analyze` when a change folder is active
|
|
44
|
+
|
|
45
|
+
## Verification
|
|
46
|
+
|
|
47
|
+
- [ ] One command selected and shown to the user
|
|
48
|
+
- [ ] Matching skill loaded before edits
|
|
@@ -21,6 +21,20 @@ Command: `api-contract` (fixed for this workflow — do not infer from user text
|
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
|
24
|
+
## Step 0b — OpenSpec quality gates
|
|
25
|
+
|
|
26
|
+
If `openspec status` reports an active change folder:
|
|
27
|
+
|
|
28
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
29
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
30
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
31
|
+
4. Next command spelling on this runner: `/cc-api-contract`
|
|
32
|
+
|
|
33
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
|
|
24
38
|
## Step 1 — Task Card validation (task-coach)
|
|
25
39
|
|
|
26
40
|
Invoke `task-coach` with the request above.
|
|
@@ -81,3 +95,7 @@ or docs/OpenAPI drift.
|
|
|
81
95
|
|
|
82
96
|
Report the final Task Card, Technical Plan, implementation summary, test report,
|
|
83
97
|
review report, docs updated, compatibility impact, and residual risks.
|
|
98
|
+
|
|
99
|
+
## Next
|
|
100
|
+
|
|
101
|
+
Run `/cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: >-
|
|
3
|
-
|
|
3
|
+
Recommend one CodeConductor slash command from a natural-language
|
|
4
4
|
problem. Does not start that workflow.
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ description: >-
|
|
|
9
9
|
Problem: $ARGUMENTS
|
|
10
10
|
|
|
11
11
|
This is a **router**, not a delivery workflow. Recommend exactly one command.
|
|
12
|
-
Do **not** run the recommended `/cc
|
|
12
|
+
Do **not** run the recommended `/cc-` command unless the human confirms.
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -31,13 +31,13 @@ The catalog is only:
|
|
|
31
31
|
|
|
32
32
|
| Slash | When |
|
|
33
33
|
| ----- | ---- |
|
|
34
|
-
| `/cc
|
|
35
|
-
| `/cc
|
|
36
|
-
| `/cc
|
|
37
|
-
| `/cc
|
|
38
|
-
| `/cc
|
|
39
|
-
| `/cc
|
|
40
|
-
| `/cc
|
|
34
|
+
| `/cc-feature` | new behavior |
|
|
35
|
+
| `/cc-fix` | bug / regression |
|
|
36
|
+
| `/cc-refactor` | structure, no behavior change |
|
|
37
|
+
| `/cc-review` | inspect a diff/PR |
|
|
38
|
+
| `/cc-tdd-cycle` | red → green → refactor |
|
|
39
|
+
| `/cc-backlog` | create or append BACKLOG.md / objectives |
|
|
40
|
+
| `/cc-openspec` | BACKLOG / BC-xxx delivery |
|
|
41
41
|
|
|
42
42
|
If the CLI is unavailable, apply the same catalog and the same priority:
|
|
43
43
|
backlog (author) vs openspec (deliver) → tdd-cycle → review → refactor → fix → feature (default).
|
|
@@ -53,4 +53,4 @@ Print:
|
|
|
53
53
|
|
|
54
54
|
**STOP.** Wait for the human. Do not invoke the recommended workflow.
|
|
55
55
|
|
|
56
|
-
For a full preset inventory (skills, commands on disk), use `/cc
|
|
56
|
+
For a full preset inventory (skills, commands on disk), use `/cc-help` / `cc-help`.
|
|
@@ -86,3 +86,7 @@ If APPROVED (no CRITICAL findings):
|
|
|
86
86
|
## Completion
|
|
87
87
|
|
|
88
88
|
Deliver the complete Council Verdict. The feature is only complete when tests pass and the council explicitly approves the implementation according to the specification.
|
|
89
|
+
|
|
90
|
+
## Next
|
|
91
|
+
|
|
92
|
+
Approved: merge. Blocked: return the findings to `/cc-fix` or `/cc-feature`.
|
|
@@ -22,6 +22,20 @@ Command: `db-migration` (fixed for this workflow — do not infer from user text
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## Step 0b — OpenSpec quality gates
|
|
26
|
+
|
|
27
|
+
If `openspec status` reports an active change folder:
|
|
28
|
+
|
|
29
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
30
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
31
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
32
|
+
4. Next command spelling on this runner: `/cc-db-migration`
|
|
33
|
+
|
|
34
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
|
|
25
39
|
## Step 1 — Task Card validation (task-coach)
|
|
26
40
|
|
|
27
41
|
Invoke `task-coach` with the request above.
|
|
@@ -81,3 +95,7 @@ undocumented deployment sequencing, or model/migration drift.
|
|
|
81
95
|
|
|
82
96
|
Report migration files changed, model files changed, tests run, lock risk, data
|
|
83
97
|
risk, operational sequencing, rollback/forward-fix notes, and residual risk.
|
|
98
|
+
|
|
99
|
+
## Next
|
|
100
|
+
|
|
101
|
+
Run `/cc-review` on the diff before merging.
|
|
@@ -28,10 +28,10 @@ If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"`. Invoke `
|
|
|
28
28
|
|
|
29
29
|
## Step 2 — Suggest next command (orchestrator)
|
|
30
30
|
|
|
31
|
-
Recommend exactly one next slash command (`/cc
|
|
31
|
+
Recommend exactly one next slash command (`/cc-feature`, `/cc-fix`, `/cc-refactor`, `/cc-review`, `/cc-backlog`, `/cc-openspec`, `/cc-triage`, …) with a one-sentence rationale. Do not start that workflow.
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
35
|
## Completion
|
|
36
36
|
|
|
37
|
-
Report the Repo Map and the recommended next `/cc
|
|
37
|
+
Report the Repo Map and the recommended next `/cc-` command.
|
|
@@ -22,6 +22,24 @@ Command: `feature` (fixed for this workflow — do not infer from user text)
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## Step 0b — OpenSpec quality gates
|
|
26
|
+
|
|
27
|
+
If `openspec status` reports an active change folder:
|
|
28
|
+
|
|
29
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
30
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
31
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
32
|
+
4. Next command spelling on this runner: `/cc-feature`
|
|
33
|
+
|
|
34
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
35
|
+
|
|
36
|
+
Skills: `using-cc-skills`, `openspec`, `testing-tdd`, `evaluation`.
|
|
37
|
+
Do not skip `openspec analyze` when a change folder is active.
|
|
38
|
+
"I'll add tests later" is not allowed — tester before implementer.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
|
|
25
43
|
## Step 1 — Wayfinding (repo-explorer)
|
|
26
44
|
|
|
27
45
|
If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"` (and
|
|
@@ -135,3 +153,7 @@ Report the following to the human:
|
|
|
135
153
|
|
|
136
154
|
The feature is complete only when: all tests pass, no CRITICAL review findings
|
|
137
155
|
remain, and documentation reflects the implemented behavior.
|
|
156
|
+
|
|
157
|
+
## Next
|
|
158
|
+
|
|
159
|
+
Run `/cc-review` on the diff before merging.
|
|
@@ -32,6 +32,20 @@ Command: `fix` (fixed for this workflow — do not infer from user text)
|
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
35
|
+
## Step 0b — OpenSpec quality gates
|
|
36
|
+
|
|
37
|
+
If `openspec status` reports an active change folder:
|
|
38
|
+
|
|
39
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
40
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
41
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
42
|
+
4. Next command spelling on this runner: `/cc-fix`
|
|
43
|
+
|
|
44
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
|
|
35
49
|
## Step 1 — Wayfinding (repo-explorer)
|
|
36
50
|
|
|
37
51
|
If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"` (and
|
|
@@ -149,3 +163,7 @@ resolved.
|
|
|
149
163
|
Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
150
164
|
(if applicable). The fix is complete only when: the regression test passes, the
|
|
151
165
|
full suite passes, and no CRITICAL review findings remain.
|
|
166
|
+
|
|
167
|
+
## Next
|
|
168
|
+
|
|
169
|
+
Run `/cc-review` on the diff before merging.
|
|
@@ -31,7 +31,7 @@ errors instead of pasting dumps. If unresolved credential material remains, stop
|
|
|
31
31
|
and wait for a human (CCEP `stopOnHighRisk`).
|
|
32
32
|
|
|
33
33
|
Include: goal, Task Card status (no secret fields), files touched, test
|
|
34
|
-
pass/fail (not log dumps), open questions, and the next `/cc
|
|
34
|
+
pass/fail (not log dumps), open questions, and the next `/cc-` command.
|
|
35
35
|
|
|
36
36
|
Do not edit source or tests.
|
|
37
37
|
|
|
@@ -22,6 +22,20 @@ Command: `iterative` (fixed for this workflow — do not infer from user text)
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## Step 0b — OpenSpec quality gates
|
|
26
|
+
|
|
27
|
+
If `openspec status` reports an active change folder:
|
|
28
|
+
|
|
29
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
30
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
31
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
32
|
+
4. Next command spelling on this runner: `/cc-iterative`
|
|
33
|
+
|
|
34
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
|
|
25
39
|
## Step 1 — Wayfinding (repo-explorer)
|
|
26
40
|
|
|
27
41
|
If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"` (and
|
|
@@ -30,6 +30,20 @@ Command: `openspec` (fixed for this workflow — do not infer from user text)
|
|
|
30
30
|
|
|
31
31
|
---
|
|
32
32
|
|
|
33
|
+
## Step 0b — OpenSpec quality gates
|
|
34
|
+
|
|
35
|
+
If `openspec status` reports an active change folder:
|
|
36
|
+
|
|
37
|
+
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
38
|
+
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
39
|
+
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
40
|
+
4. Next command spelling on this runner: `/cc-openspec`
|
|
41
|
+
|
|
42
|
+
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
|
|
33
47
|
## Step 1 — Scan
|
|
34
48
|
|
|
35
49
|
Run `npx cc-codeconductor openspec scan`. Report new, modified, and closed items.
|
|
@@ -36,4 +36,4 @@ Invoke `implementer` in a Git worktree that is not a merge candidate. Label the
|
|
|
36
36
|
|
|
37
37
|
## Completion
|
|
38
38
|
|
|
39
|
-
Report bounds, worktree path, and what was learned. Recommend `/cc
|
|
39
|
+
Report bounds, worktree path, and what was learned. Recommend `/cc-feature` or `/cc-fix` if the spike should become real work.
|
|
@@ -29,7 +29,7 @@ behavioral consequences.
|
|
|
29
29
|
If coverage is insufficient:
|
|
30
30
|
|
|
31
31
|
1. **STOP**. Report the coverage gap to the human.
|
|
32
|
-
2. Suggest invoking `/cc
|
|
32
|
+
2. Suggest invoking `/cc-test-plan` first to establish coverage.
|
|
33
33
|
3. Do not proceed with the refactor until coverage is confirmed.
|
|
34
34
|
|
|
35
35
|
---
|
|
@@ -159,3 +159,7 @@ and after, Review Report (if applicable).
|
|
|
159
159
|
The refactor is complete only when: all pre-existing tests still pass, the
|
|
160
160
|
implementation matches the approved plan exactly, and no CRITICAL review
|
|
161
161
|
findings remain.
|
|
162
|
+
|
|
163
|
+
## Next
|
|
164
|
+
|
|
165
|
+
Run `/cc-review` on the diff before merging.
|
|
@@ -138,7 +138,7 @@ If any CRITICAL findings exist:
|
|
|
138
138
|
- The Review Report status is **BLOCKED**
|
|
139
139
|
- Report all CRITICAL findings to the human
|
|
140
140
|
- Do not proceed until each CRITICAL finding is resolved
|
|
141
|
-
- After resolution, invoke `/cc
|
|
141
|
+
- After resolution, invoke `/cc-review` again on the same target
|
|
142
142
|
|
|
143
143
|
If no CRITICAL findings exist:
|
|
144
144
|
|
|
@@ -152,3 +152,7 @@ If no CRITICAL findings exist:
|
|
|
152
152
|
|
|
153
153
|
Deliver the complete Review Report. Never summarize or omit findings. Every
|
|
154
154
|
finding must include a location and an actionable description.
|
|
155
|
+
|
|
156
|
+
## Next
|
|
157
|
+
|
|
158
|
+
Approved: merge. Blocked: return the findings to `/cc-fix` or `/cc-feature`.
|
|
@@ -20,6 +20,8 @@ Command: `scorecard` (fixed for this workflow — do not infer from user text)
|
|
|
20
20
|
|
|
21
21
|
---
|
|
22
22
|
|
|
23
|
+
If a change folder exists, run `npx cc-codeconductor openspec analyze --output json` first. `--from-diff` overlays FR/SC coverage onto `acceptance` and TDD evidence onto `tests`.
|
|
24
|
+
|
|
23
25
|
1. `npx cc-codeconductor scorecard create --task <id> --from-diff`
|
|
24
26
|
2. Complete criteria per docs/agent-scorecard.md
|
|
25
27
|
3. `scorecard regression` if needed
|
|
@@ -178,3 +178,7 @@ resolved.
|
|
|
178
178
|
Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
179
179
|
(if applicable). The task is complete only when: the regression test passes, the
|
|
180
180
|
full suite passes, and no CRITICAL review findings remain.
|
|
181
|
+
|
|
182
|
+
## Next
|
|
183
|
+
|
|
184
|
+
Run `/cc-review` on the diff before merging.
|