cc-codeconductor 1.4.2 → 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 (305) hide show
  1. package/README.md +52 -14
  2. package/dist/domain/product/entities.d.ts +1 -1
  3. package/dist/index.js +811 -354
  4. package/dist/library.js +47 -3
  5. package/dist/validation/schemas.d.ts +183 -21
  6. package/docs/generated/cli.md +16 -0
  7. package/package.json +1 -1
  8. package/presets/agy/README.md +1 -1
  9. package/presets/agy/hooks.json +1 -1
  10. package/presets/agy/scripts/invoke-hook.cjs +20 -5
  11. package/presets/agy/settings.json +1 -1
  12. package/presets/agy/skills/api-versioning/SKILL.md +394 -0
  13. package/presets/agy/skills/astro/SKILL.md +318 -0
  14. package/presets/agy/skills/auth-token-inspector/SKILL.md +30 -0
  15. package/presets/agy/skills/cc-pagespeed/SKILL.md +2 -3
  16. package/presets/agy/skills/code-review/SKILL.md +207 -0
  17. package/presets/agy/skills/django-orm/SKILL.md +460 -0
  18. package/presets/agy/skills/django-uv/SKILL.md +405 -0
  19. package/presets/agy/skills/drizzle-schema-architect/SKILL.md +50 -0
  20. package/presets/agy/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  21. package/presets/agy/skills/jpa-nplusone-detector/SKILL.md +45 -0
  22. package/presets/agy/skills/jpa-postgres/SKILL.md +623 -0
  23. package/presets/agy/skills/livewire-alpine-bridge/SKILL.md +35 -0
  24. package/presets/agy/skills/nextjs-typescript/SKILL.md +390 -0
  25. package/presets/agy/skills/python/SKILL.md +611 -0
  26. package/presets/agy/skills/seo-analytics-injector/SKILL.md +43 -0
  27. package/presets/agy/skills/spring-auth-auditor/SKILL.md +29 -0
  28. package/presets/agy/skills/spring-boot-feature/SKILL.md +563 -0
  29. package/presets/agy/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  30. package/presets/agy/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  31. package/presets/agy/skills/tdd-mutation-tester/SKILL.md +27 -0
  32. package/presets/agy/workflows/cc-api-contract.md +4 -5
  33. package/presets/agy/workflows/cc-backlog.md +4 -5
  34. package/presets/agy/workflows/cc-clarify.md +4 -5
  35. package/presets/agy/workflows/cc-council.md +4 -5
  36. package/presets/agy/workflows/cc-db-migration.md +4 -5
  37. package/presets/agy/workflows/cc-explore.md +4 -5
  38. package/presets/agy/workflows/cc-feature.md +4 -5
  39. package/presets/agy/workflows/cc-fix.md +4 -5
  40. package/presets/agy/workflows/cc-handoff.md +8 -5
  41. package/presets/agy/workflows/cc-iterative.md +4 -5
  42. package/presets/agy/workflows/cc-odd.md +4 -3
  43. package/presets/agy/workflows/cc-openspec.md +5 -6
  44. package/presets/agy/workflows/cc-pagespeed.md +6 -8
  45. package/presets/agy/workflows/cc-prototype.md +4 -5
  46. package/presets/agy/workflows/cc-refactor.md +4 -5
  47. package/presets/agy/workflows/cc-review.md +35 -5
  48. package/presets/agy/workflows/cc-scorecard.md +4 -5
  49. package/presets/agy/workflows/cc-security.md +5 -6
  50. package/presets/agy/workflows/cc-spec-mutation.md +4 -5
  51. package/presets/agy/workflows/cc-tdd-cycle.md +4 -5
  52. package/presets/agy/workflows/cc-test-plan.md +4 -5
  53. package/presets/agy/workflows/cc-triage.md +4 -5
  54. package/presets/claude/CLAUDE.md +6 -5
  55. package/presets/claude/commands/cc/api-contract.md +4 -5
  56. package/presets/claude/commands/cc/backlog.md +4 -5
  57. package/presets/claude/commands/cc/clarify.md +4 -5
  58. package/presets/claude/commands/cc/council.md +4 -5
  59. package/presets/claude/commands/cc/db-migration.md +4 -5
  60. package/presets/claude/commands/cc/explore.md +4 -5
  61. package/presets/claude/commands/cc/feature.md +4 -5
  62. package/presets/claude/commands/cc/fix.md +4 -5
  63. package/presets/claude/commands/cc/handoff.md +8 -5
  64. package/presets/claude/commands/cc/iterative.md +4 -5
  65. package/presets/claude/commands/cc/odd.md +4 -3
  66. package/presets/claude/commands/cc/openspec.md +23 -7
  67. package/presets/claude/commands/cc/pagespeed.md +4 -5
  68. package/presets/claude/commands/cc/prototype.md +4 -5
  69. package/presets/claude/commands/cc/refactor.md +4 -5
  70. package/presets/claude/commands/cc/review.md +37 -5
  71. package/presets/claude/commands/cc/scorecard.md +4 -5
  72. package/presets/claude/commands/cc/security.md +4 -5
  73. package/presets/claude/commands/cc/spec-mutation.md +4 -5
  74. package/presets/claude/commands/cc/tdd-cycle.md +4 -5
  75. package/presets/claude/commands/cc/test-plan.md +4 -5
  76. package/presets/claude/commands/cc/triage.md +4 -5
  77. package/presets/claude/settings.json +33 -79
  78. package/presets/claude/skills/android/SKILL.md +1 -1
  79. package/presets/claude/skills/api-versioning/SKILL.md +1 -1
  80. package/presets/claude/skills/astro/SKILL.md +318 -0
  81. package/presets/claude/skills/auth-token-inspector/SKILL.md +30 -0
  82. package/presets/claude/skills/code-review/SKILL.md +207 -0
  83. package/presets/claude/skills/django-orm/SKILL.md +1 -1
  84. package/presets/claude/skills/django-testing/SKILL.md +1 -1
  85. package/presets/claude/skills/django-uv/SKILL.md +405 -0
  86. package/presets/claude/skills/drizzle-schema-architect/SKILL.md +50 -0
  87. package/presets/claude/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  88. package/presets/claude/skills/jpa-nplusone-detector/SKILL.md +45 -0
  89. package/presets/claude/skills/jpa-postgres/SKILL.md +1 -1
  90. package/presets/claude/skills/livewire-alpine-bridge/SKILL.md +35 -0
  91. package/presets/claude/skills/nextjs-typescript/SKILL.md +390 -0
  92. package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -1
  93. package/presets/claude/skills/python/SKILL.md +1 -1
  94. package/presets/claude/skills/python-django-stack/SKILL.md +1 -1
  95. package/presets/claude/skills/python-fastapi-stack/SKILL.md +1 -1
  96. package/presets/claude/skills/security/SKILL.md +1 -1
  97. package/presets/claude/skills/seo-analytics-injector/SKILL.md +43 -0
  98. package/presets/claude/skills/spring-auth-auditor/SKILL.md +29 -0
  99. package/presets/claude/skills/spring-boot-feature/SKILL.md +1 -1
  100. package/presets/claude/skills/spring-boot-kotlin/SKILL.md +1 -1
  101. package/presets/claude/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  102. package/presets/claude/skills/sqlalchemy/SKILL.md +1 -1
  103. package/presets/claude/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  104. package/presets/claude/skills/tdd-mutation-tester/SKILL.md +27 -0
  105. package/presets/claude/skills/testing-strategy/SKILL.md +1 -1
  106. package/presets/codex/config.toml +2 -0
  107. package/presets/codex/skills/android/SKILL.md +1 -1
  108. package/presets/codex/skills/api-versioning/SKILL.md +1 -1
  109. package/presets/codex/skills/astro/SKILL.md +318 -0
  110. package/presets/codex/skills/auth-token-inspector/SKILL.md +30 -0
  111. package/presets/codex/skills/cc-api-contract/SKILL.md +4 -5
  112. package/presets/codex/skills/cc-backlog/SKILL.md +4 -5
  113. package/presets/codex/skills/cc-clarify/SKILL.md +4 -5
  114. package/presets/codex/skills/cc-council/SKILL.md +10 -5
  115. package/presets/codex/skills/cc-db-migration/SKILL.md +4 -5
  116. package/presets/codex/skills/cc-explore/SKILL.md +4 -5
  117. package/presets/codex/skills/cc-feature/SKILL.md +4 -5
  118. package/presets/codex/skills/cc-fix/SKILL.md +4 -5
  119. package/presets/codex/skills/cc-handoff/SKILL.md +8 -5
  120. package/presets/codex/skills/cc-iterative/SKILL.md +4 -5
  121. package/presets/codex/skills/cc-odd/SKILL.md +4 -3
  122. package/presets/codex/skills/cc-openspec/SKILL.md +12 -7
  123. package/presets/codex/skills/cc-pagespeed/SKILL.md +6 -8
  124. package/presets/codex/skills/cc-prototype/SKILL.md +4 -5
  125. package/presets/codex/skills/cc-refactor/SKILL.md +4 -5
  126. package/presets/codex/skills/cc-review/SKILL.md +35 -5
  127. package/presets/codex/skills/cc-scorecard/SKILL.md +4 -5
  128. package/presets/codex/skills/cc-security/SKILL.md +5 -6
  129. package/presets/codex/skills/cc-spec-mutation/SKILL.md +4 -5
  130. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +4 -5
  131. package/presets/codex/skills/cc-test-plan/SKILL.md +4 -5
  132. package/presets/codex/skills/cc-triage/SKILL.md +4 -5
  133. package/presets/codex/skills/code-review/SKILL.md +207 -0
  134. package/presets/codex/skills/django-orm/SKILL.md +1 -1
  135. package/presets/codex/skills/django-testing/SKILL.md +1 -1
  136. package/presets/codex/skills/django-uv/SKILL.md +405 -0
  137. package/presets/codex/skills/drizzle-schema-architect/SKILL.md +50 -0
  138. package/presets/codex/skills/fastapi-pydantic-strict/SKILL.md +43 -0
  139. package/presets/codex/skills/jpa-nplusone-detector/SKILL.md +45 -0
  140. package/presets/codex/skills/jpa-postgres/SKILL.md +1 -1
  141. package/presets/codex/skills/livewire-alpine-bridge/SKILL.md +35 -0
  142. package/presets/codex/skills/nextjs-typescript/SKILL.md +390 -0
  143. package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -1
  144. package/presets/codex/skills/python/SKILL.md +1 -1
  145. package/presets/codex/skills/python-django-stack/SKILL.md +1 -1
  146. package/presets/codex/skills/python-fastapi-stack/SKILL.md +1 -1
  147. package/presets/codex/skills/security-ai-llm/SKILL.md +43 -0
  148. package/presets/codex/skills/security-blue-team/SKILL.md +43 -0
  149. package/presets/codex/skills/security-cloud/SKILL.md +43 -0
  150. package/presets/codex/skills/security-crypto/SKILL.md +43 -0
  151. package/presets/codex/skills/security-exploit-dev/SKILL.md +45 -0
  152. package/presets/codex/skills/security-grc/SKILL.md +43 -0
  153. package/presets/codex/skills/security-incident-response/SKILL.md +45 -0
  154. package/presets/codex/skills/security-log-analysis/SKILL.md +43 -0
  155. package/presets/codex/skills/security-malware-analysis/SKILL.md +44 -0
  156. package/presets/codex/skills/security-mobile/SKILL.md +43 -0
  157. package/presets/codex/skills/security-network/SKILL.md +43 -0
  158. package/presets/codex/skills/security-ot-ics/SKILL.md +43 -0
  159. package/presets/codex/skills/security-recon/SKILL.md +45 -0
  160. package/presets/codex/skills/security-red-team/SKILL.md +44 -0
  161. package/presets/codex/skills/security-reverse-engineering/SKILL.md +44 -0
  162. package/presets/codex/skills/security-soc-automation/SKILL.md +43 -0
  163. package/presets/codex/skills/security-threat-hunting/SKILL.md +43 -0
  164. package/presets/codex/skills/security-vuln-assessment/SKILL.md +45 -0
  165. package/presets/codex/skills/security-web/SKILL.md +44 -0
  166. package/presets/codex/skills/seo-analytics-injector/SKILL.md +43 -0
  167. package/presets/codex/skills/spring-auth-auditor/SKILL.md +29 -0
  168. package/presets/codex/skills/spring-boot-feature/SKILL.md +2 -2
  169. package/presets/codex/skills/spring-boot-kotlin/SKILL.md +1 -1
  170. package/presets/codex/skills/spring-boot-testing-strategy/SKILL.md +475 -0
  171. package/presets/codex/skills/sqlalchemy/SKILL.md +1 -1
  172. package/presets/codex/skills/tailwind-responsive-auditor/SKILL.md +29 -0
  173. package/presets/codex/skills/tdd-mutation-tester/SKILL.md +27 -0
  174. package/presets/codex/skills/testing-strategy/SKILL.md +1 -1
  175. package/presets/cursor/commands/cc/api-contract.md +4 -5
  176. package/presets/cursor/commands/cc/backlog.md +4 -5
  177. package/presets/cursor/commands/cc/clarify.md +4 -5
  178. package/presets/cursor/commands/cc/council.md +4 -5
  179. package/presets/cursor/commands/cc/db-migration.md +4 -5
  180. package/presets/cursor/commands/cc/explore.md +4 -5
  181. package/presets/cursor/commands/cc/feature.md +4 -5
  182. package/presets/cursor/commands/cc/fix.md +4 -5
  183. package/presets/cursor/commands/cc/handoff.md +8 -5
  184. package/presets/cursor/commands/cc/iterative.md +4 -5
  185. package/presets/cursor/commands/cc/odd.md +4 -3
  186. package/presets/cursor/commands/cc/openspec.md +6 -7
  187. package/presets/cursor/commands/cc/pagespeed.md +6 -8
  188. package/presets/cursor/commands/cc/prototype.md +4 -5
  189. package/presets/cursor/commands/cc/refactor.md +4 -5
  190. package/presets/cursor/commands/cc/review.md +35 -5
  191. package/presets/cursor/commands/cc/scorecard.md +4 -5
  192. package/presets/cursor/commands/cc/security.md +5 -6
  193. package/presets/cursor/commands/cc/spec-mutation.md +4 -5
  194. package/presets/cursor/commands/cc/tdd-cycle.md +4 -5
  195. package/presets/cursor/commands/cc/test-plan.md +4 -5
  196. package/presets/cursor/commands/cc/triage.md +4 -5
  197. package/presets/cursor/skills/android/SKILL.md +1 -1
  198. package/presets/cursor/skills/api-versioning/SKILL.md +2 -1
  199. package/presets/cursor/skills/astro/SKILL.md +1 -1
  200. package/presets/cursor/skills/auth-token-inspector/SKILL.md +1 -1
  201. package/presets/cursor/skills/code-review/SKILL.md +1 -1
  202. package/presets/cursor/skills/django-orm/SKILL.md +3 -5
  203. package/presets/cursor/skills/django-testing/SKILL.md +1 -1
  204. package/presets/cursor/skills/django-uv/SKILL.md +1 -1
  205. package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +1 -1
  206. package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +1 -1
  207. package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +1 -1
  208. package/presets/cursor/skills/jpa-postgres/SKILL.md +2 -4
  209. package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +1 -1
  210. package/presets/cursor/skills/nextjs-typescript/SKILL.md +1 -1
  211. package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -1
  212. package/presets/cursor/skills/python/SKILL.md +6 -7
  213. package/presets/cursor/skills/python-django-stack/SKILL.md +1 -1
  214. package/presets/cursor/skills/python-fastapi-stack/SKILL.md +1 -1
  215. package/presets/cursor/skills/security/SKILL.md +1 -1
  216. package/presets/cursor/skills/seo-analytics-injector/SKILL.md +1 -1
  217. package/presets/cursor/skills/spring-auth-auditor/SKILL.md +1 -1
  218. package/presets/cursor/skills/spring-boot-feature/SKILL.md +2 -4
  219. package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +1 -1
  220. package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +1 -1
  221. package/presets/cursor/skills/sqlalchemy/SKILL.md +1 -1
  222. package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +1 -1
  223. package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +1 -1
  224. package/presets/gemini/commands/cc/api-contract.toml +4 -5
  225. package/presets/gemini/commands/cc/backlog.toml +4 -5
  226. package/presets/gemini/commands/cc/clarify.toml +4 -5
  227. package/presets/gemini/commands/cc/council.toml +4 -5
  228. package/presets/gemini/commands/cc/db-migration.toml +4 -5
  229. package/presets/gemini/commands/cc/explore.toml +4 -5
  230. package/presets/gemini/commands/cc/feature.toml +4 -5
  231. package/presets/gemini/commands/cc/fix.toml +4 -5
  232. package/presets/gemini/commands/cc/handoff.toml +8 -5
  233. package/presets/gemini/commands/cc/iterative.toml +4 -5
  234. package/presets/gemini/commands/cc/odd.toml +4 -3
  235. package/presets/gemini/commands/cc/openspec.toml +6 -7
  236. package/presets/gemini/commands/cc/pagespeed.toml +6 -8
  237. package/presets/gemini/commands/cc/prototype.toml +4 -5
  238. package/presets/gemini/commands/cc/refactor.toml +4 -5
  239. package/presets/gemini/commands/cc/review.toml +35 -5
  240. package/presets/gemini/commands/cc/scorecard.toml +4 -5
  241. package/presets/gemini/commands/cc/security.toml +5 -6
  242. package/presets/gemini/commands/cc/spec-mutation.toml +4 -5
  243. package/presets/gemini/commands/cc/tdd-cycle.toml +4 -5
  244. package/presets/gemini/commands/cc/test-plan.toml +4 -5
  245. package/presets/gemini/commands/cc/triage.toml +4 -5
  246. package/presets/opencode/README.md +45 -52
  247. package/presets/opencode/commands/cc-api-contract.md +4 -5
  248. package/presets/opencode/commands/cc-backlog.md +4 -5
  249. package/presets/opencode/commands/cc-clarify.md +4 -5
  250. package/presets/opencode/commands/cc-council.md +4 -5
  251. package/presets/opencode/commands/cc-db-migration.md +4 -5
  252. package/presets/opencode/commands/cc-explore.md +4 -5
  253. package/presets/opencode/commands/cc-feature.md +4 -5
  254. package/presets/opencode/commands/cc-fix.md +4 -5
  255. package/presets/opencode/commands/cc-handoff.md +8 -5
  256. package/presets/opencode/commands/cc-iterative.md +4 -5
  257. package/presets/opencode/commands/cc-odd.md +4 -3
  258. package/presets/opencode/commands/cc-openspec.md +6 -7
  259. package/presets/opencode/commands/cc-pagespeed.md +6 -8
  260. package/presets/opencode/commands/cc-prototype.md +4 -5
  261. package/presets/opencode/commands/cc-refactor.md +4 -5
  262. package/presets/opencode/commands/cc-review.md +35 -5
  263. package/presets/opencode/commands/cc-scorecard.md +4 -5
  264. package/presets/opencode/commands/cc-security.md +5 -6
  265. package/presets/opencode/commands/cc-spec-mutation.md +4 -5
  266. package/presets/opencode/commands/cc-tdd-cycle.md +4 -5
  267. package/presets/opencode/commands/cc-test-plan.md +4 -5
  268. package/presets/opencode/commands/cc-triage.md +4 -5
  269. package/presets/opencode/opencode.jsonc +1 -1
  270. package/presets/opencode/skills/android/SKILL.md +1 -1
  271. package/presets/opencode/skills/api-versioning/SKILL.md +2 -1
  272. package/presets/opencode/skills/astro/SKILL.md +1 -1
  273. package/presets/opencode/skills/auth-token-inspector/SKILL.md +1 -1
  274. package/presets/opencode/skills/code-review/SKILL.md +1 -1
  275. package/presets/opencode/skills/django-orm/SKILL.md +3 -3
  276. package/presets/opencode/skills/django-testing/SKILL.md +1 -1
  277. package/presets/opencode/skills/django-uv/SKILL.md +1 -1
  278. package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +1 -1
  279. package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +1 -1
  280. package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +1 -1
  281. package/presets/opencode/skills/jpa-postgres/SKILL.md +2 -1
  282. package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +1 -1
  283. package/presets/opencode/skills/nextjs-typescript/SKILL.md +1 -1
  284. package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -1
  285. package/presets/opencode/skills/python/SKILL.md +6 -5
  286. package/presets/opencode/skills/python-django-stack/SKILL.md +1 -1
  287. package/presets/opencode/skills/python-fastapi-stack/SKILL.md +1 -1
  288. package/presets/opencode/skills/security/SKILL.md +1 -1
  289. package/presets/opencode/skills/seo-analytics-injector/SKILL.md +1 -1
  290. package/presets/opencode/skills/spring-auth-auditor/SKILL.md +1 -1
  291. package/presets/opencode/skills/spring-boot-feature/SKILL.md +2 -1
  292. package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +1 -1
  293. package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +1 -1
  294. package/presets/opencode/skills/sqlalchemy/SKILL.md +1 -1
  295. package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +1 -1
  296. package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +1 -1
  297. package/presets/seo-hotel/skills/astro-seo/SKILL.md +1 -1
  298. package/presets/seo-hotel/skills/geo-readiness/SKILL.md +1 -1
  299. package/presets/seo-hotel/skills/off-page/SKILL.md +1 -1
  300. package/presets/seo-hotel/skills/schema-validator/SKILL.md +1 -1
  301. package/presets/seo-hotel/skills/seo-audit/SKILL.md +1 -1
  302. package/presets/shared/invoke-hook.cjs +20 -5
  303. package/src/presets/manifests/codex.yml +3 -0
  304. package/src/presets/models/roles.yml +54 -56
  305. package/src/presets/shared-skills.yml +58 -22
@@ -2,8 +2,8 @@
2
2
 
3
3
  ## Model Selection Guide
4
4
 
5
- This preset supports both **Claude (Anthropic)** and **OpenCode Go (Chinese
6
- providers)** models.
5
+ This preset uses the four requested **OpenCode Go** models. Claude (Anthropic)
6
+ can be selected as an explicit override.
7
7
 
8
8
  ---
9
9
 
@@ -13,37 +13,39 @@ providers)** models.
13
13
 
14
14
  | Model | Strength | Best For |
15
15
  | --------------------------- | ------------------------------- | ------------------------------- |
16
- | `claude-opus-4-7` | Complex reasoning, architecture | Architect, complex design |
17
- | `claude-sonnet-4-6` | Balanced, general purpose | Default for most agents |
16
+ | `claude-opus-5` | Complex reasoning, architecture | Architect, complex design |
17
+ | `claude-sonnet-5` | Balanced, general purpose | Implementation, testing |
18
18
  | `claude-haiku-4-5-20251001` | Fast, lightweight | Task Coach, Docs, Repo Explorer |
19
19
 
20
20
  ### OpenCode Go models
21
21
 
22
- Canonical slugs live in `src/presets/models/*.yml`. Production roles never use
23
- `muse-spark-1.2-contributor` (trains on prompts). `ox-alpha-free` is an optional
24
- fallback, not a default.
22
+ Canonical role assignments live in `src/presets/models/roles.yml`. Model IDs
23
+ were verified against [OpenCode Go](https://opencode.ai/docs/go/) and the live
24
+ catalog on September 25, 2026.
25
25
 
26
26
  | Model | Best for |
27
27
  | --- | --- |
28
- | `deepseek-v4-pro` | Architect |
29
- | `kimi-k3` | Security reviewer |
30
- | `qwen3.8-max` | Reviewer, contract-builder |
31
- | `glm-5.3` | Devil, complexity-auditor |
32
- | `mimo-v2.5` | Implementer |
33
- | `minimax-m3` | Tester |
34
- | `qwen3.7-plus` | Orchestrator (TUI default) |
35
- | `gpt-5.6-luna` | Task coach, planner |
36
- | `deepseek-v4-flash` | Goal planner |
37
- | `longcat-2.0` | Repo explorer |
38
- | `hy3` | Docs |
28
+ | `opencode-go/deepseek-v4.1-flash` | Architect, reviewer, contract-builder, orchestrator (TUI default), planner, goal-planner |
29
+ | `opencode-go/mimo-v2.6-flash` | Implementer, tester |
30
+ | `opencode-go/glm-5.3-flash` | Security-reviewer, devil, complexity-auditor, task-coach, repo-explorer |
31
+ | `opencode-go/muse-spark-1.3-contributor` | Docs |
32
+
33
+ These assignments are workflow choices, not a provider ranking. Generated
34
+ agents leave sampling and reasoning settings at provider defaults rather than
35
+ copying Claude-specific `effort` or forcing a shared `temperature` onto different
36
+ models. No unverified variants are configured.
37
+
38
+ Muse Contributor is included at the request of the maintainer. OpenCode documents
39
+ that it uses prompts/completions for training, is not ZDR, and has regional
40
+ restrictions. Do not send confidential material to that model; override the docs
41
+ agent with another verified model when required.
39
42
 
40
43
  ---
41
44
 
42
45
  ## Agent Model Matrix
43
46
 
44
- See `skills/cc-update-preset-models/references/role-map.md`. OpenCode column
45
- examples: architect `deepseek-v4-pro`, implementer `mimo-v2.5`, tester
46
- `minimax-m3`, reviewer `qwen3.8-max`.
47
+ See `skills/cc-update-preset-models/references/role-map.md` for the complete
48
+ cross-preset role matrix.
47
49
 
48
50
  ---
49
51
 
@@ -66,6 +68,10 @@ examples: architect `deepseek-v4-pro`, implementer `mimo-v2.5`, tester
66
68
 
67
69
  This preset uses OpenCode's permission system (v1.1.1+) with granular control:
68
70
 
71
+ Keep the V1-compatible `permission` dictionary for the `opencode` CLI. V2's
72
+ `permissions` rule list is exclusive to `opencode2` and is rejected by OpenCode
73
+ V1. Validate generated files with the actual CLI version before migrating formats.
74
+
69
75
  - **Global defaults**: Most operations require approval (`ask`)
70
76
  - **Read access**: Allowed by default, with sensitive files denied
71
77
  - **Write/Edit**: Requires approval, with protected paths denied
@@ -87,8 +93,8 @@ The following paths are denied by default:
87
93
 
88
94
  ### Simple Tasks (Q&A, intake, documentation)
89
95
 
90
- **Recommended:** `qwen3.6-plus` (OpenCode Go) or `claude-haiku-4-5-20251001`
91
- (Claude)
96
+ **Preset choice:** `glm-5.3-flash` for intake/exploration;
97
+ `muse-spark-1.3-contributor` for non-confidential docs.
92
98
 
93
99
  - Task Coach intake
94
100
  - Repo Explorer mapping
@@ -96,8 +102,8 @@ The following paths are denied by default:
96
102
 
97
103
  ### Medium Tasks (Implementation, testing)
98
104
 
99
- **Recommended:** `mimo-v2.5` or `minimax-m3` (OpenCode Go) or
100
- `claude-sonnet-4-6` (Claude)
105
+ **Preset choice:** `mimo-v2.6-flash` for implementation and testing;
106
+ `deepseek-v4.1-flash` for reviews.
101
107
 
102
108
  - Implementer code writing
103
109
  - Tester test generation
@@ -105,7 +111,8 @@ The following paths are denied by default:
105
111
 
106
112
  ### Complex Tasks (Architecture, security, multi-agent coordination)
107
113
 
108
- **Recommended:** `deepseek-v4-pro` (OpenCode Go) or `claude-opus-4-7` (Claude)
114
+ **Preset choice:** `deepseek-v4.1-flash` for design/coordination;
115
+ `glm-5.3-flash` for defensive security review.
109
116
 
110
117
  - Architect technical design
111
118
  - Orchestrator routing decisions
@@ -115,17 +122,14 @@ The following paths are denied by default:
115
122
 
116
123
  ## Usage in Agent Contracts
117
124
 
118
- Each agent file in `agents/` contains a model selection table in its
119
- frontmatter:
125
+ Agent templates contain placeholders. Installation resolves the role model
126
+ into YAML frontmatter:
120
127
 
121
128
  ```yaml
122
129
  ---
123
130
  description: ...
124
- # Model Selection
125
- | Provider | Model | Use Case |
126
- |----------|-------|----------|
127
- | Claude | claude-opus-4-7 | Complex architecture, ADRs |
128
- | OpenCode Go | deepseek-v4-pro | Best — excels at reasoning |
131
+ model: opencode-go/deepseek-v4.1-flash
132
+ mode: subagent
129
133
  ---
130
134
  ```
131
135
 
@@ -144,21 +148,10 @@ configuration in `opencode.jsonc`.
144
148
 
145
149
  ## Environment Variables
146
150
 
147
- OpenCode Go requires appropriate API keys. Set these in your environment:
148
-
149
- ```bash
150
- # DeepSeek
151
- export DEEPSEEK_API_KEY="your-key"
152
-
153
- # Qwen (Alibaba)
154
- export DASHSCOPE_API_KEY="your-key"
155
-
156
- # MiniMax
157
- export MINIMAX_API_KEY="your-key"
158
-
159
- # Kimi (Moonshot)
160
- export KIMI_API_KEY="your-key"
161
- ```
151
+ Connect to **OpenCode Go** through `/connect` and use the Go API key. The
152
+ `opencode-go/` provider does not use individual DeepSeek, GLM, MiMo, or Meta keys.
153
+ Do not store API keys in the preset. Run `opencode models opencode-go` to check
154
+ availability before using or overriding a role model.
162
155
 
163
156
  ---
164
157
 
@@ -166,10 +159,10 @@ export KIMI_API_KEY="your-key"
166
159
 
167
160
  | Scenario | Recommended |
168
161
  | ------------------------------- | -------------------------------------------------- |
169
- | Complex reasoning, architecture | OpenCode Go (`deepseek-v4-pro`) or Claude (`opus`) |
170
- | Fast iteration, simple tasks | OpenCode Go (`qwen3.6-plus`) or Claude (`haiku`) |
171
- | Code implementation | OpenCode Go (`mimo-v2.5`) or Claude (`sonnet`) |
172
- | Budget constraints | OpenCode Go (generally lower cost) |
162
+ | Complex reasoning, architecture | OpenCode Go (`deepseek-v4.1-flash`) or Claude (`opus`) |
163
+ | Fast iteration, simple tasks | OpenCode Go (`glm-5.3-flash`) or Claude (`haiku`) |
164
+ | Code implementation | OpenCode Go (`mimo-v2.6-flash`) or Claude (`sonnet`) |
165
+ | Non-confidential documentation | OpenCode Go (`muse-spark-1.3-contributor`) |
173
166
  | Availability issues | Switch to alternative from the matrix |
174
167
 
175
168
  ## Approach
@@ -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
  ---
@@ -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
 
@@ -39,9 +38,8 @@ without a key, but CrUX field data requires it.
39
38
  Call the PageSpeed Insights API for the URL provided above.
40
39
 
41
40
  - Strategy: `both` (mobile + desktop) unless the user specified otherwise.
42
- - If Bun is available, use `~/.claude/skills/pagespeed-perf/scripts/run.ts`.
43
- - If Bun is unavailable, call PSI directly via WebFetch and fetch the HTML
44
- source for manual resource-hint analysis.
41
+ - Call PSI directly via WebFetch and fetch the HTML source for manual
42
+ resource-hint analysis.
45
43
 
46
44
  ---
47
45
 
@@ -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
 
@@ -118,6 +117,37 @@ reviewer must evaluate the diff against the following checklist:
118
117
 
119
118
  ---
120
119
 
120
+ ## Severity Rubric
121
+
122
+ Classify every finding using these concrete anchors — not general judgment —
123
+ so the same finding gets the same category on any run.
124
+
125
+ **CRITICAL** (always):
126
+
127
+ - Unauthenticated access to a protected resource
128
+ - Injection (SQL, command, XSS) reachable from untrusted input
129
+ - A secret or credential present in the diff
130
+ - A destructive operation with no confirmation
131
+ - The build or test suite is broken
132
+ - A direct contradiction of an explicit acceptance criterion
133
+
134
+ **WARNING**:
135
+
136
+ - Missing test for a new branch or edge case
137
+ - An error is silently swallowed — no log, no propagation
138
+ - A change outside the declared scope
139
+ - Inconsistent with an established pattern already in the module
140
+ - Missing input validation in an internal function (not exposed at a trust boundary)
141
+
142
+ **SUGGESTION**:
143
+
144
+ - Style or naming
145
+ - Minor readability
146
+ - Speculative refactor that wasn't requested
147
+ - Non-blocking micro-optimization
148
+
149
+ ---
150
+
121
151
  ## Step 3 — Review Report
122
152
 
123
153
  reviewer produces a structured Review Report with findings in three categories:
@@ -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
  ---
@@ -62,7 +61,7 @@ If `graphify-out/graph.json` exists, run `graphify query "$ARGUMENTS"` (and
62
61
  `graphify path` / `graphify explain` when needed). Then invoke `repo-explorer`
63
62
  to map modules, conventions, and impact radius. Do not write code in this step.
64
63
  Record a Repo Map artifact before intake. Load the matching `security-*` skill
65
- for the named domain (see `.claude/skills/security-*/SKILL.md`). Keep the OWASP
64
+ for the named domain (see `.opencode/skills/security-*/SKILL.md`). Keep the OWASP
66
65
  `security` skill for application-security reviews.
67
66
 
68
67
  ---
@@ -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
  ---