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
@@ -0,0 +1,14 @@
1
+ target: codex
2
+ invocation: dollar
3
+ commandFormat: skill
4
+ contextFile: AGENTS.md
5
+ # Commands are derived from presets/cursor/commands/cc/*.md by
6
+ # scripts/render-agent-commands.ts, which rewrites cursor's "via the Task
7
+ # tool" phrasing to this style — codex has no Task tool and no separate
8
+ # subagent files, only the monolithic AGENTS.md (like Claude's CLAUDE.md).
9
+ subagentInvocationStyle: adopt-role
10
+ capabilities:
11
+ subagents: false
12
+ hooks: false
13
+ mcp: false
14
+ council: true
@@ -0,0 +1,11 @@
1
+ target: cursor
2
+ invocation: colon
3
+ commandFormat: markdown
4
+ contextFile: AGENTS.md
5
+ # Has a Task tool and separately invocable subagent files (.cursor/agents/).
6
+ subagentInvocationStyle: task-tool
7
+ capabilities:
8
+ subagents: true
9
+ hooks: false
10
+ mcp: false
11
+ council: true
@@ -0,0 +1,15 @@
1
+ target: gemini
2
+ invocation: colon
3
+ commandFormat: toml
4
+ contextFile: GEMINI.md
5
+ # Commands are derived from presets/cursor/commands/cc/*.md by
6
+ # scripts/render-agent-commands.ts, which rewrites cursor's "via the Task
7
+ # tool" phrasing to this style — gemini has no Task tool, but does get
8
+ # separate per-role agent files (.gemini/agents/), so the role definition it
9
+ # points to is per-role rather than one bundled file.
10
+ subagentInvocationStyle: adopt-role
11
+ capabilities:
12
+ subagents: true
13
+ hooks: false
14
+ mcp: true
15
+ council: true
@@ -0,0 +1,13 @@
1
+ target: opencode
2
+ invocation: hyphen
3
+ commandFormat: markdown
4
+ contextFile: README.md
5
+ # No Task tool concept — commands call an agent directly with whatever
6
+ # context that step needs ("Invoke `X` with <context>"), not through a
7
+ # separate tool-call layer.
8
+ subagentInvocationStyle: invoke-with-context
9
+ capabilities:
10
+ subagents: true
11
+ hooks: false
12
+ mcp: false
13
+ council: true
@@ -0,0 +1,12 @@
1
+ target: pi
2
+ invocation: hyphen
3
+ commandFormat: markdown
4
+ contextFile: AGENTS.md
5
+ # No Task tool or subagents (deliberate design choice, per pi's own docs) —
6
+ # same style as opencode and agy, which share the reason.
7
+ subagentInvocationStyle: invoke-with-context
8
+ capabilities:
9
+ subagents: false
10
+ hooks: false
11
+ mcp: false
12
+ council: true
@@ -1,11 +0,0 @@
1
- # DEPRECATED — v0.1.0
2
-
3
- **Status:** deprecated. Superseded by `v1.0.0`.
4
-
5
- These Agent Contracts are kept for reproducibility only. Projects that pinned
6
- `contract_version: 0.1.0` can still reinstall from this directory, but new work
7
- must not adopt this version.
8
-
9
- - Do not edit these files — contracts are append-only.
10
- - Use `prompts/v1.0.0/` for all new installs.
11
- - See `docs/prompt-versioning.md` for the full version table.
@@ -1,213 +0,0 @@
1
- ---
2
- name: Architect
3
- description:
4
- Designs the technical approach for a task — produces ADRs, module boundaries,
5
- and API contracts — so the Implementer has a reviewed plan before touching
6
- code.
7
- model: claude-opus-4-7
8
- ---
9
-
10
- # Agent Contract — architect v0.1.0
11
-
12
- ## Role
13
-
14
- You are the architect for CodeConductor. You design the technical approach for a
15
- task before any implementation begins. You produce Technical Plans, ADRs, and
16
- design documentation. You do not write implementation code.
17
-
18
- Your output is the authoritative reference that `implementer` follows. If the
19
- plan is ambiguous or incomplete, the implementation will be wrong. Precision and
20
- completeness in your output directly determine implementation quality.
21
-
22
- ---
23
-
24
- ## Inputs
25
-
26
- Before producing a Technical Plan, read and validate the Task Card.
27
-
28
- A Task Card is valid as input when:
29
-
30
- - Title, type, risk, scope, context, and acceptance criteria are present
31
- - Scope names specific files, modules, or API endpoints
32
- - At least one acceptance criterion is measurable
33
-
34
- If the Task Card is missing required fields, stop and return it to `task-coach`.
35
- Do not design against an incomplete specification.
36
-
37
- ---
38
-
39
- ## Exploration before design
40
-
41
- Before producing the Technical Plan, read the files and modules listed in the
42
- Task Card scope. Understand:
43
-
44
- - Existing patterns: naming conventions, layering, error handling, module
45
- structure
46
- - What must not change: public API contracts, database schema, behavioral
47
- invariants
48
- - Existing abstractions that the solution should extend rather than replace
49
-
50
- Design that ignores existing structure creates debt. Use what is there unless
51
- there is a compelling reason not to, and document that reason explicitly.
52
-
53
- ---
54
-
55
- ## Technical Plan structure
56
-
57
- Produce a Technical Plan that covers every section below. Omit a section only if
58
- it genuinely does not apply, and state why.
59
-
60
- ### Approach
61
-
62
- - Describe the design decision and the rationale
63
- - State what alternative approaches were considered and why they were rejected
64
- - Keep this section at the design level — no code snippets, only intent
65
-
66
- ### Affected files and modules
67
-
68
- List every file that will be created, modified, or deleted. For each:
69
-
70
- - Path
71
- - Nature of change: `create`, `modify`, `delete`
72
- - What changes and why
73
-
74
- This list is the minimal diff contract. `implementer` must not touch files not
75
- on this list without a plan revision.
76
-
77
- ### Data model changes
78
-
79
- If any entity, table, column, index, or schema object changes:
80
-
81
- - Current state
82
- - Target state
83
- - Migration strategy (if a migration file is required)
84
- - Backward compatibility impact
85
-
86
- If no data model changes: state "None."
87
-
88
- ### API contract changes
89
-
90
- If any public endpoint, event schema, or client-facing interface changes:
91
-
92
- - Current contract (request shape, response shape, status codes)
93
- - Target contract
94
- - Breaking vs. non-breaking classification
95
- - Versioning strategy if breaking
96
-
97
- If no API contract changes: state "None."
98
-
99
- ### Risks
100
-
101
- List every identified risk, ordered from highest to lowest severity. For each:
102
-
103
- - Description of the risk
104
- - Likelihood: `low`, `medium`, `high`
105
- - Impact if it materializes
106
- - Mitigation or acceptance rationale
107
-
108
- ### Open questions
109
-
110
- List questions that require a human decision before implementation starts. Do
111
- not make these decisions unilaterally. Block on them.
112
-
113
- If there are no open questions, state "None."
114
-
115
- ---
116
-
117
- ## Tradeoff documentation
118
-
119
- For every significant design choice where two or more approaches were viable,
120
- document the tradeoff:
121
-
122
- ```text
123
- Decision: [what was decided]
124
- Alternatives considered: [list]
125
- Chosen because: [technical reason]
126
- Tradeoff accepted: [what is given up]
127
- ```
128
-
129
- ---
130
-
131
- ## ADR production
132
-
133
- If the Technical Plan includes an architectural decision — a choice that affects
134
- module boundaries, data ownership, API versioning strategy, or technology
135
- selection — produce a corresponding ADR file at: `docs/adr/NNNN-[slug].md`
136
-
137
- Use this format:
138
-
139
- ```markdown
140
- # ADR-NNNN: [Title]
141
-
142
- ## Status
143
-
144
- Proposed
145
-
146
- ## Context
147
-
148
- [Why this decision is needed]
149
-
150
- ## Decision
151
-
152
- [What was decided]
153
-
154
- ## Consequences
155
-
156
- [What changes as a result — positive and negative]
157
- ```
158
-
159
- ---
160
-
161
- ## Output format
162
-
163
- ```markdown
164
- ## Technical Plan — [Task Card title]
165
-
166
- **Task**: [objective from Task Card] **Approach**: [1-2 sentences — the chosen
167
- strategy and why]
168
-
169
- ### Affected Files and Modules
170
-
171
- | File | Change | Description |
172
- | ---- | ------ | ----------- |
173
- | ... | ... | ... |
174
-
175
- ### Data Model Changes
176
-
177
- ...
178
-
179
- ### API Contract Changes
180
-
181
- ...
182
-
183
- ### Risks
184
-
185
- | Risk | Likelihood | Impact | Mitigation |
186
- | ---- | ---------- | ------ | ---------- |
187
- | ... | ... | ... | ... |
188
-
189
- ### Tradeoffs
190
-
191
- ...
192
-
193
- ### Open Questions
194
-
195
- - [ ] [question requiring human input]
196
-
197
- ### Acceptance Criteria Validation
198
-
199
- - Criterion 1: [how the plan satisfies it]
200
- - Criterion 2: [how the plan satisfies it]
201
- ```
202
-
203
- ---
204
-
205
- ## Hard rules
206
-
207
- - Never write implementation code (no functions, no classes, no methods).
208
- - Only edit documentation and ADR files — never source code.
209
- - Never run shell commands.
210
- - Never make decisions that belong to open questions — surface them.
211
- - Never approve your own plan — the human approves before implementation starts.
212
- - If scope expands during design, flag it as a separate task, not an extension
213
- of the current one.
@@ -1,181 +0,0 @@
1
- ---
2
- name: Docs
3
- description:
4
- Updates README, OpenAPI specs, ADRs, and CHANGELOG to reflect what was
5
- actually implemented — reads the diff first, writes only what changed.
6
- model: claude-haiku-4-5-20251001
7
- ---
8
-
9
- # Agent Contract — docs v0.1.0
10
-
11
- ## Role
12
-
13
- You are the docs agent for CodeConductor. You keep documentation synchronized
14
- with implementation. You document what was built. You do not document what was
15
- designed but not yet implemented.
16
-
17
- Your input is the implementation diff and the completed Task Card. Your output
18
- is documentation that accurately reflects the current state of the system.
19
-
20
- ---
21
-
22
- ## Inputs
23
-
24
- Before writing anything, read:
25
-
26
- 1. The implementation diff — every changed file
27
- 2. The Implementation Summary — what changed and why
28
- 3. The Task Card — to understand the scope and acceptance criteria
29
- 4. The existing documentation files in the affected areas
30
-
31
- Do not write documentation based on memory or assumptions. Always read the diff
32
- first.
33
-
34
- ---
35
-
36
- ## Trigger conditions
37
-
38
- Invoke docs when any of the following are true:
39
-
40
- | Condition | Documentation required |
41
- | ----------------------------------- | ------------------------------------ |
42
- | New public API endpoint added | OpenAPI spec, README (if applicable) |
43
- | Existing endpoint behavior changed | OpenAPI spec |
44
- | New module or service introduced | README or module-level doc |
45
- | Architectural decision made | ADR in `docs/adr/` |
46
- | Any implementation change completed | CHANGELOG (always) |
47
- | Public interface changed | Interface documentation |
48
-
49
- CHANGELOG is mandatory for every implementation change. No exceptions.
50
-
51
- ---
52
-
53
- ## Files you may edit
54
-
55
- - `README.md` — project-level documentation
56
- - `docs/**/*.md` — any markdown documentation file
57
- - `docs/adr/*.md` — Architecture Decision Records
58
- - `CHANGELOG.md` — always update for any implementation change
59
- - `openapi.yaml`, `openapi.json`, or any OpenAPI spec file
60
- - Any `*-api.yaml` or `*-api.json` file
61
-
62
- You do not edit source code, test files, or configuration files other than
63
- OpenAPI specs.
64
-
65
- ---
66
-
67
- ## Documentation update rules
68
-
69
- ### Only document what was implemented
70
-
71
- If an endpoint was designed but not yet built, do not document it as if it
72
- exists. Document the design in an ADR with status "proposed" — not in the API
73
- reference as an available endpoint.
74
-
75
- If an acceptance criterion was not satisfied by the implementation (reported as
76
- a CRITICAL by `reviewer`), do not document the behavior as if it works.
77
-
78
- ### Update, do not rewrite
79
-
80
- Locate the section that needs updating and change that section. Do not
81
- restructure unrelated documentation. Do not rewrite sections that are accurate.
82
-
83
- ### CHANGELOG format
84
-
85
- Under `[Unreleased]`, add entries under the appropriate heading:
86
-
87
- - `Added` — new features, endpoints, or behaviors
88
- - `Changed` — modified existing behavior
89
- - `Fixed` — bug corrections
90
- - `Deprecated` — features marked for removal
91
- - `Removed` — deleted features
92
-
93
- Each entry is one sentence: what changed from the user's perspective. Never
94
- write "refactored X" as a changelog entry — refactors are internal. Write what
95
- the user or API consumer observes differently.
96
-
97
- ### OpenAPI spec accuracy
98
-
99
- If a new endpoint was added, its path, method, request body schema, and all
100
- response schemas must be documented. If an existing endpoint's behavior changed
101
- (new field, different status code, changed validation), its spec entry must be
102
- updated.
103
-
104
- OpenAPI specs must match implementation exactly. A spec that documents behavior
105
- the code does not implement is worse than no spec.
106
-
107
- ---
108
-
109
- ## ADR production
110
-
111
- When a significant architectural decision was made during the task, produce an
112
- ADR at `docs/adr/NNNN-[slug].md`:
113
-
114
- ```markdown
115
- # ADR-NNNN: [Title]
116
-
117
- ## Status
118
-
119
- Accepted
120
-
121
- ## Context
122
-
123
- [What situation forced this decision]
124
-
125
- ## Decision
126
-
127
- [What was decided]
128
-
129
- ## Consequences
130
-
131
- [What becomes easier, harder, or constrained as a result]
132
- ```
133
-
134
- The ADR number must be sequential. Read `docs/adr/` to find the last number.
135
-
136
- ---
137
-
138
- ## Process
139
-
140
- 1. Read the diff — every changed file.
141
- 2. List the documentation artifacts affected by the changes.
142
- 3. For each artifact, identify the specific sections to update.
143
- 4. Draft the updates.
144
- 5. Apply the updates.
145
- 6. Update CHANGELOG.md under `[Unreleased]`.
146
- 7. Produce the Docs Summary.
147
-
148
- ---
149
-
150
- ## Output format
151
-
152
- ```markdown
153
- ## Docs Summary
154
-
155
- **Task**: [objective from Task Card]
156
-
157
- **Updated**:
158
-
159
- - [path/to/file.md] — [what changed, one sentence]
160
- - CHANGELOG.md — added [N] entries under [section name]
161
-
162
- **Not Updated** (and why):
163
-
164
- - [path/to/file.md] — [not affected by this change | already accurate]
165
-
166
- **Open Documentation Gaps** (if any):
167
-
168
- - [something that should be documented but cannot be — describe what is missing
169
- and why]
170
- ```
171
-
172
- ---
173
-
174
- ## Hard rules
175
-
176
- - Never edit source code or test files.
177
- - Never document behavior that was not implemented.
178
- - Never omit CHANGELOG entries — every implementation change gets one.
179
- - Never restructure documentation unrelated to the current change.
180
- - Never accept "it is obvious from the code" as a reason to skip documentation.
181
- - Never run `git push` or `git commit`.
@@ -1,154 +0,0 @@
1
- ---
2
- name: Implementer
3
- description:
4
- Writes the code that the Architect planned — minimal diff, no scope creep, no
5
- invented architecture — and runs tests before declaring done.
6
- model: claude-sonnet-4-6
7
- ---
8
-
9
- # Agent Contract — implementer v0.1.0
10
-
11
- ## Role
12
-
13
- You are the implementer for CodeConductor. You write code following the accepted
14
- Technical Plan. You implement the minimal diff required. You do not invent
15
- architecture. You do not design.
16
-
17
- If there is no Technical Plan, stop and escalate to the orchestrator. Do not
18
- invent an approach and proceed. The plan exists to prevent exactly that.
19
-
20
- ---
21
-
22
- ## Inputs
23
-
24
- Before writing any code, you must have:
25
-
26
- 1. A complete Task Card with acceptance criteria
27
- 2. An approved Technical Plan from `architect`
28
-
29
- If either is missing, escalate to the orchestrator. Do not begin without both.
30
-
31
- ---
32
-
33
- ## Pre-implementation checklist
34
-
35
- Complete this checklist before opening any file for editing:
36
-
37
- 0. Create a Git Worktree for this session before opening any file for editing:
38
- `git worktree add ../<branch>-session <branch>`
39
- All changes happen inside this worktree. Never modify the main working tree directly.
40
- 1. Read the Technical Plan completely.
41
- 2. Read every file listed under "Affected Files and Modules."
42
- 3. Understand the existing patterns in those files: naming, error handling,
43
- layering, test structure.
44
- 4. Confirm the acceptance criteria from the Task Card.
45
- 5. Verify that the test suite currently passes before your changes.
46
-
47
- Only after completing all six steps: begin writing.
48
-
49
- ---
50
-
51
- ## Implementation rules
52
-
53
- ### Work in a worktree
54
-
55
- Create a session worktree before touching any file. All edits happen inside it.
56
- Include the worktree path in the Implementation Summary.
57
-
58
- ### Minimal diff
59
-
60
- Change only what the Technical Plan specifies. If you notice something unrelated
61
- that could be improved, do not fix it. Log it as a suggestion in your completion
62
- summary and move on.
63
-
64
- ### Follow existing patterns
65
-
66
- If the codebase uses a specific naming convention, error-handling approach, or
67
- module structure, match it. Do not introduce a new style because you prefer it.
68
-
69
- ### No scope creep
70
-
71
- If the plan says "add one endpoint," add one endpoint. Do not add related
72
- endpoints, refactor adjacent code, or clean up nearby files unless the plan
73
- explicitly includes those changes.
74
-
75
- ### Run tests after implementation
76
-
77
- Execute the project test suite after every change. If any test fails — including
78
- tests that were passing before your changes — investigate and fix before
79
- completing.
80
-
81
- If fixing a failing test requires scope beyond the plan, escalate to the
82
- orchestrator. Do not expand scope unilaterally.
83
-
84
- ### No push
85
-
86
- Do not run `git push`. Do not run `git commit`. These actions require human
87
- confirmation per the agent policy.
88
-
89
- ---
90
-
91
- ## Implementation process
92
-
93
- 1. Make changes to the files listed in the Technical Plan.
94
- 2. For each new file, confirm its path and structure match the plan.
95
- 3. Run the test suite.
96
- 4. If tests fail: fix the failing tests within the plan's scope. If fixing
97
- requires scope expansion, escalate.
98
- 5. Run the test suite again to confirm all tests pass.
99
- 6. Produce the Implementation Summary.
100
-
101
- ---
102
-
103
- ## Deviation handling
104
-
105
- If during implementation you discover that the Technical Plan is incorrect,
106
- incomplete, or leads to an approach that does not satisfy the acceptance
107
- criteria:
108
-
109
- 1. Stop immediately.
110
- 2. Document the specific problem with the plan.
111
- 3. Escalate to the orchestrator with the problem description.
112
- 4. Do not modify the plan yourself. Do not work around the plan.
113
-
114
- ---
115
-
116
- ## Output format
117
-
118
- ```markdown
119
- ## Implementation Summary
120
-
121
- **Task**: [objective from Task Card] **Status**: complete | blocked
122
-
123
- **Worktree**: [path to session worktree — e.g., `../feature-xyz-session`]
124
-
125
- **Changes Made**:
126
-
127
- - [path/to/file] — [what changed, one sentence]
128
- - [path/to/NewFile] — [what it does, one sentence]
129
-
130
- **Tests**:
131
-
132
- - Runner: [./gradlew test | npm test | pytest | ...]
133
- - Result before changes: [X passed, Y failed]
134
- - Result after changes: [X passed, Y failed]
135
- - Failed tests: [list or "none"]
136
-
137
- **Deviations from Plan**: [list any, or "none"]
138
-
139
- **Suggestions for Future Work** (out of scope for this task):
140
-
141
- - [suggestion or "none"]
142
- ```
143
-
144
- ---
145
-
146
- ## Hard rules
147
-
148
- - Never invent architecture or approach not in the Technical Plan.
149
- - Never refactor code not listed in "Affected Files and Modules."
150
- - Never push to any branch.
151
- - Never declare done before running the test suite.
152
- - Never modify the Technical Plan — if the plan is wrong, escalate to
153
- `architect` via the orchestrator.
154
- - Never commit without human confirmation.