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
@@ -182,15 +182,15 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
182
182
  profile?: string | undefined;
183
183
  }>;
184
184
  defaults: z.ZodObject<{
185
- target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
185
+ target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
186
186
  overwrite: z.ZodBoolean;
187
187
  locale: z.ZodDefault<z.ZodOptional<z.ZodEnum<["en", "es"]>>>;
188
188
  }, "strip", z.ZodTypeAny, {
189
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
189
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
190
190
  overwrite: boolean;
191
191
  locale: "en" | "es";
192
192
  }, {
193
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
193
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
194
194
  overwrite: boolean;
195
195
  locale?: "en" | "es" | undefined;
196
196
  }>;
@@ -287,7 +287,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
287
287
  profile?: string | undefined;
288
288
  };
289
289
  defaults: {
290
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
290
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
291
291
  overwrite: boolean;
292
292
  locale: "en" | "es";
293
293
  };
@@ -322,7 +322,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
322
322
  profile?: string | undefined;
323
323
  };
324
324
  defaults: {
325
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
325
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
326
326
  overwrite: boolean;
327
327
  locale?: "en" | "es" | undefined;
328
328
  };
@@ -354,7 +354,7 @@ export declare const CodeConductorConfigSchema: z.ZodObject<{
354
354
  /**
355
355
  * Runner target schema
356
356
  */
357
- export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "all"]>;
357
+ export declare const RunnerTargetSchema: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi", "all"]>;
358
358
  /**
359
359
  * Install manifest schemas
360
360
  */
@@ -379,7 +379,7 @@ export declare const ManifestEntrySchema: z.ZodObject<{
379
379
  template?: boolean | undefined;
380
380
  }>;
381
381
  export declare const InstallManifestSchema: z.ZodObject<{
382
- target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
382
+ target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
383
383
  entries: z.ZodArray<z.ZodObject<{
384
384
  src: z.ZodString;
385
385
  dest: z.ZodString;
@@ -407,7 +407,7 @@ export declare const InstallManifestSchema: z.ZodObject<{
407
407
  globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
408
408
  template?: boolean | undefined;
409
409
  }[];
410
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
410
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
411
411
  }, {
412
412
  entries: {
413
413
  src: string;
@@ -416,7 +416,7 @@ export declare const InstallManifestSchema: z.ZodObject<{
416
416
  globalStrategy?: "overwrite" | "append" | "merge-json" | "merge-managed" | "skip" | undefined;
417
417
  template?: boolean | undefined;
418
418
  }[];
419
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
419
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
420
420
  }>;
421
421
  /**
422
422
  * Tool provider names schema — maps base tool names to provider-specific names
@@ -427,7 +427,7 @@ export declare const PermissionProviderNamesSchema: z.ZodRecord<z.ZodString, z.Z
427
427
  * Model config schema — defines model names per provider per agent role
428
428
  */
429
429
  export declare const ModelConfigSchema: z.ZodObject<{
430
- target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>;
430
+ target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
431
431
  agents: z.ZodRecord<z.ZodString, z.ZodObject<{
432
432
  claude: z.ZodOptional<z.ZodString>;
433
433
  opencode: z.ZodOptional<z.ZodString>;
@@ -435,6 +435,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
435
435
  gemini: z.ZodOptional<z.ZodString>;
436
436
  cursor: z.ZodOptional<z.ZodString>;
437
437
  agy: z.ZodOptional<z.ZodString>;
438
+ pi: z.ZodOptional<z.ZodString>;
438
439
  grok: z.ZodOptional<z.ZodString>;
439
440
  }, "strip", z.ZodTypeAny, {
440
441
  opencode?: string | undefined;
@@ -443,6 +444,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
443
444
  gemini?: string | undefined;
444
445
  cursor?: string | undefined;
445
446
  agy?: string | undefined;
447
+ pi?: string | undefined;
446
448
  grok?: string | undefined;
447
449
  }, {
448
450
  opencode?: string | undefined;
@@ -451,6 +453,7 @@ export declare const ModelConfigSchema: z.ZodObject<{
451
453
  gemini?: string | undefined;
452
454
  cursor?: string | undefined;
453
455
  agy?: string | undefined;
456
+ pi?: string | undefined;
454
457
  grok?: string | undefined;
455
458
  }>>;
456
459
  tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>>>;
@@ -463,9 +466,10 @@ export declare const ModelConfigSchema: z.ZodObject<{
463
466
  gemini?: string | undefined;
464
467
  cursor?: string | undefined;
465
468
  agy?: string | undefined;
469
+ pi?: string | undefined;
466
470
  grok?: string | undefined;
467
471
  }>;
468
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
472
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
469
473
  tools?: Record<string, Record<string, string>> | undefined;
470
474
  permissions?: Record<string, string> | undefined;
471
475
  }, {
@@ -476,13 +480,131 @@ export declare const ModelConfigSchema: z.ZodObject<{
476
480
  gemini?: string | undefined;
477
481
  cursor?: string | undefined;
478
482
  agy?: string | undefined;
483
+ pi?: string | undefined;
479
484
  grok?: string | undefined;
480
485
  }>;
481
- target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy";
486
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
482
487
  tools?: Record<string, Record<string, string>> | undefined;
483
488
  permissions?: Record<string, string> | undefined;
484
489
  }>;
485
490
  export type ModelConfig = z.infer<typeof ModelConfigSchema>;
491
+ /**
492
+ * Skill frontmatter — the minimal invariant every SKILL.md must satisfy
493
+ * regardless of which frontmatter convention it otherwise follows: the bare
494
+ * `{name, description}` form used by most `cc-*` and `security-*` skills, or
495
+ * the extended `{id, name, description, version, license, metadata, ...}`
496
+ * form used by language/stack skills (where `name` is a human-readable title
497
+ * and `id` is the kebab-case identifier). Extra fields are accepted but not
498
+ * required here — normalizing every skill onto one shape is a separate,
499
+ * larger migration than this schema exists to gate.
500
+ */
501
+ export declare const SkillFrontmatterSchema: z.ZodObject<{
502
+ name: z.ZodString;
503
+ description: z.ZodString;
504
+ id: z.ZodOptional<z.ZodString>;
505
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
506
+ name: z.ZodString;
507
+ description: z.ZodString;
508
+ id: z.ZodOptional<z.ZodString>;
509
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
510
+ name: z.ZodString;
511
+ description: z.ZodString;
512
+ id: z.ZodOptional<z.ZodString>;
513
+ }, z.ZodTypeAny, "passthrough">>;
514
+ export type SkillFrontmatter = z.infer<typeof SkillFrontmatterSchema>;
515
+ /**
516
+ * Command frontmatter — every shipped `.md` command currently carries only
517
+ * `description`. The other fields are part of the CCHS v1 standard
518
+ * (docs/harness-spec.md) and are optional here on purpose: Claude Code,
519
+ * Cursor, and Pi already read `argument-hint`/`allowed-tools`/`model` when
520
+ * present, but adding them to the 126 existing command files is a separate,
521
+ * opt-in migration this schema does not force.
522
+ */
523
+ export declare const CommandFrontmatterSchema: z.ZodObject<{
524
+ description: z.ZodString;
525
+ 'argument-hint': z.ZodOptional<z.ZodString>;
526
+ 'allowed-tools': z.ZodOptional<z.ZodString>;
527
+ model: z.ZodOptional<z.ZodString>;
528
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
529
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
530
+ description: z.ZodString;
531
+ 'argument-hint': z.ZodOptional<z.ZodString>;
532
+ 'allowed-tools': z.ZodOptional<z.ZodString>;
533
+ model: z.ZodOptional<z.ZodString>;
534
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
535
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
536
+ description: z.ZodString;
537
+ 'argument-hint': z.ZodOptional<z.ZodString>;
538
+ 'allowed-tools': z.ZodOptional<z.ZodString>;
539
+ model: z.ZodOptional<z.ZodString>;
540
+ 'disable-model-invocation': z.ZodOptional<z.ZodBoolean>;
541
+ }, z.ZodTypeAny, "passthrough">>;
542
+ export type CommandFrontmatter = z.infer<typeof CommandFrontmatterSchema>;
543
+ /**
544
+ * Target capability matrix (CCHS v1, docs/harness-spec.md) — one
545
+ * `src/presets/targets/<target>.yml` per target, declaring facts a
546
+ * generator can act on mechanically instead of hand-editing prose per
547
+ * target. `capabilities` are scoped to what CodeConductor's own preset
548
+ * installs/manages for that target, not the underlying tool's full native
549
+ * feature set (e.g. Cursor supports MCP natively; CodeConductor's cursor
550
+ * preset doesn't ship an MCP config, so `mcp: false` here).
551
+ */
552
+ export declare const TargetCapabilitiesSchema: z.ZodObject<{
553
+ target: z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>;
554
+ invocation: z.ZodEnum<["colon", "hyphen", "dollar"]>;
555
+ commandFormat: z.ZodEnum<["markdown", "toml", "skill"]>;
556
+ contextFile: z.ZodString;
557
+ /**
558
+ * How this target's rendered commands phrase "run this role now":
559
+ * - task-tool: "Invoke the `X` subagent via the Task tool." (has one)
560
+ * - adopt-role: "Adopt the `X` role as defined in `<contextFile>`." (roles
561
+ * live in one bundled file, not separately invocable subagents)
562
+ * - invoke-with-context: "Invoke `X` with <step-specific context>." (no
563
+ * Task tool; agents are called directly with whatever the step needs)
564
+ */
565
+ subagentInvocationStyle: z.ZodOptional<z.ZodEnum<["task-tool", "adopt-role", "invoke-with-context"]>>;
566
+ capabilities: z.ZodObject<{
567
+ subagents: z.ZodBoolean;
568
+ hooks: z.ZodBoolean;
569
+ mcp: z.ZodBoolean;
570
+ council: z.ZodBoolean;
571
+ }, "strip", z.ZodTypeAny, {
572
+ council: boolean;
573
+ subagents: boolean;
574
+ hooks: boolean;
575
+ mcp: boolean;
576
+ }, {
577
+ council: boolean;
578
+ subagents: boolean;
579
+ hooks: boolean;
580
+ mcp: boolean;
581
+ }>;
582
+ }, "strip", z.ZodTypeAny, {
583
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
584
+ invocation: "colon" | "hyphen" | "dollar";
585
+ commandFormat: "markdown" | "toml" | "skill";
586
+ contextFile: string;
587
+ capabilities: {
588
+ council: boolean;
589
+ subagents: boolean;
590
+ hooks: boolean;
591
+ mcp: boolean;
592
+ };
593
+ subagentInvocationStyle?: "task-tool" | "adopt-role" | "invoke-with-context" | undefined;
594
+ }, {
595
+ target: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi";
596
+ invocation: "colon" | "hyphen" | "dollar";
597
+ commandFormat: "markdown" | "toml" | "skill";
598
+ contextFile: string;
599
+ capabilities: {
600
+ council: boolean;
601
+ subagents: boolean;
602
+ hooks: boolean;
603
+ mcp: boolean;
604
+ };
605
+ subagentInvocationStyle?: "task-tool" | "adopt-role" | "invoke-with-context" | undefined;
606
+ }>;
607
+ export type TargetCapabilities = z.infer<typeof TargetCapabilitiesSchema>;
486
608
  /**
487
609
  * Type exports
488
610
  */
@@ -504,6 +626,18 @@ export declare function validateCouncilSpec(data: unknown): CouncilSpecInput;
504
626
  * Validate project profile
505
627
  */
506
628
  export declare function validateProjectProfile(data: unknown): ProjectProfileInput;
629
+ /**
630
+ * Validate skill frontmatter
631
+ */
632
+ export declare function validateSkillFrontmatter(data: unknown): SkillFrontmatter;
633
+ /**
634
+ * Validate command frontmatter
635
+ */
636
+ export declare function validateCommandFrontmatter(data: unknown): CommandFrontmatter;
637
+ /**
638
+ * Validate a target capability matrix entry
639
+ */
640
+ export declare function validateTargetCapabilities(data: unknown): TargetCapabilities;
507
641
  /**
508
642
  * Validate config
509
643
  */
@@ -2317,9 +2451,9 @@ export declare const WorkflowPhaseSchema: z.ZodObject<{
2317
2451
  id: string;
2318
2452
  type?: string | undefined;
2319
2453
  agents?: string[] | undefined;
2454
+ skill?: string | undefined;
2320
2455
  agent?: string | undefined;
2321
2456
  dependsOn?: string[] | undefined;
2322
- skill?: string | undefined;
2323
2457
  outputSchema?: string | undefined;
2324
2458
  stopGate?: string | undefined;
2325
2459
  requires?: string | undefined;
@@ -2328,9 +2462,9 @@ export declare const WorkflowPhaseSchema: z.ZodObject<{
2328
2462
  id: string;
2329
2463
  type?: string | undefined;
2330
2464
  agents?: string[] | undefined;
2465
+ skill?: string | undefined;
2331
2466
  agent?: string | undefined;
2332
2467
  dependsOn?: string[] | undefined;
2333
- skill?: string | undefined;
2334
2468
  outputSchema?: string | undefined;
2335
2469
  stopGate?: string | undefined;
2336
2470
  requires?: string | undefined;
@@ -2389,9 +2523,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2389
2523
  id: string;
2390
2524
  type?: string | undefined;
2391
2525
  agents?: string[] | undefined;
2526
+ skill?: string | undefined;
2392
2527
  agent?: string | undefined;
2393
2528
  dependsOn?: string[] | undefined;
2394
- skill?: string | undefined;
2395
2529
  outputSchema?: string | undefined;
2396
2530
  stopGate?: string | undefined;
2397
2531
  requires?: string | undefined;
@@ -2400,9 +2534,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2400
2534
  id: string;
2401
2535
  type?: string | undefined;
2402
2536
  agents?: string[] | undefined;
2537
+ skill?: string | undefined;
2403
2538
  agent?: string | undefined;
2404
2539
  dependsOn?: string[] | undefined;
2405
- skill?: string | undefined;
2406
2540
  outputSchema?: string | undefined;
2407
2541
  stopGate?: string | undefined;
2408
2542
  requires?: string | undefined;
@@ -2465,9 +2599,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2465
2599
  id: string;
2466
2600
  type?: string | undefined;
2467
2601
  agents?: string[] | undefined;
2602
+ skill?: string | undefined;
2468
2603
  agent?: string | undefined;
2469
2604
  dependsOn?: string[] | undefined;
2470
- skill?: string | undefined;
2471
2605
  outputSchema?: string | undefined;
2472
2606
  stopGate?: string | undefined;
2473
2607
  requires?: string | undefined;
@@ -2500,9 +2634,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2500
2634
  id: string;
2501
2635
  type?: string | undefined;
2502
2636
  agents?: string[] | undefined;
2637
+ skill?: string | undefined;
2503
2638
  agent?: string | undefined;
2504
2639
  dependsOn?: string[] | undefined;
2505
- skill?: string | undefined;
2506
2640
  outputSchema?: string | undefined;
2507
2641
  stopGate?: string | undefined;
2508
2642
  requires?: string | undefined;
@@ -2535,9 +2669,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2535
2669
  id: string;
2536
2670
  type?: string | undefined;
2537
2671
  agents?: string[] | undefined;
2672
+ skill?: string | undefined;
2538
2673
  agent?: string | undefined;
2539
2674
  dependsOn?: string[] | undefined;
2540
- skill?: string | undefined;
2541
2675
  outputSchema?: string | undefined;
2542
2676
  stopGate?: string | undefined;
2543
2677
  requires?: string | undefined;
@@ -2570,9 +2704,9 @@ export declare const WorkflowProfileSchema: z.ZodEffects<z.ZodObject<{
2570
2704
  id: string;
2571
2705
  type?: string | undefined;
2572
2706
  agents?: string[] | undefined;
2707
+ skill?: string | undefined;
2573
2708
  agent?: string | undefined;
2574
2709
  dependsOn?: string[] | undefined;
2575
- skill?: string | undefined;
2576
2710
  outputSchema?: string | undefined;
2577
2711
  stopGate?: string | undefined;
2578
2712
  requires?: string | undefined;
@@ -2717,9 +2851,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2717
2851
  id: string;
2718
2852
  type?: string | undefined;
2719
2853
  agents?: string[] | undefined;
2854
+ skill?: string | undefined;
2720
2855
  agent?: string | undefined;
2721
2856
  dependsOn?: string[] | undefined;
2722
- skill?: string | undefined;
2723
2857
  outputSchema?: string | undefined;
2724
2858
  stopGate?: string | undefined;
2725
2859
  requires?: string | undefined;
@@ -2728,9 +2862,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2728
2862
  id: string;
2729
2863
  type?: string | undefined;
2730
2864
  agents?: string[] | undefined;
2865
+ skill?: string | undefined;
2731
2866
  agent?: string | undefined;
2732
2867
  dependsOn?: string[] | undefined;
2733
- skill?: string | undefined;
2734
2868
  outputSchema?: string | undefined;
2735
2869
  stopGate?: string | undefined;
2736
2870
  requires?: string | undefined;
@@ -2793,9 +2927,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2793
2927
  id: string;
2794
2928
  type?: string | undefined;
2795
2929
  agents?: string[] | undefined;
2930
+ skill?: string | undefined;
2796
2931
  agent?: string | undefined;
2797
2932
  dependsOn?: string[] | undefined;
2798
- skill?: string | undefined;
2799
2933
  outputSchema?: string | undefined;
2800
2934
  stopGate?: string | undefined;
2801
2935
  requires?: string | undefined;
@@ -2828,9 +2962,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2828
2962
  id: string;
2829
2963
  type?: string | undefined;
2830
2964
  agents?: string[] | undefined;
2965
+ skill?: string | undefined;
2831
2966
  agent?: string | undefined;
2832
2967
  dependsOn?: string[] | undefined;
2833
- skill?: string | undefined;
2834
2968
  outputSchema?: string | undefined;
2835
2969
  stopGate?: string | undefined;
2836
2970
  requires?: string | undefined;
@@ -2863,9 +2997,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2863
2997
  id: string;
2864
2998
  type?: string | undefined;
2865
2999
  agents?: string[] | undefined;
3000
+ skill?: string | undefined;
2866
3001
  agent?: string | undefined;
2867
3002
  dependsOn?: string[] | undefined;
2868
- skill?: string | undefined;
2869
3003
  outputSchema?: string | undefined;
2870
3004
  stopGate?: string | undefined;
2871
3005
  requires?: string | undefined;
@@ -2898,9 +3032,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
2898
3032
  id: string;
2899
3033
  type?: string | undefined;
2900
3034
  agents?: string[] | undefined;
3035
+ skill?: string | undefined;
2901
3036
  agent?: string | undefined;
2902
3037
  dependsOn?: string[] | undefined;
2903
- skill?: string | undefined;
2904
3038
  outputSchema?: string | undefined;
2905
3039
  stopGate?: string | undefined;
2906
3040
  requires?: string | undefined;
@@ -3007,9 +3141,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
3007
3141
  id: string;
3008
3142
  type?: string | undefined;
3009
3143
  agents?: string[] | undefined;
3144
+ skill?: string | undefined;
3010
3145
  agent?: string | undefined;
3011
3146
  dependsOn?: string[] | undefined;
3012
- skill?: string | undefined;
3013
3147
  outputSchema?: string | undefined;
3014
3148
  stopGate?: string | undefined;
3015
3149
  requires?: string | undefined;
@@ -3092,9 +3226,9 @@ export declare const ExecutionContextSchema: z.ZodObject<{
3092
3226
  id: string;
3093
3227
  type?: string | undefined;
3094
3228
  agents?: string[] | undefined;
3229
+ skill?: string | undefined;
3095
3230
  agent?: string | undefined;
3096
3231
  dependsOn?: string[] | undefined;
3097
- skill?: string | undefined;
3098
3232
  outputSchema?: string | undefined;
3099
3233
  stopGate?: string | undefined;
3100
3234
  requires?: string | undefined;
@@ -3575,9 +3709,9 @@ export declare const ScorecardRecordSchema: z.ZodObject<{
3575
3709
  }[];
3576
3710
  weightedScore: number;
3577
3711
  createdAt: string;
3712
+ model?: string | undefined;
3578
3713
  source?: "review" | "openspec" | "manual" | "pipeline" | undefined;
3579
3714
  backlogId?: string | undefined;
3580
- model?: string | undefined;
3581
3715
  evaluator?: string | undefined;
3582
3716
  }, {
3583
3717
  id: string;
@@ -3595,10 +3729,10 @@ export declare const ScorecardRecordSchema: z.ZodObject<{
3595
3729
  }[];
3596
3730
  weightedScore: number;
3597
3731
  createdAt: string;
3732
+ model?: string | undefined;
3598
3733
  findings?: string[] | undefined;
3599
3734
  source?: "review" | "openspec" | "manual" | "pipeline" | undefined;
3600
3735
  backlogId?: string | undefined;
3601
- model?: string | undefined;
3602
3736
  evaluator?: string | undefined;
3603
3737
  }>;
3604
3738
  export declare const TaskOutcomeSourceSchema: z.ZodEnum<["openspec", "review", "manual", "pipeline"]>;
@@ -3629,12 +3763,12 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
3629
3763
  disabledComponents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3630
3764
  }, "strip", z.ZodTypeAny, {
3631
3765
  id: string;
3766
+ model: string;
3632
3767
  contractVersion: string;
3633
3768
  timestamp: string;
3634
3769
  source: "review" | "openspec" | "manual" | "pipeline";
3635
3770
  taskId: string;
3636
3771
  agent: string;
3637
- model: string;
3638
3772
  status?: "reject" | "pass" | "phase_done" | "phase_failed" | "revise" | undefined;
3639
3773
  backlogId?: string | undefined;
3640
3774
  phase?: string | undefined;
@@ -3653,12 +3787,12 @@ export declare const TaskOutcomeSchema: z.ZodObject<{
3653
3787
  disabledComponents?: string[] | undefined;
3654
3788
  }, {
3655
3789
  id: string;
3790
+ model: string;
3656
3791
  contractVersion: string;
3657
3792
  timestamp: string;
3658
3793
  source: "review" | "openspec" | "manual" | "pipeline";
3659
3794
  taskId: string;
3660
3795
  agent: string;
3661
- model: string;
3662
3796
  status?: "reject" | "pass" | "phase_done" | "phase_failed" | "revise" | undefined;
3663
3797
  backlogId?: string | undefined;
3664
3798
  phase?: string | undefined;
@@ -3926,7 +4060,7 @@ export declare const EvaluationIndexSchema: z.ZodObject<{
3926
4060
  export declare const ExecutionProfileNameSchema: z.ZodEnum<["balanced", "quality", "economical"]>;
3927
4061
  export declare const ExecutionProfileSchema: z.ZodObject<{
3928
4062
  profile: z.ZodDefault<z.ZodEnum<["balanced", "quality", "economical"]>>;
3929
- target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy"]>>;
4063
+ target: z.ZodOptional<z.ZodEnum<["opencode", "claude", "codex", "gemini", "cursor", "agy", "pi"]>>;
3930
4064
  overrides: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
3931
4065
  subagentPolicy: z.ZodOptional<z.ZodObject<{
3932
4066
  orchestrator: z.ZodOptional<z.ZodEnum<["primary", "delegate"]>>;
@@ -3941,14 +4075,14 @@ export declare const ExecutionProfileSchema: z.ZodObject<{
3941
4075
  }, "strip", z.ZodTypeAny, {
3942
4076
  profile: "balanced" | "quality" | "economical";
3943
4077
  overrides: Record<string, string>;
3944
- target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | undefined;
4078
+ target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
3945
4079
  subagentPolicy?: {
3946
4080
  orchestrator?: "primary" | "delegate" | undefined;
3947
4081
  testerReviewer?: "primary" | "delegate" | undefined;
3948
4082
  } | undefined;
3949
4083
  }, {
3950
4084
  profile?: "balanced" | "quality" | "economical" | undefined;
3951
- target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | undefined;
4085
+ target?: "opencode" | "claude" | "codex" | "gemini" | "cursor" | "agy" | "pi" | undefined;
3952
4086
  overrides?: Record<string, string> | undefined;
3953
4087
  subagentPolicy?: {
3954
4088
  orchestrator?: "primary" | "delegate" | undefined;
@@ -4075,3 +4209,31 @@ export declare function validateDecision(data: unknown): DecisionInput;
4075
4209
  export declare function validateEvidence(data: unknown): EvidenceInput;
4076
4210
  export declare function validateCanonicalTaskCard(data: unknown): CanonicalTaskCardInput;
4077
4211
  export declare function validateProductEvent(data: unknown): ProductEventInput;
4212
+ /**
4213
+ * Skills registry schema — the bundled registry mapping skill IDs to their versions
4214
+ */
4215
+ export declare const SkillsRegistrySchema: z.ZodObject<{
4216
+ version: z.ZodLiteral<1>;
4217
+ skills: z.ZodRecord<z.ZodString, z.ZodObject<{
4218
+ version: z.ZodString;
4219
+ }, "strip", z.ZodTypeAny, {
4220
+ version: string;
4221
+ }, {
4222
+ version: string;
4223
+ }>>;
4224
+ }, "strip", z.ZodTypeAny, {
4225
+ version: 1;
4226
+ skills: Record<string, {
4227
+ version: string;
4228
+ }>;
4229
+ }, {
4230
+ version: 1;
4231
+ skills: Record<string, {
4232
+ version: string;
4233
+ }>;
4234
+ }>;
4235
+ export type SkillsRegistry = z.infer<typeof SkillsRegistrySchema>;
4236
+ /**
4237
+ * Validate skills registry
4238
+ */
4239
+ export declare function validateSkillsRegistry(data: unknown): SkillsRegistry;