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
@@ -21,11 +21,10 @@ Describe what behavior you want to implement. Include:
21
21
 
22
22
  Command: `tdd-cycle` (fixed for this workflow — do not infer from user text)
23
23
 
24
- 1. Run: `npx cc-codeconductor ccep parse --command tdd-cycle "$ARGUMENTS" --output json`
25
- 2. Run: `npx cc-codeconductor ccep resolve --command tdd-cycle "$ARGUMENTS" --output json`
26
- 3. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json`
27
- 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command tdd-cycle --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
28
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
24
+ 1. Run: `npx cc-codeconductor ccep profile tdd-cycle --output json` to get the phases and their roles.
25
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command tdd-cycle --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
26
+ 3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command tdd-cycle --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
27
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
29
28
  Canonical delivery order is test-before-implement whenever both phases apply.
30
29
 
31
30
  ---
@@ -24,11 +24,10 @@ If $ARGUMENTS is empty, describe the scope in your next message before invoking
24
24
 
25
25
  Command: `test-plan` (fixed for this workflow — do not infer from user text)
26
26
 
27
- 1. Run: `npx cc-codeconductor ccep parse --command test-plan "$ARGUMENTS" --output json`
28
- 2. Run: `npx cc-codeconductor ccep resolve --command test-plan "$ARGUMENTS" --output json`
29
- 3. Run: `npx cc-codeconductor ccep profile test-plan --output json`
30
- 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command test-plan --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
31
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
27
+ 1. Run: `npx cc-codeconductor ccep profile test-plan --output json` to get the phases and their roles.
28
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command test-plan --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
29
+ 3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command test-plan --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
30
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
32
31
 
33
32
  ---
34
33
 
@@ -10,11 +10,10 @@ Triage request: $ARGUMENTS
10
10
 
11
11
  Command: `triage` (fixed for this workflow — do not infer from user text)
12
12
 
13
- 1. Run: `npx cc-codeconductor ccep parse --command triage "$ARGUMENTS" --output json`
14
- 2. Run: `npx cc-codeconductor ccep resolve --command triage "$ARGUMENTS" --output json`
15
- 3. Run: `npx cc-codeconductor ccep profile triage --output json`
16
- 4. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command triage --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
17
- 5. Delegate to subagents using compiled CCEP prompts — never forward raw `$ARGUMENTS` to planners.
13
+ 1. Run: `npx cc-codeconductor ccep profile triage --output json` to get the phases and their roles.
14
+ 2. For each delegated phase, run: `npx cc-codeconductor ccep compile --command triage --phase <phase-id> "$ARGUMENTS" --view prompt --output json`
15
+ 3. After planner/intake JSON is available, run: `npx cc-codeconductor ccep evaluate --command triage --input <planner.json> --output json`. If `stop` is true, show questions or risks and wait for human input.
16
+ 4. Pass each subagent only the compiled `prompt` for its phase — never forward raw `$ARGUMENTS` to planners.
18
17
 
19
18
  ---
20
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://opencode.ai/config.json",
3
- "model": "opencode-go/qwen3.7-plus",
3
+ "model": "opencode-go/deepseek-v4.1-flash",
4
4
  "permission": {
5
5
  "*": "ask",
6
6
  "read": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: android
3
- name: Android + Kotlin (Jetpack Compose & Media3)
3
+ name: android
4
4
  description: >
5
5
  Provides expert knowledge for building modern native Android apps using Kotlin, Jetpack Compose, Material Design 3, MVI architecture, Hilt dependency injection, and Media3/ExoPlayer.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: api-versioning
3
- name: API Versioning
3
+ name: api-versioning
4
4
  description: >
5
5
  Provides expert knowledge for designing, implementing, and managing REST API
6
6
  versioning strategies with deprecation workflows.
@@ -39,6 +39,7 @@ quality:
39
39
  reviewed_by: codeconductor-core
40
40
  version: 0.1.0
41
41
  ---
42
+
42
43
  # API Versioning
43
44
 
44
45
  ## Versioning Strategies
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: astro
3
- name: Astro
3
+ name: astro
4
4
  description: >
5
5
  Provides expert knowledge for building Astro 5+ sites with Islands Architecture, Content Collections, TypeScript, and performance-first rendering strategies.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: auth-token-inspector
3
- name: Auth Token Inspector
3
+ name: auth-token-inspector
4
4
  description: >
5
5
  Audits token storage mechanisms to prevent XSS-based JWT theft.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: code-review
3
- name: Code Review
3
+ name: code-review
4
4
  description: >
5
5
  Provides a structured framework for conducting thorough code reviews covering correctness, security, architecture alignment, performance, and technical debt.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-orm
3
- name: Django ORM
3
+ name: django-orm
4
4
  description: >
5
5
  Django ORM patterns for multi-tenant POS projects: efficient queries,
6
6
  bulk operations, transactions, and multi-schema upload paths.
@@ -41,6 +41,7 @@ quality:
41
41
  reviewed_by: codeconductor-core
42
42
  version: 0.1.0
43
43
  ---
44
+
44
45
  ## When to Use
45
46
 
46
47
  - Writing or reviewing queryset code in any `apps/*/`
@@ -456,5 +457,4 @@ def on_order_save(sender, instance, created, **kwargs):
456
457
  - **Annotation examples**: `apps/pos/views.py` lines 59-75
457
458
  - **Exists usage**: `apps/catalog/views.py` line 112
458
459
  - **Upload paths**: `apps/catalog/models.py`
459
- - **Django ORM docs**:
460
- <https://docs.djangoproject.com/en/5.2/topics/db/queries/>
460
+ - **Django ORM docs**: https://docs.djangoproject.com/en/5.2/topics/db/queries/
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-testing
3
- name: Django Testing
3
+ name: django-testing
4
4
  description: >
5
5
  Testing patterns for multi-tenant Django POS projects using pytest-django,
6
6
  RequestFactory, and mocks. No factories, no complex conftest.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: django-uv
3
- name: Django + UV
3
+ name: django-uv
4
4
  description: >
5
5
  Provides expert knowledge for building Django 5+ projects with UV as the package manager, domain-driven app structure, ruff for linting, and pytest-django for testing.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: drizzle-schema-architect
3
- name: Drizzle Schema Architect
3
+ name: drizzle-schema-architect
4
4
  description: >
5
5
  Generates strictly typed Drizzle ORM schemas for PostgreSQL with indexes,
6
6
  foreign keys, and Zod schema deduction.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: fastapi-pydantic-strict
3
- name: FastAPI Pydantic Strict
3
+ name: fastapi-pydantic-strict
4
4
  description: >
5
5
  Enforces Pydantic v2 strict models, asynchronous dependency generators, and uv environment setup.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: jpa-nplusone-detector
3
- name: JPA N+1 Query Detector
3
+ name: jpa-nplusone-detector
4
4
  description: >
5
5
  Audits Hibernate database interactions to prevent N+1 query problems in JVM apps.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: jpa-postgres
3
- name: JPA + PostgreSQL
3
+ name: jpa-postgres
4
4
  description: >
5
5
  Provides expert knowledge of JPA entity design, relationship mapping, Flyway
6
6
  migrations, and PostgreSQL-specific optimizations.
@@ -41,6 +41,7 @@ quality:
41
41
  reviewed_by: codeconductor-core
42
42
  version: 0.1.0
43
43
  ---
44
+
44
45
  # JPA + PostgreSQL
45
46
 
46
47
  ## Entity Design
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: livewire-alpine-bridge
3
- name: Livewire Alpine Bridge
3
+ name: livewire-alpine-bridge
4
4
  description: >
5
5
  Schedules reactive frontend states cleanly using entangle directives in PHP and JS.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: nextjs-typescript
3
- name: Next.js + TypeScript
3
+ name: nextjs-typescript
4
4
  description: >
5
5
  Provides expert knowledge for building Next.js 15+ applications with the App Router, TypeScript, Server Components, Server Actions, and TanStack Query.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: pagespeed-perf
3
- name: PageSpeed Performance Audit
3
+ name: pagespeed-perf
4
4
  description: >
5
5
  Web Performance Engineering — analyzes Core Web Vitals using the PageSpeed
6
6
  Insights API (PSI v5) and applies the 80/20 principle: identify the 20% of
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python
3
- name: Python
3
+ name: python
4
4
  description: >
5
5
  Python development best practices: clean code, patterns,
6
6
  type hints, decorators, context managers, and architecture.
@@ -40,6 +40,7 @@ quality:
40
40
  reviewed_by: codeconductor-core
41
41
  version: 0.1.0
42
42
  ---
43
+
43
44
  ## When to Use
44
45
 
45
46
  - Writing any Python code in the project
@@ -604,7 +605,7 @@ items = items_to_keep
604
605
 
605
606
  ## Resources
606
607
 
607
- - **PEP 8** — Style Guide: <https://peps.python.org/pep-0008/>
608
- - **PEP 484** — Type Hints: <https://peps.python.org/pep-0484/>
609
- - **Real Python**: <https://realpython.com/>
610
- - **Python Docs**: <https://docs.python.org/3/>
608
+ - **PEP 8** — Style Guide: https://peps.python.org/pep-0008/
609
+ - **PEP 484** — Type Hints: https://peps.python.org/pep-0484/
610
+ - **Real Python**: https://realpython.com/
611
+ - **Python Docs**: https://docs.python.org/3/
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python-django-stack
3
- name: Python Django Stack
3
+ name: python-django-stack
4
4
  description: >
5
5
  Python and Django conventions for multi-tenant SaaS POS projects:
6
6
  views, services, naming, JSON APIs, PDFs, and cart patterns.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: python-fastapi-stack
3
- name: Python FastAPI Stack
3
+ name: python-fastapi-stack
4
4
  description: >
5
5
  FastAPI conventions for REST APIs: routers, Pydantic v2 schemas, dependency
6
6
  injection, error handling, pagination, and project structure.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: security
3
- name: Security
3
+ name: security
4
4
  description: >
5
5
  Provides expert knowledge for implementing and reviewing application security following OWASP Top 10 (2021), with stack-specific patterns for Spring Boot, Django, Next.js, and Astro.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: seo-analytics-injector
3
- name: SEO Analytics Injector
3
+ name: seo-analytics-injector
4
4
  description: >
5
5
  Verifies and injects Google Tag Manager (GTM), GA4 event triggers, and optimized meta tags.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-auth-auditor
3
- name: Spring Auth Auditor
3
+ name: spring-auth-auditor
4
4
  description: >
5
5
  Secures Spring Security filters, JWT validations, OAuth2 setups, and CORS/CSRF headers.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-feature
3
- name: Spring Boot Feature Creation
3
+ name: spring-boot-feature
4
4
  description: >
5
5
  Guides the creation of complete Spring Boot features following a structured,
6
6
  layer-by-layer workflow: entity, repository, service, controller, and tests.
@@ -44,6 +44,7 @@ quality:
44
44
  reviewed_by: codeconductor-core
45
45
  version: 0.1.0
46
46
  ---
47
+
47
48
  # Spring Boot Feature Creation
48
49
 
49
50
  When asked to create a feature, follow these steps **in order**. Do not skip
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-kotlin
3
- name: Spring Boot + Kotlin
3
+ name: spring-boot-kotlin
4
4
  description: >
5
5
  Provides expert knowledge of Spring Boot conventions, Kotlin idioms, and MVC
6
6
  patterns for backend API development.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: spring-boot-testing-strategy
3
- name: Spring Boot Testing Strategy
3
+ name: spring-boot-testing-strategy
4
4
  description: >
5
5
  Provides expert knowledge of the testing pyramid, test design principles, MockK patterns, and integration testing conventions for Spring Boot + Kotlin projects.
6
6
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: sqlalchemy
3
- name: SQLAlchemy
3
+ name: sqlalchemy
4
4
  description: >
5
5
  SQLAlchemy 2.x patterns for async FastAPI projects: models, sessions, queries,
6
6
  bulk operations, transactions, and Alembic migrations.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: tailwind-responsive-auditor
3
- name: Tailwind Responsive Auditor
3
+ name: tailwind-responsive-auditor
4
4
  description: >
5
5
  Audits Tailwind CSS usage ensuring mobile-first responsive utilities and clean classes.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: tdd-mutation-tester
3
- name: TDD Mutation Tester
3
+ name: tdd-mutation-tester
4
4
  description: >
5
5
  Performs simple mutation testing to verify test coverage and assertions.
6
6
  user-invokable: true
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: astro-seo
3
- name: Astro SEO Validator
3
+ name: astro-seo
4
4
  description: >
5
5
  SEO validation specific to Astro framework projects. Checks static generation,
6
6
  meta tag rendering, Content Collections usage, Island Architecture implications
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: geo-readiness
3
- name: GEO Readiness Checker
3
+ name: geo-readiness
4
4
  description: >
5
5
  Validates AI-search readiness (Generative Engine Optimization) for hotel websites.
6
6
  Checks for citable content, factual cards, llms.txt, structured data completeness,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: off-page
3
- name: SEO Off-Page & Marketing
3
+ name: off-page
4
4
  description: >
5
5
  Guidance for off-page SEO strategy specific to hotel and hospitality websites.
6
6
  Covers backlink strategy, local citations, review management, social signals,
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: schema-validator
3
- name: Schema.org Validator
3
+ name: schema-validator
4
4
  description: >
5
5
  Validates Schema.org structured data (JSON-LD, Microdata, RDFa) on hotel and hospitality websites.
6
6
  Supports single URL validation via --url and sitemap-scoped batch validation via --sitemap.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  id: seo-audit
3
- name: SEO Technical Audit
3
+ name: seo-audit
4
4
  description: >
5
5
  Comprehensive technical SEO audit for hotel websites. Checks meta tags, headings,
6
6
  internal linking, page speed signals, mobile readiness, crawl directives, and Core Web Vitals
@@ -2,8 +2,8 @@
2
2
  'use strict';
3
3
 
4
4
  const { spawnSync } = require('node:child_process');
5
- const { existsSync } = require('node:fs');
6
- const { join, resolve } = require('node:path');
5
+ const { existsSync, readFileSync, realpathSync } = require('node:fs');
6
+ const { delimiter, join, resolve } = require('node:path');
7
7
 
8
8
  const VALID_EVENTS = ['pre-tool', 'post-tool', 'session-start'];
9
9
  const SPAWN_TIMEOUT = 10000;
@@ -21,9 +21,10 @@ const isAgy = process.argv.some((a) => a === '--format=agy') || extra.includes('
21
21
  function findProjectRoot() {
22
22
  const candidates = [
23
23
  process.env.PROJECT_ROOT,
24
+ process.env.CLAUDE_PROJECT_DIR,
24
25
  process.env.WORKSPACE_DIR,
25
- resolve(__dirname, '..', '..'),
26
26
  process.cwd(),
27
+ resolve(__dirname, '..', '..'),
27
28
  ].filter(Boolean);
28
29
 
29
30
  for (const dir of candidates) {
@@ -40,6 +41,8 @@ function findProjectRoot() {
40
41
  }
41
42
 
42
43
  const projectRoot = findProjectRoot();
44
+ // Buffer once: each fallback attempt must receive the same host payload.
45
+ const input = process.stdin.isTTY ? '' : readFileSync(0, 'utf8');
43
46
 
44
47
  /**
45
48
  * Run one candidate runner. Stdout/stderr are captured (not inherited) so a
@@ -54,7 +57,8 @@ function tryRun(bin, runArgs) {
54
57
  try {
55
58
  const result = spawnSync(bin, runArgs, {
56
59
  cwd: projectRoot,
57
- stdio: ['inherit', 'pipe', 'pipe'],
60
+ stdio: ['pipe', 'pipe', 'pipe'],
61
+ input,
58
62
  windowsHide: true,
59
63
  env: process.env,
60
64
  encoding: 'utf8',
@@ -111,7 +115,18 @@ try {
111
115
  tryRun(process.execPath, [localDist, 'hook', event, ...extra]);
112
116
  }
113
117
 
114
- tryRun('npx', ['--no-install', 'cc-codeconductor', 'hook', event, ...extra]);
118
+ // Locate global npm installs without invoking npx or Windows .cmd shims.
119
+ for (const binDir of (process.env.PATH || '').split(delimiter).filter(Boolean)) {
120
+ const candidates = [
121
+ join(binDir, 'node_modules', 'cc-codeconductor', 'dist', 'index.js'),
122
+ join(binDir, '..', 'lib', 'node_modules', 'cc-codeconductor', 'dist', 'index.js'),
123
+ ];
124
+ const executable = join(binDir, 'cc-codeconductor');
125
+ if (existsSync(executable)) candidates.push(realpathSync(executable));
126
+ for (const candidate of candidates) {
127
+ if (existsSync(candidate)) tryRun(process.execPath, [candidate, 'hook', event, ...extra]);
128
+ }
129
+ }
115
130
  } catch {
116
131
  // Ignore errors in runner attempts
117
132
  }
@@ -1,5 +1,8 @@
1
1
  target: codex
2
2
  entries:
3
+ - src: codex/config.toml
4
+ dest: .codex/config.toml
5
+ strategy: create-only
3
6
  - src: codex/AGENTS.md
4
7
  dest: .codex/AGENTS.md
5
8
  strategy: merge-managed