cc-codeconductor 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/README.md +34 -12
  2. package/dist/core/config/codeconductor-config.d.ts +2 -1
  3. package/dist/core/presets/package-paths.d.ts +1 -0
  4. package/dist/core/runner/runner-target.d.ts +32 -0
  5. package/dist/core/verification/verification-runner.d.ts +7 -0
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.js +2934 -761
  8. package/dist/library.js +103 -14
  9. package/dist/validation/schemas.d.ts +294 -61
  10. package/package.json +4 -1
  11. package/presets/agy/AGENTS.md +11 -10
  12. package/presets/agy/hooks.json +3 -3
  13. package/presets/agy/scripts/invoke-hook.cjs +119 -0
  14. package/presets/agy/skills/backlog/SKILL.md +40 -70
  15. package/presets/agy/skills/cc-spec-mutation/SKILL.md +165 -0
  16. package/presets/agy/skills/cc-tdd-cycle/SKILL.md +3 -0
  17. package/presets/agy/skills/evaluation/SKILL.md +61 -2
  18. package/presets/agy/skills/openspec/SKILL.md +49 -19
  19. package/presets/agy/skills/testing-tdd/SKILL.md +53 -0
  20. package/presets/agy/skills/using-cc-skills/SKILL.md +48 -0
  21. package/presets/agy/workflows/cc-api-contract.md +18 -0
  22. package/presets/agy/workflows/cc-ask.md +10 -10
  23. package/presets/agy/workflows/cc-council.md +4 -0
  24. package/presets/agy/workflows/cc-db-migration.md +18 -0
  25. package/presets/agy/workflows/cc-explore.md +2 -2
  26. package/presets/agy/workflows/cc-feature.md +22 -0
  27. package/presets/agy/workflows/cc-fix.md +18 -0
  28. package/presets/agy/workflows/cc-handoff.md +1 -1
  29. package/presets/agy/workflows/cc-iterative.md +14 -0
  30. package/presets/agy/workflows/cc-openspec.md +14 -0
  31. package/presets/agy/workflows/cc-prototype.md +1 -1
  32. package/presets/agy/workflows/cc-refactor.md +5 -1
  33. package/presets/agy/workflows/cc-review.md +5 -1
  34. package/presets/agy/workflows/cc-scorecard.md +2 -0
  35. package/presets/agy/workflows/cc-security.md +4 -0
  36. package/presets/agy/workflows/cc-spec-mutation.md +195 -0
  37. package/presets/agy/workflows/cc-tdd-cycle.md +15 -1
  38. package/presets/agy/workflows/cc-test-plan.md +5 -1
  39. package/presets/claude/commands/cc/api-contract.md +19 -1
  40. package/presets/claude/commands/cc/ask.md +1 -1
  41. package/presets/claude/commands/cc/backlog.md +1 -1
  42. package/presets/claude/commands/cc/clarify.md +1 -1
  43. package/presets/claude/commands/cc/council.md +4 -0
  44. package/presets/claude/commands/cc/db-migration.md +19 -1
  45. package/presets/claude/commands/cc/explore.md +1 -1
  46. package/presets/claude/commands/cc/feature.md +23 -1
  47. package/presets/claude/commands/cc/fix.md +22 -1
  48. package/presets/claude/commands/cc/handoff.md +1 -1
  49. package/presets/claude/commands/cc/iterative.md +15 -1
  50. package/presets/claude/commands/cc/openspec.md +15 -1
  51. package/presets/claude/commands/cc/prototype.md +1 -1
  52. package/presets/claude/commands/cc/refactor.md +5 -1
  53. package/presets/claude/commands/cc/review.md +8 -1
  54. package/presets/claude/commands/cc/scorecard.md +3 -1
  55. package/presets/claude/commands/cc/security.md +5 -1
  56. package/presets/claude/commands/cc/spec-mutation.md +194 -0
  57. package/presets/claude/commands/cc/tdd-cycle.md +18 -1
  58. package/presets/claude/commands/cc/test-plan.md +5 -1
  59. package/presets/claude/commands/cc/triage.md +1 -1
  60. package/presets/claude/settings.json +13 -11
  61. package/presets/claude/skills/android/SKILL.md +0 -1
  62. package/presets/claude/skills/api-versioning/SKILL.md +0 -1
  63. package/presets/claude/skills/backlog/SKILL.md +40 -70
  64. package/presets/claude/skills/django-orm/SKILL.md +0 -1
  65. package/presets/claude/skills/django-testing/SKILL.md +0 -1
  66. package/presets/claude/skills/evaluation/SKILL.md +47 -24
  67. package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
  68. package/presets/claude/skills/openspec/SKILL.md +46 -38
  69. package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
  70. package/presets/claude/skills/python/SKILL.md +0 -1
  71. package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
  72. package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
  73. package/presets/claude/skills/security/SKILL.md +0 -1
  74. package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
  75. package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
  76. package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
  77. package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
  78. package/presets/claude/skills/testing-tdd/SKILL.md +53 -0
  79. package/presets/claude/skills/using-cc-skills/SKILL.md +48 -0
  80. package/presets/codex/AGENTS.md +19 -14
  81. package/presets/codex/commands/cc-ask.md +10 -10
  82. package/presets/codex/skills/android/SKILL.md +0 -1
  83. package/presets/codex/skills/api-versioning/SKILL.md +0 -1
  84. package/presets/codex/skills/backlog/SKILL.md +61 -0
  85. package/presets/codex/skills/cc-api-contract/SKILL.md +91 -0
  86. package/presets/codex/skills/cc-backlog/SKILL.md +108 -0
  87. package/presets/codex/skills/cc-clarify/SKILL.md +36 -0
  88. package/presets/codex/skills/cc-council/SKILL.md +96 -0
  89. package/presets/codex/skills/cc-db-migration/SKILL.md +92 -0
  90. package/presets/codex/skills/cc-explore/SKILL.md +40 -0
  91. package/presets/codex/skills/cc-feature/SKILL.md +162 -0
  92. package/presets/codex/skills/cc-fix/SKILL.md +172 -0
  93. package/presets/codex/skills/cc-handoff/SKILL.md +45 -0
  94. package/presets/codex/skills/cc-iterative/SKILL.md +150 -0
  95. package/presets/codex/skills/cc-openspec/SKILL.md +191 -0
  96. package/presets/codex/skills/cc-pagespeed/SKILL.md +124 -0
  97. package/presets/codex/skills/cc-prototype/SKILL.md +42 -0
  98. package/presets/codex/skills/cc-refactor/SKILL.md +167 -0
  99. package/presets/codex/skills/cc-review/SKILL.md +156 -0
  100. package/presets/codex/skills/cc-scorecard/SKILL.md +82 -0
  101. package/presets/codex/skills/cc-security/SKILL.md +186 -0
  102. package/presets/codex/skills/cc-spec-mutation/SKILL.md +196 -0
  103. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +266 -0
  104. package/presets/codex/skills/cc-test-plan/SKILL.md +157 -0
  105. package/presets/codex/skills/cc-triage/SKILL.md +38 -0
  106. package/presets/codex/skills/django-orm/SKILL.md +0 -1
  107. package/presets/codex/skills/django-testing/SKILL.md +0 -1
  108. package/presets/codex/skills/evaluation/SKILL.md +65 -0
  109. package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
  110. package/presets/codex/skills/openspec/SKILL.md +66 -0
  111. package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
  112. package/presets/codex/skills/python/SKILL.md +0 -1
  113. package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
  114. package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
  115. package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
  116. package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
  117. package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
  118. package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
  119. package/presets/codex/skills/testing-tdd/SKILL.md +53 -0
  120. package/presets/codex/skills/using-cc-skills/SKILL.md +48 -0
  121. package/presets/cursor/agents/architect.md +1 -1
  122. package/presets/cursor/agents/complexity-auditor.md +1 -1
  123. package/presets/cursor/agents/contract-builder.md +1 -1
  124. package/presets/cursor/agents/docs.md +1 -1
  125. package/presets/cursor/agents/goal-planner.md +1 -1
  126. package/presets/cursor/agents/implementer.md +2 -2
  127. package/presets/cursor/agents/orchestrator.md +3 -3
  128. package/presets/cursor/agents/reviewer.md +4 -4
  129. package/presets/cursor/agents/security-reviewer.md +1 -1
  130. package/presets/cursor/agents/task-coach.md +1 -1
  131. package/presets/cursor/agents/tester.md +1 -1
  132. package/presets/cursor/commands/cc/api-contract.md +19 -1
  133. package/presets/cursor/commands/cc/ask.md +1 -1
  134. package/presets/cursor/commands/cc/backlog.md +1 -1
  135. package/presets/cursor/commands/cc/clarify.md +1 -1
  136. package/presets/cursor/commands/cc/council.md +4 -0
  137. package/presets/cursor/commands/cc/db-migration.md +19 -1
  138. package/presets/cursor/commands/cc/explore.md +1 -1
  139. package/presets/cursor/commands/cc/feature.md +23 -1
  140. package/presets/cursor/commands/cc/fix.md +22 -1
  141. package/presets/cursor/commands/cc/handoff.md +1 -1
  142. package/presets/cursor/commands/cc/iterative.md +15 -1
  143. package/presets/cursor/commands/cc/openspec.md +15 -1
  144. package/presets/cursor/commands/cc/prototype.md +1 -1
  145. package/presets/cursor/commands/cc/refactor.md +5 -1
  146. package/presets/cursor/commands/cc/review.md +5 -1
  147. package/presets/cursor/commands/cc/scorecard.md +3 -1
  148. package/presets/cursor/commands/cc/security.md +5 -1
  149. package/presets/cursor/commands/cc/spec-mutation.md +194 -0
  150. package/presets/cursor/commands/cc/tdd-cycle.md +15 -1
  151. package/presets/cursor/commands/cc/test-plan.md +5 -1
  152. package/presets/cursor/commands/cc/triage.md +1 -1
  153. package/presets/cursor/skills/android/SKILL.md +0 -1
  154. package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
  155. package/presets/cursor/skills/astro/SKILL.md +0 -1
  156. package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
  157. package/presets/cursor/skills/backlog/SKILL.md +40 -70
  158. package/presets/cursor/skills/code-review/SKILL.md +0 -1
  159. package/presets/cursor/skills/django-orm/SKILL.md +0 -1
  160. package/presets/cursor/skills/django-testing/SKILL.md +0 -1
  161. package/presets/cursor/skills/django-uv/SKILL.md +0 -1
  162. package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
  163. package/presets/cursor/skills/evaluation/SKILL.md +61 -4
  164. package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  165. package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
  166. package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
  167. package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
  168. package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
  169. package/presets/cursor/skills/openspec/SKILL.md +46 -36
  170. package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
  171. package/presets/cursor/skills/python/SKILL.md +0 -1
  172. package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
  173. package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
  174. package/presets/cursor/skills/security/SKILL.md +0 -1
  175. package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
  176. package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
  177. package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
  178. package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
  179. package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  180. package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
  181. package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  182. package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
  183. package/presets/cursor/skills/testing-tdd/SKILL.md +35 -574
  184. package/presets/cursor/skills/using-cc-skills/SKILL.md +48 -0
  185. package/presets/gemini/GEMINI.md +38 -0
  186. package/presets/gemini/commands/cc/api-contract.toml +86 -0
  187. package/presets/gemini/commands/cc/ask.toml +54 -0
  188. package/presets/gemini/commands/cc/backlog.toml +103 -0
  189. package/presets/gemini/commands/cc/clarify.toml +31 -0
  190. package/presets/gemini/commands/cc/council.toml +91 -0
  191. package/presets/gemini/commands/cc/db-migration.toml +87 -0
  192. package/presets/gemini/commands/cc/explore.toml +35 -0
  193. package/presets/gemini/commands/cc/feature.toml +157 -0
  194. package/presets/gemini/commands/cc/fix.toml +167 -0
  195. package/presets/gemini/commands/cc/handoff.toml +40 -0
  196. package/presets/gemini/commands/cc/iterative.toml +145 -0
  197. package/presets/gemini/commands/cc/openspec.toml +186 -0
  198. package/presets/gemini/commands/cc/pagespeed.toml +119 -0
  199. package/presets/gemini/commands/cc/prototype.toml +37 -0
  200. package/presets/gemini/commands/cc/refactor.toml +162 -0
  201. package/presets/gemini/commands/cc/review.toml +151 -0
  202. package/presets/gemini/commands/cc/scorecard.toml +77 -0
  203. package/presets/gemini/commands/cc/security.toml +181 -0
  204. package/presets/gemini/commands/cc/spec-mutation.toml +191 -0
  205. package/presets/gemini/commands/cc/tdd-cycle.toml +261 -0
  206. package/presets/gemini/commands/cc/test-plan.toml +152 -0
  207. package/presets/gemini/commands/cc/triage.toml +33 -0
  208. package/presets/gemini/settings.json +3 -0
  209. package/presets/opencode/README.md +24 -21
  210. package/presets/opencode/agents/architect.md +6 -0
  211. package/presets/opencode/agents/docs.md +1 -1
  212. package/presets/opencode/agents/implementer.md +7 -0
  213. package/presets/opencode/agents/reviewer.md +7 -1
  214. package/presets/opencode/agents/tester.md +6 -0
  215. package/presets/opencode/commands/cc-api-contract.md +18 -0
  216. package/presets/opencode/commands/cc-ask.md +10 -10
  217. package/presets/opencode/commands/cc-council.md +4 -0
  218. package/presets/opencode/commands/cc-db-migration.md +18 -0
  219. package/presets/opencode/commands/cc-explore.md +2 -2
  220. package/presets/opencode/commands/cc-feature.md +22 -0
  221. package/presets/opencode/commands/cc-fix.md +21 -0
  222. package/presets/opencode/commands/cc-handoff.md +1 -1
  223. package/presets/opencode/commands/cc-iterative.md +14 -0
  224. package/presets/opencode/commands/cc-openspec.md +14 -0
  225. package/presets/opencode/commands/cc-prototype.md +1 -1
  226. package/presets/opencode/commands/cc-refactor.md +5 -1
  227. package/presets/opencode/commands/cc-review.md +5 -1
  228. package/presets/opencode/commands/cc-scorecard.md +2 -0
  229. package/presets/opencode/commands/cc-security.md +4 -0
  230. package/presets/opencode/commands/cc-spec-mutation.md +194 -0
  231. package/presets/opencode/commands/cc-tdd-cycle.md +15 -1
  232. package/presets/opencode/commands/cc-test-plan.md +5 -1
  233. package/presets/opencode/opencode.jsonc +1 -1
  234. package/presets/opencode/prompts/v1.0.0/README.md +1 -1
  235. package/presets/opencode/prompts/v1.0.0/architect.md +6 -0
  236. package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
  237. package/presets/opencode/prompts/v1.0.0/implementer.md +7 -0
  238. package/presets/opencode/prompts/v1.0.0/reviewer.md +7 -1
  239. package/presets/opencode/prompts/v1.0.0/tester.md +6 -0
  240. package/presets/opencode/skills/android/SKILL.md +0 -1
  241. package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
  242. package/presets/opencode/skills/astro/SKILL.md +0 -1
  243. package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
  244. package/presets/opencode/skills/backlog/SKILL.md +40 -70
  245. package/presets/opencode/skills/code-review/SKILL.md +0 -1
  246. package/presets/opencode/skills/django-orm/SKILL.md +0 -1
  247. package/presets/opencode/skills/django-testing/SKILL.md +0 -1
  248. package/presets/opencode/skills/django-uv/SKILL.md +0 -1
  249. package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
  250. package/presets/opencode/skills/evaluation/SKILL.md +61 -2
  251. package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  252. package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
  253. package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
  254. package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
  255. package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
  256. package/presets/opencode/skills/openspec/SKILL.md +46 -34
  257. package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
  258. package/presets/opencode/skills/python/SKILL.md +0 -1
  259. package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
  260. package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
  261. package/presets/opencode/skills/security/SKILL.md +0 -1
  262. package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
  263. package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
  264. package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
  265. package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
  266. package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  267. package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
  268. package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  269. package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
  270. package/presets/opencode/skills/testing-tdd/SKILL.md +35 -574
  271. package/presets/opencode/skills/using-cc-skills/SKILL.md +48 -0
  272. package/presets/pi/AGENTS.md +43 -0
  273. package/presets/pi/settings.json +3 -0
  274. package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
  275. package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
  276. package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
  277. package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
  278. package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
  279. package/presets/shared/invoke-hook.cjs +119 -0
  280. package/presets/shared/mutation_runner.py +273 -0
  281. package/src/presets/council/council.yml +12 -9
  282. package/src/presets/manifests/agy.yml +3 -1
  283. package/src/presets/manifests/claude.yml +3 -0
  284. package/src/presets/manifests/gemini.yml +15 -0
  285. package/src/presets/manifests/pi.yml +25 -0
  286. package/src/presets/models/agy.yml +2 -128
  287. package/src/presets/models/claude.yml +2 -144
  288. package/src/presets/models/codex.yml +2 -144
  289. package/src/presets/models/cursor.yml +2 -144
  290. package/src/presets/models/gemini.yml +2 -144
  291. package/src/presets/models/opencode.yml +3 -101
  292. package/src/presets/models/pi.yml +5 -0
  293. package/src/presets/models/roles.yml +193 -0
  294. package/src/presets/shared-skills.yml +64 -0
  295. package/src/presets/targets/agy.yml +11 -0
  296. package/src/presets/targets/claude.yml +12 -0
  297. package/src/presets/targets/codex.yml +14 -0
  298. package/src/presets/targets/cursor.yml +11 -0
  299. package/src/presets/targets/gemini.yml +15 -0
  300. package/src/presets/targets/opencode.yml +13 -0
  301. package/src/presets/targets/pi.yml +12 -0
  302. package/presets/agy/scripts/post-tool.sh +0 -25
  303. package/presets/agy/scripts/pre-tool.sh +0 -56
  304. package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
  305. package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
  306. package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
  307. package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
  308. package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
  309. package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
  310. package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
  311. package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
  312. package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
  313. package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
  314. package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
  315. package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
  316. package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
  317. package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
  318. package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
  319. package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
  320. package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
  321. package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
  322. package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
  323. package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
  324. package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
  325. package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
  326. package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
  327. package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
  328. package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
  329. package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
  330. package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
  331. package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
  332. package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
  333. package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
  334. package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
  335. package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
  336. package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
  337. package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
  338. package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
  339. package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
  340. package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
  341. package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
  342. package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
  343. package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
  344. package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
  345. package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
  346. package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
  347. package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
  348. package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
  349. package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
  350. package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
  351. package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
  352. package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
  353. package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
  354. package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
  355. package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
package/README.md CHANGED
@@ -43,7 +43,7 @@ contracts, task cards, and risk-based routing.
43
43
  > - `npx cc-codeconductor goal` / `ingest` / `product` / `orchestrate` /
44
44
  > `impact` / `verify` — Product OS (see
45
45
  > [docs/v1.0.0-release-notes.md](docs/v1.0.0-release-notes.md))
46
- > - Slash commands after `install preset` — 20 CCEP workflows plus `/cc-ask`;
46
+ > - Slash commands after `install preset` — 21 CCEP workflows plus `/cc-ask`;
47
47
  > prefer `/cc-iterative`, `/cc-triage`, `/cc-handoff` for wayfinding;
48
48
  > `/cc-backlog` authors `BACKLOG.md`; `/cc-openspec` and `/cc-tdd-cycle`
49
49
  > for delivery and TDD
@@ -124,16 +124,19 @@ not only because features were added. Re-install presets after upgrading.
124
124
 
125
125
  ### Slash commands
126
126
 
127
- After `install preset`, 18 CCEP workflows plus `/cc-ask`:
127
+ After `install preset`, 21 CCEP workflows plus `/cc-ask` (22 total), tiered by
128
+ what they do rather than which subsystem they touch:
128
129
 
129
- | Group | Commands |
130
- | -------------- | ---------------------------------------------------------------------------------------------------------------------------- |
131
- | Delivery | `/cc-feature`, `/cc-fix`, `/cc-refactor`, `/cc-api-contract`, `/cc-db-migration` |
132
- | Quality | `/cc-tdd-cycle`, `/cc-test-plan`, `/cc-review`, `/cc-council`, `/cc-scorecard` |
133
- | OpenSpec / ops | `/cc-openspec`, `/cc-iterative`, `/cc-triage`, `/cc-explore`, `/cc-prototype`, `/cc-handoff`, `/cc-clarify`, `/cc-pagespeed` |
134
- | Entry | `/cc-ask` — CLI `ask` recommends a slash command; it does not start the workflow |
130
+ | Tier | Commands | Purpose |
131
+ | ------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
132
+ | Entry | `/cc-ask`, `/cc-triage`, `/cc-explore` | Recommend a next command and stop — no writes. |
133
+ | Delivery | `/cc-feature`, `/cc-fix`, `/cc-refactor`, `/cc-tdd-cycle`, `/cc-api-contract`, `/cc-db-migration`, `/cc-spec-mutation` | Implement, test-before-implement where both apply. |
134
+ | Verification | `/cc-review`, `/cc-council`, `/cc-scorecard`, `/cc-test-plan`, `/cc-security` | Gate a diff or a decision before merge. |
135
+ | Management | `/cc-backlog`, `/cc-openspec`, `/cc-handoff`, `/cc-clarify`, `/cc-prototype`, `/cc-pagespeed`, `/cc-iterative` | Author BACKLOG.md, deliver it, or one-off ops. |
135
136
 
136
137
  Prefer `/cc-iterative`, `/cc-triage`, and `/cc-handoff` for wayfinding.
138
+ `/cc-ask` recommends a command from a natural-language problem; it does not
139
+ start the workflow.
137
140
 
138
141
  ### OpenSpec and TDD
139
142
 
@@ -229,7 +232,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
229
232
 
230
233
  ## Current Support
231
234
 
232
- - OpenCode, Claude, Codex, Gemini, Cursor, and Agy presets
235
+ - OpenCode, Claude, Codex, Gemini, Cursor, Agy, and Pi presets
233
236
  - Claude Code-compatible preset (see
234
237
  [Claude Environment Options & Best Practices](docs/claude-env-options.md))
235
238
  - Spring Boot / Kotlin workflow
@@ -237,7 +240,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
237
240
  - **15 Conductor Agents** — including `reviewer`, `security-reviewer`,
238
241
  `complexity-auditor`, `business-agent`, `continuous-architect`, and
239
242
  `impact-analyst`
240
- - 18 CCEP slash-command workflows plus `/cc-ask` after `install preset`
243
+ - 21 CCEP slash-command workflows plus `/cc-ask` after `install preset`
241
244
  - OpenSpec delivery loop (`validate` … `archive`) with test-before-implement
242
245
  - Deterministic CCEP validation (Zod schemas per agent role)
243
246
  - Task Card template
@@ -398,6 +401,7 @@ npx cc-codeconductor install preset --target opencode # project-level
398
401
  npx cc-codeconductor install preset --target claude
399
402
  npx cc-codeconductor install preset --target codex
400
403
  npx cc-codeconductor install preset --target agy # antigravity cli
404
+ npx cc-codeconductor install preset --target pi # pi.dev coding agent
401
405
  npx cc-codeconductor install preset --target all # all targets
402
406
 
403
407
  npx cc-codeconductor install preset --target claude --global # write to ~/.claude/
@@ -473,6 +477,7 @@ npx cc-codeconductor install council --target opencode # project-level
473
477
  npx cc-codeconductor install council --target claude
474
478
  npx cc-codeconductor install council --target codex
475
479
  npx cc-codeconductor install council --target agy # antigravity cli
480
+ npx cc-codeconductor install council --target pi # pi.dev coding agent
476
481
  npx cc-codeconductor install council --target all # all targets
477
482
 
478
483
  npx cc-codeconductor install council --target claude --global # write to ~/.claude/
@@ -522,6 +527,21 @@ and skills (from `skills-lock.json`), preserving user edits outside managed
522
527
  blocks. Also validates that `AGENTS.md` and `CLAUDE.md` do not exceed the 40KB
523
528
  size limit.
524
529
 
530
+ #### `migrate` — repair a Claude Code settings.json
531
+
532
+ ```bash
533
+ npx cc-codeconductor migrate # ./.claude/settings.json
534
+ npx cc-codeconductor migrate --global # ~/.claude/settings.json
535
+ npx cc-codeconductor migrate --dry-run # preview without writing
536
+ npx cc-codeconductor migrate --file .claude/settings.local.json
537
+ ```
538
+
539
+ Rewrites every `Write(path)` permission rule to `Edit(path)` — Claude Code
540
+ only applies file-scoped rules written the second way, so a `Write(path)`
541
+ rule silently never matches — and dedupes the result. A reinstall can't
542
+ remove a bad rule already on disk (permission arrays merge by union), so this
543
+ is a standalone repair pass, not something `update` fixes on its own.
544
+
525
545
  #### `help` / `cc-help` — distinct help contracts
526
546
 
527
547
  ```bash
@@ -601,6 +621,7 @@ Zod schema for that role. `consensus` exit codes: `0` APPROVED, `1` REJECTED,
601
621
  npx cc-codeconductor openspec validate
602
622
  npx cc-codeconductor openspec scan
603
623
  npx cc-codeconductor openspec plan BC-001
624
+ npx cc-codeconductor openspec analyze --output json
604
625
  npx cc-codeconductor openspec status
605
626
  npx cc-codeconductor openspec next
606
627
  npx cc-codeconductor openspec start BC-001-discover
@@ -609,8 +630,9 @@ npx cc-codeconductor openspec block BC-001-implement --reason "waiting on design
609
630
  npx cc-codeconductor openspec archive BC-001
610
631
  ```
611
632
 
612
- Subcommands: `validate` / `scan` / `plan` / `status` / `next` / `start` / `done`
613
- / `block` / `archive`. Illegal status transitions fail closed. See
633
+ Subcommands: `validate` / `scan` / `plan` / `analyze` / `status` / `next` /
634
+ `start` / `done` / `block` / `archive`. `analyze` is read-only coverage
635
+ (FR/SC → tasks → tests). Illegal status transitions fail closed. See
614
636
  [docs/SDD.md](docs/SDD.md) and the OpenSpec skill.
615
637
 
616
638
  #### Product OS — `ingest` / `product` / `orchestrate` / `impact` / `verify`
@@ -1,3 +1,4 @@
1
+ import type { IndividualRunnerTarget } from '../runner/runner-target';
1
2
  /**
2
3
  * CodeConductor configuration interface
3
4
  */
@@ -8,7 +9,7 @@ export interface CodeConductorConfig {
8
9
  profile?: string;
9
10
  };
10
11
  defaults: {
11
- target: 'opencode' | 'claude' | 'codex' | 'gemini' | 'cursor' | 'agy';
12
+ target: IndividualRunnerTarget;
12
13
  overwrite: boolean;
13
14
  locale: 'en' | 'es';
14
15
  };
@@ -2,3 +2,4 @@ export declare const PACKAGE_ROOT: string;
2
2
  export declare const SRC_PRESETS_DIR: string;
3
3
  export declare const ROOT_PRESETS_DIR: string;
4
4
  export declare const POLICY_PATH: string;
5
+ export declare const SKILLS_REGISTRY_PATH: string;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Runner target type
3
+ */
4
+ export type RunnerTarget = 'opencode' | 'claude' | 'codex' | 'gemini' | 'cursor' | 'agy' | 'pi' | 'all';
5
+ /**
6
+ * Valid runner targets
7
+ */
8
+ export declare const RUNNER_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"];
9
+ /**
10
+ * Individual runner targets (excluding 'all')
11
+ */
12
+ export declare const INDIVIDUAL_TARGETS: readonly ["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"];
13
+ /**
14
+ * A single, installable runner target — every RunnerTarget value except
15
+ * 'all'. The single source for the union type repeated inline across
16
+ * loaders/commands (manifest-loader.ts, install.command.ts, ...) — import
17
+ * this instead of re-listing the 7 targets, so adding an 8th only requires
18
+ * updating INDIVIDUAL_TARGETS above.
19
+ */
20
+ export type IndividualRunnerTarget = (typeof INDIVIDUAL_TARGETS)[number];
21
+ /**
22
+ * Check if a string is a valid runner target
23
+ */
24
+ export declare function isRunnerTarget(value: string): value is RunnerTarget;
25
+ /**
26
+ * Parse runner target from string
27
+ */
28
+ export declare function parseRunnerTarget(value: string): RunnerTarget;
29
+ /**
30
+ * Get individual targets from 'all' or single target
31
+ */
32
+ export declare function getIndividualTargets(target: RunnerTarget): RunnerTarget[];
@@ -37,6 +37,8 @@ export declare function runVerification(projectRoot: string, taskId: string, goa
37
37
  * unreadable evidence all block completion.
38
38
  */
39
39
  export declare function gateTaskCompletion(projectRoot: string, taskId: string, evidenceRequired: string[], evidenceIds?: string[]): Promise<Result<boolean, Error>>;
40
+ export declare const TDD_EVIDENCE_SOURCE = "cc verify";
41
+ export declare const TDD_CAPTURED_BY = "verification-runner";
40
42
  export interface CaptureTddSuiteOptions extends RunVerificationOptions {
41
43
  /** Allowlisted test command (`bun test`, `npm test`, …). */
42
44
  readonly command: string;
@@ -55,3 +57,8 @@ export declare function captureTddSuiteEvidence(projectRoot: string, taskId: str
55
57
  * files (wrong source/type/`capturedBy`) are rejected.
56
58
  */
57
59
  export declare function loadTddSuiteEvidence(projectRoot: string, taskId: string, evidenceId: string): Promise<Result<TddSuiteEvidence, Error>>;
60
+ /**
61
+ * True when the verification runner stored TDD evidence for this task.
62
+ * Handmade JSON (wrong source/type/capturedBy) does not count.
63
+ */
64
+ export declare function hasTddRunnerEvidence(projectRoot: string, taskId: string): Promise<boolean>;
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { getReadyTasks, goalTaskToCanonicalCard, buildTaskEnvelope, getNextTask,
8
8
  export type { OrchestratorNextResult } from './core/orchestrator/runtime-orchestrator';
9
9
  export { LoopEngine, runLoop, runLoopForProject, shouldRunAgentLoop, formatFeedback, advanceTddPhase, } from './core/loop/loop-engine';
10
10
  export type { LoopConfig, LoopResult, EscalationReport, GuardrailHit, GenerateFn, CompileCheckFn, } from './core/loop/loop-engine';
11
- export { runVerification, gateTaskCompletion, validateEvidenceIds, captureTddSuiteEvidence, loadTddSuiteEvidence, } from './core/verification/verification-runner';
11
+ export { runVerification, gateTaskCompletion, validateEvidenceIds, captureTddSuiteEvidence, loadTddSuiteEvidence, hasTddRunnerEvidence, } from './core/verification/verification-runner';
12
12
  export type { RunVerificationOptions, VerificationCheck, CaptureTddSuiteOptions, } from './core/verification/verification-runner';
13
13
  export * from './validation/schemas';
14
14
  export { createInitialState, loopStateMachine, createInitialTddState, tddCycleStateMachine, } from './domain/loop/loop-state';