cc-codeconductor 1.5.0 → 1.6.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 +24 -11
- package/dist/core/runner/runner-target.d.ts +4 -4
- package/dist/domain/product/entities.d.ts +1 -1
- package/dist/index.js +1714 -795
- package/dist/library.js +62 -7
- package/dist/validation/schemas.d.ts +210 -43
- package/docs/generated/cli.md +8 -0
- package/package.json +1 -1
- package/presets/agy/skills/openspec/SKILL.md +39 -11
- package/presets/agy/workflows/cc-api-contract.md +4 -5
- package/presets/agy/workflows/cc-backlog.md +4 -5
- package/presets/agy/workflows/cc-clarify.md +4 -5
- package/presets/agy/workflows/cc-council.md +6 -7
- package/presets/agy/workflows/cc-db-migration.md +4 -5
- package/presets/agy/workflows/cc-explore.md +4 -5
- package/presets/agy/workflows/cc-feature.md +4 -5
- package/presets/agy/workflows/cc-fix.md +4 -5
- package/presets/agy/workflows/cc-handoff.md +8 -5
- package/presets/agy/workflows/cc-iterative.md +4 -5
- package/presets/agy/workflows/cc-odd.md +4 -3
- package/presets/agy/workflows/cc-openspec.md +5 -6
- package/presets/agy/workflows/cc-pagespeed.md +4 -5
- package/presets/agy/workflows/cc-prototype.md +4 -5
- package/presets/agy/workflows/cc-refactor.md +4 -5
- package/presets/agy/workflows/cc-review.md +4 -5
- package/presets/agy/workflows/cc-scorecard.md +4 -5
- package/presets/agy/workflows/cc-security.md +4 -5
- package/presets/agy/workflows/cc-spec-mutation.md +4 -5
- package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
- package/presets/agy/workflows/cc-test-plan.md +4 -5
- package/presets/agy/workflows/cc-triage.md +4 -5
- package/presets/claude/CLAUDE.md +6 -5
- package/presets/claude/commands/cc/api-contract.md +4 -5
- package/presets/claude/commands/cc/backlog.md +4 -5
- package/presets/claude/commands/cc/clarify.md +4 -5
- package/presets/claude/commands/cc/council.md +6 -7
- package/presets/claude/commands/cc/db-migration.md +4 -5
- package/presets/claude/commands/cc/explore.md +4 -5
- package/presets/claude/commands/cc/feature.md +4 -5
- package/presets/claude/commands/cc/fix.md +4 -5
- package/presets/claude/commands/cc/handoff.md +8 -5
- package/presets/claude/commands/cc/iterative.md +4 -5
- package/presets/claude/commands/cc/odd.md +4 -3
- package/presets/claude/commands/cc/openspec.md +43 -8
- package/presets/claude/commands/cc/pagespeed.md +4 -5
- package/presets/claude/commands/cc/prototype.md +4 -5
- package/presets/claude/commands/cc/refactor.md +4 -5
- package/presets/claude/commands/cc/review.md +4 -5
- package/presets/claude/commands/cc/scorecard.md +4 -5
- package/presets/claude/commands/cc/security.md +4 -5
- package/presets/claude/commands/cc/spec-mutation.md +4 -5
- package/presets/claude/commands/cc/tdd-cycle.md +4 -5
- package/presets/claude/commands/cc/test-plan.md +4 -5
- package/presets/claude/commands/cc/triage.md +4 -5
- package/presets/claude/settings.json +32 -78
- package/presets/claude/skills/openspec/SKILL.md +39 -11
- package/presets/codex/config.toml +2 -0
- package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
- package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
- package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
- package/presets/codex/skills/cc-council/SKILL.md +12 -7
- package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
- package/presets/codex/skills/cc-explore/SKILL.md +4 -5
- package/presets/codex/skills/cc-feature/SKILL.md +4 -5
- package/presets/codex/skills/cc-fix/SKILL.md +4 -5
- package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
- package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
- package/presets/codex/skills/cc-odd/SKILL.md +4 -3
- package/presets/codex/skills/cc-openspec/SKILL.md +31 -7
- package/presets/codex/skills/cc-pagespeed/SKILL.md +4 -5
- package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
- package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
- package/presets/codex/skills/cc-review/SKILL.md +4 -5
- package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
- package/presets/codex/skills/cc-security/SKILL.md +4 -5
- package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
- package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
- package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
- package/presets/codex/skills/cc-triage/SKILL.md +4 -5
- package/presets/codex/skills/openspec/SKILL.md +39 -11
- package/presets/cursor/commands/cc/api-contract.md +4 -5
- package/presets/cursor/commands/cc/backlog.md +4 -5
- package/presets/cursor/commands/cc/clarify.md +4 -5
- package/presets/cursor/commands/cc/council.md +6 -7
- package/presets/cursor/commands/cc/db-migration.md +4 -5
- package/presets/cursor/commands/cc/explore.md +4 -5
- package/presets/cursor/commands/cc/feature.md +4 -5
- package/presets/cursor/commands/cc/fix.md +4 -5
- package/presets/cursor/commands/cc/handoff.md +8 -5
- package/presets/cursor/commands/cc/iterative.md +4 -5
- package/presets/cursor/commands/cc/odd.md +4 -3
- package/presets/cursor/commands/cc/openspec.md +25 -7
- package/presets/cursor/commands/cc/pagespeed.md +4 -5
- package/presets/cursor/commands/cc/prototype.md +4 -5
- package/presets/cursor/commands/cc/refactor.md +4 -5
- package/presets/cursor/commands/cc/review.md +4 -5
- package/presets/cursor/commands/cc/scorecard.md +4 -5
- package/presets/cursor/commands/cc/security.md +4 -5
- package/presets/cursor/commands/cc/spec-mutation.md +4 -5
- package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
- package/presets/cursor/commands/cc/test-plan.md +4 -5
- package/presets/cursor/commands/cc/triage.md +4 -5
- package/presets/cursor/skills/openspec/SKILL.md +39 -11
- package/presets/gemini/commands/cc/api-contract.toml +4 -5
- package/presets/gemini/commands/cc/backlog.toml +4 -5
- package/presets/gemini/commands/cc/clarify.toml +4 -5
- package/presets/gemini/commands/cc/council.toml +6 -7
- package/presets/gemini/commands/cc/db-migration.toml +4 -5
- package/presets/gemini/commands/cc/explore.toml +4 -5
- package/presets/gemini/commands/cc/feature.toml +4 -5
- package/presets/gemini/commands/cc/fix.toml +4 -5
- package/presets/gemini/commands/cc/handoff.toml +8 -5
- package/presets/gemini/commands/cc/iterative.toml +4 -5
- package/presets/gemini/commands/cc/odd.toml +4 -3
- package/presets/gemini/commands/cc/openspec.toml +25 -7
- package/presets/gemini/commands/cc/pagespeed.toml +4 -5
- package/presets/gemini/commands/cc/prototype.toml +4 -5
- package/presets/gemini/commands/cc/refactor.toml +4 -5
- package/presets/gemini/commands/cc/review.toml +4 -5
- package/presets/gemini/commands/cc/scorecard.toml +4 -5
- package/presets/gemini/commands/cc/security.toml +4 -5
- package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
- package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
- package/presets/gemini/commands/cc/test-plan.toml +4 -5
- package/presets/gemini/commands/cc/triage.toml +4 -5
- package/presets/muse/AGENTS.md +46 -0
- package/presets/muse/hooks.json +30 -0
- package/presets/opencode/commands/cc-api-contract.md +4 -5
- package/presets/opencode/commands/cc-backlog.md +4 -5
- package/presets/opencode/commands/cc-clarify.md +4 -5
- package/presets/opencode/commands/cc-council.md +6 -7
- package/presets/opencode/commands/cc-db-migration.md +4 -5
- package/presets/opencode/commands/cc-explore.md +4 -5
- package/presets/opencode/commands/cc-feature.md +4 -5
- package/presets/opencode/commands/cc-fix.md +4 -5
- package/presets/opencode/commands/cc-handoff.md +8 -5
- package/presets/opencode/commands/cc-iterative.md +4 -5
- package/presets/opencode/commands/cc-odd.md +4 -3
- package/presets/opencode/commands/cc-openspec.md +10 -9
- package/presets/opencode/commands/cc-pagespeed.md +4 -5
- package/presets/opencode/commands/cc-prototype.md +4 -5
- package/presets/opencode/commands/cc-refactor.md +4 -5
- package/presets/opencode/commands/cc-review.md +4 -5
- package/presets/opencode/commands/cc-scorecard.md +4 -5
- package/presets/opencode/commands/cc-security.md +4 -5
- package/presets/opencode/commands/cc-spec-mutation.md +4 -5
- package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
- package/presets/opencode/commands/cc-test-plan.md +4 -5
- package/presets/opencode/commands/cc-triage.md +4 -5
- package/presets/opencode/skills/openspec/SKILL.md +39 -11
- package/src/presets/manifests/codex.yml +3 -0
- package/src/presets/manifests/muse.yml +18 -0
- package/src/presets/models/muse.yml +4 -0
- package/src/presets/models/roles.yml +40 -28
- package/src/presets/targets/muse.yml +12 -0
|
@@ -11,11 +11,10 @@ Scope: {{args}}
|
|
|
11
11
|
|
|
12
12
|
Command: `scorecard` (fixed for this workflow — do not infer from user text)
|
|
13
13
|
|
|
14
|
-
1. Run: `npx cc-codeconductor ccep
|
|
15
|
-
2.
|
|
16
|
-
3.
|
|
17
|
-
4.
|
|
18
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
14
|
+
1. Run: `npx cc-codeconductor ccep profile scorecard --output json` to get the phases and their roles.
|
|
15
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command scorecard --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
16
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command scorecard --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
17
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
19
18
|
|
|
20
19
|
---
|
|
21
20
|
|
|
@@ -44,11 +44,10 @@ payloads, malware, or attack procedures.
|
|
|
44
44
|
|
|
45
45
|
Command: `security` (fixed for this workflow — do not infer from user text)
|
|
46
46
|
|
|
47
|
-
1. Run: `npx cc-codeconductor ccep
|
|
48
|
-
2.
|
|
49
|
-
3.
|
|
50
|
-
4.
|
|
51
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
47
|
+
1. Run: `npx cc-codeconductor ccep profile security --output json` to get the phases and their roles.
|
|
48
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command security --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
49
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command security --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
50
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
52
51
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
53
52
|
|
|
54
53
|
---
|
|
@@ -18,11 +18,10 @@ Describe what behavior you want to implement. Include:
|
|
|
18
18
|
|
|
19
19
|
Command: `spec-mutation` (fixed for this workflow — do not infer from user text)
|
|
20
20
|
|
|
21
|
-
1. Run: `npx cc-codeconductor ccep
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
4.
|
|
25
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
21
|
+
1. Run: `npx cc-codeconductor ccep profile spec-mutation --output json` to get the phases and their roles.
|
|
22
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command spec-mutation --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
23
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command spec-mutation --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
24
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
26
25
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
27
26
|
|
|
28
27
|
---
|
|
@@ -18,11 +18,10 @@ Describe what behavior you want to implement. Include:
|
|
|
18
18
|
|
|
19
19
|
Command: `tdd-cycle` (fixed for this workflow — do not infer from user text)
|
|
20
20
|
|
|
21
|
-
1. Run: `npx cc-codeconductor ccep
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
4.
|
|
25
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
21
|
+
1. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json` to get the phases and their roles.
|
|
22
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command tdd-cycle --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
23
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command tdd-cycle --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
24
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
26
25
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
27
26
|
|
|
28
27
|
---
|
|
@@ -21,11 +21,10 @@ proceeding.
|
|
|
21
21
|
|
|
22
22
|
Command: `test-plan` (fixed for this workflow — do not infer from user text)
|
|
23
23
|
|
|
24
|
-
1. Run: `npx cc-codeconductor ccep
|
|
25
|
-
2.
|
|
26
|
-
3.
|
|
27
|
-
4.
|
|
28
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
24
|
+
1. Run: `npx cc-codeconductor ccep profile test-plan --output json` to get the phases and their roles.
|
|
25
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command test-plan --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
26
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command test-plan --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
27
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
29
28
|
|
|
30
29
|
---
|
|
31
30
|
|
|
@@ -9,11 +9,10 @@ Triage request: {{args}}
|
|
|
9
9
|
|
|
10
10
|
Command: `triage` (fixed for this workflow — do not infer from user text)
|
|
11
11
|
|
|
12
|
-
1. Run: `npx cc-codeconductor ccep
|
|
13
|
-
2.
|
|
14
|
-
3.
|
|
15
|
-
4.
|
|
16
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
|
|
12
|
+
1. Run: `npx cc-codeconductor ccep profile triage --output json` to get the phases and their roles.
|
|
13
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command triage --phase <phase-id> "{{args}}" --view prompt --output json`
|
|
14
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command triage --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
15
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
|
|
17
16
|
|
|
18
17
|
---
|
|
19
18
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!-- CODECONDUCTOR:BEGIN managed -->
|
|
2
|
+
|
|
3
|
+
# CodeConductor — Muse Preset
|
|
4
|
+
|
|
5
|
+
This file configures CodeConductor for **Muse** (Meta's coding-agent CLI,
|
|
6
|
+
binary `muse`). It lives at the project root (`AGENTS.md`) so Muse's
|
|
7
|
+
context-file loader picks it up automatically.
|
|
8
|
+
|
|
9
|
+
## Behavioral Discipline
|
|
10
|
+
|
|
11
|
+
1. **Think Before Coding** — state assumptions; ask if uncertain; present
|
|
12
|
+
alternatives instead of picking silently.
|
|
13
|
+
2. **Simplicity First** — minimum code that solves the problem; no
|
|
14
|
+
speculative abstractions.
|
|
15
|
+
3. **Surgical Changes** — touch only what the task requires; match existing
|
|
16
|
+
style; remove only what your own change made unused.
|
|
17
|
+
4. **Goal-Driven Execution** — turn the task into a verifiable goal with a
|
|
18
|
+
success check; loop until it passes.
|
|
19
|
+
|
|
20
|
+
## Commands
|
|
21
|
+
|
|
22
|
+
CodeConductor ships its workflows as Muse skills under `.agents/skills/`,
|
|
23
|
+
invoked as `/cc:<name>` (e.g. `/cc:feature`, `/cc:review`). Run `/cc:ask
|
|
24
|
+
"<problem>"` when unsure which one applies — it recommends exactly one and
|
|
25
|
+
stops; it does not start the workflow.
|
|
26
|
+
|
|
27
|
+
Skills live under `.agents/skills/` (Muse discovers skills there natively,
|
|
28
|
+
per its own docs). Read `.agents/skills/using-cc-skills/SKILL.md` first —
|
|
29
|
+
it maps intent to the right slash command.
|
|
30
|
+
|
|
31
|
+
Where a step says "adopt the `X` role", read the matching skill under
|
|
32
|
+
`.agents/skills/` and act as that role for the rest of the step.
|
|
33
|
+
|
|
34
|
+
## What never changes
|
|
35
|
+
|
|
36
|
+
- Do not invoke the Implementer without an accepted Technical Plan.
|
|
37
|
+
- Do not skip the Reviewer step for medium- or high-risk changes.
|
|
38
|
+
- Do not store secrets in any file loaded by Muse.
|
|
39
|
+
|
|
40
|
+
## Receipt integrity
|
|
41
|
+
|
|
42
|
+
- For any implementation, test, review, handoff, or delivery decision, capture or verify the current RDD receipt with `bun run dev rdd`.
|
|
43
|
+
- A receipt is valid only for its exact candidate. If code, tests, contracts, or runner configuration changed, repeat the affected verification.
|
|
44
|
+
- TDD and Mutation Testing retain their existing gates; RDD verifies that their observed evidence still belongs to the current candidate.
|
|
45
|
+
|
|
46
|
+
<!-- CODECONDUCTOR:END managed -->
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"safety-gate": {
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"PreToolUse": [
|
|
5
|
+
{
|
|
6
|
+
"matcher": ".*",
|
|
7
|
+
"hooks": [
|
|
8
|
+
{
|
|
9
|
+
"type": "command",
|
|
10
|
+
"command": "node -e \"const fs=require('fs');const c=['.muse/hooks/invoke-hook.cjs'];const p=c.find(f=>fs.existsSync(f));if(p){require(require('path').resolve(p));}else{process.exit(0);}\" pre-tool --format=muse"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"code-formatter": {
|
|
17
|
+
"enabled": true,
|
|
18
|
+
"PostToolUse": [
|
|
19
|
+
{
|
|
20
|
+
"matcher": ".*",
|
|
21
|
+
"hooks": [
|
|
22
|
+
{
|
|
23
|
+
"type": "command",
|
|
24
|
+
"command": "node -e \"const fs=require('fs');const c=['.muse/hooks/invoke-hook.cjs'];const p=c.find(f=>fs.existsSync(f));if(p){require(require('path').resolve(p));}else{process.exit(0);}\" post-tool --format=muse"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -12,11 +12,10 @@ API contract request: $ARGUMENTS
|
|
|
12
12
|
|
|
13
13
|
Command: `api-contract` (fixed for this workflow — do not infer from user text)
|
|
14
14
|
|
|
15
|
-
1. Run: `npx cc-codeconductor ccep
|
|
16
|
-
2.
|
|
17
|
-
3.
|
|
18
|
-
4.
|
|
19
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
15
|
+
1. Run: `npx cc-codeconductor ccep profile api-contract --output json` to get the phases and their roles.
|
|
16
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command api-contract --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
17
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command api-contract --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
18
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
20
19
|
|
|
21
20
|
---
|
|
22
21
|
|
|
@@ -17,11 +17,10 @@ deliver implementation — that is `/cc-openspec`.
|
|
|
17
17
|
|
|
18
18
|
Command: `backlog` (fixed for this workflow — do not infer from user text)
|
|
19
19
|
|
|
20
|
-
1. Run: `npx cc-codeconductor ccep
|
|
21
|
-
2.
|
|
22
|
-
3.
|
|
23
|
-
4.
|
|
24
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
20
|
+
1. Run: `npx cc-codeconductor ccep profile backlog --output json` to get the phases and their roles.
|
|
21
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command backlog --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
22
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command backlog --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
23
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
25
24
|
|
|
26
25
|
---
|
|
27
26
|
|
|
@@ -10,11 +10,10 @@ Clarify request: $ARGUMENTS
|
|
|
10
10
|
|
|
11
11
|
Command: `clarify` (fixed for this workflow — do not infer from user text)
|
|
12
12
|
|
|
13
|
-
1. Run: `npx cc-codeconductor ccep
|
|
14
|
-
2.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
13
|
+
1. Run: `npx cc-codeconductor ccep profile clarify --output json` to get the phases and their roles.
|
|
14
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command clarify --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
15
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command clarify --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
16
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
18
17
|
|
|
19
18
|
---
|
|
20
19
|
|
|
@@ -11,11 +11,10 @@ Task request: $ARGUMENTS
|
|
|
11
11
|
Command: `council` (fixed for this workflow — do not infer from user text)
|
|
12
12
|
command: council
|
|
13
13
|
|
|
14
|
-
1. Run: `npx cc-codeconductor ccep
|
|
15
|
-
2.
|
|
16
|
-
3.
|
|
17
|
-
4.
|
|
18
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
14
|
+
1. Run: `npx cc-codeconductor ccep profile council --output json` to get the phases and their roles.
|
|
15
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command council --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
16
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command council --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
17
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
19
18
|
|
|
20
19
|
---
|
|
21
20
|
|
|
@@ -63,7 +62,7 @@ implementer must:
|
|
|
63
62
|
1. Write the minimal code required to pass the tests.
|
|
64
63
|
2. Touch ONLY the files specified in the Technical Plan (Surgical Changes).
|
|
65
64
|
3. NOT refactor adjacent code, change existing styles, or build speculative features.
|
|
66
|
-
4. Run the tests. Loop `implementer` -> `tester` until all tests pass (Green state).
|
|
65
|
+
4. Run the tests. Loop `implementer` -> `tester` until all tests pass (Green state), at most 3 iterations -- then stop and report the failing tests instead of looping.
|
|
67
66
|
|
|
68
67
|
---
|
|
69
68
|
|
|
@@ -75,7 +74,7 @@ The council will evaluate the diff against the 6 axes (Architecture, Security, P
|
|
|
75
74
|
|
|
76
75
|
If ANY agent votes CRITICAL (especially due to over-engineering, scope creep, or missing the verifiable goals):
|
|
77
76
|
- The Review Report status is **BLOCKED**.
|
|
78
|
-
- Return to Step 4 with the feedback.
|
|
77
|
+
- Return to Step 4 with the feedback (at most 3 review rounds in total -- then deliver the BLOCKED verdict with the unresolved findings instead of looping).
|
|
79
78
|
|
|
80
79
|
If APPROVED (no CRITICAL findings):
|
|
81
80
|
- Deliver the final Council Verdict and the diff summary.
|
|
@@ -12,11 +12,10 @@ Migration request: $ARGUMENTS
|
|
|
12
12
|
|
|
13
13
|
Command: `db-migration` (fixed for this workflow — do not infer from user text)
|
|
14
14
|
|
|
15
|
-
1. Run: `npx cc-codeconductor ccep
|
|
16
|
-
2.
|
|
17
|
-
3.
|
|
18
|
-
4.
|
|
19
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
15
|
+
1. Run: `npx cc-codeconductor ccep profile db-migration --output json` to get the phases and their roles.
|
|
16
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command db-migration --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
17
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command db-migration --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
18
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
20
19
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
21
20
|
|
|
22
21
|
---
|
|
@@ -10,11 +10,10 @@ Explore request: $ARGUMENTS
|
|
|
10
10
|
|
|
11
11
|
Command: `explore` (fixed for this workflow — do not infer from user text)
|
|
12
12
|
|
|
13
|
-
1. Run: `npx cc-codeconductor ccep
|
|
14
|
-
2.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
13
|
+
1. Run: `npx cc-codeconductor ccep profile explore --output json` to get the phases and their roles.
|
|
14
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command explore --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
15
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command explore --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
16
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
18
17
|
|
|
19
18
|
---
|
|
20
19
|
|
|
@@ -34,11 +34,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
34
34
|
|
|
35
35
|
Command: `feature` (fixed for this workflow — do not infer from user text)
|
|
36
36
|
|
|
37
|
-
1. Run: `npx cc-codeconductor ccep
|
|
38
|
-
2.
|
|
39
|
-
3.
|
|
40
|
-
4.
|
|
41
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
37
|
+
1. Run: `npx cc-codeconductor ccep profile feature --output json` to get the phases and their roles.
|
|
38
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command feature --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
39
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command feature --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
40
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
42
41
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
43
42
|
|
|
44
43
|
---
|
|
@@ -44,11 +44,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
44
44
|
|
|
45
45
|
Command: `fix` (fixed for this workflow — do not infer from user text)
|
|
46
46
|
|
|
47
|
-
1. Run: `npx cc-codeconductor ccep
|
|
48
|
-
2.
|
|
49
|
-
3.
|
|
50
|
-
4.
|
|
51
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
47
|
+
1. Run: `npx cc-codeconductor ccep profile fix --output json` to get the phases and their roles.
|
|
48
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command fix --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
49
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command fix --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
50
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
52
51
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
53
52
|
|
|
54
53
|
---
|
|
@@ -10,11 +10,10 @@ Handoff request: $ARGUMENTS
|
|
|
10
10
|
|
|
11
11
|
Command: `handoff` (fixed for this workflow — do not infer from user text)
|
|
12
12
|
|
|
13
|
-
1. Run: `npx cc-codeconductor ccep
|
|
14
|
-
2.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
13
|
+
1. Run: `npx cc-codeconductor ccep profile handoff --output json` to get the phases and their roles.
|
|
14
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command handoff --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
15
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command handoff --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
16
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
18
17
|
|
|
19
18
|
---
|
|
20
19
|
|
|
@@ -34,6 +33,10 @@ pass/fail (not log dumps), open questions, and the next `/cc-` command.
|
|
|
34
33
|
Link the Delivery Ledger and verification evidence when they exist; do not
|
|
35
34
|
repeat the original request or transcript. Do not edit source or tests.
|
|
36
35
|
|
|
36
|
+
If a Delivery Ledger exists, run `npx cc-codeconductor odd handoff --id <ledger-id> --output json`
|
|
37
|
+
and use its `handoff` envelope as the source for these fields. Secret redaction
|
|
38
|
+
still applies.
|
|
39
|
+
|
|
37
40
|
---
|
|
38
41
|
|
|
39
42
|
## Completion
|
|
@@ -12,11 +12,10 @@ Iterative request: $ARGUMENTS
|
|
|
12
12
|
|
|
13
13
|
Command: `iterative` (fixed for this workflow — do not infer from user text)
|
|
14
14
|
|
|
15
|
-
1. Run: `npx cc-codeconductor ccep
|
|
16
|
-
2.
|
|
17
|
-
3.
|
|
18
|
-
4.
|
|
19
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
15
|
+
1. Run: `npx cc-codeconductor ccep profile iterative --output json` to get the phases and their roles.
|
|
16
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command iterative --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
17
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command iterative --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
18
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
20
19
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
21
20
|
|
|
22
21
|
---
|
|
@@ -7,9 +7,10 @@ description: Create or resume an opt-in Delivery Ledger for substantial authoriz
|
|
|
7
7
|
## Step 0 — CCEP Bootstrap
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
bun run dev ccep
|
|
11
|
-
bun run dev ccep
|
|
12
|
-
bun run dev ccep profile --command odd
|
|
10
|
+
bun run dev ccep profile odd --output json
|
|
11
|
+
bun run dev ccep compile --command odd --phase <phase-id> "$ARGUMENTS" --view prompt --output json
|
|
13
12
|
```
|
|
14
13
|
|
|
14
|
+
Pass each subagent only the compiled `prompt` for its phase.
|
|
15
|
+
|
|
15
16
|
Create a ledger only after authorization and tracked coordination. Read-only and small work do not create state.
|
|
@@ -32,7 +32,7 @@ stays with the general `android` skill. Audit-only requests remain read-only, an
|
|
|
32
32
|
unavailable visual or emulator checks remain pending rather than claimed complete.
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
## Step
|
|
35
|
+
## Step 0a — Validate (mandatory gate)
|
|
36
36
|
|
|
37
37
|
Run `npx cc-codeconductor openspec validate`. If invalid, show errors and recommendations, then **STOP**.
|
|
38
38
|
|
|
@@ -42,11 +42,10 @@ Run `npx cc-codeconductor openspec validate`. If invalid, show errors and recomm
|
|
|
42
42
|
|
|
43
43
|
Command: `openspec` (fixed for this workflow — do not infer from user text)
|
|
44
44
|
|
|
45
|
-
1. Run: `npx cc-codeconductor ccep
|
|
46
|
-
2.
|
|
47
|
-
3.
|
|
48
|
-
4.
|
|
49
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
45
|
+
1. Run: `npx cc-codeconductor ccep profile openspec --output json` to get the phases and their roles.
|
|
46
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command openspec --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
47
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command openspec --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
48
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
50
49
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
51
50
|
|
|
52
51
|
---
|
|
@@ -81,7 +80,9 @@ Use `$ARGUMENTS` BC-id or `npx cc-codeconductor openspec status` for next READY
|
|
|
81
80
|
|
|
82
81
|
Run `npx cc-codeconductor openspec plan <BC-id>`. Show TaskCards and `openspec/changes/` path.
|
|
83
82
|
|
|
84
|
-
|
|
83
|
+
`plan` is planning-only: it writes TaskCards plus proposal/design/tasks/specs and stops. Before Step 4, review the plan in order — proposal → delta specs → tasks — and confirm intent, scope, testable FR/SC, and edge-case scenarios. Do not `start` any card until the plan reads correctly.
|
|
84
|
+
|
|
85
|
+
Drive status with CLI (do not edit openspec-state.json): `openspec start <cardId>`, `openspec done <cardId>`, `openspec block <cardId> --reason "…"`, `openspec sync <itemId>` (merge specs without closing, optional), `openspec verify <itemId>` (advisory pre-archive checklist), `openspec archive <itemId>` (re-checks artifacts and analyze CRITICALs).
|
|
85
86
|
|
|
86
87
|
---
|
|
87
88
|
|
|
@@ -95,7 +96,7 @@ For each pending card: `npx cc-codeconductor openspec next`, then invoke the lis
|
|
|
95
96
|
- implement → `implementer`
|
|
96
97
|
- review → `reviewer`
|
|
97
98
|
|
|
98
|
-
|
|
99
|
+
Run each phase as a subagent with isolated context. Implementer uses a git worktree. Discover is read-only (never writes code); implementer ticks `tasks.md` boxes (`- [ ]` → `- [x]`, only `x`/`X` counts). If implementation reveals a design problem, pause and reconcile planning artifacts first (any direction, planning-only, confirm each edit); if the intent changed, open a fresh item with `/cc-backlog`.
|
|
99
100
|
|
|
100
101
|
---
|
|
101
102
|
|
|
@@ -107,6 +108,6 @@ Reviewer approves or rejects against acceptance criteria. Reject → `IN_PROGRES
|
|
|
107
108
|
|
|
108
109
|
## Step 6 — Update
|
|
109
110
|
|
|
110
|
-
Mark DONE with `openspec archive <itemId>` (all cards must be done), then run `openspec scan`.
|
|
111
|
+
First `openspec verify <itemId> --output json` (advisory: confirm `archiveReady`). Mark DONE with `openspec archive <itemId>` (all cards must be done), then run `openspec scan`.
|
|
111
112
|
|
|
112
113
|
Apply skill `openspec` for format and state rules.
|
|
@@ -14,11 +14,10 @@ Audit URL: $ARGUMENTS
|
|
|
14
14
|
|
|
15
15
|
Command: `pagespeed` (fixed for this workflow — do not infer from user text)
|
|
16
16
|
|
|
17
|
-
1. Run: `npx cc-codeconductor ccep
|
|
18
|
-
2.
|
|
19
|
-
3.
|
|
20
|
-
4.
|
|
21
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
17
|
+
1. Run: `npx cc-codeconductor ccep profile pagespeed --output json` to get the phases and their roles.
|
|
18
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command pagespeed --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
19
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command pagespeed --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
20
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
22
21
|
|
|
23
22
|
---
|
|
24
23
|
|
|
@@ -10,11 +10,10 @@ Prototype request: $ARGUMENTS
|
|
|
10
10
|
|
|
11
11
|
Command: `prototype` (fixed for this workflow — do not infer from user text)
|
|
12
12
|
|
|
13
|
-
1. Run: `npx cc-codeconductor ccep
|
|
14
|
-
2.
|
|
15
|
-
3.
|
|
16
|
-
4.
|
|
17
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
13
|
+
1. Run: `npx cc-codeconductor ccep profile prototype --output json` to get the phases and their roles.
|
|
14
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command prototype --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
15
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command prototype --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
16
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
18
17
|
|
|
19
18
|
---
|
|
20
19
|
|
|
@@ -37,11 +37,10 @@ If coverage is insufficient:
|
|
|
37
37
|
|
|
38
38
|
Command: `refactor` (fixed for this workflow — do not infer from user text)
|
|
39
39
|
|
|
40
|
-
1. Run: `npx cc-codeconductor ccep
|
|
41
|
-
2.
|
|
42
|
-
3.
|
|
43
|
-
4.
|
|
44
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
40
|
+
1. Run: `npx cc-codeconductor ccep profile refactor --output json` to get the phases and their roles.
|
|
41
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command refactor --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
42
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command refactor --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
43
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
45
44
|
|
|
46
45
|
---
|
|
47
46
|
|
|
@@ -43,11 +43,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
|
|
|
43
43
|
|
|
44
44
|
Command: `review` (fixed for this workflow — do not infer from user text)
|
|
45
45
|
|
|
46
|
-
1. Run: `npx cc-codeconductor ccep
|
|
47
|
-
2.
|
|
48
|
-
3.
|
|
49
|
-
4.
|
|
50
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
46
|
+
1. Run: `npx cc-codeconductor ccep profile review --output json` to get the phases and their roles.
|
|
47
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command review --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
48
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command review --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
49
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
51
50
|
|
|
52
51
|
---
|
|
53
52
|
|
|
@@ -11,11 +11,10 @@ Scope: $ARGUMENTS
|
|
|
11
11
|
|
|
12
12
|
Command: `scorecard` (fixed for this workflow — do not infer from user text)
|
|
13
13
|
|
|
14
|
-
1. Run: `npx cc-codeconductor ccep
|
|
15
|
-
2.
|
|
16
|
-
3.
|
|
17
|
-
4.
|
|
18
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
14
|
+
1. Run: `npx cc-codeconductor ccep profile scorecard --output json` to get the phases and their roles.
|
|
15
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command scorecard --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
16
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command scorecard --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
17
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
19
18
|
|
|
20
19
|
---
|
|
21
20
|
|
|
@@ -47,11 +47,10 @@ payloads, malware, or attack procedures.
|
|
|
47
47
|
|
|
48
48
|
Command: `security` (fixed for this workflow — do not infer from user text)
|
|
49
49
|
|
|
50
|
-
1. Run: `npx cc-codeconductor ccep
|
|
51
|
-
2.
|
|
52
|
-
3.
|
|
53
|
-
4.
|
|
54
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
50
|
+
1. Run: `npx cc-codeconductor ccep profile security --output json` to get the phases and their roles.
|
|
51
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command security --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
52
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command security --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
53
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
55
54
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
56
55
|
|
|
57
56
|
---
|
|
@@ -22,11 +22,10 @@ Describe what behavior you want to implement. Include:
|
|
|
22
22
|
|
|
23
23
|
Command: `spec-mutation` (fixed for this workflow — do not infer from user text)
|
|
24
24
|
|
|
25
|
-
1. Run: `npx cc-codeconductor ccep
|
|
26
|
-
2.
|
|
27
|
-
3.
|
|
28
|
-
4.
|
|
29
|
-
5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
|
|
25
|
+
1. Run: `npx cc-codeconductor ccep profile spec-mutation --output json` to get the phases and their roles.
|
|
26
|
+
2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command spec-mutation --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
|
|
27
|
+
3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command spec-mutation --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
|
|
28
|
+
4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
|
|
30
29
|
Canonical delivery order is test-before-implement whenever both phases apply.
|
|
31
30
|
|
|
32
31
|
---
|