cc-codeconductor 1.5.0 → 1.5.1

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.
Files changed (144) hide show
  1. package/README.md +20 -7
  2. package/dist/domain/product/entities.d.ts +1 -1
  3. package/dist/index.js +521 -246
  4. package/dist/library.js +47 -3
  5. package/dist/validation/schemas.d.ts +183 -21
  6. package/docs/generated/cli.md +8 -0
  7. package/package.json +1 -1
  8. package/presets/agy/workflows/cc-api-contract.md +4 -5
  9. package/presets/agy/workflows/cc-backlog.md +4 -5
  10. package/presets/agy/workflows/cc-clarify.md +4 -5
  11. package/presets/agy/workflows/cc-council.md +4 -5
  12. package/presets/agy/workflows/cc-db-migration.md +4 -5
  13. package/presets/agy/workflows/cc-explore.md +4 -5
  14. package/presets/agy/workflows/cc-feature.md +4 -5
  15. package/presets/agy/workflows/cc-fix.md +4 -5
  16. package/presets/agy/workflows/cc-handoff.md +8 -5
  17. package/presets/agy/workflows/cc-iterative.md +4 -5
  18. package/presets/agy/workflows/cc-odd.md +4 -3
  19. package/presets/agy/workflows/cc-openspec.md +5 -6
  20. package/presets/agy/workflows/cc-pagespeed.md +4 -5
  21. package/presets/agy/workflows/cc-prototype.md +4 -5
  22. package/presets/agy/workflows/cc-refactor.md +4 -5
  23. package/presets/agy/workflows/cc-review.md +4 -5
  24. package/presets/agy/workflows/cc-scorecard.md +4 -5
  25. package/presets/agy/workflows/cc-security.md +4 -5
  26. package/presets/agy/workflows/cc-spec-mutation.md +4 -5
  27. package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
  28. package/presets/agy/workflows/cc-test-plan.md +4 -5
  29. package/presets/agy/workflows/cc-triage.md +4 -5
  30. package/presets/claude/CLAUDE.md +6 -5
  31. package/presets/claude/commands/cc/api-contract.md +4 -5
  32. package/presets/claude/commands/cc/backlog.md +4 -5
  33. package/presets/claude/commands/cc/clarify.md +4 -5
  34. package/presets/claude/commands/cc/council.md +4 -5
  35. package/presets/claude/commands/cc/db-migration.md +4 -5
  36. package/presets/claude/commands/cc/explore.md +4 -5
  37. package/presets/claude/commands/cc/feature.md +4 -5
  38. package/presets/claude/commands/cc/fix.md +4 -5
  39. package/presets/claude/commands/cc/handoff.md +8 -5
  40. package/presets/claude/commands/cc/iterative.md +4 -5
  41. package/presets/claude/commands/cc/odd.md +4 -3
  42. package/presets/claude/commands/cc/openspec.md +23 -7
  43. package/presets/claude/commands/cc/pagespeed.md +4 -5
  44. package/presets/claude/commands/cc/prototype.md +4 -5
  45. package/presets/claude/commands/cc/refactor.md +4 -5
  46. package/presets/claude/commands/cc/review.md +4 -5
  47. package/presets/claude/commands/cc/scorecard.md +4 -5
  48. package/presets/claude/commands/cc/security.md +4 -5
  49. package/presets/claude/commands/cc/spec-mutation.md +4 -5
  50. package/presets/claude/commands/cc/tdd-cycle.md +4 -5
  51. package/presets/claude/commands/cc/test-plan.md +4 -5
  52. package/presets/claude/commands/cc/triage.md +4 -5
  53. package/presets/claude/settings.json +32 -78
  54. package/presets/codex/config.toml +2 -0
  55. package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
  56. package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
  57. package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
  58. package/presets/codex/skills/cc-council/SKILL.md +10 -5
  59. package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
  60. package/presets/codex/skills/cc-explore/SKILL.md +4 -5
  61. package/presets/codex/skills/cc-feature/SKILL.md +4 -5
  62. package/presets/codex/skills/cc-fix/SKILL.md +4 -5
  63. package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
  64. package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
  65. package/presets/codex/skills/cc-odd/SKILL.md +4 -3
  66. package/presets/codex/skills/cc-openspec/SKILL.md +11 -6
  67. package/presets/codex/skills/cc-pagespeed/SKILL.md +4 -5
  68. package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
  69. package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
  70. package/presets/codex/skills/cc-review/SKILL.md +4 -5
  71. package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
  72. package/presets/codex/skills/cc-security/SKILL.md +4 -5
  73. package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
  74. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
  75. package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
  76. package/presets/codex/skills/cc-triage/SKILL.md +4 -5
  77. package/presets/cursor/commands/cc/api-contract.md +4 -5
  78. package/presets/cursor/commands/cc/backlog.md +4 -5
  79. package/presets/cursor/commands/cc/clarify.md +4 -5
  80. package/presets/cursor/commands/cc/council.md +4 -5
  81. package/presets/cursor/commands/cc/db-migration.md +4 -5
  82. package/presets/cursor/commands/cc/explore.md +4 -5
  83. package/presets/cursor/commands/cc/feature.md +4 -5
  84. package/presets/cursor/commands/cc/fix.md +4 -5
  85. package/presets/cursor/commands/cc/handoff.md +8 -5
  86. package/presets/cursor/commands/cc/iterative.md +4 -5
  87. package/presets/cursor/commands/cc/odd.md +4 -3
  88. package/presets/cursor/commands/cc/openspec.md +5 -6
  89. package/presets/cursor/commands/cc/pagespeed.md +4 -5
  90. package/presets/cursor/commands/cc/prototype.md +4 -5
  91. package/presets/cursor/commands/cc/refactor.md +4 -5
  92. package/presets/cursor/commands/cc/review.md +4 -5
  93. package/presets/cursor/commands/cc/scorecard.md +4 -5
  94. package/presets/cursor/commands/cc/security.md +4 -5
  95. package/presets/cursor/commands/cc/spec-mutation.md +4 -5
  96. package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
  97. package/presets/cursor/commands/cc/test-plan.md +4 -5
  98. package/presets/cursor/commands/cc/triage.md +4 -5
  99. package/presets/gemini/commands/cc/api-contract.toml +4 -5
  100. package/presets/gemini/commands/cc/backlog.toml +4 -5
  101. package/presets/gemini/commands/cc/clarify.toml +4 -5
  102. package/presets/gemini/commands/cc/council.toml +4 -5
  103. package/presets/gemini/commands/cc/db-migration.toml +4 -5
  104. package/presets/gemini/commands/cc/explore.toml +4 -5
  105. package/presets/gemini/commands/cc/feature.toml +4 -5
  106. package/presets/gemini/commands/cc/fix.toml +4 -5
  107. package/presets/gemini/commands/cc/handoff.toml +8 -5
  108. package/presets/gemini/commands/cc/iterative.toml +4 -5
  109. package/presets/gemini/commands/cc/odd.toml +4 -3
  110. package/presets/gemini/commands/cc/openspec.toml +5 -6
  111. package/presets/gemini/commands/cc/pagespeed.toml +4 -5
  112. package/presets/gemini/commands/cc/prototype.toml +4 -5
  113. package/presets/gemini/commands/cc/refactor.toml +4 -5
  114. package/presets/gemini/commands/cc/review.toml +4 -5
  115. package/presets/gemini/commands/cc/scorecard.toml +4 -5
  116. package/presets/gemini/commands/cc/security.toml +4 -5
  117. package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
  118. package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
  119. package/presets/gemini/commands/cc/test-plan.toml +4 -5
  120. package/presets/gemini/commands/cc/triage.toml +4 -5
  121. package/presets/opencode/commands/cc-api-contract.md +4 -5
  122. package/presets/opencode/commands/cc-backlog.md +4 -5
  123. package/presets/opencode/commands/cc-clarify.md +4 -5
  124. package/presets/opencode/commands/cc-council.md +4 -5
  125. package/presets/opencode/commands/cc-db-migration.md +4 -5
  126. package/presets/opencode/commands/cc-explore.md +4 -5
  127. package/presets/opencode/commands/cc-feature.md +4 -5
  128. package/presets/opencode/commands/cc-fix.md +4 -5
  129. package/presets/opencode/commands/cc-handoff.md +8 -5
  130. package/presets/opencode/commands/cc-iterative.md +4 -5
  131. package/presets/opencode/commands/cc-odd.md +4 -3
  132. package/presets/opencode/commands/cc-openspec.md +6 -7
  133. package/presets/opencode/commands/cc-pagespeed.md +4 -5
  134. package/presets/opencode/commands/cc-prototype.md +4 -5
  135. package/presets/opencode/commands/cc-refactor.md +4 -5
  136. package/presets/opencode/commands/cc-review.md +4 -5
  137. package/presets/opencode/commands/cc-scorecard.md +4 -5
  138. package/presets/opencode/commands/cc-security.md +4 -5
  139. package/presets/opencode/commands/cc-spec-mutation.md +4 -5
  140. package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
  141. package/presets/opencode/commands/cc-test-plan.md +4 -5
  142. package/presets/opencode/commands/cc-triage.md +4 -5
  143. package/src/presets/manifests/codex.yml +3 -0
  144. package/src/presets/models/roles.yml +26 -28
@@ -9,11 +9,10 @@ API contract request: {{args}}
9
9
 
10
10
  Command: `api-contract` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command api-contract "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command api-contract "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile api-contract --output json`
15
- 4. 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.
16
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile api-contract --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command api-contract --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
 
18
17
  ---
19
18
 
@@ -14,11 +14,10 @@ deliver implementation — that is `/cc-openspec`.
14
14
 
15
15
  Command: `backlog` (fixed for this workflow — do not infer from user text)
16
16
 
17
- 1. Run: `npx cc-codeconductor ccep parse --command backlog "{{args}}" --output json`
18
- 2. Run: `npx cc-codeconductor ccep resolve --command backlog "{{args}}" --output json`
19
- 3. Run: `npx cc-codeconductor ccep profile backlog --output json`
20
- 4. 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.
21
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
17
+ 1. Run: `npx cc-codeconductor ccep profile backlog --output json` to get the phases and their roles.
18
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command backlog --phase <phase-id> "{{args}}" --view prompt --output json`
19
+ 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.
20
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
22
21
 
23
22
  ---
24
23
 
@@ -9,11 +9,10 @@ Clarify request: {{args}}
9
9
 
10
10
  Command: `clarify` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command clarify "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command clarify "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile clarify --output json`
15
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile clarify --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command clarify --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
 
18
17
  ---
19
18
 
@@ -10,11 +10,10 @@ Task request: {{args}}
10
10
  Command: `council` (fixed for this workflow — do not infer from user text)
11
11
  command: council
12
12
 
13
- 1. Run: `npx cc-codeconductor ccep parse --command council "{{args}}" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command council "{{args}}" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile council --output json`
16
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
13
+ 1. Run: `npx cc-codeconductor ccep profile council --output json` to get the phases and their roles.
14
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command council --phase <phase-id> "{{args}}" --view prompt --output json`
15
+ 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.
16
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
18
17
 
19
18
  ---
20
19
 
@@ -9,11 +9,10 @@ Migration request: {{args}}
9
9
 
10
10
  Command: `db-migration` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command db-migration "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command db-migration "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile db-migration --output json`
15
- 4. 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.
16
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile db-migration --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command db-migration --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
  Canonical delivery order is test-before-implement whenever both phases apply.
18
17
 
19
18
  ---
@@ -9,11 +9,10 @@ Explore request: {{args}}
9
9
 
10
10
  Command: `explore` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command explore "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command explore "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile explore --output json`
15
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile explore --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command explore --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
 
18
17
  ---
19
18
 
@@ -33,11 +33,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
33
33
 
34
34
  Command: `feature` (fixed for this workflow — do not infer from user text)
35
35
 
36
- 1. Run: `npx cc-codeconductor ccep parse --command feature "{{args}}" --output json`
37
- 2. Run: `npx cc-codeconductor ccep resolve --command feature "{{args}}" --output json`
38
- 3. Run: `npx cc-codeconductor ccep profile feature --output json`
39
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
36
+ 1. Run: `npx cc-codeconductor ccep profile feature --output json` to get the phases and their roles.
37
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command feature --phase <phase-id> "{{args}}" --view prompt --output json`
38
+ 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.
39
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
41
40
  Canonical delivery order is test-before-implement whenever both phases apply.
42
41
 
43
42
  ---
@@ -41,11 +41,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
41
41
 
42
42
  Command: `fix` (fixed for this workflow — do not infer from user text)
43
43
 
44
- 1. Run: `npx cc-codeconductor ccep parse --command fix "{{args}}" --output json`
45
- 2. Run: `npx cc-codeconductor ccep resolve --command fix "{{args}}" --output json`
46
- 3. Run: `npx cc-codeconductor ccep profile fix --output json`
47
- 4. 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.
48
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
44
+ 1. Run: `npx cc-codeconductor ccep profile fix --output json` to get the phases and their roles.
45
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command fix --phase <phase-id> "{{args}}" --view prompt --output json`
46
+ 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.
47
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
49
48
  Canonical delivery order is test-before-implement whenever both phases apply.
50
49
 
51
50
  ---
@@ -9,11 +9,10 @@ Handoff request: {{args}}
9
9
 
10
10
  Command: `handoff` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command handoff "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command handoff "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile handoff --output json`
15
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile handoff --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command handoff --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
 
18
17
  ---
19
18
 
@@ -32,6 +31,10 @@ pass/fail (not log dumps), open questions, the next `/cc:` command, plus links
32
31
  to the Delivery Ledger and verification evidence when they exist. Do not repeat
33
32
  the original request or transcript.
34
33
 
34
+ If a Delivery Ledger exists, run `npx cc-codeconductor odd handoff --id <ledger-id> --output json`
35
+ and use its `handoff` envelope as the source for these fields. Secret redaction
36
+ still applies.
37
+
35
38
  Do not edit source or tests.
36
39
 
37
40
  ---
@@ -11,11 +11,10 @@ Iterative request: {{args}}
11
11
 
12
12
  Command: `iterative` (fixed for this workflow — do not infer from user text)
13
13
 
14
- 1. Run: `npx cc-codeconductor ccep parse --command iterative "{{args}}" --output json`
15
- 2. Run: `npx cc-codeconductor ccep resolve --command iterative "{{args}}" --output json`
16
- 3. Run: `npx cc-codeconductor ccep profile iterative --output json`
17
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
14
+ 1. Run: `npx cc-codeconductor ccep profile iterative --output json` to get the phases and their roles.
15
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command iterative --phase <phase-id> "{{args}}" --view prompt --output json`
16
+ 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.
17
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
19
18
  Canonical delivery order is test-before-implement whenever both phases apply.
20
19
 
21
20
  ---
@@ -6,11 +6,12 @@ prompt = """
6
6
  ## Step 0 — CCEP Bootstrap
7
7
 
8
8
  ```bash
9
- bun run dev ccep parse --command odd "{{args}}"
10
- bun run dev ccep resolve --command odd "{{args}}"
11
- bun run dev ccep profile --command odd
9
+ bun run dev ccep profile odd --output json
10
+ bun run dev ccep compile --command odd --phase <phase-id> "{{args}}" --view prompt --output json
12
11
  ```
13
12
 
13
+ Pass each subagent only the compiled `prompt` for its phase.
14
+
14
15
  Create a ledger only after authorization and tracked coordination. Read-only and small work do not create state.
15
16
 
16
17
  When ODD has verification evidence, include its RDD receipt in the ledger
@@ -37,11 +37,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
37
37
 
38
38
  Command: `openspec` (fixed for this workflow — do not infer from user text)
39
39
 
40
- 1. Run: `npx cc-codeconductor ccep parse --command openspec "{{args}}" --output json`
41
- 2. Run: `npx cc-codeconductor ccep resolve --command openspec "{{args}}" --output json`
42
- 3. Run: `npx cc-codeconductor ccep profile openspec --output json`
43
- 4. 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.
44
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
40
+ 1. Run: `npx cc-codeconductor ccep profile openspec --output json` to get the phases and their roles.
41
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command openspec --phase <phase-id> "{{args}}" --view prompt --output json`
42
+ 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.
43
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
45
44
  Canonical delivery order is test-before-implement whenever both phases apply.
46
45
 
47
46
  ---
@@ -152,7 +151,7 @@ For each pending TaskCard, run:
152
151
  npx cc-codeconductor openspec next
153
152
  ```
154
153
 
155
- Invoke the agent named on the card with **isolated** context (`/clear` between phases unless continuation is required):
154
+ Invoke the agent named on the card as a subagent with **isolated** context (subagents already start fresh; do not `/clear` the main session between phases):
156
155
 
157
156
  | Phase | Agent | Role |
158
157
  |-------|-------|------|
@@ -11,11 +11,10 @@ Produces a prioritized report in the current working directory.
11
11
 
12
12
  Command: `pagespeed` (fixed for this workflow — do not infer from user text)
13
13
 
14
- 1. Run: `npx cc-codeconductor ccep parse --command pagespeed "{{args}}" --output json`
15
- 2. Run: `npx cc-codeconductor ccep resolve --command pagespeed "{{args}}" --output json`
16
- 3. Run: `npx cc-codeconductor ccep profile pagespeed --output json`
17
- 4. 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.
18
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
14
+ 1. Run: `npx cc-codeconductor ccep profile pagespeed --output json` to get the phases and their roles.
15
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command pagespeed --phase <phase-id> "{{args}}" --view prompt --output json`
16
+ 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.
17
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
19
18
 
20
19
  ---
21
20
 
@@ -9,11 +9,10 @@ Prototype request: {{args}}
9
9
 
10
10
  Command: `prototype` (fixed for this workflow — do not infer from user text)
11
11
 
12
- 1. Run: `npx cc-codeconductor ccep parse --command prototype "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command prototype "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile prototype --output json`
15
- 4. 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
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
12
+ 1. Run: `npx cc-codeconductor ccep profile prototype --output json` to get the phases and their roles.
13
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command prototype --phase <phase-id> "{{args}}" --view prompt --output json`
14
+ 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.
15
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
17
16
 
18
17
  ---
19
18
 
@@ -34,11 +34,10 @@ If coverage is insufficient:
34
34
 
35
35
  Command: `refactor` (fixed for this workflow — do not infer from user text)
36
36
 
37
- 1. Run: `npx cc-codeconductor ccep parse --command refactor "{{args}}" --output json`
38
- 2. Run: `npx cc-codeconductor ccep resolve --command refactor "{{args}}" --output json`
39
- 3. Run: `npx cc-codeconductor ccep profile refactor --output json`
40
- 4. 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.
41
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
37
+ 1. Run: `npx cc-codeconductor ccep profile refactor --output json` to get the phases and their roles.
38
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command refactor --phase <phase-id> "{{args}}" --view prompt --output json`
39
+ 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.
40
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
42
41
 
43
42
  ---
44
43
 
@@ -40,11 +40,10 @@ unavailable visual or emulator checks remain pending rather than claimed complet
40
40
 
41
41
  Command: `review` (fixed for this workflow — do not infer from user text)
42
42
 
43
- 1. Run: `npx cc-codeconductor ccep parse --command review "{{args}}" --output json`
44
- 2. Run: `npx cc-codeconductor ccep resolve --command review "{{args}}" --output json`
45
- 3. Run: `npx cc-codeconductor ccep profile review --output json`
46
- 4. 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.
47
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `{{args}}` to planners.
43
+ 1. Run: `npx cc-codeconductor ccep profile review --output json` to get the phases and their roles.
44
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command review --phase <phase-id> "{{args}}" --view prompt --output json`
45
+ 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.
46
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `{{args}}` to planners.
48
47
 
49
48
  ---
50
49
 
@@ -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 parse --command scorecard "{{args}}" --output json`
15
- 2. Run: `npx cc-codeconductor ccep resolve --command scorecard "{{args}}" --output json`
16
- 3. Run: `npx cc-codeconductor ccep profile scorecard --output json`
17
- 4. 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.
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 parse --command security "{{args}}" --output json`
48
- 2. Run: `npx cc-codeconductor ccep resolve --command security "{{args}}" --output json`
49
- 3. Run: `npx cc-codeconductor ccep profile security --output json`
50
- 4. 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.
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 parse --command spec-mutation "{{args}}" --output json`
22
- 2. Run: `npx cc-codeconductor ccep resolve --command spec-mutation "{{args}}" --output json`
23
- 3. Run: `npx cc-codeconductor ccep profile spec-mutation --output json`
24
- 4. 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.
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 parse --command tdd-cycle "{{args}}" --output json`
22
- 2. Run: `npx cc-codeconductor ccep resolve --command tdd-cycle "{{args}}" --output json`
23
- 3. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json`
24
- 4. 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.
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 parse --command test-plan "{{args}}" --output json`
25
- 2. Run: `npx cc-codeconductor ccep resolve --command test-plan "{{args}}" --output json`
26
- 3. Run: `npx cc-codeconductor ccep profile test-plan --output json`
27
- 4. 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.
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 parse --command triage "{{args}}" --output json`
13
- 2. Run: `npx cc-codeconductor ccep resolve --command triage "{{args}}" --output json`
14
- 3. Run: `npx cc-codeconductor ccep profile triage --output json`
15
- 4. 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.
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
 
@@ -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 parse --command api-contract "$ARGUMENTS" --output json`
16
- 2. Run: `npx cc-codeconductor ccep resolve --command api-contract "$ARGUMENTS" --output json`
17
- 3. Run: `npx cc-codeconductor ccep profile api-contract --output json`
18
- 4. 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.
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 parse --command backlog "$ARGUMENTS" --output json`
21
- 2. Run: `npx cc-codeconductor ccep resolve --command backlog "$ARGUMENTS" --output json`
22
- 3. Run: `npx cc-codeconductor ccep profile backlog --output json`
23
- 4. 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.
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 parse --command clarify "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command clarify "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile clarify --output json`
16
- 4. 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.
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 parse --command council "$ARGUMENTS" --output json`
15
- 2. Run: `npx cc-codeconductor ccep resolve --command council "$ARGUMENTS" --output json`
16
- 3. Run: `npx cc-codeconductor ccep profile council --output json`
17
- 4. 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.
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
 
@@ -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 parse --command db-migration "$ARGUMENTS" --output json`
16
- 2. Run: `npx cc-codeconductor ccep resolve --command db-migration "$ARGUMENTS" --output json`
17
- 3. Run: `npx cc-codeconductor ccep profile db-migration --output json`
18
- 4. 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.
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 parse --command explore "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command explore "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile explore --output json`
16
- 4. 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.
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 parse --command feature "$ARGUMENTS" --output json`
38
- 2. Run: `npx cc-codeconductor ccep resolve --command feature "$ARGUMENTS" --output json`
39
- 3. Run: `npx cc-codeconductor ccep profile feature --output json`
40
- 4. 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.
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 parse --command fix "$ARGUMENTS" --output json`
48
- 2. Run: `npx cc-codeconductor ccep resolve --command fix "$ARGUMENTS" --output json`
49
- 3. Run: `npx cc-codeconductor ccep profile fix --output json`
50
- 4. 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.
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
  ---