cc-codeconductor 1.2.0 → 1.4.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 (332) hide show
  1. package/README.md +51 -26
  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/index.js +7585 -5766
  6. package/dist/library.js +234 -169
  7. package/dist/validation/schemas.d.ts +197 -35
  8. package/docs/generated/cli.md +202 -0
  9. package/package.json +6 -1
  10. package/presets/agy/AGENTS.md +1 -1
  11. package/presets/agy/hooks.json +3 -3
  12. package/presets/agy/scripts/invoke-hook.cjs +21 -17
  13. package/presets/agy/skills/android-ui-design/SKILL.md +119 -0
  14. package/presets/agy/skills/cc-feature/SKILL.md +22 -0
  15. package/presets/agy/skills/cc-fix/SKILL.md +22 -0
  16. package/presets/agy/skills/cc-review/SKILL.md +22 -0
  17. package/presets/agy/skills/openspec/SKILL.md +20 -0
  18. package/presets/agy/skills/using-cc-skills/SKILL.md +21 -0
  19. package/presets/agy/skills/web-design-engineering/SKILL.md +101 -0
  20. package/presets/agy/workflows/cc-api-contract.md +4 -0
  21. package/presets/agy/workflows/cc-ask.md +10 -10
  22. package/presets/agy/workflows/cc-council.md +4 -0
  23. package/presets/agy/workflows/cc-db-migration.md +4 -0
  24. package/presets/agy/workflows/cc-explore.md +2 -2
  25. package/presets/agy/workflows/cc-feature.md +26 -0
  26. package/presets/agy/workflows/cc-fix.md +26 -0
  27. package/presets/agy/workflows/cc-handoff.md +1 -1
  28. package/presets/agy/workflows/cc-openspec.md +22 -0
  29. package/presets/agy/workflows/cc-prototype.md +1 -1
  30. package/presets/agy/workflows/cc-refactor.md +5 -1
  31. package/presets/agy/workflows/cc-review.md +27 -1
  32. package/presets/agy/workflows/cc-security.md +4 -0
  33. package/presets/agy/workflows/cc-spec-mutation.md +4 -0
  34. package/presets/agy/workflows/cc-tdd-cycle.md +1 -1
  35. package/presets/agy/workflows/cc-test-plan.md +5 -1
  36. package/presets/claude/commands/cc/api-contract.md +5 -1
  37. package/presets/claude/commands/cc/ask.md +1 -1
  38. package/presets/claude/commands/cc/backlog.md +1 -1
  39. package/presets/claude/commands/cc/clarify.md +1 -1
  40. package/presets/claude/commands/cc/council.md +4 -0
  41. package/presets/claude/commands/cc/db-migration.md +5 -1
  42. package/presets/claude/commands/cc/explore.md +1 -1
  43. package/presets/claude/commands/cc/feature.md +27 -1
  44. package/presets/claude/commands/cc/fix.md +27 -1
  45. package/presets/claude/commands/cc/handoff.md +1 -1
  46. package/presets/claude/commands/cc/iterative.md +1 -1
  47. package/presets/claude/commands/cc/openspec.md +23 -1
  48. package/presets/claude/commands/cc/prototype.md +1 -1
  49. package/presets/claude/commands/cc/refactor.md +5 -1
  50. package/presets/claude/commands/cc/review.md +27 -1
  51. package/presets/claude/commands/cc/scorecard.md +1 -1
  52. package/presets/claude/commands/cc/security.md +5 -1
  53. package/presets/claude/commands/cc/spec-mutation.md +5 -1
  54. package/presets/claude/commands/cc/tdd-cycle.md +1 -1
  55. package/presets/claude/commands/cc/test-plan.md +5 -1
  56. package/presets/claude/commands/cc/triage.md +1 -1
  57. package/presets/claude/skills/android/SKILL.md +4 -1
  58. package/presets/claude/skills/android-ui-design/SKILL.md +119 -0
  59. package/presets/claude/skills/api-versioning/SKILL.md +0 -1
  60. package/presets/claude/skills/django-orm/SKILL.md +0 -1
  61. package/presets/claude/skills/django-testing/SKILL.md +0 -1
  62. package/presets/claude/skills/jpa-postgres/SKILL.md +0 -1
  63. package/presets/claude/skills/openspec/SKILL.md +20 -0
  64. package/presets/claude/skills/pagespeed-perf/SKILL.md +1 -2
  65. package/presets/claude/skills/python/SKILL.md +0 -1
  66. package/presets/claude/skills/python-django-stack/SKILL.md +0 -1
  67. package/presets/claude/skills/python-fastapi-stack/SKILL.md +0 -1
  68. package/presets/claude/skills/security/SKILL.md +0 -1
  69. package/presets/claude/skills/spring-boot-feature/SKILL.md +0 -1
  70. package/presets/claude/skills/spring-boot-kotlin/SKILL.md +0 -1
  71. package/presets/claude/skills/sqlalchemy/SKILL.md +0 -1
  72. package/presets/claude/skills/testing-strategy/SKILL.md +0 -1
  73. package/presets/claude/skills/using-cc-skills/SKILL.md +21 -0
  74. package/presets/claude/skills/web-design-engineering/SKILL.md +101 -0
  75. package/presets/codex/AGENTS.md +3 -2
  76. package/presets/codex/commands/cc-ask.md +10 -10
  77. package/presets/codex/skills/android/SKILL.md +4 -1
  78. package/presets/codex/skills/android-ui-design/SKILL.md +119 -0
  79. package/presets/codex/skills/api-versioning/SKILL.md +0 -1
  80. package/presets/codex/skills/cc-api-contract/SKILL.md +11 -7
  81. package/presets/codex/skills/cc-backlog/SKILL.md +1 -1
  82. package/presets/codex/skills/cc-clarify/SKILL.md +1 -1
  83. package/presets/codex/skills/cc-council/SKILL.md +4 -0
  84. package/presets/codex/skills/cc-db-migration/SKILL.md +11 -7
  85. package/presets/codex/skills/cc-explore/SKILL.md +3 -3
  86. package/presets/codex/skills/cc-feature/SKILL.md +38 -8
  87. package/presets/codex/skills/cc-fix/SKILL.md +36 -7
  88. package/presets/codex/skills/cc-handoff/SKILL.md +2 -2
  89. package/presets/codex/skills/cc-iterative/SKILL.md +8 -8
  90. package/presets/codex/skills/cc-openspec/SKILL.md +24 -2
  91. package/presets/codex/skills/cc-prototype/SKILL.md +2 -2
  92. package/presets/codex/skills/cc-refactor/SKILL.md +8 -4
  93. package/presets/codex/skills/cc-review/SKILL.md +28 -2
  94. package/presets/codex/skills/cc-scorecard/SKILL.md +1 -1
  95. package/presets/codex/skills/cc-security/SKILL.md +5 -1
  96. package/presets/codex/skills/cc-spec-mutation/SKILL.md +7 -3
  97. package/presets/codex/skills/cc-tdd-cycle/SKILL.md +6 -6
  98. package/presets/codex/skills/cc-test-plan/SKILL.md +6 -2
  99. package/presets/codex/skills/cc-triage/SKILL.md +1 -1
  100. package/presets/codex/skills/django-orm/SKILL.md +0 -1
  101. package/presets/codex/skills/django-testing/SKILL.md +0 -1
  102. package/presets/codex/skills/jpa-postgres/SKILL.md +0 -1
  103. package/presets/codex/skills/openspec/SKILL.md +20 -0
  104. package/presets/codex/skills/pagespeed-perf/SKILL.md +1 -2
  105. package/presets/codex/skills/python/SKILL.md +0 -1
  106. package/presets/codex/skills/python-django-stack/SKILL.md +0 -1
  107. package/presets/codex/skills/python-fastapi-stack/SKILL.md +0 -1
  108. package/presets/codex/skills/spring-boot-feature/SKILL.md +0 -1
  109. package/presets/codex/skills/spring-boot-kotlin/SKILL.md +0 -1
  110. package/presets/codex/skills/sqlalchemy/SKILL.md +0 -1
  111. package/presets/codex/skills/testing-strategy/SKILL.md +0 -1
  112. package/presets/codex/skills/using-cc-skills/SKILL.md +21 -0
  113. package/presets/codex/skills/web-design-engineering/SKILL.md +101 -0
  114. package/presets/cursor/agents/architect.md +1 -1
  115. package/presets/cursor/agents/complexity-auditor.md +1 -1
  116. package/presets/cursor/agents/contract-builder.md +1 -1
  117. package/presets/cursor/agents/docs.md +1 -1
  118. package/presets/cursor/agents/goal-planner.md +1 -1
  119. package/presets/cursor/agents/implementer.md +2 -2
  120. package/presets/cursor/agents/orchestrator.md +3 -3
  121. package/presets/cursor/agents/reviewer.md +4 -4
  122. package/presets/cursor/agents/security-reviewer.md +1 -1
  123. package/presets/cursor/agents/task-coach.md +1 -1
  124. package/presets/cursor/agents/tester.md +1 -1
  125. package/presets/cursor/commands/cc/api-contract.md +5 -1
  126. package/presets/cursor/commands/cc/ask.md +1 -1
  127. package/presets/cursor/commands/cc/backlog.md +1 -1
  128. package/presets/cursor/commands/cc/clarify.md +1 -1
  129. package/presets/cursor/commands/cc/council.md +4 -0
  130. package/presets/cursor/commands/cc/db-migration.md +5 -1
  131. package/presets/cursor/commands/cc/explore.md +1 -1
  132. package/presets/cursor/commands/cc/feature.md +27 -1
  133. package/presets/cursor/commands/cc/fix.md +27 -1
  134. package/presets/cursor/commands/cc/handoff.md +1 -1
  135. package/presets/cursor/commands/cc/iterative.md +1 -1
  136. package/presets/cursor/commands/cc/openspec.md +23 -1
  137. package/presets/cursor/commands/cc/prototype.md +1 -1
  138. package/presets/cursor/commands/cc/refactor.md +5 -1
  139. package/presets/cursor/commands/cc/review.md +27 -1
  140. package/presets/cursor/commands/cc/scorecard.md +1 -1
  141. package/presets/cursor/commands/cc/security.md +5 -1
  142. package/presets/cursor/commands/cc/spec-mutation.md +5 -1
  143. package/presets/cursor/commands/cc/tdd-cycle.md +1 -1
  144. package/presets/cursor/commands/cc/test-plan.md +5 -1
  145. package/presets/cursor/commands/cc/triage.md +1 -1
  146. package/presets/cursor/skills/android/SKILL.md +4 -1
  147. package/presets/cursor/skills/android-ui-design/SKILL.md +119 -0
  148. package/presets/cursor/skills/api-versioning/SKILL.md +0 -1
  149. package/presets/cursor/skills/astro/SKILL.md +0 -1
  150. package/presets/cursor/skills/auth-token-inspector/SKILL.md +0 -1
  151. package/presets/cursor/skills/code-review/SKILL.md +0 -1
  152. package/presets/cursor/skills/django-orm/SKILL.md +0 -1
  153. package/presets/cursor/skills/django-testing/SKILL.md +0 -1
  154. package/presets/cursor/skills/django-uv/SKILL.md +0 -1
  155. package/presets/cursor/skills/drizzle-schema-architect/SKILL.md +0 -1
  156. package/presets/cursor/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  157. package/presets/cursor/skills/jpa-nplusone-detector/SKILL.md +0 -1
  158. package/presets/cursor/skills/jpa-postgres/SKILL.md +0 -1
  159. package/presets/cursor/skills/livewire-alpine-bridge/SKILL.md +0 -1
  160. package/presets/cursor/skills/nextjs-typescript/SKILL.md +0 -1
  161. package/presets/cursor/skills/openspec/SKILL.md +20 -0
  162. package/presets/cursor/skills/pagespeed-perf/SKILL.md +1 -2
  163. package/presets/cursor/skills/python/SKILL.md +0 -1
  164. package/presets/cursor/skills/python-django-stack/SKILL.md +0 -1
  165. package/presets/cursor/skills/python-fastapi-stack/SKILL.md +0 -1
  166. package/presets/cursor/skills/security/SKILL.md +0 -1
  167. package/presets/cursor/skills/seo-analytics-injector/SKILL.md +0 -1
  168. package/presets/cursor/skills/spring-auth-auditor/SKILL.md +0 -1
  169. package/presets/cursor/skills/spring-boot-feature/SKILL.md +0 -1
  170. package/presets/cursor/skills/spring-boot-kotlin/SKILL.md +0 -1
  171. package/presets/cursor/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  172. package/presets/cursor/skills/sqlalchemy/SKILL.md +0 -1
  173. package/presets/cursor/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  174. package/presets/cursor/skills/tdd-mutation-tester/SKILL.md +0 -1
  175. package/presets/cursor/skills/using-cc-skills/SKILL.md +21 -0
  176. package/presets/cursor/skills/web-design-engineering/SKILL.md +101 -0
  177. package/presets/gemini/GEMINI.md +38 -0
  178. package/presets/gemini/commands/cc/api-contract.toml +10 -6
  179. package/presets/gemini/commands/cc/ask.toml +1 -1
  180. package/presets/gemini/commands/cc/backlog.toml +1 -1
  181. package/presets/gemini/commands/cc/clarify.toml +1 -1
  182. package/presets/gemini/commands/cc/council.toml +4 -0
  183. package/presets/gemini/commands/cc/db-migration.toml +10 -6
  184. package/presets/gemini/commands/cc/explore.toml +1 -1
  185. package/presets/gemini/commands/cc/feature.toml +33 -7
  186. package/presets/gemini/commands/cc/fix.toml +35 -9
  187. package/presets/gemini/commands/cc/handoff.toml +1 -1
  188. package/presets/gemini/commands/cc/iterative.toml +7 -7
  189. package/presets/gemini/commands/cc/openspec.toml +23 -1
  190. package/presets/gemini/commands/cc/prototype.toml +1 -1
  191. package/presets/gemini/commands/cc/refactor.toml +8 -4
  192. package/presets/gemini/commands/cc/review.toml +27 -4
  193. package/presets/gemini/commands/cc/scorecard.toml +1 -1
  194. package/presets/gemini/commands/cc/security.toml +5 -1
  195. package/presets/gemini/commands/cc/spec-mutation.toml +5 -1
  196. package/presets/gemini/commands/cc/tdd-cycle.toml +5 -8
  197. package/presets/gemini/commands/cc/test-plan.toml +6 -2
  198. package/presets/gemini/commands/cc/triage.toml +1 -1
  199. package/presets/gemini/settings.json +3 -0
  200. package/presets/opencode/agents/docs.md +1 -1
  201. package/presets/opencode/agents/reviewer.md +1 -1
  202. package/presets/opencode/commands/cc-api-contract.md +4 -0
  203. package/presets/opencode/commands/cc-ask.md +10 -10
  204. package/presets/opencode/commands/cc-council.md +4 -0
  205. package/presets/opencode/commands/cc-db-migration.md +4 -0
  206. package/presets/opencode/commands/cc-explore.md +2 -2
  207. package/presets/opencode/commands/cc-feature.md +26 -0
  208. package/presets/opencode/commands/cc-fix.md +26 -0
  209. package/presets/opencode/commands/cc-handoff.md +1 -1
  210. package/presets/opencode/commands/cc-openspec.md +22 -0
  211. package/presets/opencode/commands/cc-prototype.md +1 -1
  212. package/presets/opencode/commands/cc-refactor.md +5 -1
  213. package/presets/opencode/commands/cc-review.md +27 -1
  214. package/presets/opencode/commands/cc-security.md +4 -0
  215. package/presets/opencode/commands/cc-spec-mutation.md +4 -0
  216. package/presets/opencode/commands/cc-tdd-cycle.md +1 -1
  217. package/presets/opencode/commands/cc-test-plan.md +5 -1
  218. package/presets/opencode/prompts/v1.0.0/README.md +1 -1
  219. package/presets/opencode/prompts/v1.0.0/docs.md +1 -1
  220. package/presets/opencode/prompts/v1.0.0/reviewer.md +1 -1
  221. package/presets/opencode/skills/android/SKILL.md +4 -1
  222. package/presets/opencode/skills/android-ui-design/SKILL.md +119 -0
  223. package/presets/opencode/skills/api-versioning/SKILL.md +0 -1
  224. package/presets/opencode/skills/astro/SKILL.md +0 -1
  225. package/presets/opencode/skills/auth-token-inspector/SKILL.md +0 -1
  226. package/presets/opencode/skills/code-review/SKILL.md +0 -1
  227. package/presets/opencode/skills/django-orm/SKILL.md +0 -1
  228. package/presets/opencode/skills/django-testing/SKILL.md +0 -1
  229. package/presets/opencode/skills/django-uv/SKILL.md +0 -1
  230. package/presets/opencode/skills/drizzle-schema-architect/SKILL.md +0 -1
  231. package/presets/opencode/skills/fastapi-pydantic-strict/SKILL.md +0 -1
  232. package/presets/opencode/skills/jpa-nplusone-detector/SKILL.md +0 -1
  233. package/presets/opencode/skills/jpa-postgres/SKILL.md +0 -1
  234. package/presets/opencode/skills/livewire-alpine-bridge/SKILL.md +0 -1
  235. package/presets/opencode/skills/nextjs-typescript/SKILL.md +0 -1
  236. package/presets/opencode/skills/openspec/SKILL.md +20 -0
  237. package/presets/opencode/skills/pagespeed-perf/SKILL.md +1 -2
  238. package/presets/opencode/skills/python/SKILL.md +0 -1
  239. package/presets/opencode/skills/python-django-stack/SKILL.md +0 -1
  240. package/presets/opencode/skills/python-fastapi-stack/SKILL.md +0 -1
  241. package/presets/opencode/skills/security/SKILL.md +0 -1
  242. package/presets/opencode/skills/seo-analytics-injector/SKILL.md +0 -1
  243. package/presets/opencode/skills/spring-auth-auditor/SKILL.md +0 -1
  244. package/presets/opencode/skills/spring-boot-feature/SKILL.md +0 -1
  245. package/presets/opencode/skills/spring-boot-kotlin/SKILL.md +0 -1
  246. package/presets/opencode/skills/spring-boot-testing-strategy/SKILL.md +0 -1
  247. package/presets/opencode/skills/sqlalchemy/SKILL.md +0 -1
  248. package/presets/opencode/skills/tailwind-responsive-auditor/SKILL.md +0 -1
  249. package/presets/opencode/skills/tdd-mutation-tester/SKILL.md +0 -1
  250. package/presets/opencode/skills/using-cc-skills/SKILL.md +21 -0
  251. package/presets/opencode/skills/web-design-engineering/SKILL.md +101 -0
  252. package/presets/pi/AGENTS.md +43 -0
  253. package/presets/pi/settings.json +3 -0
  254. package/presets/seo-hotel/skills/astro-seo/SKILL.md +0 -1
  255. package/presets/seo-hotel/skills/geo-readiness/SKILL.md +0 -1
  256. package/presets/seo-hotel/skills/off-page/SKILL.md +0 -1
  257. package/presets/seo-hotel/skills/schema-validator/SKILL.md +0 -1
  258. package/presets/seo-hotel/skills/seo-audit/SKILL.md +0 -1
  259. package/presets/shared/invoke-hook.cjs +21 -17
  260. package/src/presets/council/council.yml +12 -9
  261. package/src/presets/manifests/agy.yml +1 -1
  262. package/src/presets/manifests/gemini.yml +11 -11
  263. package/src/presets/manifests/pi.yml +25 -0
  264. package/src/presets/models/agy.yml +2 -128
  265. package/src/presets/models/claude.yml +2 -144
  266. package/src/presets/models/codex.yml +2 -144
  267. package/src/presets/models/cursor.yml +2 -144
  268. package/src/presets/models/gemini.yml +2 -144
  269. package/src/presets/models/opencode.yml +3 -101
  270. package/src/presets/models/pi.yml +5 -0
  271. package/src/presets/models/roles.yml +193 -0
  272. package/src/presets/shared-skills.yml +68 -0
  273. package/src/presets/targets/agy.yml +11 -0
  274. package/src/presets/targets/claude.yml +12 -0
  275. package/src/presets/targets/codex.yml +14 -0
  276. package/src/presets/targets/cursor.yml +11 -0
  277. package/src/presets/targets/gemini.yml +15 -0
  278. package/src/presets/targets/opencode.yml +13 -0
  279. package/src/presets/targets/pi.yml +12 -0
  280. package/presets/opencode/prompts/v0.1.0/DEPRECATED.md +0 -11
  281. package/presets/opencode/prompts/v0.1.0/architect.md +0 -213
  282. package/presets/opencode/prompts/v0.1.0/docs.md +0 -181
  283. package/presets/opencode/prompts/v0.1.0/implementer.md +0 -154
  284. package/presets/opencode/prompts/v0.1.0/orchestrator.md +0 -169
  285. package/presets/opencode/prompts/v0.1.0/repo-explorer.md +0 -102
  286. package/presets/opencode/prompts/v0.1.0/reviewer.md +0 -183
  287. package/presets/opencode/prompts/v0.1.0/task-coach.md +0 -142
  288. package/presets/opencode/prompts/v0.1.0/tester.md +0 -160
  289. package/presets/opencode/prompts/v0.2.0/DEPRECATED.md +0 -11
  290. package/presets/opencode/prompts/v0.2.0/architect.md +0 -219
  291. package/presets/opencode/prompts/v0.2.0/docs.md +0 -187
  292. package/presets/opencode/prompts/v0.2.0/implementer.md +0 -160
  293. package/presets/opencode/prompts/v0.2.0/orchestrator.md +0 -238
  294. package/presets/opencode/prompts/v0.2.0/repo-explorer.md +0 -108
  295. package/presets/opencode/prompts/v0.2.0/reviewer.md +0 -190
  296. package/presets/opencode/prompts/v0.2.0/task-coach.md +0 -153
  297. package/presets/opencode/prompts/v0.2.0/tester.md +0 -249
  298. package/presets/opencode/prompts/v0.3.0/DEPRECATED.md +0 -11
  299. package/presets/opencode/prompts/v0.3.0/architect.md +0 -221
  300. package/presets/opencode/prompts/v0.3.0/docs.md +0 -189
  301. package/presets/opencode/prompts/v0.3.0/implementer.md +0 -162
  302. package/presets/opencode/prompts/v0.3.0/orchestrator.md +0 -360
  303. package/presets/opencode/prompts/v0.3.0/repo-explorer.md +0 -110
  304. package/presets/opencode/prompts/v0.3.0/reviewer.md +0 -225
  305. package/presets/opencode/prompts/v0.3.0/task-coach.md +0 -155
  306. package/presets/opencode/prompts/v0.3.0/tester.md +0 -251
  307. package/presets/opencode/prompts/v0.4.0/DEPRECATED.md +0 -11
  308. package/presets/opencode/prompts/v0.4.0/architect.md +0 -221
  309. package/presets/opencode/prompts/v0.4.0/complexity-auditor.md +0 -89
  310. package/presets/opencode/prompts/v0.4.0/docs.md +0 -189
  311. package/presets/opencode/prompts/v0.4.0/implementer.md +0 -162
  312. package/presets/opencode/prompts/v0.4.0/orchestrator.md +0 -348
  313. package/presets/opencode/prompts/v0.4.0/repo-explorer.md +0 -110
  314. package/presets/opencode/prompts/v0.4.0/reviewer.md +0 -225
  315. package/presets/opencode/prompts/v0.4.0/task-coach.md +0 -155
  316. package/presets/opencode/prompts/v0.4.0/tester.md +0 -251
  317. package/presets/opencode/prompts/v0.5.0/architect.md +0 -222
  318. package/presets/opencode/prompts/v0.5.0/complexity-auditor.md +0 -91
  319. package/presets/opencode/prompts/v0.5.0/contract-builder.md +0 -84
  320. package/presets/opencode/prompts/v0.5.0/docs.md +0 -190
  321. package/presets/opencode/prompts/v0.5.0/goal-planner.md +0 -80
  322. package/presets/opencode/prompts/v0.5.0/implementer.md +0 -171
  323. package/presets/opencode/prompts/v0.5.0/orchestrator.md +0 -388
  324. package/presets/opencode/prompts/v0.5.0/repo-explorer.md +0 -111
  325. package/presets/opencode/prompts/v0.5.0/reviewer.md +0 -248
  326. package/presets/opencode/prompts/v0.5.0/security-reviewer.md +0 -123
  327. package/presets/opencode/prompts/v0.5.0/task-coach.md +0 -156
  328. package/presets/opencode/prompts/v0.5.0/tester.md +0 -252
  329. package/presets/opencode/prompts/v0.6.0/implementer.md +0 -35
  330. package/presets/opencode/prompts/v0.6.0/planner.md +0 -36
  331. package/presets/opencode/prompts/v0.6.0/reviewer.md +0 -40
  332. package/presets/shared/__pycache__/mutation_runner.cpython-314.pyc +0 -0
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Stop prompting. Start orchestrating.**
4
4
 
5
- [![Socket Badge](https://badge.socket.dev/npm/package/cc-codeconductor/1.0.0)](https://badge.socket.dev/npm/package/cc-codeconductor/1.0.0)
5
+ [![Socket Badge](https://badge.socket.dev/npm/package/cc-codeconductor/1.3.0)](https://badge.socket.dev/npm/package/cc-codeconductor/1.3.0)
6
6
 
7
7
  CodeConductor is an open-source framework for building structured, reproducible
8
8
  AI-assisted software engineering workflows.
@@ -15,11 +15,11 @@ contracts, task cards, and risk-based routing.
15
15
  >
16
16
  > ## Current Scope
17
17
  >
18
- > Published package is **1.0.0**. Limitations matrix:
18
+ > Published package is **1.3.x (current stable: 1.3.0)**. Limitations matrix:
19
19
  > [docs/current-status.md](docs/current-status.md). This repository:
20
20
  > `bun run dev …` (not `npx`) while iterating.
21
21
  >
22
- > Shipped in 1.0.0:
22
+ > Shipped in the 1.3.x stable line:
23
23
  >
24
24
  > - `npx cc-codeconductor init` — detects project stack, writes
25
25
  > `.codeconductor/config.yml`, copies `council.yml` and `policy.yml` into
@@ -42,8 +42,8 @@ contracts, task cards, and risk-based routing.
42
42
  > - `npx cc-codeconductor scorecard …`
43
43
  > - `npx cc-codeconductor goal` / `ingest` / `product` / `orchestrate` /
44
44
  > `impact` / `verify` — Product OS (see
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`;
45
+ > [docs/v1.3.0-release-notes.md](docs/v1.3.0-release-notes.md))
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
@@ -96,10 +96,12 @@ This is not a prompt collection. It is a workflow framework.
96
96
 
97
97
  ---
98
98
 
99
- ## What's new in v1.0.0
99
+ ## What's new in v1.3.0
100
100
 
101
- v1.0.0 is a **major** bump from v0.5.0 because the workflow contracts changed,
102
- not only because features were added. Re-install presets after upgrading.
101
+ v1.3.0 is the current **stable** release in the 1.3.x line. It retains the
102
+ v1.0.0 workflow contract baseline and adds cross-target preset fixes, centralized
103
+ skill versioning, runner parity improvements, and the contextual web design
104
+ engineering skill. Re-install presets after upgrading.
103
105
 
104
106
  ### Breaking changes vs v0.5.0
105
107
 
@@ -124,16 +126,19 @@ not only because features were added. Re-install presets after upgrading.
124
126
 
125
127
  ### Slash commands
126
128
 
127
- After `install preset`, 18 CCEP workflows plus `/cc-ask`:
129
+ After `install preset`, 21 CCEP workflows plus `/cc-ask` (22 total), tiered by
130
+ what they do rather than which subsystem they touch:
128
131
 
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 |
132
+ | Tier | Commands | Purpose |
133
+ | ------------- | ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
134
+ | Entry | `/cc-ask`, `/cc-triage`, `/cc-explore` | Recommend a next command and stop — no writes. |
135
+ | 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. |
136
+ | Verification | `/cc-review`, `/cc-council`, `/cc-scorecard`, `/cc-test-plan`, `/cc-security` | Gate a diff or a decision before merge. |
137
+ | 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
138
 
136
139
  Prefer `/cc-iterative`, `/cc-triage`, and `/cc-handoff` for wayfinding.
140
+ `/cc-ask` recommends a command from a natural-language problem; it does not
141
+ start the workflow.
137
142
 
138
143
  ### OpenSpec and TDD
139
144
 
@@ -158,7 +163,8 @@ review. Test-before-implement is required whenever both phases apply.
158
163
  - `complexity-auditor` — bloat and non-native abstractions; runs before
159
164
  `reviewer` on refactor, API change, and database migration routes
160
165
 
161
- New v1.0.0 agents: `business-agent`, `continuous-architect`, `impact-analyst`.
166
+ The v1.0.0 contract baseline introduced `business-agent`,
167
+ `continuous-architect`, and `impact-analyst`.
162
168
 
163
169
  ### Deterministic TypeScript validation (CCEP)
164
170
 
@@ -184,9 +190,9 @@ npx cc-codeconductor ccep taskcard --command feature --input @card.json
184
190
 
185
191
  ### Product OS
186
192
 
187
- Also in 1.0.0: `goal` / `ingest` / `product` / `orchestrate` / `impact` /
193
+ The stable line includes `goal` / `ingest` / `product` / `orchestrate` / `impact` /
188
194
  `verify`, plus `.codeconductor/product-graph.json` and related artifacts.
189
- Details: [docs/v1.0.0-release-notes.md](docs/v1.0.0-release-notes.md) and
195
+ Details: [docs/v1.3.0-release-notes.md](docs/v1.3.0-release-notes.md) and
190
196
  [docs/product-os.md](docs/product-os.md).
191
197
 
192
198
  ### Migrate from v0.5.0
@@ -229,7 +235,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
229
235
 
230
236
  ## Current Support
231
237
 
232
- - OpenCode, Claude, Codex, Gemini, Cursor, and Agy presets
238
+ - OpenCode, Claude, Codex, Gemini, Cursor, Agy, and Pi presets
233
239
  - Claude Code-compatible preset (see
234
240
  [Claude Environment Options & Best Practices](docs/claude-env-options.md))
235
241
  - Spring Boot / Kotlin workflow
@@ -237,7 +243,7 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
237
243
  - **15 Conductor Agents** — including `reviewer`, `security-reviewer`,
238
244
  `complexity-auditor`, `business-agent`, `continuous-architect`, and
239
245
  `impact-analyst`
240
- - 18 CCEP slash-command workflows plus `/cc-ask` after `install preset`
246
+ - 21 CCEP slash-command workflows plus `/cc-ask` after `install preset`
241
247
  - OpenSpec delivery loop (`validate` … `archive`) with test-before-implement
242
248
  - Deterministic CCEP validation (Zod schemas per agent role)
243
249
  - Task Card template
@@ -271,14 +277,14 @@ Task Card → Risk Classification → Routing Policy → Conductor Agent → Del
271
277
 
272
278
  ## Supply chain
273
279
 
274
- Published **1.0.0** declares two production dependencies (`package.json`
280
+ Published **1.3.0** declares two production dependencies (`package.json`
275
281
  `dependencies`; same on
276
282
  [npm](https://www.npmjs.com/package/cc-codeconductor)). Neither has further
277
283
  npm transitive dependencies.
278
284
 
279
285
  ```mermaid
280
286
  graph LR
281
- cc["cc-codeconductor@1.0.0"]
287
+ cc["cc-codeconductor@1.3.0"]
282
288
  zod["zod@^3.23.8"]
283
289
  yaml["yaml@^2.4.5"]
284
290
  cc --> zod
@@ -398,6 +404,7 @@ npx cc-codeconductor install preset --target opencode # project-level
398
404
  npx cc-codeconductor install preset --target claude
399
405
  npx cc-codeconductor install preset --target codex
400
406
  npx cc-codeconductor install preset --target agy # antigravity cli
407
+ npx cc-codeconductor install preset --target pi # pi.dev coding agent
401
408
  npx cc-codeconductor install preset --target all # all targets
402
409
 
403
410
  npx cc-codeconductor install preset --target claude --global # write to ~/.claude/
@@ -473,6 +480,7 @@ npx cc-codeconductor install council --target opencode # project-level
473
480
  npx cc-codeconductor install council --target claude
474
481
  npx cc-codeconductor install council --target codex
475
482
  npx cc-codeconductor install council --target agy # antigravity cli
483
+ npx cc-codeconductor install council --target pi # pi.dev coding agent
476
484
  npx cc-codeconductor install council --target all # all targets
477
485
 
478
486
  npx cc-codeconductor install council --target claude --global # write to ~/.claude/
@@ -522,6 +530,21 @@ and skills (from `skills-lock.json`), preserving user edits outside managed
522
530
  blocks. Also validates that `AGENTS.md` and `CLAUDE.md` do not exceed the 40KB
523
531
  size limit.
524
532
 
533
+ #### `migrate` — repair a Claude Code settings.json
534
+
535
+ ```bash
536
+ npx cc-codeconductor migrate # ./.claude/settings.json
537
+ npx cc-codeconductor migrate --global # ~/.claude/settings.json
538
+ npx cc-codeconductor migrate --dry-run # preview without writing
539
+ npx cc-codeconductor migrate --file .claude/settings.local.json
540
+ ```
541
+
542
+ Rewrites every `Write(path)` permission rule to `Edit(path)` — Claude Code
543
+ only applies file-scoped rules written the second way, so a `Write(path)`
544
+ rule silently never matches — and dedupes the result. A reinstall can't
545
+ remove a bad rule already on disk (permission arrays merge by union), so this
546
+ is a standalone repair pass, not something `update` fixes on its own.
547
+
525
548
  #### `help` / `cc-help` — distinct help contracts
526
549
 
527
550
  ```bash
@@ -612,7 +635,9 @@ npx cc-codeconductor openspec archive BC-001
612
635
 
613
636
  Subcommands: `validate` / `scan` / `plan` / `analyze` / `status` / `next` /
614
637
  `start` / `done` / `block` / `archive`. `analyze` is read-only coverage
615
- (FR/SC → tasks → tests). Illegal status transitions fail closed. See
638
+ (FR/SC → tasks → tests). Planned changes use capability-scoped delta specs;
639
+ archive synchronizes validated deltas into durable specs before filing the
640
+ change. Illegal status transitions fail closed. See
616
641
  [docs/SDD.md](docs/SDD.md) and the OpenSpec skill.
617
642
 
618
643
  #### Product OS — `ingest` / `product` / `orchestrate` / `impact` / `verify`
@@ -773,10 +798,10 @@ codeconductor/
773
798
 
774
799
  ## Roadmap
775
800
 
776
- Published package: **1.0.0**. Remaining gaps (sandbox, policy compiler, full
801
+ Published package: **1.3.x (current stable: 1.3.0)**. Remaining gaps (sandbox, policy compiler, full
777
802
  stack-specific asset pruning): [docs/current-status.md](docs/current-status.md).
778
- Product OS surface:
779
- [docs/v1.0.0-release-notes.md](docs/v1.0.0-release-notes.md).
803
+ Release details:
804
+ [docs/v1.3.0-release-notes.md](docs/v1.3.0-release-notes.md).
780
805
 
781
806
  See [ROADMAP.md](ROADMAP.md) for historical notes.
782
807
 
@@ -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[];