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
@@ -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 parse --command handoff "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command handoff "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile handoff --output json`
16
- 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.
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 parse --command iterative "$ARGUMENTS" --output json`
16
- 2. Run: `npx cc-codeconductor ccep resolve --command iterative "$ARGUMENTS" --output json`
17
- 3. Run: `npx cc-codeconductor ccep profile iterative --output json`
18
- 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.
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 parse --command odd "$ARGUMENTS"
11
- bun run dev ccep resolve --command odd "$ARGUMENTS"
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 0 — Validate (mandatory gate)
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 parse --command openspec "$ARGUMENTS" --output json`
46
- 2. Run: `npx cc-codeconductor ccep resolve --command openspec "$ARGUMENTS" --output json`
47
- 3. Run: `npx cc-codeconductor ccep profile openspec --output json`
48
- 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.
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
  ---
@@ -95,7 +94,7 @@ For each pending card: `npx cc-codeconductor openspec next`, then invoke the lis
95
94
  - implement → `implementer`
96
95
  - review → `reviewer`
97
96
 
98
- Use isolated context (`/clear` between phases). Implementer uses a git worktree.
97
+ Run each phase as a subagent with isolated context. Implementer uses a git worktree.
99
98
 
100
99
  ---
101
100
 
@@ -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 parse --command pagespeed "$ARGUMENTS" --output json`
18
- 2. Run: `npx cc-codeconductor ccep resolve --command pagespeed "$ARGUMENTS" --output json`
19
- 3. Run: `npx cc-codeconductor ccep profile pagespeed --output json`
20
- 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.
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 parse --command prototype "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command prototype "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile prototype --output json`
16
- 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.
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 parse --command refactor "$ARGUMENTS" --output json`
41
- 2. Run: `npx cc-codeconductor ccep resolve --command refactor "$ARGUMENTS" --output json`
42
- 3. Run: `npx cc-codeconductor ccep profile refactor --output json`
43
- 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.
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 parse --command review "$ARGUMENTS" --output json`
47
- 2. Run: `npx cc-codeconductor ccep resolve --command review "$ARGUMENTS" --output json`
48
- 3. Run: `npx cc-codeconductor ccep profile review --output json`
49
- 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.
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 parse --command scorecard "$ARGUMENTS" --output json`
15
- 2. Run: `npx cc-codeconductor ccep resolve --command scorecard "$ARGUMENTS" --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 `$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 parse --command security "$ARGUMENTS" --output json`
51
- 2. Run: `npx cc-codeconductor ccep resolve --command security "$ARGUMENTS" --output json`
52
- 3. Run: `npx cc-codeconductor ccep profile security --output json`
53
- 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.
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 parse --command spec-mutation "$ARGUMENTS" --output json`
26
- 2. Run: `npx cc-codeconductor ccep resolve --command spec-mutation "$ARGUMENTS" --output json`
27
- 3. Run: `npx cc-codeconductor ccep profile spec-mutation --output json`
28
- 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.
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
  ---
@@ -21,11 +21,10 @@ Describe what behavior you want to implement. Include:
21
21
 
22
22
  Command: `tdd-cycle` (fixed for this workflow — do not infer from user text)
23
23
 
24
- 1. Run: `npx cc-codeconductor ccep parse --command tdd-cycle "$ARGUMENTS" --output json`
25
- 2. Run: `npx cc-codeconductor ccep resolve --command tdd-cycle "$ARGUMENTS" --output json`
26
- 3. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json`
27
- 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.
28
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
24
+ 1. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json` to get the phases and their roles.
25
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command tdd-cycle --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
26
+ 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.
27
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
29
28
  Canonical delivery order is test-before-implement whenever both phases apply.
30
29
 
31
30
  ---
@@ -24,11 +24,10 @@ If $ARGUMENTS is empty, describe the scope in your next message before invoking
24
24
 
25
25
  Command: `test-plan` (fixed for this workflow — do not infer from user text)
26
26
 
27
- 1. Run: `npx cc-codeconductor ccep parse --command test-plan "$ARGUMENTS" --output json`
28
- 2. Run: `npx cc-codeconductor ccep resolve --command test-plan "$ARGUMENTS" --output json`
29
- 3. Run: `npx cc-codeconductor ccep profile test-plan --output json`
30
- 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.
31
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
27
+ 1. Run: `npx cc-codeconductor ccep profile test-plan --output json` to get the phases and their roles.
28
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command test-plan --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
29
+ 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.
30
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
32
31
 
33
32
  ---
34
33
 
@@ -10,11 +10,10 @@ Triage request: $ARGUMENTS
10
10
 
11
11
  Command: `triage` (fixed for this workflow — do not infer from user text)
12
12
 
13
- 1. Run: `npx cc-codeconductor ccep parse --command triage "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command triage "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile triage --output json`
16
- 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.
17
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
13
+ 1. Run: `npx cc-codeconductor ccep profile triage --output json` to get the phases and their roles.
14
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command triage --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
15
+ 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.
16
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
18
17
 
19
18
  ---
20
19
 
@@ -1,5 +1,8 @@
1
1
  target: codex
2
2
  entries:
3
+ - src: codex/config.toml
4
+ dest: .codex/config.toml
5
+ strategy: create-only
3
6
  - src: codex/AGENTS.md
4
7
  dest: .codex/AGENTS.md
5
8
  strategy: merge-managed
@@ -9,62 +9,60 @@
9
9
  # (opencode only) a `permissions:` override — opencode uses permission
10
10
  # blocks instead of tool-name substitution.
11
11
  #
12
- # `pi:` values are copied verbatim from `claude:` — Pi is provider-agnostic
13
- # and Anthropic model IDs are stable across clients (verified against
14
- # https://github.com/earendil-works/pi docs, not against a live install; see
15
- # docs/harness-spec.md and the Fase 3 risk note).
12
+ # `pi:` is maintained separately; this routing change only targets Claude Code
13
+ # and Codex.
16
14
 
17
15
  agents:
18
16
  architect:
19
- claude: claude-opus-5
17
+ claude: claude-sonnet-5-5
20
18
  pi: claude-opus-5
21
19
  opencode: opencode-go/deepseek-v4.1-flash
22
- codex: gpt-5.6-sol
20
+ codex: gpt-6.1-sol
23
21
  gemini: gemini-3.1-pro-preview
24
22
  cursor: claude-opus-5-thinking-high
25
23
  grok: cursor-grok-4.6-high-fast
26
24
  agy: gemini-3.1-pro-high
27
25
  implementer:
28
- claude: claude-sonnet-5
26
+ claude: claude-sonnet-5-5
29
27
  pi: claude-sonnet-5
30
28
  opencode: opencode-go/mimo-v2.6-flash
31
- codex: gpt-5.6-terra
29
+ codex: gpt-6.1-sol
32
30
  gemini: gemini-3.7-flash
33
31
  cursor: composer-2.5-fast
34
32
  grok: cursor-grok-4.6-high-fast
35
33
  agy: claude-sonnet-4-6
36
34
  tester:
37
- claude: claude-sonnet-5
35
+ claude: claude-sonnet-5-5
38
36
  pi: claude-sonnet-5
39
37
  opencode: opencode-go/mimo-v2.6-flash
40
- codex: gpt-5.6-terra
38
+ codex: gpt-6.1-sol
41
39
  gemini: gemini-3.7-flash
42
40
  cursor: composer-2.5-fast
43
41
  grok: cursor-grok-4.6-high-fast
44
42
  agy: claude-sonnet-4-6
45
43
  orchestrator:
46
- claude: claude-sonnet-5
44
+ claude: claude-sonnet-5-5
47
45
  pi: claude-sonnet-5
48
46
  opencode: opencode-go/deepseek-v4.1-flash
49
- codex: gpt-5.6-terra
47
+ codex: gpt-6.1-sol
50
48
  gemini: gemini-3.7-flash
51
49
  cursor: composer-2.5
52
50
  grok: cursor-grok-4.6-high-fast
53
51
  agy: claude-sonnet-4-6
54
52
  reviewer:
55
- claude: claude-opus-5
53
+ claude: claude-sonnet-5-5
56
54
  pi: claude-opus-5
57
55
  opencode: opencode-go/deepseek-v4.1-flash
58
- codex: gpt-5.6-sol
56
+ codex: gpt-6.1-sol
59
57
  gemini: gemini-3.1-pro-preview
60
58
  cursor: claude-sonnet-5-thinking-high
61
59
  grok: cursor-grok-4.6-high-fast
62
60
  agy: gemini-3.1-pro-high
63
61
  docs:
64
- claude: claude-haiku-4-5-20251001
62
+ claude: claude-sonnet-5-5
65
63
  pi: claude-haiku-4-5-20251001
66
64
  opencode: opencode-go/muse-spark-1.3-contributor
67
- codex: gpt-5.6-luna
65
+ codex: gpt-6.1-sol
68
66
  gemini: gemini-3.7-flash
69
67
  cursor: claude-4.5-haiku-thinking
70
68
  grok: cursor-grok-4.6-high-fast
@@ -73,7 +71,7 @@ agents:
73
71
  claude: claude-haiku-4-5-20251001
74
72
  pi: claude-haiku-4-5-20251001
75
73
  opencode: opencode-go/glm-5.3-flash
76
- codex: gpt-5.6-luna
74
+ codex: gpt-6.1-sol
77
75
  gemini: gemini-3.7-flash
78
76
  cursor: claude-4.5-haiku-thinking
79
77
  grok: cursor-grok-4.6-high-fast
@@ -82,7 +80,7 @@ agents:
82
80
  claude: claude-haiku-4-5-20251001
83
81
  pi: claude-haiku-4-5-20251001
84
82
  opencode: opencode-go/glm-5.3-flash
85
- codex: gpt-5.6-luna
83
+ codex: gpt-6.1-sol
86
84
  gemini: gemini-3.7-flash
87
85
  cursor: composer-2.5-fast
88
86
  grok: cursor-grok-4.6-high-fast
@@ -91,34 +89,34 @@ agents:
91
89
  claude: claude-haiku-4-5-20251001
92
90
  pi: claude-haiku-4-5-20251001
93
91
  opencode: opencode-go/deepseek-v4.1-flash
94
- codex: gpt-5.6-luna
92
+ codex: gpt-6.1-sol
95
93
  gemini: gemini-3.7-flash
96
94
  cursor: claude-4.5-haiku-thinking
97
95
  grok: cursor-grok-4.6-high-fast
98
96
  agy: gemini-3.8-flash-medium
99
97
  complexity-auditor:
100
- claude: claude-sonnet-5
98
+ claude: claude-sonnet-5-5
101
99
  pi: claude-sonnet-5
102
100
  opencode: opencode-go/glm-5.3-flash
103
- codex: gpt-5.6-terra
101
+ codex: gpt-6.1-sol
104
102
  gemini: gemini-3.7-flash
105
103
  cursor: claude-sonnet-5-thinking-high
106
104
  grok: cursor-grok-4.6-high-fast
107
105
  agy: claude-sonnet-4-6
108
106
  security-reviewer:
109
- claude: claude-opus-5
107
+ claude: claude-sonnet-5-5
110
108
  pi: claude-opus-5
111
109
  opencode: opencode-go/glm-5.3-flash
112
- codex: gpt-5.6-sol
110
+ codex: gpt-6.1-sol
113
111
  gemini: gemini-3.1-pro-preview
114
112
  cursor: claude-opus-5-thinking-high
115
113
  grok: cursor-grok-4.6-high-fast
116
114
  agy: gemini-3.1-pro-high
117
115
  contract-builder:
118
- claude: claude-opus-5
116
+ claude: claude-sonnet-5-5
119
117
  pi: claude-opus-5
120
118
  opencode: opencode-go/deepseek-v4.1-flash
121
- codex: gpt-5.6-sol
119
+ codex: gpt-6.1-sol
122
120
  gemini: gemini-3.1-pro-preview
123
121
  cursor: claude-sonnet-5-thinking-high
124
122
  grok: cursor-grok-4.6-high-fast
@@ -127,16 +125,16 @@ agents:
127
125
  claude: claude-haiku-4-5-20251001
128
126
  pi: claude-haiku-4-5-20251001
129
127
  opencode: opencode-go/deepseek-v4.1-flash
130
- codex: gpt-5.6-luna
128
+ codex: gpt-6.1-sol
131
129
  gemini: gemini-3.7-flash
132
130
  cursor: claude-4.5-haiku-thinking
133
131
  grok: cursor-grok-4.6-high-fast
134
132
  agy: gemini-3.8-flash-medium
135
133
  devil:
136
- claude: claude-opus-5
134
+ claude: claude-sonnet-5-5
137
135
  pi: claude-opus-5
138
136
  opencode: opencode-go/glm-5.3-flash
139
- codex: gpt-5.6-sol
137
+ codex: gpt-6.1-sol
140
138
  gemini: gemini-3.1-pro-preview
141
139
  cursor: claude-opus-5-thinking-high
142
140
  grok: cursor-grok-4.6-high-fast