cc-codeconductor 1.2.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 +30 -10
- 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/index.js +1615 -546
- package/dist/library.js +75 -14
- package/dist/validation/schemas.d.ts +197 -35
- package/package.json +4 -1
- package/presets/agy/AGENTS.md +1 -1
- package/presets/agy/hooks.json +3 -3
- package/presets/agy/scripts/invoke-hook.cjs +21 -17
- package/presets/agy/workflows/cc-api-contract.md +4 -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 +4 -0
- package/presets/agy/workflows/cc-explore.md +2 -2
- package/presets/agy/workflows/cc-feature.md +4 -0
- package/presets/agy/workflows/cc-fix.md +4 -0
- package/presets/agy/workflows/cc-handoff.md +1 -1
- 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-security.md +4 -0
- package/presets/agy/workflows/cc-spec-mutation.md +4 -0
- package/presets/agy/workflows/cc-tdd-cycle.md +1 -1
- package/presets/agy/workflows/cc-test-plan.md +5 -1
- package/presets/claude/commands/cc/api-contract.md +5 -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 +5 -1
- package/presets/claude/commands/cc/explore.md +1 -1
- package/presets/claude/commands/cc/feature.md +5 -1
- package/presets/claude/commands/cc/fix.md +5 -1
- package/presets/claude/commands/cc/handoff.md +1 -1
- package/presets/claude/commands/cc/iterative.md +1 -1
- package/presets/claude/commands/cc/openspec.md +1 -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 +5 -1
- package/presets/claude/commands/cc/scorecard.md +1 -1
- package/presets/claude/commands/cc/security.md +5 -1
- package/presets/claude/commands/cc/spec-mutation.md +5 -1
- package/presets/claude/commands/cc/tdd-cycle.md +1 -1
- package/presets/claude/commands/cc/test-plan.md +5 -1
- package/presets/claude/commands/cc/triage.md +1 -1
- package/presets/claude/skills/android/SKILL.md +0 -1
- package/presets/claude/skills/api-versioning/SKILL.md +0 -1
- package/presets/claude/skills/django-orm/SKILL.md +0 -1
- package/presets/claude/skills/django-testing/SKILL.md +0 -1
- package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
- 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/codex/AGENTS.md +3 -2
- 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/cc-api-contract/SKILL.md +11 -7
- package/presets/codex/skills/cc-backlog/SKILL.md +1 -1
- package/presets/codex/skills/cc-clarify/SKILL.md +1 -1
- package/presets/codex/skills/cc-council/SKILL.md +4 -0
- package/presets/codex/skills/cc-db-migration/SKILL.md +11 -7
- package/presets/codex/skills/cc-explore/SKILL.md +3 -3
- package/presets/codex/skills/cc-feature/SKILL.md +16 -8
- package/presets/codex/skills/cc-fix/SKILL.md +14 -7
- package/presets/codex/skills/cc-handoff/SKILL.md +2 -2
- package/presets/codex/skills/cc-iterative/SKILL.md +8 -8
- package/presets/codex/skills/cc-openspec/SKILL.md +2 -2
- package/presets/codex/skills/cc-prototype/SKILL.md +2 -2
- package/presets/codex/skills/cc-refactor/SKILL.md +8 -4
- package/presets/codex/skills/cc-review/SKILL.md +6 -2
- package/presets/codex/skills/cc-scorecard/SKILL.md +1 -1
- package/presets/codex/skills/cc-security/SKILL.md +5 -1
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +7 -3
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +6 -6
- package/presets/codex/skills/cc-test-plan/SKILL.md +6 -2
- package/presets/codex/skills/cc-triage/SKILL.md +1 -1
- package/presets/codex/skills/django-orm/SKILL.md +0 -1
- package/presets/codex/skills/django-testing/SKILL.md +0 -1
- package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
- 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/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 +5 -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 +5 -1
- package/presets/cursor/commands/cc/explore.md +1 -1
- package/presets/cursor/commands/cc/feature.md +5 -1
- package/presets/cursor/commands/cc/fix.md +5 -1
- package/presets/cursor/commands/cc/handoff.md +1 -1
- package/presets/cursor/commands/cc/iterative.md +1 -1
- package/presets/cursor/commands/cc/openspec.md +1 -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 +1 -1
- package/presets/cursor/commands/cc/security.md +5 -1
- package/presets/cursor/commands/cc/spec-mutation.md +5 -1
- package/presets/cursor/commands/cc/tdd-cycle.md +1 -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/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/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/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/gemini/GEMINI.md +38 -0
- package/presets/gemini/commands/cc/api-contract.toml +10 -6
- package/presets/gemini/commands/cc/ask.toml +1 -1
- package/presets/gemini/commands/cc/backlog.toml +1 -1
- package/presets/gemini/commands/cc/clarify.toml +1 -1
- package/presets/gemini/commands/cc/council.toml +4 -0
- package/presets/gemini/commands/cc/db-migration.toml +10 -6
- package/presets/gemini/commands/cc/explore.toml +1 -1
- package/presets/gemini/commands/cc/feature.toml +11 -7
- package/presets/gemini/commands/cc/fix.toml +13 -9
- package/presets/gemini/commands/cc/handoff.toml +1 -1
- package/presets/gemini/commands/cc/iterative.toml +7 -7
- package/presets/gemini/commands/cc/openspec.toml +1 -1
- package/presets/gemini/commands/cc/prototype.toml +1 -1
- package/presets/gemini/commands/cc/refactor.toml +8 -4
- package/presets/gemini/commands/cc/review.toml +5 -4
- package/presets/gemini/commands/cc/scorecard.toml +1 -1
- package/presets/gemini/commands/cc/security.toml +5 -1
- package/presets/gemini/commands/cc/spec-mutation.toml +5 -1
- package/presets/gemini/commands/cc/tdd-cycle.toml +5 -8
- package/presets/gemini/commands/cc/test-plan.toml +6 -2
- package/presets/gemini/commands/cc/triage.toml +1 -1
- package/presets/gemini/settings.json +3 -0
- package/presets/opencode/agents/docs.md +1 -1
- package/presets/opencode/agents/reviewer.md +1 -1
- package/presets/opencode/commands/cc-api-contract.md +4 -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 +4 -0
- package/presets/opencode/commands/cc-explore.md +2 -2
- package/presets/opencode/commands/cc-feature.md +4 -0
- package/presets/opencode/commands/cc-fix.md +4 -0
- package/presets/opencode/commands/cc-handoff.md +1 -1
- 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-security.md +4 -0
- package/presets/opencode/commands/cc-spec-mutation.md +4 -0
- package/presets/opencode/commands/cc-tdd-cycle.md +1 -1
- package/presets/opencode/commands/cc-test-plan.md +5 -1
- package/presets/opencode/prompts/v1.0.0/README.md +1 -1
- package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
- package/presets/opencode/prompts/v1.0.0/reviewer.md +1 -1
- 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/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/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/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/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 +21 -17
- package/src/presets/council/council.yml +12 -9
- package/src/presets/manifests/agy.yml +1 -1
- package/src/presets/manifests/gemini.yml +11 -11
- 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/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/presets/shared/__pycache__/mutation_runner.cpython-314.pyc +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: android
|
|
3
|
-
version: 1.0.0
|
|
4
3
|
name: Android + Kotlin (Jetpack Compose & Media3)
|
|
5
4
|
description: >
|
|
6
5
|
Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-api-contract
|
|
3
|
-
description: compatibility constraints, contract tests, documentation, and review.
|
|
3
|
+
description: Run the API contract workflow for public interface changes, compatibility constraints, contract tests, documentation, and review.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# api-contract
|
|
@@ -30,7 +30,7 @@ If `openspec status` reports an active change folder:
|
|
|
30
30
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
31
31
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
32
32
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
33
|
-
4. Next command spelling on this runner:
|
|
33
|
+
4. Next command spelling on this runner: `$cc-api-contract`
|
|
34
34
|
|
|
35
35
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
36
36
|
|
|
@@ -39,7 +39,7 @@ Local development: `bun run dev <same argv>`. Published package: `npx cc-codecon
|
|
|
39
39
|
|
|
40
40
|
## Step 1 — Task Card validation (Task Coach role)
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
Adopt the `task-coach` role as defined in `AGENTS.md`.
|
|
43
43
|
|
|
44
44
|
The Task Card must classify the task as high risk by default and include the
|
|
45
45
|
affected public interface, request/response examples, compatibility notes,
|
|
@@ -52,7 +52,7 @@ criteria.
|
|
|
52
52
|
|
|
53
53
|
## Step 2 — Technical Plan (Architect role)
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Adopt the `architect` role as defined in `AGENTS.md`.
|
|
56
56
|
|
|
57
57
|
Define the API contract, validation strategy, compatibility behavior, docs or
|
|
58
58
|
OpenAPI changes, and reviewer blocking conditions.
|
|
@@ -63,7 +63,7 @@ OpenAPI changes, and reviewer blocking conditions.
|
|
|
63
63
|
|
|
64
64
|
## Step 3 — Implementation (Implementer role)
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
67
67
|
|
|
68
68
|
Apply the minimal diff, preserve compatible behavior unless explicitly approved
|
|
69
69
|
as breaking, and update only the planned files.
|
|
@@ -72,7 +72,7 @@ as breaking, and update only the planned files.
|
|
|
72
72
|
|
|
73
73
|
## Step 4 — Contract Tests (Tester role)
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
76
76
|
|
|
77
77
|
Add or update tests for request shape, response shape, status/error behavior,
|
|
78
78
|
and backward compatibility.
|
|
@@ -81,7 +81,11 @@ and backward compatibility.
|
|
|
81
81
|
|
|
82
82
|
## Step 5 — Review (Reviewer role)
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
85
85
|
|
|
86
86
|
Block on missing contract tests, undocumented breaking changes, or docs/OpenAPI
|
|
87
87
|
drift.
|
|
88
|
+
|
|
89
|
+
## Next
|
|
90
|
+
|
|
91
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-backlog
|
|
3
|
-
description: validate with openspec, and plan OpenSpec change folders for /cc-openspec.
|
|
3
|
+
description: Author BACKLOG.md — wayfinding, grilling, create or append items, validate with openspec, and plan OpenSpec change folders for /cc-openspec.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# backlog
|
|
@@ -90,3 +90,7 @@ If APPROVED (no CRITICAL findings):
|
|
|
90
90
|
## Completion
|
|
91
91
|
|
|
92
92
|
Deliver the complete Council Verdict. The feature is only complete when tests pass and the council explicitly approves the implementation according to the specification.
|
|
93
|
+
|
|
94
|
+
## Next
|
|
95
|
+
|
|
96
|
+
Approved: merge. Blocked: return the findings to `$cc-fix` or `$cc-feature`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-db-migration
|
|
3
|
-
description: operational sequencing, tests, and review.
|
|
3
|
+
description: Run the database migration workflow for schema/data changes, operational sequencing, tests, and review.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# db-migration
|
|
@@ -31,7 +31,7 @@ If `openspec status` reports an active change folder:
|
|
|
31
31
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
32
32
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
33
33
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
34
|
-
4. Next command spelling on this runner:
|
|
34
|
+
4. Next command spelling on this runner: `$cc-db-migration`
|
|
35
35
|
|
|
36
36
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
37
37
|
|
|
@@ -40,7 +40,7 @@ Local development: `bun run dev <same argv>`. Published package: `npx cc-codecon
|
|
|
40
40
|
|
|
41
41
|
## Step 1 — Task Card validation (Task Coach role)
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
Adopt the `task-coach` role as defined in `AGENTS.md`.
|
|
44
44
|
|
|
45
45
|
The Task Card must classify the task as high risk and include affected schema,
|
|
46
46
|
model, and migration files; data backfill needs; deployment ordering;
|
|
@@ -52,7 +52,7 @@ rollback/forward-fix strategy; lock risk; data risk; and verification commands.
|
|
|
52
52
|
|
|
53
53
|
## Step 2 — Migration Plan (Architect role)
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
Adopt the `architect` role as defined in `AGENTS.md`.
|
|
56
56
|
|
|
57
57
|
Define the schema/data plan, operational sequencing, compatibility strategy,
|
|
58
58
|
rollback/forward-fix notes, and test approach.
|
|
@@ -63,7 +63,7 @@ rollback/forward-fix notes, and test approach.
|
|
|
63
63
|
|
|
64
64
|
## Step 3 — Migration Tests (Tester role)
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
67
67
|
|
|
68
68
|
Cover migration-sensitive behavior where the stack supports it, including
|
|
69
69
|
existing-data edge cases and rollback/forward-fix notes when automated rollback
|
|
@@ -73,7 +73,7 @@ tests are not practical.
|
|
|
73
73
|
|
|
74
74
|
## Step 4 — Implementation (Implementer role)
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
77
77
|
|
|
78
78
|
Keep model and migration changes together, avoid unrelated refactors, and
|
|
79
79
|
preserve the deployment order specified by architect.
|
|
@@ -82,7 +82,11 @@ preserve the deployment order specified by architect.
|
|
|
82
82
|
|
|
83
83
|
## Step 5 — Review (Reviewer role)
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
86
86
|
|
|
87
87
|
Block on missing migration tests, missing data-risk notes, undocumented
|
|
88
88
|
deployment sequencing, or model/migration drift.
|
|
89
|
+
|
|
90
|
+
## Next
|
|
91
|
+
|
|
92
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-explore
|
|
3
|
-
description: CodeConductor
|
|
3
|
+
description: Map the repository and recommend the next CodeConductor slash command. Read-only.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# explore
|
|
@@ -31,10 +31,10 @@ If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"`. Invoke `
|
|
|
31
31
|
|
|
32
32
|
## Step 2 — Suggest next command (orchestrator)
|
|
33
33
|
|
|
34
|
-
Recommend exactly one next slash command (
|
|
34
|
+
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.
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
38
|
## Completion
|
|
39
39
|
|
|
40
|
-
Report the Repo Map and the recommended next
|
|
40
|
+
Report the Repo Map and the recommended next `$cc-` command.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-feature
|
|
3
|
-
description: implementation, testing, review, and documentation.
|
|
3
|
+
description: Run the full feature workflow — task validation, technical design, implementation, testing, review, and documentation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# feature
|
|
@@ -33,10 +33,14 @@ If `openspec status` reports an active change folder:
|
|
|
33
33
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
34
34
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
35
35
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
36
|
-
4. Next command spelling on this runner:
|
|
36
|
+
4. Next command spelling on this runner: `$cc-feature`
|
|
37
37
|
|
|
38
38
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
39
39
|
|
|
40
|
+
Skills: `using-cc-skills`, `openspec`, `testing-tdd`, `evaluation`.
|
|
41
|
+
Do not skip `openspec analyze` when a change folder is active.
|
|
42
|
+
"I'll add tests later" is not allowed — tester before implementer.
|
|
43
|
+
|
|
40
44
|
---
|
|
41
45
|
|
|
42
46
|
|
|
@@ -51,7 +55,7 @@ Record a Repo Map artifact before intake.
|
|
|
51
55
|
|
|
52
56
|
## Step 2 — Task Card validation (Task Coach role)
|
|
53
57
|
|
|
54
|
-
|
|
58
|
+
Adopt the `task-coach` role as defined in `AGENTS.md`.
|
|
55
59
|
|
|
56
60
|
Produce a complete Task Card. The Task Card is ready when it contains: title,
|
|
57
61
|
type, risk classification, scope, context, acceptance criteria, and constraints.
|
|
@@ -66,7 +70,7 @@ continuing.**
|
|
|
66
70
|
|
|
67
71
|
## Step 3 — Technical Plan (Architect role)
|
|
68
72
|
|
|
69
|
-
|
|
73
|
+
Adopt the `architect` role as defined in `AGENTS.md`.
|
|
70
74
|
|
|
71
75
|
Produce a Technical Plan that covers:
|
|
72
76
|
|
|
@@ -84,7 +88,7 @@ not proceed to implementation until the plan is approved.**
|
|
|
84
88
|
|
|
85
89
|
## Step 4 — Test coverage (Tester role)
|
|
86
90
|
|
|
87
|
-
|
|
91
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
88
92
|
|
|
89
93
|
Use the Implementation Summary and the Task Card.
|
|
90
94
|
|
|
@@ -97,7 +101,7 @@ Use the Implementation Summary and the Task Card.
|
|
|
97
101
|
|
|
98
102
|
## Step 5 — Implementation (Implementer role)
|
|
99
103
|
|
|
100
|
-
|
|
104
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
101
105
|
|
|
102
106
|
Use the approved Technical Plan and the Task Card from the steps above.
|
|
103
107
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
@@ -112,7 +116,7 @@ Implementer creates a Git Worktree before touching any file; all edits happen in
|
|
|
112
116
|
|
|
113
117
|
## Step 6 — Code review (Reviewer role)
|
|
114
118
|
|
|
115
|
-
|
|
119
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
116
120
|
|
|
117
121
|
Use the complete diff and the Task Card.
|
|
118
122
|
|
|
@@ -126,7 +130,7 @@ they are resolved and the diff is re-reviewed.
|
|
|
126
130
|
|
|
127
131
|
## Step 7 — Documentation (Docs role)
|
|
128
132
|
|
|
129
|
-
|
|
133
|
+
Adopt the `docs` role as defined in `AGENTS.md`.
|
|
130
134
|
|
|
131
135
|
Invoke this step only if any of the following changed:
|
|
132
136
|
|
|
@@ -152,3 +156,7 @@ Report the following:
|
|
|
152
156
|
|
|
153
157
|
The feature is complete only when: all tests pass, no CRITICAL review findings
|
|
154
158
|
remain, and documentation reflects the implemented behavior.
|
|
159
|
+
|
|
160
|
+
## Next
|
|
161
|
+
|
|
162
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-fix
|
|
3
|
-
description: validation, implementation, testing, and optional review.
|
|
3
|
+
description: Run the bug fix workflow — risk-based routing through task validation, implementation, testing, and optional review.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# fix
|
|
@@ -41,7 +41,7 @@ If `openspec status` reports an active change folder:
|
|
|
41
41
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
42
42
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
43
43
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
44
|
-
4. Next command spelling on this runner:
|
|
44
|
+
4. Next command spelling on this runner: `$cc-fix`
|
|
45
45
|
|
|
46
46
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
47
47
|
|
|
@@ -59,7 +59,7 @@ Record a Repo Map artifact before intake.
|
|
|
59
59
|
|
|
60
60
|
## Step 2 — Task Card validation (Task Coach role)
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
Adopt the `task-coach` role as defined in `AGENTS.md`.
|
|
63
63
|
|
|
64
64
|
Produce a Task Card that includes:
|
|
65
65
|
|
|
@@ -114,7 +114,7 @@ before continuing.**
|
|
|
114
114
|
|
|
115
115
|
## Step 4 — Regression tests (Tester role)
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
Adopt the `tester` role as defined in `AGENTS.md`. Apply for all risk levels.
|
|
118
118
|
|
|
119
119
|
1. Write a regression test that reproduces the original bug and confirm it fails
|
|
120
120
|
before any fix (RED).
|
|
@@ -125,7 +125,7 @@ Invoke the `tester` subagent via the Task tool. Apply for all risk levels.
|
|
|
125
125
|
|
|
126
126
|
## Step 5a — Implementation, low-risk (Implementer role)
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
Adopt the `implementer` role as defined in `AGENTS.md`. Use the Task Card.
|
|
129
129
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
130
130
|
|
|
131
131
|
1. Locate the defect using the reproduction steps.
|
|
@@ -137,7 +137,7 @@ Implementer creates a Git Worktree before touching any file; all edits happen in
|
|
|
137
137
|
|
|
138
138
|
## Step 5b — Implementation, medium/high-risk (Implementer role)
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
Adopt the `implementer` role as defined in `AGENTS.md`. Use the approved
|
|
141
141
|
Technical Plan and the Task Card.
|
|
142
142
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
143
143
|
|
|
@@ -148,7 +148,7 @@ After implementation, run the full test suite.
|
|
|
148
148
|
|
|
149
149
|
## Step 6 — Review (Reviewer role) — medium/high-risk only
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`. Use the diff and Task
|
|
152
152
|
Card.
|
|
153
153
|
|
|
154
154
|
Produce a Review Report with CRITICAL / WARNING / SUGGESTION findings. If any
|
|
@@ -163,3 +163,10 @@ Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
|
163
163
|
|
|
164
164
|
The fix is complete only when: the regression test passes, the full suite
|
|
165
165
|
passes, and no CRITICAL review findings remain.
|
|
166
|
+
|
|
167
|
+
Skills: `testing-tdd`, `evaluation`. Record `scorecard create --from-diff`.
|
|
168
|
+
A small fix still needs a Task Card and a failing regression test first.
|
|
169
|
+
|
|
170
|
+
## Next
|
|
171
|
+
|
|
172
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-handoff
|
|
3
|
-
description:
|
|
3
|
+
description: Compact the session into gitignored `.codeconductor/sessions/handoff.md` (redact secrets).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# handoff
|
|
@@ -34,7 +34,7 @@ errors instead of pasting dumps. If unresolved credential material remains, stop
|
|
|
34
34
|
and wait for a human (CCEP `stopOnHighRisk`).
|
|
35
35
|
|
|
36
36
|
Include: goal, Task Card status (no secret fields), files touched, test
|
|
37
|
-
pass/fail (not log dumps), open questions, and the next
|
|
37
|
+
pass/fail (not log dumps), open questions, and the next `$cc-` command.
|
|
38
38
|
|
|
39
39
|
Do not edit source or tests.
|
|
40
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-iterative
|
|
3
|
-
description: Relentless Grilling, contract and spec design, TDD, council review, and docs.
|
|
3
|
+
description: Run the advanced iterative workflow — Wayfinding AST discovery, Relentless Grilling, contract and spec design, TDD, council review, and docs.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# iterative
|
|
@@ -33,7 +33,7 @@ If `openspec status` reports an active change folder:
|
|
|
33
33
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
34
34
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
35
35
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
36
|
-
4. Next command spelling on this runner:
|
|
36
|
+
4. Next command spelling on this runner: `$cc-iterative`
|
|
37
37
|
|
|
38
38
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
39
39
|
|
|
@@ -44,7 +44,7 @@ Local development: `bun run dev <same argv>`. Published package: `npx cc-codecon
|
|
|
44
44
|
|
|
45
45
|
If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"` (and
|
|
46
46
|
`graphify path` / `graphify explain` when two modules or one concept need a
|
|
47
|
-
scoped subgraph). Then
|
|
47
|
+
scoped subgraph). Then adopt the `repo-explorer` role as defined in `AGENTS.md`
|
|
48
48
|
with that graph output.
|
|
49
49
|
|
|
50
50
|
repo-explorer maps directory trees, conventions, god nodes, and affected
|
|
@@ -56,7 +56,7 @@ context.
|
|
|
56
56
|
|
|
57
57
|
## Step 2 — Relentless Grilling & Task Card (task-coach)
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
Adopt the `task-coach` role as defined in `AGENTS.md`.
|
|
60
60
|
|
|
61
61
|
Produce a complete Task Card. The Task Card is ready when it contains: title,
|
|
62
62
|
type, risk classification, scope, context, acceptance criteria, and
|
|
@@ -76,7 +76,7 @@ continuing.
|
|
|
76
76
|
|
|
77
77
|
## Step 3 — Contract & Technical Plan (contract-builder & architect)
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
Adopt the `contract-builder` role as defined in `AGENTS.md`, then the `architect` role as defined in `AGENTS.md`.
|
|
80
80
|
|
|
81
81
|
1. Define API contracts, JSON Schemas, or TypeScript interfaces.
|
|
82
82
|
2. Formulate the Technical Plan (chosen approach, affected files, trade-offs).
|
|
@@ -89,7 +89,7 @@ not proceed to tests until the plan is approved.**
|
|
|
89
89
|
|
|
90
90
|
## Step 4 — Test coverage (Tester role)
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
93
93
|
|
|
94
94
|
1. Write or extend failing tests for the new behavior before implementation (RED).
|
|
95
95
|
2. Ensure all acceptance criteria from the Task Card have at least one test.
|
|
@@ -99,7 +99,7 @@ Invoke the `tester` subagent via the Task tool.
|
|
|
99
99
|
|
|
100
100
|
## Step 5 — Implementation (Implementer role)
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
103
103
|
|
|
104
104
|
Use the approved Technical Plan, contracts, and the failing tests.
|
|
105
105
|
Implementer creates a Git Worktree before touching any file; all edits happen
|
|
@@ -132,7 +132,7 @@ If APPROVED (no CRITICAL findings), continue.
|
|
|
132
132
|
|
|
133
133
|
## Step 7 — Documentation (Docs role)
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
Adopt the `docs` role as defined in `AGENTS.md` when a public API, public module,
|
|
136
136
|
or user-visible behavior changed.
|
|
137
137
|
|
|
138
138
|
Update: README (if applicable), OpenAPI spec (if applicable), CHANGELOG
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-openspec
|
|
3
|
-
description: orchestrate agents by phase, review gate, and update backlog state.
|
|
3
|
+
description: Run OpenSpec backlog delivery — validate BACKLOG.md, plan TaskCards, orchestrate agents by phase, review gate, and update backlog state.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# openspec
|
|
@@ -37,7 +37,7 @@ If `openspec status` reports an active change folder:
|
|
|
37
37
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
38
38
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
39
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:
|
|
40
|
+
4. Next command spelling on this runner: `$cc-openspec`
|
|
41
41
|
|
|
42
42
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
43
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-prototype
|
|
3
|
-
description:
|
|
3
|
+
description: Disposable spike in an isolated worktree. Not a merge candidate.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# prototype
|
|
@@ -39,4 +39,4 @@ Invoke `implementer` in a Git worktree that is not a merge candidate. Label the
|
|
|
39
39
|
|
|
40
40
|
## Completion
|
|
41
41
|
|
|
42
|
-
Report bounds, worktree path, and what was learned. Recommend
|
|
42
|
+
Report bounds, worktree path, and what was learned. Recommend `$cc-feature` or `$cc-fix` if the spike should become real work.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-refactor
|
|
3
|
-
description: test verification, risk-based implementation, and scope enforcement.
|
|
3
|
+
description: Run the refactor workflow — mandatory architectural justification, test verification, risk-based implementation, and scope enforcement.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# refactor
|
|
@@ -50,7 +50,7 @@ Command: `refactor` (fixed for this workflow — do not infer from user text)
|
|
|
50
50
|
|
|
51
51
|
## Step 1 — Architectural justification (Architect role)
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
Adopt the `architect` role as defined in `AGENTS.md`. Always invoke this step
|
|
54
54
|
first, regardless of risk level. A refactor without a written justification is
|
|
55
55
|
scope creep in disguise.
|
|
56
56
|
|
|
@@ -99,7 +99,7 @@ Proceed to Step 3b.
|
|
|
99
99
|
|
|
100
100
|
## Step 3a — Implementation, low-risk (Implementer role)
|
|
101
101
|
|
|
102
|
-
|
|
102
|
+
Adopt the `implementer` role as defined in `AGENTS.md`. Use the approved
|
|
103
103
|
Refactor Plan.
|
|
104
104
|
Implementer creates a Git Worktree before touching any file; all edits happen inside it.
|
|
105
105
|
|
|
@@ -139,7 +139,7 @@ regression. **STOP and report.**
|
|
|
139
139
|
|
|
140
140
|
## Step 5 — Code review (Reviewer role) — medium/high-risk only
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`. Use the diff and Refactor
|
|
143
143
|
Plan.
|
|
144
144
|
|
|
145
145
|
Verify:
|
|
@@ -161,3 +161,7 @@ and after, Review Report (if applicable).
|
|
|
161
161
|
The refactor is complete only when: all pre-existing tests still pass, the
|
|
162
162
|
implementation matches the approved plan exactly, and no CRITICAL review
|
|
163
163
|
findings remain.
|
|
164
|
+
|
|
165
|
+
## Next
|
|
166
|
+
|
|
167
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-review
|
|
3
|
-
description: CRITICAL, WARNING, and SUGGESTION findings; CRITICAL findings block merge.
|
|
3
|
+
description: Run a structured code review — produces a Review Report with CRITICAL, WARNING, and SUGGESTION findings; CRITICAL findings block merge.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# review
|
|
@@ -58,7 +58,7 @@ Show the diff summary (files changed, lines added/removed) before proceeding.
|
|
|
58
58
|
|
|
59
59
|
## Step 2 — Code review (Reviewer role)
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
62
62
|
|
|
63
63
|
Evaluate the diff against the following checklist:
|
|
64
64
|
|
|
@@ -150,3 +150,7 @@ npx cc-codeconductor scorecard regression
|
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
Map merge recommendation to scorecard verdict. Record outcome for trend tracking.
|
|
153
|
+
|
|
154
|
+
## Next
|
|
155
|
+
|
|
156
|
+
Approved: merge. Blocked: return the findings to `$cc-fix` or `$cc-feature`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-security
|
|
3
|
-
description: security-* skills, authorization gate, risk-based routing, hardening, and review.
|
|
3
|
+
description: Run the authorized defensive security workflow — domain security-* skills, authorization gate, risk-based routing, hardening, and review.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# security
|
|
@@ -180,3 +180,7 @@ resolved.
|
|
|
180
180
|
Report: Task Card, Implementation Summary, regression test added, Review Report
|
|
181
181
|
(if applicable). The task is complete only when: the regression test passes, the
|
|
182
182
|
full suite passes, and no CRITICAL review findings remain.
|
|
183
|
+
|
|
184
|
+
## Next
|
|
185
|
+
|
|
186
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-spec-mutation
|
|
3
|
-
description: into an immutable Gherkin contract (SHA-256 frozen), implement under the three laws of TDD, pass a judge audit, and merge only if every mutant dies.
|
|
3
|
+
description: Spec-locked TDD with a mutation-testing gate — refine the intent into an immutable Gherkin contract (SHA-256 frozen), implement under the three laws of TDD, pass a judge audit, and merge only if every mutant dies.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# spec-mutation
|
|
@@ -40,7 +40,7 @@ If `openspec status` reports an active change folder:
|
|
|
40
40
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
41
41
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
42
42
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
43
|
-
4. Next command spelling on this runner:
|
|
43
|
+
4. Next command spelling on this runner: `$cc-spec-mutation`
|
|
44
44
|
|
|
45
45
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
46
46
|
|
|
@@ -103,7 +103,7 @@ aborts the pipeline with scorecard 0 (Specification Gaming).
|
|
|
103
103
|
|
|
104
104
|
## Stage 3 — TDD under the three laws (`tdd_craftsman`)
|
|
105
105
|
|
|
106
|
-
Delegates to the
|
|
106
|
+
Delegates to the `$cc-tdd-cycle` state machine (`tddCycleStateMachine` in
|
|
107
107
|
`domain/loop`). Evidence must be captured with `captureTddSuiteEvidence` — do
|
|
108
108
|
not hand-edit JSON under `.codeconductor/evidence/`.
|
|
109
109
|
|
|
@@ -190,3 +190,7 @@ The orchestrator keeps a persistent counter per Task Card. If the
|
|
|
190
190
|
- [ ] Judge verdict PASS (compile clean, traceability complete, scope clean).
|
|
191
191
|
- [ ] Mutation runner exits 0 with `total_mutants_killed == total_points`.
|
|
192
192
|
- [ ] Scorecard records the kill rate and iteration count (≤ 3).
|
|
193
|
+
|
|
194
|
+
## Next
|
|
195
|
+
|
|
196
|
+
Run `$cc-review` on the diff before merging.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cc-tdd-cycle
|
|
3
|
-
description: test first, implement the minimum code to pass it, then refactor with the suite green.
|
|
3
|
+
description: Run a structured Red-Green-Refactor TDD cycle — write a failing test first, implement the minimum code to pass it, then refactor with the suite green.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# tdd-cycle
|
|
@@ -40,7 +40,7 @@ If `openspec status` reports an active change folder:
|
|
|
40
40
|
1. Run: `npx cc-codeconductor openspec validate --output json`
|
|
41
41
|
2. Run: `npx cc-codeconductor openspec analyze --output json`
|
|
42
42
|
3. If analyze `stop` is true or any finding is CRITICAL, stop. Do not delegate to implementer.
|
|
43
|
-
4. Next command spelling on this runner:
|
|
43
|
+
4. Next command spelling on this runner: `$cc-tdd-cycle`
|
|
44
44
|
|
|
45
45
|
Local development: `bun run dev <same argv>`. Published package: `npx cc-codeconductor`.
|
|
46
46
|
|
|
@@ -74,7 +74,7 @@ Do not advance phases until that evidence exists.
|
|
|
74
74
|
|
|
75
75
|
## Phase 1 — RED (Tester role)
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
Adopt the `tester` role as defined in `AGENTS.md`.
|
|
78
78
|
|
|
79
79
|
### 1a — Scope clarification
|
|
80
80
|
|
|
@@ -130,7 +130,7 @@ confirmation.**
|
|
|
130
130
|
|
|
131
131
|
## Phase 2 — GREEN (Implementer role)
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
134
134
|
|
|
135
135
|
### 2a — Read the failing test before writing any code
|
|
136
136
|
|
|
@@ -177,7 +177,7 @@ confirmation.**
|
|
|
177
177
|
|
|
178
178
|
## Phase 3 — REFACTOR (Implementer role, then Reviewer role)
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
Adopt the `implementer` role as defined in `AGENTS.md`.
|
|
181
181
|
|
|
182
182
|
### 3a — Assess what needs cleaning
|
|
183
183
|
|
|
@@ -208,7 +208,7 @@ change and investigate.
|
|
|
208
208
|
|
|
209
209
|
### 3d — Review (Reviewer role)
|
|
210
210
|
|
|
211
|
-
|
|
211
|
+
Adopt the `reviewer` role as defined in `AGENTS.md`.
|
|
212
212
|
|
|
213
213
|
Review only the refactored code against these axes:
|
|
214
214
|
|