@bonesofspring/ai-rules 0.2.78 → 0.2.84

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 (904) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +4 -2
  3. package/bin/lib/engine-scripts.js +6 -0
  4. package/bin/lib/merged-config.js +49 -0
  5. package/bin/lib/seed-ai-local-team.js +4 -0
  6. package/bin/mavis-install.js +53 -3
  7. package/docs/MAVIS-COMPATIBILITY.md +136 -8
  8. package/docs/PRESET-CONTRIBUTION.md +9 -0
  9. package/docs/TEAM-DB.md +118 -15
  10. package/docs/openapi/team-db.v1.json +2879 -1858
  11. package/package.json +8 -1
  12. package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +282 -0
  13. package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
  14. package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +531 -0
  15. package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
  16. package/presets/_shared/ai-local/scripts/team-db-api.mjs +211 -12
  17. package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +289 -3
  18. package/presets/_shared/ai-local/scripts/team-db-project.mjs +857 -1
  19. package/presets/_shared/ai-local/scripts/team-db-schema.mjs +68 -0
  20. package/presets/_shared/ai-local/scripts/team-db-tracker.mjs +29 -10
  21. package/presets/_shared/ai-local/scripts/team-db.mjs +46 -1
  22. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
  23. package/presets/_shared/core/review/code-review-mr.md +19 -4
  24. package/presets/_shared/hooks/chain-team-phases.sh.tmpl +109 -1
  25. package/presets/_shared/hooks/compact-shell-output.mjs +16 -1
  26. package/presets/claude/android-kotlin/agents/code-reviewer.md +5 -1
  27. package/presets/claude/android-kotlin/agents/task-router.md +2 -0
  28. package/presets/claude/android-kotlin/commands/README.md +1 -0
  29. package/presets/claude/android-kotlin/commands/rr-migrate-repositories.md +59 -0
  30. package/presets/claude/android-kotlin/commands/task.md +4 -0
  31. package/presets/claude/android-kotlin/commands/update.md +1 -0
  32. package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +109 -1
  33. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  34. package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +19 -4
  35. package/presets/claude/android-kotlin/skills/code-review/SKILL.md +2 -1
  36. package/presets/claude/go/agents/code-reviewer.md +5 -1
  37. package/presets/claude/go/agents/task-router.md +2 -0
  38. package/presets/claude/go/commands/README.md +1 -0
  39. package/presets/claude/go/commands/rr-migrate-repositories.md +59 -0
  40. package/presets/claude/go/commands/task.md +4 -0
  41. package/presets/claude/go/commands/update.md +1 -0
  42. package/presets/claude/go/hooks/chain-team-phases.sh +109 -1
  43. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  44. package/presets/claude/go/rules/tooling-and-review/code-review.md +19 -4
  45. package/presets/claude/go/skills/code-review/SKILL.md +2 -1
  46. package/presets/claude/ios-swift/agents/code-reviewer.md +5 -1
  47. package/presets/claude/ios-swift/agents/task-router.md +2 -0
  48. package/presets/claude/ios-swift/commands/README.md +1 -0
  49. package/presets/claude/ios-swift/commands/rr-migrate-repositories.md +59 -0
  50. package/presets/claude/ios-swift/commands/task.md +4 -0
  51. package/presets/claude/ios-swift/commands/update.md +1 -0
  52. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +109 -1
  53. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  54. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +19 -4
  55. package/presets/claude/ios-swift/skills/code-review/SKILL.md +2 -1
  56. package/presets/claude/java/agents/code-reviewer.md +5 -1
  57. package/presets/claude/java/agents/task-router.md +2 -0
  58. package/presets/claude/java/commands/README.md +1 -0
  59. package/presets/claude/java/commands/rr-migrate-repositories.md +59 -0
  60. package/presets/claude/java/commands/task.md +4 -0
  61. package/presets/claude/java/commands/update.md +1 -0
  62. package/presets/claude/java/hooks/chain-team-phases.sh +109 -1
  63. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  64. package/presets/claude/java/rules/tooling-and-review/code-review.md +19 -4
  65. package/presets/claude/java/skills/code-review/SKILL.md +2 -1
  66. package/presets/claude/mcp-ts/agents/task-router.md +2 -0
  67. package/presets/claude/mcp-ts/commands/README.md +1 -0
  68. package/presets/claude/mcp-ts/commands/rr-migrate-repositories.md +59 -0
  69. package/presets/claude/mcp-ts/commands/task.md +4 -0
  70. package/presets/claude/mcp-ts/commands/update.md +1 -0
  71. package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +109 -1
  72. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  73. package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +19 -4
  74. package/presets/claude/mol/REPO_AGENTS.md +1 -1
  75. package/presets/claude/mol/agents/code-reviewer.md +5 -1
  76. package/presets/claude/mol/agents/task-router.md +3 -1
  77. package/presets/claude/mol/commands/README.md +1 -0
  78. package/presets/claude/mol/commands/rr-migrate-repositories.md +59 -0
  79. package/presets/claude/mol/commands/task.md +4 -0
  80. package/presets/claude/mol/commands/update.md +1 -0
  81. package/presets/claude/mol/hooks/chain-team-phases.sh +109 -1
  82. package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  83. package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +19 -4
  84. package/presets/claude/mol/skills/code-review/SKILL.md +2 -1
  85. package/presets/claude/next/REPO_AGENTS.md +1 -1
  86. package/presets/claude/next/agents/code-reviewer.md +5 -1
  87. package/presets/claude/next/agents/task-router.md +3 -1
  88. package/presets/claude/next/commands/README.md +1 -0
  89. package/presets/claude/next/commands/rr-migrate-repositories.md +59 -0
  90. package/presets/claude/next/commands/task.md +4 -0
  91. package/presets/claude/next/commands/ui-start.md +12 -4
  92. package/presets/claude/next/commands/ui-stop.md +5 -2
  93. package/presets/claude/next/commands/update.md +1 -0
  94. package/presets/claude/next/hooks/chain-team-phases.sh +109 -1
  95. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  96. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +19 -4
  97. package/presets/claude/next/skills/code-review/SKILL.md +2 -1
  98. package/presets/claude/nuxt/agents/code-reviewer.md +5 -1
  99. package/presets/claude/nuxt/agents/task-router.md +3 -1
  100. package/presets/claude/nuxt/commands/README.md +1 -0
  101. package/presets/claude/nuxt/commands/rr-migrate-repositories.md +59 -0
  102. package/presets/claude/nuxt/commands/task.md +4 -0
  103. package/presets/claude/nuxt/commands/update.md +1 -0
  104. package/presets/claude/nuxt/hooks/chain-team-phases.sh +109 -1
  105. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  106. package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +19 -4
  107. package/presets/claude/nuxt/skills/code-review/SKILL.md +2 -1
  108. package/presets/claude/php-hexagonal/agents/code-reviewer.md +5 -1
  109. package/presets/claude/php-hexagonal/agents/task-router.md +2 -0
  110. package/presets/claude/php-hexagonal/commands/README.md +1 -0
  111. package/presets/claude/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
  112. package/presets/claude/php-hexagonal/commands/task.md +4 -0
  113. package/presets/claude/php-hexagonal/commands/update.md +1 -0
  114. package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  115. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  116. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +19 -4
  117. package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +2 -1
  118. package/presets/claude/php-laravel/agents/code-reviewer.md +5 -1
  119. package/presets/claude/php-laravel/agents/task-router.md +2 -0
  120. package/presets/claude/php-laravel/commands/README.md +1 -0
  121. package/presets/claude/php-laravel/commands/rr-migrate-repositories.md +59 -0
  122. package/presets/claude/php-laravel/commands/task.md +4 -0
  123. package/presets/claude/php-laravel/commands/update.md +1 -0
  124. package/presets/claude/php-laravel/hooks/chain-team-phases.sh +109 -1
  125. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  126. package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +19 -4
  127. package/presets/claude/php-laravel/skills/code-review/SKILL.md +2 -1
  128. package/presets/claude/svelte/agents/code-reviewer.md +5 -1
  129. package/presets/claude/svelte/agents/task-router.md +3 -1
  130. package/presets/claude/svelte/commands/README.md +1 -0
  131. package/presets/claude/svelte/commands/rr-migrate-repositories.md +59 -0
  132. package/presets/claude/svelte/commands/task.md +4 -0
  133. package/presets/claude/svelte/commands/update.md +1 -0
  134. package/presets/claude/svelte/hooks/chain-team-phases.sh +109 -1
  135. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  136. package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +19 -4
  137. package/presets/claude/svelte/skills/code-review/SKILL.md +2 -1
  138. package/presets/cursor/android-kotlin/agents/code-reviewer.md +5 -1
  139. package/presets/cursor/android-kotlin/agents/task-router.md +2 -0
  140. package/presets/cursor/android-kotlin/commands/README.md +1 -0
  141. package/presets/cursor/android-kotlin/commands/rr-migrate-repositories.md +59 -0
  142. package/presets/cursor/android-kotlin/commands/task.md +4 -0
  143. package/presets/cursor/android-kotlin/commands/update.md +1 -0
  144. package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +109 -1
  145. package/presets/cursor/android-kotlin/hooks/compact-shell-output.mjs +16 -1
  146. package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +19 -4
  147. package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +2 -1
  148. package/presets/cursor/go/agents/code-reviewer.md +5 -1
  149. package/presets/cursor/go/agents/task-router.md +2 -0
  150. package/presets/cursor/go/commands/README.md +1 -0
  151. package/presets/cursor/go/commands/rr-migrate-repositories.md +59 -0
  152. package/presets/cursor/go/commands/task.md +4 -0
  153. package/presets/cursor/go/commands/update.md +1 -0
  154. package/presets/cursor/go/hooks/chain-team-phases.sh +109 -1
  155. package/presets/cursor/go/hooks/compact-shell-output.mjs +16 -1
  156. package/presets/cursor/go/rules/code-review-mr.mdc +19 -4
  157. package/presets/cursor/go/skills/code-review/SKILL.md +2 -1
  158. package/presets/cursor/ios-swift/agents/code-reviewer.md +5 -1
  159. package/presets/cursor/ios-swift/agents/task-router.md +2 -0
  160. package/presets/cursor/ios-swift/commands/README.md +1 -0
  161. package/presets/cursor/ios-swift/commands/rr-migrate-repositories.md +59 -0
  162. package/presets/cursor/ios-swift/commands/task.md +4 -0
  163. package/presets/cursor/ios-swift/commands/update.md +1 -0
  164. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +109 -1
  165. package/presets/cursor/ios-swift/hooks/compact-shell-output.mjs +16 -1
  166. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +19 -4
  167. package/presets/cursor/ios-swift/skills/code-review/SKILL.md +2 -1
  168. package/presets/cursor/java/agents/code-reviewer.md +5 -1
  169. package/presets/cursor/java/agents/task-router.md +2 -0
  170. package/presets/cursor/java/commands/README.md +1 -0
  171. package/presets/cursor/java/commands/rr-migrate-repositories.md +59 -0
  172. package/presets/cursor/java/commands/task.md +4 -0
  173. package/presets/cursor/java/commands/update.md +1 -0
  174. package/presets/cursor/java/hooks/chain-team-phases.sh +109 -1
  175. package/presets/cursor/java/hooks/compact-shell-output.mjs +16 -1
  176. package/presets/cursor/java/rules/code-review-mr.mdc +19 -4
  177. package/presets/cursor/java/skills/code-review/SKILL.md +2 -1
  178. package/presets/cursor/mcp-ts/agents/task-router.md +2 -0
  179. package/presets/cursor/mcp-ts/commands/README.md +1 -0
  180. package/presets/cursor/mcp-ts/commands/rr-migrate-repositories.md +59 -0
  181. package/presets/cursor/mcp-ts/commands/task.md +4 -0
  182. package/presets/cursor/mcp-ts/commands/update.md +1 -0
  183. package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +109 -1
  184. package/presets/cursor/mcp-ts/hooks/compact-shell-output.mjs +16 -1
  185. package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +19 -4
  186. package/presets/cursor/mol/REPO_AGENTS.md +1 -1
  187. package/presets/cursor/mol/agents/code-reviewer.md +5 -1
  188. package/presets/cursor/mol/agents/task-router.md +3 -1
  189. package/presets/cursor/mol/commands/README.md +1 -0
  190. package/presets/cursor/mol/commands/rr-migrate-repositories.md +59 -0
  191. package/presets/cursor/mol/commands/task.md +4 -0
  192. package/presets/cursor/mol/commands/update.md +1 -0
  193. package/presets/cursor/mol/hooks/chain-team-phases.sh +109 -1
  194. package/presets/cursor/mol/hooks/compact-shell-output.mjs +16 -1
  195. package/presets/cursor/mol/rules/code-review-mr.mdc +19 -4
  196. package/presets/cursor/mol/skills/code-review/SKILL.md +2 -1
  197. package/presets/cursor/next/REPO_AGENTS.md +1 -1
  198. package/presets/cursor/next/agents/code-reviewer.md +5 -1
  199. package/presets/cursor/next/agents/task-router.md +3 -1
  200. package/presets/cursor/next/commands/README.md +1 -0
  201. package/presets/cursor/next/commands/rr-migrate-repositories.md +59 -0
  202. package/presets/cursor/next/commands/task.md +4 -0
  203. package/presets/cursor/next/commands/ui-start.md +12 -4
  204. package/presets/cursor/next/commands/ui-stop.md +5 -2
  205. package/presets/cursor/next/commands/update.md +1 -0
  206. package/presets/cursor/next/hooks/README.md +2 -0
  207. package/presets/cursor/next/hooks/chain-team-phases.sh +109 -1
  208. package/presets/cursor/next/hooks/compact-shell-output.mjs +16 -1
  209. package/presets/cursor/next/rules/code-review-mr.mdc +19 -4
  210. package/presets/cursor/next/skills/code-review/SKILL.md +2 -1
  211. package/presets/cursor/nuxt/agents/code-reviewer.md +5 -1
  212. package/presets/cursor/nuxt/agents/task-router.md +3 -1
  213. package/presets/cursor/nuxt/commands/README.md +1 -0
  214. package/presets/cursor/nuxt/commands/rr-migrate-repositories.md +59 -0
  215. package/presets/cursor/nuxt/commands/task.md +4 -0
  216. package/presets/cursor/nuxt/commands/update.md +1 -0
  217. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +109 -1
  218. package/presets/cursor/nuxt/hooks/compact-shell-output.mjs +16 -1
  219. package/presets/cursor/nuxt/rules/code-review-mr.mdc +19 -4
  220. package/presets/cursor/nuxt/skills/code-review/SKILL.md +2 -1
  221. package/presets/cursor/php-hexagonal/agents/code-reviewer.md +5 -1
  222. package/presets/cursor/php-hexagonal/agents/task-router.md +2 -0
  223. package/presets/cursor/php-hexagonal/commands/README.md +1 -0
  224. package/presets/cursor/php-hexagonal/commands/rr-migrate-repositories.md +59 -0
  225. package/presets/cursor/php-hexagonal/commands/task.md +4 -0
  226. package/presets/cursor/php-hexagonal/commands/update.md +1 -0
  227. package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  228. package/presets/cursor/php-hexagonal/hooks/compact-shell-output.mjs +16 -1
  229. package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +19 -4
  230. package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +2 -1
  231. package/presets/cursor/php-laravel/agents/code-reviewer.md +5 -1
  232. package/presets/cursor/php-laravel/agents/task-router.md +2 -0
  233. package/presets/cursor/php-laravel/commands/README.md +1 -0
  234. package/presets/cursor/php-laravel/commands/rr-migrate-repositories.md +59 -0
  235. package/presets/cursor/php-laravel/commands/task.md +4 -0
  236. package/presets/cursor/php-laravel/commands/update.md +1 -0
  237. package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +109 -1
  238. package/presets/cursor/php-laravel/hooks/compact-shell-output.mjs +16 -1
  239. package/presets/cursor/php-laravel/rules/code-review-mr.mdc +19 -4
  240. package/presets/cursor/php-laravel/skills/code-review/SKILL.md +2 -1
  241. package/presets/cursor/svelte/agents/code-reviewer.md +5 -1
  242. package/presets/cursor/svelte/agents/task-router.md +3 -1
  243. package/presets/cursor/svelte/commands/README.md +1 -0
  244. package/presets/cursor/svelte/commands/rr-migrate-repositories.md +59 -0
  245. package/presets/cursor/svelte/commands/task.md +4 -0
  246. package/presets/cursor/svelte/commands/update.md +1 -0
  247. package/presets/cursor/svelte/hooks/chain-team-phases.sh +109 -1
  248. package/presets/cursor/svelte/hooks/compact-shell-output.mjs +16 -1
  249. package/presets/cursor/svelte/rules/code-review-mr.mdc +19 -4
  250. package/presets/cursor/svelte/skills/code-review/SKILL.md +2 -1
  251. package/presets/mavis/android-kotlin/MAVIS.md +9 -3
  252. package/presets/mavis/android-kotlin/README.md +3 -1
  253. package/presets/mavis/android-kotlin/adapter-map.json +111 -43
  254. package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
  255. package/presets/mavis/android-kotlin/agents/task-router.md +2 -0
  256. package/presets/mavis/android-kotlin/commands/README.md +1 -0
  257. package/presets/mavis/android-kotlin/commands/rr-migrate-repositories.md +54 -0
  258. package/presets/mavis/android-kotlin/commands/task.md +4 -0
  259. package/presets/mavis/android-kotlin/commands/update.md +1 -0
  260. package/presets/mavis/android-kotlin/hooks/README.md +29 -7
  261. package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +109 -1
  262. package/presets/mavis/android-kotlin/hooks/mavis-chain-hook.mjs +143 -0
  263. package/presets/mavis/android-kotlin/hooks/run-hook.mjs +103 -0
  264. package/presets/mavis/android-kotlin/minimax-hooks/hooks.json +28 -0
  265. package/presets/mavis/android-kotlin/native-skills/README.md +15 -0
  266. package/presets/mavis/android-kotlin/native-skills/ci-investigation/SKILL.md +53 -0
  267. package/presets/mavis/android-kotlin/native-skills/code-review/SKILL.md +62 -0
  268. package/presets/mavis/android-kotlin/native-skills/debug-investigation/SKILL.md +72 -0
  269. package/presets/mavis/android-kotlin/native-skills/feature-delivery/SKILL.md +51 -0
  270. package/presets/mavis/android-kotlin/native-skills/instrumentation-ui-e2e/SKILL.md +23 -0
  271. package/presets/mavis/android-kotlin/native-skills/migrate-tasks/SKILL.md +43 -0
  272. package/presets/mavis/android-kotlin/native-skills/mockup-review/SKILL.md +34 -0
  273. package/presets/mavis/android-kotlin/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  274. package/presets/mavis/android-kotlin/native-skills/rr-scheduler-start/SKILL.md +34 -0
  275. package/presets/mavis/android-kotlin/native-skills/spec-authoring/SKILL.md +31 -0
  276. package/presets/mavis/android-kotlin/native-skills/spec-discovery/SKILL.md +63 -0
  277. package/presets/mavis/android-kotlin/native-skills/spec-start/SKILL.md +31 -0
  278. package/presets/mavis/android-kotlin/native-skills/task/SKILL.md +79 -0
  279. package/presets/mavis/android-kotlin/native-skills/task-continue/SKILL.md +74 -0
  280. package/presets/mavis/android-kotlin/native-skills/technical-retro/SKILL.md +72 -0
  281. package/presets/mavis/android-kotlin/native-skills/unit-testing/SKILL.md +38 -0
  282. package/presets/mavis/android-kotlin/native-skills/update/SKILL.md +44 -0
  283. package/presets/mavis/android-kotlin/native-skills/ux-design/SKILL.md +41 -0
  284. package/presets/mavis/android-kotlin/native-skills/write-adr/SKILL.md +46 -0
  285. package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  286. package/presets/mavis/android-kotlin/rules/code-review-mr.md +19 -4
  287. package/presets/mavis/android-kotlin/skills/code-review/SKILL.md +2 -1
  288. package/presets/mavis/go/MAVIS.md +9 -3
  289. package/presets/mavis/go/README.md +3 -1
  290. package/presets/mavis/go/adapter-map.json +101 -39
  291. package/presets/mavis/go/agents/code-reviewer.md +5 -1
  292. package/presets/mavis/go/agents/task-router.md +2 -0
  293. package/presets/mavis/go/commands/README.md +1 -0
  294. package/presets/mavis/go/commands/rr-migrate-repositories.md +54 -0
  295. package/presets/mavis/go/commands/task.md +4 -0
  296. package/presets/mavis/go/commands/update.md +1 -0
  297. package/presets/mavis/go/hooks/README.md +29 -7
  298. package/presets/mavis/go/hooks/chain-team-phases.sh +109 -1
  299. package/presets/mavis/go/hooks/mavis-chain-hook.mjs +143 -0
  300. package/presets/mavis/go/hooks/run-hook.mjs +103 -0
  301. package/presets/mavis/go/minimax-hooks/hooks.json +28 -0
  302. package/presets/mavis/go/native-skills/README.md +15 -0
  303. package/presets/mavis/go/native-skills/ci-investigation/SKILL.md +24 -0
  304. package/presets/mavis/go/native-skills/code-review/SKILL.md +48 -0
  305. package/presets/mavis/go/native-skills/debug-investigation/SKILL.md +55 -0
  306. package/presets/mavis/go/native-skills/feature-delivery/SKILL.md +43 -0
  307. package/presets/mavis/go/native-skills/integration-testing/SKILL.md +21 -0
  308. package/presets/mavis/go/native-skills/migrate-tasks/SKILL.md +43 -0
  309. package/presets/mavis/go/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  310. package/presets/mavis/go/native-skills/rr-scheduler-start/SKILL.md +34 -0
  311. package/presets/mavis/go/native-skills/spec-authoring/SKILL.md +31 -0
  312. package/presets/mavis/go/native-skills/spec-discovery/SKILL.md +63 -0
  313. package/presets/mavis/go/native-skills/spec-start/SKILL.md +31 -0
  314. package/presets/mavis/go/native-skills/task/SKILL.md +77 -0
  315. package/presets/mavis/go/native-skills/task-continue/SKILL.md +72 -0
  316. package/presets/mavis/go/native-skills/technical-retro/SKILL.md +72 -0
  317. package/presets/mavis/go/native-skills/unit-testing/SKILL.md +20 -0
  318. package/presets/mavis/go/native-skills/update/SKILL.md +44 -0
  319. package/presets/mavis/go/native-skills/write-adr/SKILL.md +46 -0
  320. package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -0
  321. package/presets/mavis/go/rules/code-review-mr.md +19 -4
  322. package/presets/mavis/go/skills/code-review/SKILL.md +2 -1
  323. package/presets/mavis/ios-swift/MAVIS.md +9 -3
  324. package/presets/mavis/ios-swift/README.md +3 -1
  325. package/presets/mavis/ios-swift/adapter-map.json +111 -43
  326. package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
  327. package/presets/mavis/ios-swift/agents/task-router.md +2 -0
  328. package/presets/mavis/ios-swift/commands/README.md +1 -0
  329. package/presets/mavis/ios-swift/commands/rr-migrate-repositories.md +54 -0
  330. package/presets/mavis/ios-swift/commands/task.md +4 -0
  331. package/presets/mavis/ios-swift/commands/update.md +1 -0
  332. package/presets/mavis/ios-swift/hooks/README.md +29 -7
  333. package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +109 -1
  334. package/presets/mavis/ios-swift/hooks/mavis-chain-hook.mjs +143 -0
  335. package/presets/mavis/ios-swift/hooks/run-hook.mjs +103 -0
  336. package/presets/mavis/ios-swift/minimax-hooks/hooks.json +28 -0
  337. package/presets/mavis/ios-swift/native-skills/README.md +15 -0
  338. package/presets/mavis/ios-swift/native-skills/ci-investigation/SKILL.md +53 -0
  339. package/presets/mavis/ios-swift/native-skills/code-review/SKILL.md +62 -0
  340. package/presets/mavis/ios-swift/native-skills/debug-investigation/SKILL.md +72 -0
  341. package/presets/mavis/ios-swift/native-skills/feature-delivery/SKILL.md +51 -0
  342. package/presets/mavis/ios-swift/native-skills/migrate-tasks/SKILL.md +43 -0
  343. package/presets/mavis/ios-swift/native-skills/mockup-review/SKILL.md +34 -0
  344. package/presets/mavis/ios-swift/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  345. package/presets/mavis/ios-swift/native-skills/rr-scheduler-start/SKILL.md +34 -0
  346. package/presets/mavis/ios-swift/native-skills/spec-authoring/SKILL.md +31 -0
  347. package/presets/mavis/ios-swift/native-skills/spec-discovery/SKILL.md +63 -0
  348. package/presets/mavis/ios-swift/native-skills/spec-start/SKILL.md +31 -0
  349. package/presets/mavis/ios-swift/native-skills/task/SKILL.md +79 -0
  350. package/presets/mavis/ios-swift/native-skills/task-continue/SKILL.md +74 -0
  351. package/presets/mavis/ios-swift/native-skills/technical-retro/SKILL.md +72 -0
  352. package/presets/mavis/ios-swift/native-skills/unit-testing/SKILL.md +38 -0
  353. package/presets/mavis/ios-swift/native-skills/update/SKILL.md +44 -0
  354. package/presets/mavis/ios-swift/native-skills/ux-design/SKILL.md +41 -0
  355. package/presets/mavis/ios-swift/native-skills/write-adr/SKILL.md +46 -0
  356. package/presets/mavis/ios-swift/native-skills/xcuitest-e2e/SKILL.md +39 -0
  357. package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -0
  358. package/presets/mavis/ios-swift/rules/code-review-mr.md +19 -4
  359. package/presets/mavis/ios-swift/skills/code-review/SKILL.md +2 -1
  360. package/presets/mavis/java/MAVIS.md +9 -3
  361. package/presets/mavis/java/README.md +3 -1
  362. package/presets/mavis/java/adapter-map.json +101 -39
  363. package/presets/mavis/java/agents/code-reviewer.md +5 -1
  364. package/presets/mavis/java/agents/task-router.md +2 -0
  365. package/presets/mavis/java/commands/README.md +1 -0
  366. package/presets/mavis/java/commands/rr-migrate-repositories.md +54 -0
  367. package/presets/mavis/java/commands/task.md +4 -0
  368. package/presets/mavis/java/commands/update.md +1 -0
  369. package/presets/mavis/java/hooks/README.md +29 -7
  370. package/presets/mavis/java/hooks/chain-team-phases.sh +109 -1
  371. package/presets/mavis/java/hooks/mavis-chain-hook.mjs +143 -0
  372. package/presets/mavis/java/hooks/run-hook.mjs +103 -0
  373. package/presets/mavis/java/minimax-hooks/hooks.json +28 -0
  374. package/presets/mavis/java/native-skills/README.md +15 -0
  375. package/presets/mavis/java/native-skills/ci-investigation/SKILL.md +24 -0
  376. package/presets/mavis/java/native-skills/code-review/SKILL.md +48 -0
  377. package/presets/mavis/java/native-skills/debug-investigation/SKILL.md +55 -0
  378. package/presets/mavis/java/native-skills/feature-delivery/SKILL.md +43 -0
  379. package/presets/mavis/java/native-skills/integration-testing/SKILL.md +21 -0
  380. package/presets/mavis/java/native-skills/migrate-tasks/SKILL.md +43 -0
  381. package/presets/mavis/java/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  382. package/presets/mavis/java/native-skills/rr-scheduler-start/SKILL.md +34 -0
  383. package/presets/mavis/java/native-skills/spec-authoring/SKILL.md +31 -0
  384. package/presets/mavis/java/native-skills/spec-discovery/SKILL.md +63 -0
  385. package/presets/mavis/java/native-skills/spec-start/SKILL.md +31 -0
  386. package/presets/mavis/java/native-skills/task/SKILL.md +77 -0
  387. package/presets/mavis/java/native-skills/task-continue/SKILL.md +72 -0
  388. package/presets/mavis/java/native-skills/technical-retro/SKILL.md +72 -0
  389. package/presets/mavis/java/native-skills/unit-testing/SKILL.md +20 -0
  390. package/presets/mavis/java/native-skills/update/SKILL.md +44 -0
  391. package/presets/mavis/java/native-skills/write-adr/SKILL.md +46 -0
  392. package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -0
  393. package/presets/mavis/java/rules/code-review-mr.md +19 -4
  394. package/presets/mavis/java/skills/code-review/SKILL.md +2 -1
  395. package/presets/mavis/mcp-ts/MAVIS.md +9 -3
  396. package/presets/mavis/mcp-ts/README.md +3 -1
  397. package/presets/mavis/mcp-ts/adapter-map.json +84 -31
  398. package/presets/mavis/mcp-ts/agents/task-router.md +2 -0
  399. package/presets/mavis/mcp-ts/commands/README.md +1 -0
  400. package/presets/mavis/mcp-ts/commands/rr-migrate-repositories.md +54 -0
  401. package/presets/mavis/mcp-ts/commands/task.md +4 -0
  402. package/presets/mavis/mcp-ts/commands/update.md +1 -0
  403. package/presets/mavis/mcp-ts/hooks/README.md +29 -7
  404. package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +109 -1
  405. package/presets/mavis/mcp-ts/hooks/mavis-chain-hook.mjs +143 -0
  406. package/presets/mavis/mcp-ts/hooks/run-hook.mjs +103 -0
  407. package/presets/mavis/mcp-ts/minimax-hooks/hooks.json +28 -0
  408. package/presets/mavis/mcp-ts/native-skills/README.md +15 -0
  409. package/presets/mavis/mcp-ts/native-skills/code-review/SKILL.md +31 -0
  410. package/presets/mavis/mcp-ts/native-skills/debug-investigation/SKILL.md +51 -0
  411. package/presets/mavis/mcp-ts/native-skills/feature-delivery/SKILL.md +42 -0
  412. package/presets/mavis/mcp-ts/native-skills/migrate-tasks/SKILL.md +43 -0
  413. package/presets/mavis/mcp-ts/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  414. package/presets/mavis/mcp-ts/native-skills/rr-scheduler-start/SKILL.md +34 -0
  415. package/presets/mavis/mcp-ts/native-skills/spec-authoring/SKILL.md +31 -0
  416. package/presets/mavis/mcp-ts/native-skills/spec-discovery/SKILL.md +63 -0
  417. package/presets/mavis/mcp-ts/native-skills/spec-start/SKILL.md +31 -0
  418. package/presets/mavis/mcp-ts/native-skills/task/SKILL.md +77 -0
  419. package/presets/mavis/mcp-ts/native-skills/task-continue/SKILL.md +72 -0
  420. package/presets/mavis/mcp-ts/native-skills/technical-retro/SKILL.md +95 -0
  421. package/presets/mavis/mcp-ts/native-skills/unit-testing/SKILL.md +22 -0
  422. package/presets/mavis/mcp-ts/native-skills/update/SKILL.md +44 -0
  423. package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  424. package/presets/mavis/mcp-ts/rules/code-review-mr.md +19 -4
  425. package/presets/mavis/mol/MAVIS.md +9 -3
  426. package/presets/mavis/mol/README.md +3 -1
  427. package/presets/mavis/mol/REPO_AGENTS.md +1 -1
  428. package/presets/mavis/mol/adapter-map.json +101 -39
  429. package/presets/mavis/mol/agents/code-reviewer.md +5 -1
  430. package/presets/mavis/mol/agents/task-router.md +3 -1
  431. package/presets/mavis/mol/commands/README.md +1 -0
  432. package/presets/mavis/mol/commands/rr-migrate-repositories.md +54 -0
  433. package/presets/mavis/mol/commands/task.md +4 -0
  434. package/presets/mavis/mol/commands/update.md +1 -0
  435. package/presets/mavis/mol/hooks/README.md +29 -7
  436. package/presets/mavis/mol/hooks/chain-team-phases.sh +109 -1
  437. package/presets/mavis/mol/hooks/mavis-chain-hook.mjs +143 -0
  438. package/presets/mavis/mol/hooks/run-hook.mjs +103 -0
  439. package/presets/mavis/mol/minimax-hooks/hooks.json +28 -0
  440. package/presets/mavis/mol/native-skills/README.md +15 -0
  441. package/presets/mavis/mol/native-skills/ci-investigation/SKILL.md +49 -0
  442. package/presets/mavis/mol/native-skills/code-review/SKILL.md +61 -0
  443. package/presets/mavis/mol/native-skills/debug-investigation/SKILL.md +63 -0
  444. package/presets/mavis/mol/native-skills/feature-delivery/SKILL.md +44 -0
  445. package/presets/mavis/mol/native-skills/migrate-tasks/SKILL.md +43 -0
  446. package/presets/mavis/mol/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  447. package/presets/mavis/mol/native-skills/rr-scheduler-start/SKILL.md +34 -0
  448. package/presets/mavis/mol/native-skills/spec-authoring/SKILL.md +31 -0
  449. package/presets/mavis/mol/native-skills/spec-discovery/SKILL.md +63 -0
  450. package/presets/mavis/mol/native-skills/spec-start/SKILL.md +31 -0
  451. package/presets/mavis/mol/native-skills/task/SKILL.md +82 -0
  452. package/presets/mavis/mol/native-skills/task-continue/SKILL.md +74 -0
  453. package/presets/mavis/mol/native-skills/task-evil/SKILL.md +89 -0
  454. package/presets/mavis/mol/native-skills/technical-retro/SKILL.md +72 -0
  455. package/presets/mavis/mol/native-skills/unit-testing/SKILL.md +38 -0
  456. package/presets/mavis/mol/native-skills/update/SKILL.md +44 -0
  457. package/presets/mavis/mol/native-skills/write-adr/SKILL.md +46 -0
  458. package/presets/mavis/mol/rules/agent-team-orchestrator.md +1 -0
  459. package/presets/mavis/mol/rules/code-review-mr.md +19 -4
  460. package/presets/mavis/mol/skills/code-review/SKILL.md +2 -1
  461. package/presets/mavis/next/MAVIS.md +9 -3
  462. package/presets/mavis/next/README.md +3 -1
  463. package/presets/mavis/next/REPO_AGENTS.md +1 -1
  464. package/presets/mavis/next/adapter-map.json +135 -52
  465. package/presets/mavis/next/agents/code-reviewer.md +5 -1
  466. package/presets/mavis/next/agents/task-router.md +3 -1
  467. package/presets/mavis/next/commands/README.md +1 -0
  468. package/presets/mavis/next/commands/rr-migrate-repositories.md +54 -0
  469. package/presets/mavis/next/commands/task.md +4 -0
  470. package/presets/mavis/next/commands/ui-start.md +12 -4
  471. package/presets/mavis/next/commands/ui-stop.md +5 -2
  472. package/presets/mavis/next/commands/update.md +1 -0
  473. package/presets/mavis/next/hooks/README.md +29 -7
  474. package/presets/mavis/next/hooks/chain-team-phases.sh +109 -1
  475. package/presets/mavis/next/hooks/mavis-chain-hook.mjs +143 -0
  476. package/presets/mavis/next/hooks/run-hook.mjs +103 -0
  477. package/presets/mavis/next/minimax-hooks/hooks.json +28 -0
  478. package/presets/mavis/next/native-skills/README.md +15 -0
  479. package/presets/mavis/next/native-skills/ci-investigation/SKILL.md +50 -0
  480. package/presets/mavis/next/native-skills/code-review/SKILL.md +62 -0
  481. package/presets/mavis/next/native-skills/debug-investigation/SKILL.md +64 -0
  482. package/presets/mavis/next/native-skills/feature-delivery/SKILL.md +45 -0
  483. package/presets/mavis/next/native-skills/figma-fidelity/SKILL.md +131 -0
  484. package/presets/mavis/next/native-skills/migrate-tasks/SKILL.md +43 -0
  485. package/presets/mavis/next/native-skills/mockup-review/SKILL.md +44 -0
  486. package/presets/mavis/next/native-skills/playwright-e2e/SKILL.md +39 -0
  487. package/presets/mavis/next/native-skills/react-performance/SKILL.md +49 -0
  488. package/presets/mavis/next/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  489. package/presets/mavis/next/native-skills/rr-scheduler-start/SKILL.md +34 -0
  490. package/presets/mavis/next/native-skills/spec-authoring/SKILL.md +31 -0
  491. package/presets/mavis/next/native-skills/spec-discovery/SKILL.md +63 -0
  492. package/presets/mavis/next/native-skills/spec-start/SKILL.md +31 -0
  493. package/presets/mavis/next/native-skills/task/SKILL.md +88 -0
  494. package/presets/mavis/next/native-skills/task-continue/SKILL.md +87 -0
  495. package/presets/mavis/next/native-skills/task-evil/SKILL.md +89 -0
  496. package/presets/mavis/next/native-skills/technical-retro/SKILL.md +72 -0
  497. package/presets/mavis/next/native-skills/ui-start/SKILL.md +64 -0
  498. package/presets/mavis/next/native-skills/ui-stop/SKILL.md +48 -0
  499. package/presets/mavis/next/native-skills/unit-testing/SKILL.md +40 -0
  500. package/presets/mavis/next/native-skills/update/SKILL.md +44 -0
  501. package/presets/mavis/next/native-skills/ux-design/SKILL.md +41 -0
  502. package/presets/mavis/next/native-skills/write-adr/SKILL.md +46 -0
  503. package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -0
  504. package/presets/mavis/next/rules/code-review-mr.md +19 -4
  505. package/presets/mavis/next/skills/code-review/SKILL.md +2 -1
  506. package/presets/mavis/nuxt/MAVIS.md +9 -3
  507. package/presets/mavis/nuxt/README.md +3 -1
  508. package/presets/mavis/nuxt/adapter-map.json +116 -45
  509. package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
  510. package/presets/mavis/nuxt/agents/task-router.md +3 -1
  511. package/presets/mavis/nuxt/commands/README.md +1 -0
  512. package/presets/mavis/nuxt/commands/rr-migrate-repositories.md +54 -0
  513. package/presets/mavis/nuxt/commands/task.md +4 -0
  514. package/presets/mavis/nuxt/commands/update.md +1 -0
  515. package/presets/mavis/nuxt/hooks/README.md +29 -7
  516. package/presets/mavis/nuxt/hooks/chain-team-phases.sh +109 -1
  517. package/presets/mavis/nuxt/hooks/mavis-chain-hook.mjs +143 -0
  518. package/presets/mavis/nuxt/hooks/run-hook.mjs +103 -0
  519. package/presets/mavis/nuxt/minimax-hooks/hooks.json +28 -0
  520. package/presets/mavis/nuxt/native-skills/README.md +15 -0
  521. package/presets/mavis/nuxt/native-skills/ci-investigation/SKILL.md +50 -0
  522. package/presets/mavis/nuxt/native-skills/code-review/SKILL.md +61 -0
  523. package/presets/mavis/nuxt/native-skills/debug-investigation/SKILL.md +64 -0
  524. package/presets/mavis/nuxt/native-skills/feature-delivery/SKILL.md +52 -0
  525. package/presets/mavis/nuxt/native-skills/migrate-tasks/SKILL.md +43 -0
  526. package/presets/mavis/nuxt/native-skills/mockup-review/SKILL.md +34 -0
  527. package/presets/mavis/nuxt/native-skills/playwright-e2e/SKILL.md +43 -0
  528. package/presets/mavis/nuxt/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  529. package/presets/mavis/nuxt/native-skills/rr-scheduler-start/SKILL.md +34 -0
  530. package/presets/mavis/nuxt/native-skills/spec-authoring/SKILL.md +31 -0
  531. package/presets/mavis/nuxt/native-skills/spec-discovery/SKILL.md +63 -0
  532. package/presets/mavis/nuxt/native-skills/spec-start/SKILL.md +31 -0
  533. package/presets/mavis/nuxt/native-skills/task/SKILL.md +79 -0
  534. package/presets/mavis/nuxt/native-skills/task-continue/SKILL.md +74 -0
  535. package/presets/mavis/nuxt/native-skills/technical-retro/SKILL.md +72 -0
  536. package/presets/mavis/nuxt/native-skills/unit-testing/SKILL.md +38 -0
  537. package/presets/mavis/nuxt/native-skills/update/SKILL.md +44 -0
  538. package/presets/mavis/nuxt/native-skills/ux-design/SKILL.md +41 -0
  539. package/presets/mavis/nuxt/native-skills/vue-performance/SKILL.md +58 -0
  540. package/presets/mavis/nuxt/native-skills/write-adr/SKILL.md +46 -0
  541. package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -0
  542. package/presets/mavis/nuxt/rules/code-review-mr.md +19 -4
  543. package/presets/mavis/nuxt/skills/code-review/SKILL.md +2 -1
  544. package/presets/mavis/php-hexagonal/MAVIS.md +9 -3
  545. package/presets/mavis/php-hexagonal/README.md +3 -1
  546. package/presets/mavis/php-hexagonal/adapter-map.json +101 -39
  547. package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
  548. package/presets/mavis/php-hexagonal/agents/task-router.md +2 -0
  549. package/presets/mavis/php-hexagonal/commands/README.md +1 -0
  550. package/presets/mavis/php-hexagonal/commands/rr-migrate-repositories.md +54 -0
  551. package/presets/mavis/php-hexagonal/commands/task.md +4 -0
  552. package/presets/mavis/php-hexagonal/commands/update.md +1 -0
  553. package/presets/mavis/php-hexagonal/hooks/README.md +29 -7
  554. package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  555. package/presets/mavis/php-hexagonal/hooks/mavis-chain-hook.mjs +143 -0
  556. package/presets/mavis/php-hexagonal/hooks/run-hook.mjs +103 -0
  557. package/presets/mavis/php-hexagonal/minimax-hooks/hooks.json +28 -0
  558. package/presets/mavis/php-hexagonal/native-skills/README.md +15 -0
  559. package/presets/mavis/php-hexagonal/native-skills/ci-investigation/SKILL.md +24 -0
  560. package/presets/mavis/php-hexagonal/native-skills/code-review/SKILL.md +48 -0
  561. package/presets/mavis/php-hexagonal/native-skills/debug-investigation/SKILL.md +55 -0
  562. package/presets/mavis/php-hexagonal/native-skills/feature-delivery/SKILL.md +43 -0
  563. package/presets/mavis/php-hexagonal/native-skills/integration-testing/SKILL.md +21 -0
  564. package/presets/mavis/php-hexagonal/native-skills/migrate-tasks/SKILL.md +43 -0
  565. package/presets/mavis/php-hexagonal/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  566. package/presets/mavis/php-hexagonal/native-skills/rr-scheduler-start/SKILL.md +34 -0
  567. package/presets/mavis/php-hexagonal/native-skills/spec-authoring/SKILL.md +31 -0
  568. package/presets/mavis/php-hexagonal/native-skills/spec-discovery/SKILL.md +63 -0
  569. package/presets/mavis/php-hexagonal/native-skills/spec-start/SKILL.md +31 -0
  570. package/presets/mavis/php-hexagonal/native-skills/task/SKILL.md +77 -0
  571. package/presets/mavis/php-hexagonal/native-skills/task-continue/SKILL.md +72 -0
  572. package/presets/mavis/php-hexagonal/native-skills/technical-retro/SKILL.md +72 -0
  573. package/presets/mavis/php-hexagonal/native-skills/unit-testing/SKILL.md +20 -0
  574. package/presets/mavis/php-hexagonal/native-skills/update/SKILL.md +44 -0
  575. package/presets/mavis/php-hexagonal/native-skills/write-adr/SKILL.md +46 -0
  576. package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  577. package/presets/mavis/php-hexagonal/rules/code-review-mr.md +19 -4
  578. package/presets/mavis/php-hexagonal/skills/code-review/SKILL.md +2 -1
  579. package/presets/mavis/php-laravel/MAVIS.md +9 -3
  580. package/presets/mavis/php-laravel/README.md +3 -1
  581. package/presets/mavis/php-laravel/adapter-map.json +101 -39
  582. package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
  583. package/presets/mavis/php-laravel/agents/task-router.md +2 -0
  584. package/presets/mavis/php-laravel/commands/README.md +1 -0
  585. package/presets/mavis/php-laravel/commands/rr-migrate-repositories.md +54 -0
  586. package/presets/mavis/php-laravel/commands/task.md +4 -0
  587. package/presets/mavis/php-laravel/commands/update.md +1 -0
  588. package/presets/mavis/php-laravel/hooks/README.md +29 -7
  589. package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +109 -1
  590. package/presets/mavis/php-laravel/hooks/mavis-chain-hook.mjs +143 -0
  591. package/presets/mavis/php-laravel/hooks/run-hook.mjs +103 -0
  592. package/presets/mavis/php-laravel/minimax-hooks/hooks.json +28 -0
  593. package/presets/mavis/php-laravel/native-skills/README.md +15 -0
  594. package/presets/mavis/php-laravel/native-skills/ci-investigation/SKILL.md +24 -0
  595. package/presets/mavis/php-laravel/native-skills/code-review/SKILL.md +48 -0
  596. package/presets/mavis/php-laravel/native-skills/debug-investigation/SKILL.md +55 -0
  597. package/presets/mavis/php-laravel/native-skills/feature-delivery/SKILL.md +43 -0
  598. package/presets/mavis/php-laravel/native-skills/integration-testing/SKILL.md +21 -0
  599. package/presets/mavis/php-laravel/native-skills/migrate-tasks/SKILL.md +43 -0
  600. package/presets/mavis/php-laravel/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  601. package/presets/mavis/php-laravel/native-skills/rr-scheduler-start/SKILL.md +34 -0
  602. package/presets/mavis/php-laravel/native-skills/spec-authoring/SKILL.md +31 -0
  603. package/presets/mavis/php-laravel/native-skills/spec-discovery/SKILL.md +63 -0
  604. package/presets/mavis/php-laravel/native-skills/spec-start/SKILL.md +31 -0
  605. package/presets/mavis/php-laravel/native-skills/task/SKILL.md +77 -0
  606. package/presets/mavis/php-laravel/native-skills/task-continue/SKILL.md +72 -0
  607. package/presets/mavis/php-laravel/native-skills/technical-retro/SKILL.md +72 -0
  608. package/presets/mavis/php-laravel/native-skills/unit-testing/SKILL.md +20 -0
  609. package/presets/mavis/php-laravel/native-skills/update/SKILL.md +44 -0
  610. package/presets/mavis/php-laravel/native-skills/write-adr/SKILL.md +46 -0
  611. package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -0
  612. package/presets/mavis/php-laravel/rules/code-review-mr.md +19 -4
  613. package/presets/mavis/php-laravel/skills/code-review/SKILL.md +2 -1
  614. package/presets/mavis/platform-contract.json +18 -5
  615. package/presets/mavis/svelte/MAVIS.md +9 -3
  616. package/presets/mavis/svelte/README.md +3 -1
  617. package/presets/mavis/svelte/adapter-map.json +116 -45
  618. package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
  619. package/presets/mavis/svelte/agents/task-router.md +3 -1
  620. package/presets/mavis/svelte/commands/README.md +1 -0
  621. package/presets/mavis/svelte/commands/rr-migrate-repositories.md +54 -0
  622. package/presets/mavis/svelte/commands/task.md +4 -0
  623. package/presets/mavis/svelte/commands/update.md +1 -0
  624. package/presets/mavis/svelte/hooks/README.md +29 -7
  625. package/presets/mavis/svelte/hooks/chain-team-phases.sh +109 -1
  626. package/presets/mavis/svelte/hooks/mavis-chain-hook.mjs +143 -0
  627. package/presets/mavis/svelte/hooks/run-hook.mjs +103 -0
  628. package/presets/mavis/svelte/minimax-hooks/hooks.json +28 -0
  629. package/presets/mavis/svelte/native-skills/README.md +15 -0
  630. package/presets/mavis/svelte/native-skills/ci-investigation/SKILL.md +50 -0
  631. package/presets/mavis/svelte/native-skills/code-review/SKILL.md +61 -0
  632. package/presets/mavis/svelte/native-skills/debug-investigation/SKILL.md +64 -0
  633. package/presets/mavis/svelte/native-skills/feature-delivery/SKILL.md +52 -0
  634. package/presets/mavis/svelte/native-skills/migrate-tasks/SKILL.md +43 -0
  635. package/presets/mavis/svelte/native-skills/mockup-review/SKILL.md +34 -0
  636. package/presets/mavis/svelte/native-skills/playwright-e2e/SKILL.md +43 -0
  637. package/presets/mavis/svelte/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  638. package/presets/mavis/svelte/native-skills/rr-scheduler-start/SKILL.md +34 -0
  639. package/presets/mavis/svelte/native-skills/spec-authoring/SKILL.md +31 -0
  640. package/presets/mavis/svelte/native-skills/spec-discovery/SKILL.md +63 -0
  641. package/presets/mavis/svelte/native-skills/spec-start/SKILL.md +31 -0
  642. package/presets/mavis/svelte/native-skills/svelte-performance/SKILL.md +57 -0
  643. package/presets/mavis/svelte/native-skills/task/SKILL.md +79 -0
  644. package/presets/mavis/svelte/native-skills/task-continue/SKILL.md +74 -0
  645. package/presets/mavis/svelte/native-skills/technical-retro/SKILL.md +72 -0
  646. package/presets/mavis/svelte/native-skills/unit-testing/SKILL.md +38 -0
  647. package/presets/mavis/svelte/native-skills/update/SKILL.md +44 -0
  648. package/presets/mavis/svelte/native-skills/ux-design/SKILL.md +41 -0
  649. package/presets/mavis/svelte/native-skills/write-adr/SKILL.md +46 -0
  650. package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -0
  651. package/presets/mavis/svelte/rules/code-review-mr.md +19 -4
  652. package/presets/mavis/svelte/skills/code-review/SKILL.md +2 -1
  653. package/presets/opencode/android-kotlin/adapter-map.json +9 -1
  654. package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
  655. package/presets/opencode/android-kotlin/agents/task-router.md +2 -0
  656. package/presets/opencode/android-kotlin/commands/README.md +1 -0
  657. package/presets/opencode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
  658. package/presets/opencode/android-kotlin/commands/task.md +4 -0
  659. package/presets/opencode/android-kotlin/commands/update.md +1 -0
  660. package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +109 -1
  661. package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  662. package/presets/opencode/android-kotlin/rules/code-review-mr.md +19 -4
  663. package/presets/opencode/android-kotlin/skills/code-review/SKILL.md +2 -1
  664. package/presets/opencode/go/adapter-map.json +9 -1
  665. package/presets/opencode/go/agents/code-reviewer.md +5 -1
  666. package/presets/opencode/go/agents/task-router.md +2 -0
  667. package/presets/opencode/go/commands/README.md +1 -0
  668. package/presets/opencode/go/commands/rr-migrate-repositories.md +62 -0
  669. package/presets/opencode/go/commands/task.md +4 -0
  670. package/presets/opencode/go/commands/update.md +1 -0
  671. package/presets/opencode/go/hooks/chain-team-phases.sh +109 -1
  672. package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -0
  673. package/presets/opencode/go/rules/code-review-mr.md +19 -4
  674. package/presets/opencode/go/skills/code-review/SKILL.md +2 -1
  675. package/presets/opencode/ios-swift/adapter-map.json +9 -1
  676. package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
  677. package/presets/opencode/ios-swift/agents/task-router.md +2 -0
  678. package/presets/opencode/ios-swift/commands/README.md +1 -0
  679. package/presets/opencode/ios-swift/commands/rr-migrate-repositories.md +62 -0
  680. package/presets/opencode/ios-swift/commands/task.md +4 -0
  681. package/presets/opencode/ios-swift/commands/update.md +1 -0
  682. package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +109 -1
  683. package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  684. package/presets/opencode/ios-swift/rules/code-review-mr.md +19 -4
  685. package/presets/opencode/ios-swift/skills/code-review/SKILL.md +2 -1
  686. package/presets/opencode/java/adapter-map.json +9 -1
  687. package/presets/opencode/java/agents/code-reviewer.md +5 -1
  688. package/presets/opencode/java/agents/task-router.md +2 -0
  689. package/presets/opencode/java/commands/README.md +1 -0
  690. package/presets/opencode/java/commands/rr-migrate-repositories.md +62 -0
  691. package/presets/opencode/java/commands/task.md +4 -0
  692. package/presets/opencode/java/commands/update.md +1 -0
  693. package/presets/opencode/java/hooks/chain-team-phases.sh +109 -1
  694. package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -0
  695. package/presets/opencode/java/rules/code-review-mr.md +19 -4
  696. package/presets/opencode/java/skills/code-review/SKILL.md +2 -1
  697. package/presets/opencode/mcp-ts/adapter-map.json +9 -1
  698. package/presets/opencode/mcp-ts/agents/task-router.md +2 -0
  699. package/presets/opencode/mcp-ts/commands/README.md +1 -0
  700. package/presets/opencode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
  701. package/presets/opencode/mcp-ts/commands/task.md +4 -0
  702. package/presets/opencode/mcp-ts/commands/update.md +1 -0
  703. package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +109 -1
  704. package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  705. package/presets/opencode/mcp-ts/rules/code-review-mr.md +19 -4
  706. package/presets/opencode/mol/REPO_AGENTS.md +1 -1
  707. package/presets/opencode/mol/adapter-map.json +9 -1
  708. package/presets/opencode/mol/agents/code-reviewer.md +5 -1
  709. package/presets/opencode/mol/agents/task-router.md +3 -1
  710. package/presets/opencode/mol/commands/README.md +1 -0
  711. package/presets/opencode/mol/commands/rr-migrate-repositories.md +62 -0
  712. package/presets/opencode/mol/commands/task.md +4 -0
  713. package/presets/opencode/mol/commands/update.md +1 -0
  714. package/presets/opencode/mol/hooks/chain-team-phases.sh +109 -1
  715. package/presets/opencode/mol/rules/agent-team-orchestrator.md +1 -0
  716. package/presets/opencode/mol/rules/code-review-mr.md +19 -4
  717. package/presets/opencode/mol/skills/code-review/SKILL.md +2 -1
  718. package/presets/opencode/next/REPO_AGENTS.md +1 -1
  719. package/presets/opencode/next/adapter-map.json +9 -1
  720. package/presets/opencode/next/agents/code-reviewer.md +5 -1
  721. package/presets/opencode/next/agents/task-router.md +3 -1
  722. package/presets/opencode/next/commands/README.md +1 -0
  723. package/presets/opencode/next/commands/rr-migrate-repositories.md +62 -0
  724. package/presets/opencode/next/commands/task.md +4 -0
  725. package/presets/opencode/next/commands/ui-start.md +12 -4
  726. package/presets/opencode/next/commands/ui-stop.md +5 -2
  727. package/presets/opencode/next/commands/update.md +1 -0
  728. package/presets/opencode/next/hooks/chain-team-phases.sh +109 -1
  729. package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -0
  730. package/presets/opencode/next/rules/code-review-mr.md +19 -4
  731. package/presets/opencode/next/skills/code-review/SKILL.md +2 -1
  732. package/presets/opencode/nuxt/adapter-map.json +9 -1
  733. package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
  734. package/presets/opencode/nuxt/agents/task-router.md +3 -1
  735. package/presets/opencode/nuxt/commands/README.md +1 -0
  736. package/presets/opencode/nuxt/commands/rr-migrate-repositories.md +62 -0
  737. package/presets/opencode/nuxt/commands/task.md +4 -0
  738. package/presets/opencode/nuxt/commands/update.md +1 -0
  739. package/presets/opencode/nuxt/hooks/chain-team-phases.sh +109 -1
  740. package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -0
  741. package/presets/opencode/nuxt/rules/code-review-mr.md +19 -4
  742. package/presets/opencode/nuxt/skills/code-review/SKILL.md +2 -1
  743. package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
  744. package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
  745. package/presets/opencode/php-hexagonal/agents/task-router.md +2 -0
  746. package/presets/opencode/php-hexagonal/commands/README.md +1 -0
  747. package/presets/opencode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
  748. package/presets/opencode/php-hexagonal/commands/task.md +4 -0
  749. package/presets/opencode/php-hexagonal/commands/update.md +1 -0
  750. package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  751. package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  752. package/presets/opencode/php-hexagonal/rules/code-review-mr.md +19 -4
  753. package/presets/opencode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  754. package/presets/opencode/php-laravel/adapter-map.json +9 -1
  755. package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
  756. package/presets/opencode/php-laravel/agents/task-router.md +2 -0
  757. package/presets/opencode/php-laravel/commands/README.md +1 -0
  758. package/presets/opencode/php-laravel/commands/rr-migrate-repositories.md +62 -0
  759. package/presets/opencode/php-laravel/commands/task.md +4 -0
  760. package/presets/opencode/php-laravel/commands/update.md +1 -0
  761. package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +109 -1
  762. package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  763. package/presets/opencode/php-laravel/rules/code-review-mr.md +19 -4
  764. package/presets/opencode/php-laravel/skills/code-review/SKILL.md +2 -1
  765. package/presets/opencode/plugins/task-status/README.md +16 -7
  766. package/presets/opencode/plugins/task-status/deepseek.ts +217 -0
  767. package/presets/opencode/plugins/task-status/details-data.ts +39 -2
  768. package/presets/opencode/plugins/task-status/prompt-text.ts +18 -8
  769. package/presets/opencode/plugins/task-status/task-view.ts +253 -63
  770. package/presets/opencode/plugins/task-status/tui.tsx +48 -11
  771. package/presets/opencode/svelte/adapter-map.json +9 -1
  772. package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
  773. package/presets/opencode/svelte/agents/task-router.md +3 -1
  774. package/presets/opencode/svelte/commands/README.md +1 -0
  775. package/presets/opencode/svelte/commands/rr-migrate-repositories.md +62 -0
  776. package/presets/opencode/svelte/commands/task.md +4 -0
  777. package/presets/opencode/svelte/commands/update.md +1 -0
  778. package/presets/opencode/svelte/hooks/chain-team-phases.sh +109 -1
  779. package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -0
  780. package/presets/opencode/svelte/rules/code-review-mr.md +19 -4
  781. package/presets/opencode/svelte/skills/code-review/SKILL.md +2 -1
  782. package/presets/zcode/android-kotlin/adapter-map.json +9 -1
  783. package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
  784. package/presets/zcode/android-kotlin/agents/task-router.md +2 -0
  785. package/presets/zcode/android-kotlin/commands/README.md +1 -0
  786. package/presets/zcode/android-kotlin/commands/rr-migrate-repositories.md +62 -0
  787. package/presets/zcode/android-kotlin/commands/task.md +4 -0
  788. package/presets/zcode/android-kotlin/commands/update.md +1 -0
  789. package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +109 -1
  790. package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  791. package/presets/zcode/android-kotlin/rules/code-review-mr.md +19 -4
  792. package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +2 -1
  793. package/presets/zcode/go/adapter-map.json +9 -1
  794. package/presets/zcode/go/agents/code-reviewer.md +5 -1
  795. package/presets/zcode/go/agents/task-router.md +2 -0
  796. package/presets/zcode/go/commands/README.md +1 -0
  797. package/presets/zcode/go/commands/rr-migrate-repositories.md +62 -0
  798. package/presets/zcode/go/commands/task.md +4 -0
  799. package/presets/zcode/go/commands/update.md +1 -0
  800. package/presets/zcode/go/hooks/chain-team-phases.sh +109 -1
  801. package/presets/zcode/go/rules/agent-team-orchestrator.md +1 -0
  802. package/presets/zcode/go/rules/code-review-mr.md +19 -4
  803. package/presets/zcode/go/skills/code-review/SKILL.md +2 -1
  804. package/presets/zcode/ios-swift/adapter-map.json +9 -1
  805. package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
  806. package/presets/zcode/ios-swift/agents/task-router.md +2 -0
  807. package/presets/zcode/ios-swift/commands/README.md +1 -0
  808. package/presets/zcode/ios-swift/commands/rr-migrate-repositories.md +62 -0
  809. package/presets/zcode/ios-swift/commands/task.md +4 -0
  810. package/presets/zcode/ios-swift/commands/update.md +1 -0
  811. package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +109 -1
  812. package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  813. package/presets/zcode/ios-swift/rules/code-review-mr.md +19 -4
  814. package/presets/zcode/ios-swift/skills/code-review/SKILL.md +2 -1
  815. package/presets/zcode/java/adapter-map.json +9 -1
  816. package/presets/zcode/java/agents/code-reviewer.md +5 -1
  817. package/presets/zcode/java/agents/task-router.md +2 -0
  818. package/presets/zcode/java/commands/README.md +1 -0
  819. package/presets/zcode/java/commands/rr-migrate-repositories.md +62 -0
  820. package/presets/zcode/java/commands/task.md +4 -0
  821. package/presets/zcode/java/commands/update.md +1 -0
  822. package/presets/zcode/java/hooks/chain-team-phases.sh +109 -1
  823. package/presets/zcode/java/rules/agent-team-orchestrator.md +1 -0
  824. package/presets/zcode/java/rules/code-review-mr.md +19 -4
  825. package/presets/zcode/java/skills/code-review/SKILL.md +2 -1
  826. package/presets/zcode/mcp-ts/adapter-map.json +9 -1
  827. package/presets/zcode/mcp-ts/agents/task-router.md +2 -0
  828. package/presets/zcode/mcp-ts/commands/README.md +1 -0
  829. package/presets/zcode/mcp-ts/commands/rr-migrate-repositories.md +62 -0
  830. package/presets/zcode/mcp-ts/commands/task.md +4 -0
  831. package/presets/zcode/mcp-ts/commands/update.md +1 -0
  832. package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +109 -1
  833. package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  834. package/presets/zcode/mcp-ts/rules/code-review-mr.md +19 -4
  835. package/presets/zcode/mol/REPO_AGENTS.md +1 -1
  836. package/presets/zcode/mol/adapter-map.json +9 -1
  837. package/presets/zcode/mol/agents/code-reviewer.md +5 -1
  838. package/presets/zcode/mol/agents/task-router.md +3 -1
  839. package/presets/zcode/mol/commands/README.md +1 -0
  840. package/presets/zcode/mol/commands/rr-migrate-repositories.md +62 -0
  841. package/presets/zcode/mol/commands/task.md +4 -0
  842. package/presets/zcode/mol/commands/update.md +1 -0
  843. package/presets/zcode/mol/hooks/chain-team-phases.sh +109 -1
  844. package/presets/zcode/mol/rules/agent-team-orchestrator.md +1 -0
  845. package/presets/zcode/mol/rules/code-review-mr.md +19 -4
  846. package/presets/zcode/mol/skills/code-review/SKILL.md +2 -1
  847. package/presets/zcode/next/REPO_AGENTS.md +1 -1
  848. package/presets/zcode/next/adapter-map.json +9 -1
  849. package/presets/zcode/next/agents/code-reviewer.md +5 -1
  850. package/presets/zcode/next/agents/task-router.md +3 -1
  851. package/presets/zcode/next/commands/README.md +1 -0
  852. package/presets/zcode/next/commands/rr-migrate-repositories.md +62 -0
  853. package/presets/zcode/next/commands/task.md +4 -0
  854. package/presets/zcode/next/commands/ui-start.md +12 -4
  855. package/presets/zcode/next/commands/ui-stop.md +5 -2
  856. package/presets/zcode/next/commands/update.md +1 -0
  857. package/presets/zcode/next/hooks/chain-team-phases.sh +109 -1
  858. package/presets/zcode/next/rules/agent-team-orchestrator.md +1 -0
  859. package/presets/zcode/next/rules/code-review-mr.md +19 -4
  860. package/presets/zcode/next/skills/code-review/SKILL.md +2 -1
  861. package/presets/zcode/nuxt/adapter-map.json +9 -1
  862. package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
  863. package/presets/zcode/nuxt/agents/task-router.md +3 -1
  864. package/presets/zcode/nuxt/commands/README.md +1 -0
  865. package/presets/zcode/nuxt/commands/rr-migrate-repositories.md +62 -0
  866. package/presets/zcode/nuxt/commands/task.md +4 -0
  867. package/presets/zcode/nuxt/commands/update.md +1 -0
  868. package/presets/zcode/nuxt/hooks/chain-team-phases.sh +109 -1
  869. package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +1 -0
  870. package/presets/zcode/nuxt/rules/code-review-mr.md +19 -4
  871. package/presets/zcode/nuxt/skills/code-review/SKILL.md +2 -1
  872. package/presets/zcode/php-hexagonal/adapter-map.json +9 -1
  873. package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
  874. package/presets/zcode/php-hexagonal/agents/task-router.md +2 -0
  875. package/presets/zcode/php-hexagonal/commands/README.md +1 -0
  876. package/presets/zcode/php-hexagonal/commands/rr-migrate-repositories.md +62 -0
  877. package/presets/zcode/php-hexagonal/commands/task.md +4 -0
  878. package/presets/zcode/php-hexagonal/commands/update.md +1 -0
  879. package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +109 -1
  880. package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  881. package/presets/zcode/php-hexagonal/rules/code-review-mr.md +19 -4
  882. package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  883. package/presets/zcode/php-laravel/adapter-map.json +9 -1
  884. package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
  885. package/presets/zcode/php-laravel/agents/task-router.md +2 -0
  886. package/presets/zcode/php-laravel/commands/README.md +1 -0
  887. package/presets/zcode/php-laravel/commands/rr-migrate-repositories.md +62 -0
  888. package/presets/zcode/php-laravel/commands/task.md +4 -0
  889. package/presets/zcode/php-laravel/commands/update.md +1 -0
  890. package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +109 -1
  891. package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  892. package/presets/zcode/php-laravel/rules/code-review-mr.md +19 -4
  893. package/presets/zcode/php-laravel/skills/code-review/SKILL.md +2 -1
  894. package/presets/zcode/svelte/adapter-map.json +9 -1
  895. package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
  896. package/presets/zcode/svelte/agents/task-router.md +3 -1
  897. package/presets/zcode/svelte/commands/README.md +1 -0
  898. package/presets/zcode/svelte/commands/rr-migrate-repositories.md +62 -0
  899. package/presets/zcode/svelte/commands/task.md +4 -0
  900. package/presets/zcode/svelte/commands/update.md +1 -0
  901. package/presets/zcode/svelte/hooks/chain-team-phases.sh +109 -1
  902. package/presets/zcode/svelte/rules/agent-team-orchestrator.md +1 -0
  903. package/presets/zcode/svelte/rules/code-review-mr.md +19 -4
  904. package/presets/zcode/svelte/skills/code-review/SKILL.md +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonesofspring/ai-rules",
3
- "version": "0.2.78",
3
+ "version": "0.2.84",
4
4
  "description": "Presets of Cursor, Claude, Mavis, OpenCode, and ZCode rules/commands for Revy Ross personal use",
5
5
  "license": "MIT",
6
6
  "author": "Revy Ross",
@@ -71,7 +71,13 @@
71
71
  "check:semantic-parity": "node scripts/run-locked.mjs --label check:semantic-parity -- node scripts/check-semantic-parity.mjs",
72
72
  "test:semantic-parity-fixtures": "node scripts/test-semantic-parity.mjs",
73
73
  "check:intake": "node scripts/check-task-intake.mjs",
74
+ "check:task-repositories": "node scripts/check-task-repositories.mjs",
74
75
  "test:task-intake-fixtures": "node scripts/test-task-intake.mjs",
76
+ "test:task-repositories-fixtures": "node scripts/test-task-repositories.mjs",
77
+ "test:backfill-repositories": "node scripts/test-backfill-repositories.mjs",
78
+ "test:rr-migrate-repositories": "node scripts/test-rr-migrate-repositories.mjs",
79
+ "test:check-verification": "node scripts/test-check-verification.mjs",
80
+ "check:engine-test-coverage": "node scripts/check-engine-test-coverage.mjs",
75
81
  "check:product-specs": "bash scripts/check-product-specs.sh",
76
82
  "check:product-specs:self-test": "bash scripts/check-product-specs.sh --self-test",
77
83
  "check:product-specs:dogfood": "bash scripts/check-product-specs.sh ../../dogfood/mcp-ts-sample",
@@ -132,6 +138,7 @@
132
138
  "check:mavis-local-overlay": "node scripts/check-mavis-local-overlay.mjs",
133
139
  "test:mavis-context-budget": "node scripts/test-mavis-context-budget.mjs",
134
140
  "test:mavis-orchestration": "node scripts/test-mavis-orchestration.mjs",
141
+ "test:mavis-chain-decision": "node scripts/test-mavis-chain-decision.mjs",
135
142
  "check:opencode-platform-contract": "node scripts/check-opencode-platform-contract.mjs --self-test",
136
143
  "check:opencode-adapter-map": "node scripts/check-opencode-adapter-map.mjs --self-test",
137
144
  "check:opencode-token-budget": "node scripts/check-opencode-token-budget.mjs",
@@ -0,0 +1,282 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * Repository-intake invariant: a task folder that carries a `pipeline.json` must
4
+ * say which repositories the task touched — or say that it does not know.
5
+ *
6
+ * `pipeline.json` gained a mandatory `repositories` array and, when the array is
7
+ * empty, a `repositoriesInference: "unknown"` marker. Fixing the existing
8
+ * folders once fixes nothing — this gate is the part that keeps the rule true,
9
+ * and `check-task-repositories.mjs` is modelled on `check-task-intake.mjs` so an
10
+ * operator reads both gates the same way.
11
+ *
12
+ * A folder is a violation when, on or after the cutoff, its `pipeline.json`:
13
+ * - has no `repositories` field,
14
+ * - carries a value that is not an array of strings,
15
+ * - carries `[]` without `repositoriesInference: "unknown"`,
16
+ * - carries a non-empty list beside `"unknown"` (the verdict explains an empty
17
+ * list only),
18
+ * - names an id the registry does not hold (when `repositories.json` exists),
19
+ * - disagrees with the registry's `links[]` for that slug (the echo is
20
+ * derived, so a drift means someone edited the wrong file).
21
+ * A folder without `pipeline.json` is counted, never failed. Historical folders
22
+ * are counted, never failed: a folder whose first recorded artifact predates the
23
+ * cutoff belongs to the pre-invariant era. The date is the earliest of the
24
+ * folder's own artifacts (`status.json` `updatedAt`, `pipeline.json`,
25
+ * `prompt.md`, `goal.md`), because the chain hook rewrites `status.json` on
26
+ * every step and a rewritten status must not make a legacy folder look new.
27
+ *
28
+ * The slug named by `active-task.json` is excluded and printed: its intake is
29
+ * still in flight, the same exclusion the backfill applies (architecture §8.4),
30
+ * so it is judged once the task closes.
31
+ *
32
+ * Usage: node scripts/check-task-repositories.mjs [--tasks-root <dir>]
33
+ * [--registry <file>] [--cutoff YYYY-MM-DD] [--json]
34
+ * Exit 0 clean (legacy counted), 1 violation, 2 usage.
35
+ */
36
+ import fs from 'node:fs';
37
+ import path from 'node:path';
38
+ import { fileURLToPath } from 'node:url';
39
+
40
+ const scriptDirectory = path.dirname(fileURLToPath(import.meta.url));
41
+ // Two homes: `packages/ai-rules/scripts` in this repository, and
42
+ // `<repo>/.ai.local/scripts` once `init` ships it to a consumer, where the task
43
+ // store sits two levels above the script rather than three.
44
+ const shippedToAiLocal = path.basename(path.dirname(scriptDirectory)) === '.ai.local';
45
+ const repoRoot = shippedToAiLocal
46
+ ? path.dirname(path.dirname(scriptDirectory))
47
+ : path.resolve(scriptDirectory, '..', '..', '..');
48
+
49
+ const USAGE =
50
+ 'Usage: node scripts/check-task-repositories.mjs [--tasks-root <dir>] [--registry <file>] [--cutoff YYYY-MM-DD] [--json]';
51
+
52
+ /** First day the repository-intake invariant applies; everything older is reported, not failed. */
53
+ export const TASK_REPOSITORIES_CUTOFF = '2026-11-22';
54
+
55
+ /** The only legal partner of an empty `repositories` list. */
56
+ export const EMPTY_LIST_INFERENCE = 'unknown';
57
+
58
+ const DATE_ONLY = /^\d{4}-\d{2}-\d{2}$/;
59
+
60
+ function usageError(message) {
61
+ console.error(`task-repositories: ${message}\n${USAGE}`);
62
+ process.exit(2);
63
+ }
64
+
65
+ function parseArgs(argv) {
66
+ const tasksRoot = path.join(repoRoot, '.ai.local', 'team', 'tasks');
67
+ const args = {
68
+ tasksRoot,
69
+ registry: path.join(path.dirname(tasksRoot), 'repositories.json'),
70
+ cutoff: TASK_REPOSITORIES_CUTOFF,
71
+ json: false,
72
+ explicitRoot: false,
73
+ };
74
+ for (let index = 0; index < argv.length; index += 1) {
75
+ const token = argv[index];
76
+ const value = () => {
77
+ const next = argv[index + 1];
78
+ if (next === undefined || next.startsWith('-')) usageError(`${token} needs a value`);
79
+ index += 1;
80
+ return next;
81
+ };
82
+ if (token === '--tasks-root') {
83
+ args.tasksRoot = path.resolve(value());
84
+ args.explicitRoot = true;
85
+ args.registry = path.join(path.dirname(args.tasksRoot), 'repositories.json');
86
+ } else if (token === '--registry') {
87
+ args.registry = path.resolve(value());
88
+ } else if (token === '--cutoff') {
89
+ const cutoff = value();
90
+ if (!DATE_ONLY.test(cutoff)) usageError(`--cutoff must be YYYY-MM-DD, got "${cutoff}"`);
91
+ args.cutoff = cutoff;
92
+ } else if (token === '--json') args.json = true;
93
+ else if (token === '--help' || token === '-h') {
94
+ console.log(USAGE);
95
+ process.exit(0);
96
+ } else usageError(`unknown option ${token}`);
97
+ }
98
+ return args;
99
+ }
100
+
101
+ /**
102
+ * The date one artifact records, or `null` when it is absent or undated.
103
+ *
104
+ * Known limit, not this gate's rule: only `status.json` is content-dated, every
105
+ * other artifact dates from mtime, so a restored or rsynced task store reads as
106
+ * new and its legacy folders turn into violations.
107
+ */
108
+ function artifactDate(file) {
109
+ if (!fs.existsSync(file)) return null;
110
+ if (path.basename(file) === 'status.json') {
111
+ try {
112
+ const updatedAt = JSON.parse(fs.readFileSync(file, 'utf8')).updatedAt;
113
+ if (typeof updatedAt === 'string' && updatedAt.length >= 10) return updatedAt.slice(0, 10);
114
+ } catch {
115
+ /* an unreadable status.json is not the intake question */
116
+ }
117
+ }
118
+ return fs.statSync(file).mtime.toISOString().slice(0, 10);
119
+ }
120
+
121
+ /** The folder's own first date: the earliest artifact it carries. */
122
+ function folderDate(folder) {
123
+ const dates = ['status.json', 'pipeline.json', 'prompt.md', 'goal.md']
124
+ .map((name) => artifactDate(path.join(folder, name)))
125
+ .filter((date) => date !== null)
126
+ .sort();
127
+ return dates[0] ?? null;
128
+ }
129
+
130
+ function readJson(file) {
131
+ try {
132
+ const value = JSON.parse(fs.readFileSync(file, 'utf8'));
133
+ return value && typeof value === 'object' && !Array.isArray(value) ? value : null;
134
+ } catch {
135
+ return undefined;
136
+ }
137
+ }
138
+
139
+ /** `readJson` returns `undefined` for a parse error and `null` for a non-object. */
140
+ const unusableJson = (value) => value === undefined || value === null;
141
+
142
+ /** The registry's view of one slug: the ids its links name, sorted. */
143
+ function linkedIds(registry, slug) {
144
+ if (registry === null) return null;
145
+ const ids = registry.links
146
+ .filter((link) => link.taskSlug === slug)
147
+ .map((link) => link.repositoryId)
148
+ .sort();
149
+ return ids;
150
+ }
151
+
152
+ function main() {
153
+ const args = parseArgs(process.argv.slice(2));
154
+ const warnings = [];
155
+ if (!fs.existsSync(args.tasksRoot)) {
156
+ if (args.explicitRoot) usageError(`--tasks-root is not a directory: ${args.tasksRoot}`);
157
+ // A fresh clone has no task store (`.ai.local/team/tasks/*` is gitignored):
158
+ // nothing to enforce is not a failure, and the line says which root was read.
159
+ console.log(`task-repositories: OK (no task store at ${args.tasksRoot})`);
160
+ return;
161
+ }
162
+ const activeTaskFile = path.join(path.dirname(args.tasksRoot), 'active-task.json');
163
+ let activeSlug = null;
164
+ if (fs.existsSync(activeTaskFile)) {
165
+ const active = readJson(activeTaskFile);
166
+ if (active === undefined) {
167
+ warnings.push('active-task.json is not valid JSON; no slug excluded as in-flight');
168
+ } else if (!unusableJson(active) && typeof active.slug === 'string') {
169
+ activeSlug = active.slug;
170
+ }
171
+ }
172
+ let registry = fs.existsSync(args.registry) ? readJson(args.registry) : null;
173
+ if (registry === undefined) usageError(`--registry is not valid JSON: ${args.registry}`);
174
+ if (registry !== null && (!Array.isArray(registry.repositories) || !Array.isArray(registry.links))) {
175
+ warnings.push(`registry ${args.registry} has no repositories[]/links[] arrays; id and link checks skipped`);
176
+ registry = null;
177
+ }
178
+ const knownIds = registry === null ? null : new Set(registry.repositories.map((record) => record.id));
179
+
180
+ const folders = fs
181
+ .readdirSync(args.tasksRoot, { withFileTypes: true })
182
+ .filter((entry) => entry.isDirectory() && !entry.name.startsWith('.'))
183
+ .map((entry) => entry.name)
184
+ .sort();
185
+
186
+ const violations = [];
187
+ const legacy = [];
188
+ const excluded = [];
189
+ let checked = 0;
190
+ for (const name of folders) {
191
+ const folder = path.join(args.tasksRoot, name);
192
+ const pipelinePath = path.join(folder, 'pipeline.json');
193
+ if (!fs.existsSync(pipelinePath)) continue;
194
+ if (name === activeSlug) {
195
+ excluded.push(name);
196
+ continue;
197
+ }
198
+ checked += 1;
199
+ const pipeline = readJson(pipelinePath);
200
+ const date = folderDate(folder);
201
+ const report = (reason) => {
202
+ const row = { slug: name, date, reason };
203
+ if (date !== null && date < args.cutoff) legacy.push(row);
204
+ else violations.push(row);
205
+ };
206
+ if (pipeline === undefined) {
207
+ report('pipeline.json is not valid JSON');
208
+ continue;
209
+ }
210
+ if (pipeline === null) {
211
+ report('pipeline.json is not a JSON object');
212
+ continue;
213
+ }
214
+ if (!Object.prototype.hasOwnProperty.call(pipeline, 'repositories')) {
215
+ report('pipeline.json without repositories');
216
+ continue;
217
+ }
218
+ const listed = pipeline.repositories;
219
+ if (!Array.isArray(listed) || listed.some((id) => typeof id !== 'string' || id === '')) {
220
+ report('repositories must be an array of registry ids');
221
+ continue;
222
+ }
223
+ const inference = pipeline.repositoriesInference;
224
+ if (listed.length === 0) {
225
+ if (inference !== EMPTY_LIST_INFERENCE) {
226
+ report(`repositories: [] without repositoriesInference: "${EMPTY_LIST_INFERENCE}"`);
227
+ continue;
228
+ }
229
+ } else if (inference === EMPTY_LIST_INFERENCE) {
230
+ report('a non-empty repositories list cannot carry repositoriesInference: "unknown"');
231
+ continue;
232
+ }
233
+ if (knownIds !== null) {
234
+ const unknown = listed.find((id) => !knownIds.has(id));
235
+ if (unknown !== undefined) {
236
+ report(`repositories names "${unknown}", which the registry does not hold`);
237
+ continue;
238
+ }
239
+ const linked = linkedIds(registry, name);
240
+ const echoed = [...listed].sort();
241
+ if (linked !== null && linked.join('\u0000') !== echoed.join('\u0000')) {
242
+ report(
243
+ `repositories echo [${echoed.join(', ')}] disagrees with the registry links [${linked.join(', ')}]`,
244
+ );
245
+ continue;
246
+ }
247
+ }
248
+ }
249
+
250
+ const summary = `${folders.length} task folders, ${checked} with pipeline.json${
251
+ legacy.length > 0 ? `, legacy before ${args.cutoff}: ${legacy.length}` : ''
252
+ }${excluded.length > 0 ? `, excluded (active): ${excluded.join(', ')}` : ''}`;
253
+ for (const warning of warnings) console.error(`WARN ${warning}`);
254
+ if (args.json) {
255
+ console.log(
256
+ JSON.stringify(
257
+ {
258
+ schemaVersion: 1,
259
+ tasksRoot: args.tasksRoot,
260
+ registry: registry === null ? null : args.registry,
261
+ cutoff: args.cutoff,
262
+ checked,
263
+ excluded,
264
+ violations,
265
+ legacy,
266
+ warnings,
267
+ },
268
+ null,
269
+ 2,
270
+ ),
271
+ );
272
+ } else {
273
+ for (const row of violations) {
274
+ console.error(`FAIL ${row.slug}: ${row.reason}${row.date ? ` (last state ${row.date})` : ''}`);
275
+ }
276
+ if (violations.length > 0) console.error(`task-repositories: ${violations.length} violation(s) — ${summary}`);
277
+ else console.log(`task-repositories: OK (${summary})`);
278
+ }
279
+ if (violations.length > 0) process.exit(1);
280
+ }
281
+
282
+ main();
@@ -5,9 +5,10 @@
5
5
  * and which carry a zero-input gate row. It reports; it never edits a report,
6
6
  * never writes a metric, and never fails a scan that actually looked at tasks.
7
7
  *
8
- * The one non-zero exit is the vacuity rule: a scan over zero tasks prints
9
- * `checked: 0` and exits 1 unless `check-verification` is listed under
10
- * `zeroInputAllowlist` in `.ai.local/pipeline-gates.json` with a reason.
8
+ * The one non-zero exit is the vacuity rule: a scan that read zero reports
9
+ * prints `checked: 0` and exits 1 unless `check-verification` is listed under
10
+ * `zeroInputAllowlist` in `.ai.local/pipeline-gates.json` with a reason. Folders
11
+ * without a report are counted as `folders`, never as `checked`.
11
12
  *
12
13
  * Usage:
13
14
  * node .ai.local/scripts/check-verification.mjs [--team-root <dir>] [--json]
@@ -179,11 +180,15 @@ const run = () => {
179
180
 
180
181
  const buckets = { missingTree: 0, staleTree: 0, zeroInput: 0, zeroInputAllowlisted: 0, legacy: 0 };
181
182
  const findings = [];
183
+ // A folder without a report verifies nothing, so the pass counts reports read,
184
+ // not folders found.
185
+ let checked = 0;
182
186
 
183
187
  for (const slug of slugs) {
184
188
  const taskDir = path.join(tasksRoot, slug);
185
189
  const report = reportFor(taskDir);
186
190
  if (report === null) continue;
191
+ checked += 1;
187
192
  if (lastTouched(taskDir) < cutoffMs) {
188
193
  buckets.legacy += 1;
189
194
  findings.push({ slug, reason: 'legacy', detail: `last update before ${CUTOFF}` });
@@ -228,7 +233,7 @@ const run = () => {
228
233
  }
229
234
 
230
235
  const gateAllowed = allowlist.find((item) => item.gate === GATE_ID);
231
- const vacuous = slugs.length === 0;
236
+ const vacuous = checked === 0;
232
237
  const exitCode = vacuous && !gateAllowed ? 1 : 0;
233
238
 
234
239
  if (args.json) {
@@ -237,7 +242,8 @@ const run = () => {
237
242
  {
238
243
  ok: exitCode === 0,
239
244
  gate: GATE_ID,
240
- checked: slugs.length,
245
+ checked,
246
+ folders: slugs.length,
241
247
  cutoff: CUTOFF,
242
248
  tree,
243
249
  buckets,
@@ -249,7 +255,8 @@ const run = () => {
249
255
  )}\n`,
250
256
  );
251
257
  } else {
252
- process.stdout.write(`checked: ${slugs.length}\n`);
258
+ process.stdout.write(`checked: ${checked}\n`);
259
+ process.stdout.write(`folders: ${slugs.length}\n`);
253
260
  process.stdout.write(`tree: ${tree ? `${tree.head} (+${tree.dirtyFiles} dirty)` : 'no-git'}\n`);
254
261
  process.stdout.write(`cutoff: ${CUTOFF}\n`);
255
262
  process.stdout.write(`missing-tree: ${buckets.missingTree}\n`);