@bonesofspring/ai-rules 0.2.80 → 0.2.86

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 (700) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/bin/lib/merged-config.js +49 -0
  3. package/bin/lib/seed-ai-local-team.js +2 -0
  4. package/bin/mavis-install.js +53 -3
  5. package/docs/MAVIS-COMPATIBILITY.md +136 -8
  6. package/docs/PRESET-CONTRIBUTION.md +25 -7
  7. package/docs/TEAM-DB.md +76 -3
  8. package/docs/openapi/team-db.v1.json +7069 -5895
  9. package/package.json +8 -2
  10. package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +20 -2
  11. package/presets/_shared/ai-local/scripts/check-verification.mjs +13 -6
  12. package/presets/_shared/ai-local/scripts/rr-migrate-repositories.mjs +66 -16
  13. package/presets/_shared/ai-local/scripts/run-compact.mjs +38 -10
  14. package/presets/_shared/ai-local/scripts/team-db-api.mjs +253 -15
  15. package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +310 -4
  16. package/presets/_shared/ai-local/scripts/team-db-project.mjs +733 -8
  17. package/presets/_shared/ai-local/scripts/team-db-schema.mjs +44 -0
  18. package/presets/_shared/ai-local/scripts/team-db.mjs +43 -3
  19. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +1 -0
  20. package/presets/_shared/core/review/code-review-mr.md +19 -4
  21. package/presets/_shared/hooks/chain-team-phases.sh.tmpl +40 -0
  22. package/presets/_shared/hooks/compact-shell-output.mjs +16 -1
  23. package/presets/claude/android-kotlin/agents/code-reviewer.md +5 -1
  24. package/presets/claude/android-kotlin/commands/update.md +1 -0
  25. package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +40 -0
  26. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  27. package/presets/claude/android-kotlin/rules/tooling-and-review/code-review.md +19 -4
  28. package/presets/claude/android-kotlin/skills/code-review/SKILL.md +2 -1
  29. package/presets/claude/go/agents/code-reviewer.md +5 -1
  30. package/presets/claude/go/commands/update.md +1 -0
  31. package/presets/claude/go/hooks/chain-team-phases.sh +40 -0
  32. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  33. package/presets/claude/go/rules/tooling-and-review/code-review.md +19 -4
  34. package/presets/claude/go/skills/code-review/SKILL.md +2 -1
  35. package/presets/claude/ios-swift/agents/code-reviewer.md +5 -1
  36. package/presets/claude/ios-swift/commands/update.md +1 -0
  37. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +40 -0
  38. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  39. package/presets/claude/ios-swift/rules/tooling-and-review/code-review.md +19 -4
  40. package/presets/claude/ios-swift/skills/code-review/SKILL.md +2 -1
  41. package/presets/claude/java/agents/code-reviewer.md +5 -1
  42. package/presets/claude/java/commands/update.md +1 -0
  43. package/presets/claude/java/hooks/chain-team-phases.sh +40 -0
  44. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  45. package/presets/claude/java/rules/tooling-and-review/code-review.md +19 -4
  46. package/presets/claude/java/skills/code-review/SKILL.md +2 -1
  47. package/presets/claude/mcp-ts/commands/update.md +1 -0
  48. package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +40 -0
  49. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  50. package/presets/claude/mcp-ts/rules/tooling-and-review/code-review.md +19 -4
  51. package/presets/claude/mol/REPO_AGENTS.md +1 -1
  52. package/presets/claude/mol/agents/code-reviewer.md +5 -1
  53. package/presets/claude/mol/agents/task-router.md +1 -1
  54. package/presets/claude/mol/commands/update.md +1 -0
  55. package/presets/claude/mol/hooks/chain-team-phases.sh +40 -0
  56. package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  57. package/presets/claude/mol/rules/tooling-and-review/code-review-mr.md +19 -4
  58. package/presets/claude/mol/skills/code-review/SKILL.md +2 -1
  59. package/presets/claude/next/REPO_AGENTS.md +1 -1
  60. package/presets/claude/next/agents/build-verifier.md +2 -1
  61. package/presets/claude/next/agents/code-reviewer.md +5 -1
  62. package/presets/claude/next/agents/feature-developer.md +1 -1
  63. package/presets/claude/next/agents/task-router.md +1 -1
  64. package/presets/claude/next/commands/update.md +1 -0
  65. package/presets/claude/next/hooks/chain-team-phases.sh +40 -0
  66. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  67. package/presets/claude/next/rules/tooling-and-review/code-review-mr.md +19 -4
  68. package/presets/claude/next/skills/code-review/SKILL.md +2 -1
  69. package/presets/claude/nuxt/agents/code-reviewer.md +5 -1
  70. package/presets/claude/nuxt/agents/task-router.md +1 -1
  71. package/presets/claude/nuxt/commands/update.md +1 -0
  72. package/presets/claude/nuxt/hooks/chain-team-phases.sh +40 -0
  73. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  74. package/presets/claude/nuxt/rules/tooling-and-review/code-review-mr.md +19 -4
  75. package/presets/claude/nuxt/skills/code-review/SKILL.md +2 -1
  76. package/presets/claude/php-hexagonal/agents/code-reviewer.md +5 -1
  77. package/presets/claude/php-hexagonal/commands/update.md +1 -0
  78. package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +40 -0
  79. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  80. package/presets/claude/php-hexagonal/rules/tooling-and-review/code-review.md +19 -4
  81. package/presets/claude/php-hexagonal/skills/code-review/SKILL.md +2 -1
  82. package/presets/claude/php-laravel/agents/code-reviewer.md +5 -1
  83. package/presets/claude/php-laravel/commands/update.md +1 -0
  84. package/presets/claude/php-laravel/hooks/chain-team-phases.sh +40 -0
  85. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  86. package/presets/claude/php-laravel/rules/tooling-and-review/code-review.md +19 -4
  87. package/presets/claude/php-laravel/skills/code-review/SKILL.md +2 -1
  88. package/presets/claude/svelte/agents/code-reviewer.md +5 -1
  89. package/presets/claude/svelte/agents/task-router.md +1 -1
  90. package/presets/claude/svelte/commands/update.md +1 -0
  91. package/presets/claude/svelte/hooks/chain-team-phases.sh +40 -0
  92. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +1 -0
  93. package/presets/claude/svelte/rules/tooling-and-review/code-review-mr.md +19 -4
  94. package/presets/claude/svelte/skills/code-review/SKILL.md +2 -1
  95. package/presets/cursor/android-kotlin/agents/code-reviewer.md +5 -1
  96. package/presets/cursor/android-kotlin/commands/update.md +1 -0
  97. package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +40 -0
  98. package/presets/cursor/android-kotlin/hooks/compact-shell-output.mjs +16 -1
  99. package/presets/cursor/android-kotlin/rules/code-review-mr.mdc +19 -4
  100. package/presets/cursor/android-kotlin/skills/code-review/SKILL.md +2 -1
  101. package/presets/cursor/go/agents/code-reviewer.md +5 -1
  102. package/presets/cursor/go/commands/update.md +1 -0
  103. package/presets/cursor/go/hooks/chain-team-phases.sh +40 -0
  104. package/presets/cursor/go/hooks/compact-shell-output.mjs +16 -1
  105. package/presets/cursor/go/rules/code-review-mr.mdc +19 -4
  106. package/presets/cursor/go/skills/code-review/SKILL.md +2 -1
  107. package/presets/cursor/ios-swift/agents/code-reviewer.md +5 -1
  108. package/presets/cursor/ios-swift/commands/update.md +1 -0
  109. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +40 -0
  110. package/presets/cursor/ios-swift/hooks/compact-shell-output.mjs +16 -1
  111. package/presets/cursor/ios-swift/rules/code-review-mr.mdc +19 -4
  112. package/presets/cursor/ios-swift/skills/code-review/SKILL.md +2 -1
  113. package/presets/cursor/java/agents/code-reviewer.md +5 -1
  114. package/presets/cursor/java/commands/update.md +1 -0
  115. package/presets/cursor/java/hooks/chain-team-phases.sh +40 -0
  116. package/presets/cursor/java/hooks/compact-shell-output.mjs +16 -1
  117. package/presets/cursor/java/rules/code-review-mr.mdc +19 -4
  118. package/presets/cursor/java/skills/code-review/SKILL.md +2 -1
  119. package/presets/cursor/mcp-ts/commands/update.md +1 -0
  120. package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +40 -0
  121. package/presets/cursor/mcp-ts/hooks/compact-shell-output.mjs +16 -1
  122. package/presets/cursor/mcp-ts/rules/code-review-mr.mdc +19 -4
  123. package/presets/cursor/mol/REPO_AGENTS.md +1 -1
  124. package/presets/cursor/mol/agents/code-reviewer.md +5 -1
  125. package/presets/cursor/mol/agents/task-router.md +1 -1
  126. package/presets/cursor/mol/commands/update.md +1 -0
  127. package/presets/cursor/mol/hooks/chain-team-phases.sh +40 -0
  128. package/presets/cursor/mol/hooks/compact-shell-output.mjs +16 -1
  129. package/presets/cursor/mol/rules/code-review-mr.mdc +19 -4
  130. package/presets/cursor/mol/skills/code-review/SKILL.md +2 -1
  131. package/presets/cursor/next/REPO_AGENTS.md +1 -1
  132. package/presets/cursor/next/agents/build-verifier.md +2 -1
  133. package/presets/cursor/next/agents/code-reviewer.md +5 -1
  134. package/presets/cursor/next/agents/feature-developer.md +1 -1
  135. package/presets/cursor/next/agents/task-router.md +1 -1
  136. package/presets/cursor/next/commands/update.md +1 -0
  137. package/presets/cursor/next/hooks/README.md +2 -0
  138. package/presets/cursor/next/hooks/chain-team-phases.sh +40 -0
  139. package/presets/cursor/next/hooks/compact-shell-output.mjs +16 -1
  140. package/presets/cursor/next/rules/code-review-mr.mdc +19 -4
  141. package/presets/cursor/next/skills/code-review/SKILL.md +2 -1
  142. package/presets/cursor/nuxt/agents/code-reviewer.md +5 -1
  143. package/presets/cursor/nuxt/agents/task-router.md +1 -1
  144. package/presets/cursor/nuxt/commands/update.md +1 -0
  145. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +40 -0
  146. package/presets/cursor/nuxt/hooks/compact-shell-output.mjs +16 -1
  147. package/presets/cursor/nuxt/rules/code-review-mr.mdc +19 -4
  148. package/presets/cursor/nuxt/skills/code-review/SKILL.md +2 -1
  149. package/presets/cursor/php-hexagonal/agents/code-reviewer.md +5 -1
  150. package/presets/cursor/php-hexagonal/commands/update.md +1 -0
  151. package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +40 -0
  152. package/presets/cursor/php-hexagonal/hooks/compact-shell-output.mjs +16 -1
  153. package/presets/cursor/php-hexagonal/rules/code-review-mr.mdc +19 -4
  154. package/presets/cursor/php-hexagonal/skills/code-review/SKILL.md +2 -1
  155. package/presets/cursor/php-laravel/agents/code-reviewer.md +5 -1
  156. package/presets/cursor/php-laravel/commands/update.md +1 -0
  157. package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +40 -0
  158. package/presets/cursor/php-laravel/hooks/compact-shell-output.mjs +16 -1
  159. package/presets/cursor/php-laravel/rules/code-review-mr.mdc +19 -4
  160. package/presets/cursor/php-laravel/skills/code-review/SKILL.md +2 -1
  161. package/presets/cursor/svelte/agents/code-reviewer.md +5 -1
  162. package/presets/cursor/svelte/agents/task-router.md +1 -1
  163. package/presets/cursor/svelte/commands/update.md +1 -0
  164. package/presets/cursor/svelte/hooks/chain-team-phases.sh +40 -0
  165. package/presets/cursor/svelte/hooks/compact-shell-output.mjs +16 -1
  166. package/presets/cursor/svelte/rules/code-review-mr.mdc +19 -4
  167. package/presets/cursor/svelte/skills/code-review/SKILL.md +2 -1
  168. package/presets/mavis/android-kotlin/MAVIS.md +9 -3
  169. package/presets/mavis/android-kotlin/README.md +3 -1
  170. package/presets/mavis/android-kotlin/adapter-map.json +104 -44
  171. package/presets/mavis/android-kotlin/agents/code-reviewer.md +5 -1
  172. package/presets/mavis/android-kotlin/commands/update.md +1 -0
  173. package/presets/mavis/android-kotlin/hooks/README.md +29 -7
  174. package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +40 -0
  175. package/presets/mavis/android-kotlin/hooks/mavis-chain-hook.mjs +143 -0
  176. package/presets/mavis/android-kotlin/hooks/run-hook.mjs +103 -0
  177. package/presets/mavis/android-kotlin/minimax-hooks/hooks.json +28 -0
  178. package/presets/mavis/android-kotlin/native-skills/README.md +15 -0
  179. package/presets/mavis/android-kotlin/native-skills/ci-investigation/SKILL.md +53 -0
  180. package/presets/mavis/android-kotlin/native-skills/code-review/SKILL.md +62 -0
  181. package/presets/mavis/android-kotlin/native-skills/debug-investigation/SKILL.md +72 -0
  182. package/presets/mavis/android-kotlin/native-skills/feature-delivery/SKILL.md +51 -0
  183. package/presets/mavis/android-kotlin/native-skills/instrumentation-ui-e2e/SKILL.md +23 -0
  184. package/presets/mavis/android-kotlin/native-skills/migrate-tasks/SKILL.md +43 -0
  185. package/presets/mavis/android-kotlin/native-skills/mockup-review/SKILL.md +34 -0
  186. package/presets/mavis/android-kotlin/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  187. package/presets/mavis/android-kotlin/native-skills/rr-scheduler-start/SKILL.md +34 -0
  188. package/presets/mavis/android-kotlin/native-skills/spec-authoring/SKILL.md +31 -0
  189. package/presets/mavis/android-kotlin/native-skills/spec-discovery/SKILL.md +63 -0
  190. package/presets/mavis/android-kotlin/native-skills/spec-start/SKILL.md +31 -0
  191. package/presets/mavis/android-kotlin/native-skills/task/SKILL.md +79 -0
  192. package/presets/mavis/android-kotlin/native-skills/task-continue/SKILL.md +74 -0
  193. package/presets/mavis/android-kotlin/native-skills/technical-retro/SKILL.md +72 -0
  194. package/presets/mavis/android-kotlin/native-skills/unit-testing/SKILL.md +38 -0
  195. package/presets/mavis/android-kotlin/native-skills/update/SKILL.md +44 -0
  196. package/presets/mavis/android-kotlin/native-skills/ux-design/SKILL.md +41 -0
  197. package/presets/mavis/android-kotlin/native-skills/write-adr/SKILL.md +46 -0
  198. package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  199. package/presets/mavis/android-kotlin/rules/code-review-mr.md +19 -4
  200. package/presets/mavis/android-kotlin/skills/code-review/SKILL.md +2 -1
  201. package/presets/mavis/go/MAVIS.md +9 -3
  202. package/presets/mavis/go/README.md +3 -1
  203. package/presets/mavis/go/adapter-map.json +94 -40
  204. package/presets/mavis/go/agents/code-reviewer.md +5 -1
  205. package/presets/mavis/go/commands/update.md +1 -0
  206. package/presets/mavis/go/hooks/README.md +29 -7
  207. package/presets/mavis/go/hooks/chain-team-phases.sh +40 -0
  208. package/presets/mavis/go/hooks/mavis-chain-hook.mjs +143 -0
  209. package/presets/mavis/go/hooks/run-hook.mjs +103 -0
  210. package/presets/mavis/go/minimax-hooks/hooks.json +28 -0
  211. package/presets/mavis/go/native-skills/README.md +15 -0
  212. package/presets/mavis/go/native-skills/ci-investigation/SKILL.md +24 -0
  213. package/presets/mavis/go/native-skills/code-review/SKILL.md +48 -0
  214. package/presets/mavis/go/native-skills/debug-investigation/SKILL.md +55 -0
  215. package/presets/mavis/go/native-skills/feature-delivery/SKILL.md +43 -0
  216. package/presets/mavis/go/native-skills/integration-testing/SKILL.md +21 -0
  217. package/presets/mavis/go/native-skills/migrate-tasks/SKILL.md +43 -0
  218. package/presets/mavis/go/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  219. package/presets/mavis/go/native-skills/rr-scheduler-start/SKILL.md +34 -0
  220. package/presets/mavis/go/native-skills/spec-authoring/SKILL.md +31 -0
  221. package/presets/mavis/go/native-skills/spec-discovery/SKILL.md +63 -0
  222. package/presets/mavis/go/native-skills/spec-start/SKILL.md +31 -0
  223. package/presets/mavis/go/native-skills/task/SKILL.md +77 -0
  224. package/presets/mavis/go/native-skills/task-continue/SKILL.md +72 -0
  225. package/presets/mavis/go/native-skills/technical-retro/SKILL.md +72 -0
  226. package/presets/mavis/go/native-skills/unit-testing/SKILL.md +20 -0
  227. package/presets/mavis/go/native-skills/update/SKILL.md +44 -0
  228. package/presets/mavis/go/native-skills/write-adr/SKILL.md +46 -0
  229. package/presets/mavis/go/rules/agent-team-orchestrator.md +1 -0
  230. package/presets/mavis/go/rules/code-review-mr.md +19 -4
  231. package/presets/mavis/go/skills/code-review/SKILL.md +2 -1
  232. package/presets/mavis/ios-swift/MAVIS.md +9 -3
  233. package/presets/mavis/ios-swift/README.md +3 -1
  234. package/presets/mavis/ios-swift/adapter-map.json +104 -44
  235. package/presets/mavis/ios-swift/agents/code-reviewer.md +5 -1
  236. package/presets/mavis/ios-swift/commands/update.md +1 -0
  237. package/presets/mavis/ios-swift/hooks/README.md +29 -7
  238. package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +40 -0
  239. package/presets/mavis/ios-swift/hooks/mavis-chain-hook.mjs +143 -0
  240. package/presets/mavis/ios-swift/hooks/run-hook.mjs +103 -0
  241. package/presets/mavis/ios-swift/minimax-hooks/hooks.json +28 -0
  242. package/presets/mavis/ios-swift/native-skills/README.md +15 -0
  243. package/presets/mavis/ios-swift/native-skills/ci-investigation/SKILL.md +53 -0
  244. package/presets/mavis/ios-swift/native-skills/code-review/SKILL.md +62 -0
  245. package/presets/mavis/ios-swift/native-skills/debug-investigation/SKILL.md +72 -0
  246. package/presets/mavis/ios-swift/native-skills/feature-delivery/SKILL.md +51 -0
  247. package/presets/mavis/ios-swift/native-skills/migrate-tasks/SKILL.md +43 -0
  248. package/presets/mavis/ios-swift/native-skills/mockup-review/SKILL.md +34 -0
  249. package/presets/mavis/ios-swift/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  250. package/presets/mavis/ios-swift/native-skills/rr-scheduler-start/SKILL.md +34 -0
  251. package/presets/mavis/ios-swift/native-skills/spec-authoring/SKILL.md +31 -0
  252. package/presets/mavis/ios-swift/native-skills/spec-discovery/SKILL.md +63 -0
  253. package/presets/mavis/ios-swift/native-skills/spec-start/SKILL.md +31 -0
  254. package/presets/mavis/ios-swift/native-skills/task/SKILL.md +79 -0
  255. package/presets/mavis/ios-swift/native-skills/task-continue/SKILL.md +74 -0
  256. package/presets/mavis/ios-swift/native-skills/technical-retro/SKILL.md +72 -0
  257. package/presets/mavis/ios-swift/native-skills/unit-testing/SKILL.md +38 -0
  258. package/presets/mavis/ios-swift/native-skills/update/SKILL.md +44 -0
  259. package/presets/mavis/ios-swift/native-skills/ux-design/SKILL.md +41 -0
  260. package/presets/mavis/ios-swift/native-skills/write-adr/SKILL.md +46 -0
  261. package/presets/mavis/ios-swift/native-skills/xcuitest-e2e/SKILL.md +39 -0
  262. package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +1 -0
  263. package/presets/mavis/ios-swift/rules/code-review-mr.md +19 -4
  264. package/presets/mavis/ios-swift/skills/code-review/SKILL.md +2 -1
  265. package/presets/mavis/java/MAVIS.md +9 -3
  266. package/presets/mavis/java/README.md +3 -1
  267. package/presets/mavis/java/adapter-map.json +94 -40
  268. package/presets/mavis/java/agents/code-reviewer.md +5 -1
  269. package/presets/mavis/java/commands/update.md +1 -0
  270. package/presets/mavis/java/hooks/README.md +29 -7
  271. package/presets/mavis/java/hooks/chain-team-phases.sh +40 -0
  272. package/presets/mavis/java/hooks/mavis-chain-hook.mjs +143 -0
  273. package/presets/mavis/java/hooks/run-hook.mjs +103 -0
  274. package/presets/mavis/java/minimax-hooks/hooks.json +28 -0
  275. package/presets/mavis/java/native-skills/README.md +15 -0
  276. package/presets/mavis/java/native-skills/ci-investigation/SKILL.md +24 -0
  277. package/presets/mavis/java/native-skills/code-review/SKILL.md +48 -0
  278. package/presets/mavis/java/native-skills/debug-investigation/SKILL.md +55 -0
  279. package/presets/mavis/java/native-skills/feature-delivery/SKILL.md +43 -0
  280. package/presets/mavis/java/native-skills/integration-testing/SKILL.md +21 -0
  281. package/presets/mavis/java/native-skills/migrate-tasks/SKILL.md +43 -0
  282. package/presets/mavis/java/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  283. package/presets/mavis/java/native-skills/rr-scheduler-start/SKILL.md +34 -0
  284. package/presets/mavis/java/native-skills/spec-authoring/SKILL.md +31 -0
  285. package/presets/mavis/java/native-skills/spec-discovery/SKILL.md +63 -0
  286. package/presets/mavis/java/native-skills/spec-start/SKILL.md +31 -0
  287. package/presets/mavis/java/native-skills/task/SKILL.md +77 -0
  288. package/presets/mavis/java/native-skills/task-continue/SKILL.md +72 -0
  289. package/presets/mavis/java/native-skills/technical-retro/SKILL.md +72 -0
  290. package/presets/mavis/java/native-skills/unit-testing/SKILL.md +20 -0
  291. package/presets/mavis/java/native-skills/update/SKILL.md +44 -0
  292. package/presets/mavis/java/native-skills/write-adr/SKILL.md +46 -0
  293. package/presets/mavis/java/rules/agent-team-orchestrator.md +1 -0
  294. package/presets/mavis/java/rules/code-review-mr.md +19 -4
  295. package/presets/mavis/java/skills/code-review/SKILL.md +2 -1
  296. package/presets/mavis/mcp-ts/MAVIS.md +9 -3
  297. package/presets/mavis/mcp-ts/README.md +3 -1
  298. package/presets/mavis/mcp-ts/adapter-map.json +77 -32
  299. package/presets/mavis/mcp-ts/commands/update.md +1 -0
  300. package/presets/mavis/mcp-ts/hooks/README.md +29 -7
  301. package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +40 -0
  302. package/presets/mavis/mcp-ts/hooks/mavis-chain-hook.mjs +143 -0
  303. package/presets/mavis/mcp-ts/hooks/run-hook.mjs +103 -0
  304. package/presets/mavis/mcp-ts/minimax-hooks/hooks.json +28 -0
  305. package/presets/mavis/mcp-ts/native-skills/README.md +15 -0
  306. package/presets/mavis/mcp-ts/native-skills/code-review/SKILL.md +31 -0
  307. package/presets/mavis/mcp-ts/native-skills/debug-investigation/SKILL.md +51 -0
  308. package/presets/mavis/mcp-ts/native-skills/feature-delivery/SKILL.md +42 -0
  309. package/presets/mavis/mcp-ts/native-skills/migrate-tasks/SKILL.md +43 -0
  310. package/presets/mavis/mcp-ts/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  311. package/presets/mavis/mcp-ts/native-skills/rr-scheduler-start/SKILL.md +34 -0
  312. package/presets/mavis/mcp-ts/native-skills/spec-authoring/SKILL.md +31 -0
  313. package/presets/mavis/mcp-ts/native-skills/spec-discovery/SKILL.md +63 -0
  314. package/presets/mavis/mcp-ts/native-skills/spec-start/SKILL.md +31 -0
  315. package/presets/mavis/mcp-ts/native-skills/task/SKILL.md +77 -0
  316. package/presets/mavis/mcp-ts/native-skills/task-continue/SKILL.md +72 -0
  317. package/presets/mavis/mcp-ts/native-skills/technical-retro/SKILL.md +95 -0
  318. package/presets/mavis/mcp-ts/native-skills/unit-testing/SKILL.md +22 -0
  319. package/presets/mavis/mcp-ts/native-skills/update/SKILL.md +44 -0
  320. package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  321. package/presets/mavis/mcp-ts/rules/code-review-mr.md +19 -4
  322. package/presets/mavis/mol/MAVIS.md +9 -3
  323. package/presets/mavis/mol/README.md +3 -1
  324. package/presets/mavis/mol/REPO_AGENTS.md +1 -1
  325. package/presets/mavis/mol/adapter-map.json +94 -40
  326. package/presets/mavis/mol/agents/code-reviewer.md +5 -1
  327. package/presets/mavis/mol/agents/task-router.md +1 -1
  328. package/presets/mavis/mol/commands/update.md +1 -0
  329. package/presets/mavis/mol/hooks/README.md +29 -7
  330. package/presets/mavis/mol/hooks/chain-team-phases.sh +40 -0
  331. package/presets/mavis/mol/hooks/mavis-chain-hook.mjs +143 -0
  332. package/presets/mavis/mol/hooks/run-hook.mjs +103 -0
  333. package/presets/mavis/mol/minimax-hooks/hooks.json +28 -0
  334. package/presets/mavis/mol/native-skills/README.md +15 -0
  335. package/presets/mavis/mol/native-skills/ci-investigation/SKILL.md +49 -0
  336. package/presets/mavis/mol/native-skills/code-review/SKILL.md +61 -0
  337. package/presets/mavis/mol/native-skills/debug-investigation/SKILL.md +63 -0
  338. package/presets/mavis/mol/native-skills/feature-delivery/SKILL.md +44 -0
  339. package/presets/mavis/mol/native-skills/migrate-tasks/SKILL.md +43 -0
  340. package/presets/mavis/mol/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  341. package/presets/mavis/mol/native-skills/rr-scheduler-start/SKILL.md +34 -0
  342. package/presets/mavis/mol/native-skills/spec-authoring/SKILL.md +31 -0
  343. package/presets/mavis/mol/native-skills/spec-discovery/SKILL.md +63 -0
  344. package/presets/mavis/mol/native-skills/spec-start/SKILL.md +31 -0
  345. package/presets/mavis/mol/native-skills/task/SKILL.md +82 -0
  346. package/presets/mavis/mol/native-skills/task-continue/SKILL.md +74 -0
  347. package/presets/mavis/mol/native-skills/task-evil/SKILL.md +89 -0
  348. package/presets/mavis/mol/native-skills/technical-retro/SKILL.md +72 -0
  349. package/presets/mavis/mol/native-skills/unit-testing/SKILL.md +38 -0
  350. package/presets/mavis/mol/native-skills/update/SKILL.md +44 -0
  351. package/presets/mavis/mol/native-skills/write-adr/SKILL.md +46 -0
  352. package/presets/mavis/mol/rules/agent-team-orchestrator.md +1 -0
  353. package/presets/mavis/mol/rules/code-review-mr.md +19 -4
  354. package/presets/mavis/mol/skills/code-review/SKILL.md +2 -1
  355. package/presets/mavis/next/MAVIS.md +9 -3
  356. package/presets/mavis/next/README.md +3 -1
  357. package/presets/mavis/next/REPO_AGENTS.md +1 -1
  358. package/presets/mavis/next/adapter-map.json +128 -53
  359. package/presets/mavis/next/agents/build-verifier.md +2 -1
  360. package/presets/mavis/next/agents/code-reviewer.md +5 -1
  361. package/presets/mavis/next/agents/feature-developer.md +1 -1
  362. package/presets/mavis/next/agents/task-router.md +1 -1
  363. package/presets/mavis/next/commands/update.md +1 -0
  364. package/presets/mavis/next/hooks/README.md +29 -7
  365. package/presets/mavis/next/hooks/chain-team-phases.sh +40 -0
  366. package/presets/mavis/next/hooks/mavis-chain-hook.mjs +143 -0
  367. package/presets/mavis/next/hooks/run-hook.mjs +103 -0
  368. package/presets/mavis/next/minimax-hooks/hooks.json +28 -0
  369. package/presets/mavis/next/native-skills/README.md +15 -0
  370. package/presets/mavis/next/native-skills/ci-investigation/SKILL.md +50 -0
  371. package/presets/mavis/next/native-skills/code-review/SKILL.md +62 -0
  372. package/presets/mavis/next/native-skills/debug-investigation/SKILL.md +64 -0
  373. package/presets/mavis/next/native-skills/feature-delivery/SKILL.md +45 -0
  374. package/presets/mavis/next/native-skills/figma-fidelity/SKILL.md +131 -0
  375. package/presets/mavis/next/native-skills/migrate-tasks/SKILL.md +43 -0
  376. package/presets/mavis/next/native-skills/mockup-review/SKILL.md +44 -0
  377. package/presets/mavis/next/native-skills/playwright-e2e/SKILL.md +39 -0
  378. package/presets/mavis/next/native-skills/react-performance/SKILL.md +49 -0
  379. package/presets/mavis/next/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  380. package/presets/mavis/next/native-skills/rr-scheduler-start/SKILL.md +34 -0
  381. package/presets/mavis/next/native-skills/spec-authoring/SKILL.md +31 -0
  382. package/presets/mavis/next/native-skills/spec-discovery/SKILL.md +63 -0
  383. package/presets/mavis/next/native-skills/spec-start/SKILL.md +31 -0
  384. package/presets/mavis/next/native-skills/task/SKILL.md +88 -0
  385. package/presets/mavis/next/native-skills/task-continue/SKILL.md +87 -0
  386. package/presets/mavis/next/native-skills/task-evil/SKILL.md +89 -0
  387. package/presets/mavis/next/native-skills/technical-retro/SKILL.md +72 -0
  388. package/presets/mavis/next/native-skills/ui-start/SKILL.md +64 -0
  389. package/presets/mavis/next/native-skills/ui-stop/SKILL.md +48 -0
  390. package/presets/mavis/next/native-skills/unit-testing/SKILL.md +40 -0
  391. package/presets/mavis/next/native-skills/update/SKILL.md +44 -0
  392. package/presets/mavis/next/native-skills/ux-design/SKILL.md +41 -0
  393. package/presets/mavis/next/native-skills/write-adr/SKILL.md +46 -0
  394. package/presets/mavis/next/rules/agent-team-orchestrator.md +1 -0
  395. package/presets/mavis/next/rules/code-review-mr.md +19 -4
  396. package/presets/mavis/next/skills/code-review/SKILL.md +2 -1
  397. package/presets/mavis/nuxt/MAVIS.md +9 -3
  398. package/presets/mavis/nuxt/README.md +3 -1
  399. package/presets/mavis/nuxt/adapter-map.json +109 -46
  400. package/presets/mavis/nuxt/agents/code-reviewer.md +5 -1
  401. package/presets/mavis/nuxt/agents/task-router.md +1 -1
  402. package/presets/mavis/nuxt/commands/update.md +1 -0
  403. package/presets/mavis/nuxt/hooks/README.md +29 -7
  404. package/presets/mavis/nuxt/hooks/chain-team-phases.sh +40 -0
  405. package/presets/mavis/nuxt/hooks/mavis-chain-hook.mjs +143 -0
  406. package/presets/mavis/nuxt/hooks/run-hook.mjs +103 -0
  407. package/presets/mavis/nuxt/minimax-hooks/hooks.json +28 -0
  408. package/presets/mavis/nuxt/native-skills/README.md +15 -0
  409. package/presets/mavis/nuxt/native-skills/ci-investigation/SKILL.md +50 -0
  410. package/presets/mavis/nuxt/native-skills/code-review/SKILL.md +61 -0
  411. package/presets/mavis/nuxt/native-skills/debug-investigation/SKILL.md +64 -0
  412. package/presets/mavis/nuxt/native-skills/feature-delivery/SKILL.md +52 -0
  413. package/presets/mavis/nuxt/native-skills/migrate-tasks/SKILL.md +43 -0
  414. package/presets/mavis/nuxt/native-skills/mockup-review/SKILL.md +34 -0
  415. package/presets/mavis/nuxt/native-skills/playwright-e2e/SKILL.md +43 -0
  416. package/presets/mavis/nuxt/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  417. package/presets/mavis/nuxt/native-skills/rr-scheduler-start/SKILL.md +34 -0
  418. package/presets/mavis/nuxt/native-skills/spec-authoring/SKILL.md +31 -0
  419. package/presets/mavis/nuxt/native-skills/spec-discovery/SKILL.md +63 -0
  420. package/presets/mavis/nuxt/native-skills/spec-start/SKILL.md +31 -0
  421. package/presets/mavis/nuxt/native-skills/task/SKILL.md +79 -0
  422. package/presets/mavis/nuxt/native-skills/task-continue/SKILL.md +74 -0
  423. package/presets/mavis/nuxt/native-skills/technical-retro/SKILL.md +72 -0
  424. package/presets/mavis/nuxt/native-skills/unit-testing/SKILL.md +38 -0
  425. package/presets/mavis/nuxt/native-skills/update/SKILL.md +44 -0
  426. package/presets/mavis/nuxt/native-skills/ux-design/SKILL.md +41 -0
  427. package/presets/mavis/nuxt/native-skills/vue-performance/SKILL.md +58 -0
  428. package/presets/mavis/nuxt/native-skills/write-adr/SKILL.md +46 -0
  429. package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +1 -0
  430. package/presets/mavis/nuxt/rules/code-review-mr.md +19 -4
  431. package/presets/mavis/nuxt/skills/code-review/SKILL.md +2 -1
  432. package/presets/mavis/php-hexagonal/MAVIS.md +9 -3
  433. package/presets/mavis/php-hexagonal/README.md +3 -1
  434. package/presets/mavis/php-hexagonal/adapter-map.json +94 -40
  435. package/presets/mavis/php-hexagonal/agents/code-reviewer.md +5 -1
  436. package/presets/mavis/php-hexagonal/commands/update.md +1 -0
  437. package/presets/mavis/php-hexagonal/hooks/README.md +29 -7
  438. package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +40 -0
  439. package/presets/mavis/php-hexagonal/hooks/mavis-chain-hook.mjs +143 -0
  440. package/presets/mavis/php-hexagonal/hooks/run-hook.mjs +103 -0
  441. package/presets/mavis/php-hexagonal/minimax-hooks/hooks.json +28 -0
  442. package/presets/mavis/php-hexagonal/native-skills/README.md +15 -0
  443. package/presets/mavis/php-hexagonal/native-skills/ci-investigation/SKILL.md +24 -0
  444. package/presets/mavis/php-hexagonal/native-skills/code-review/SKILL.md +48 -0
  445. package/presets/mavis/php-hexagonal/native-skills/debug-investigation/SKILL.md +55 -0
  446. package/presets/mavis/php-hexagonal/native-skills/feature-delivery/SKILL.md +43 -0
  447. package/presets/mavis/php-hexagonal/native-skills/integration-testing/SKILL.md +21 -0
  448. package/presets/mavis/php-hexagonal/native-skills/migrate-tasks/SKILL.md +43 -0
  449. package/presets/mavis/php-hexagonal/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  450. package/presets/mavis/php-hexagonal/native-skills/rr-scheduler-start/SKILL.md +34 -0
  451. package/presets/mavis/php-hexagonal/native-skills/spec-authoring/SKILL.md +31 -0
  452. package/presets/mavis/php-hexagonal/native-skills/spec-discovery/SKILL.md +63 -0
  453. package/presets/mavis/php-hexagonal/native-skills/spec-start/SKILL.md +31 -0
  454. package/presets/mavis/php-hexagonal/native-skills/task/SKILL.md +77 -0
  455. package/presets/mavis/php-hexagonal/native-skills/task-continue/SKILL.md +72 -0
  456. package/presets/mavis/php-hexagonal/native-skills/technical-retro/SKILL.md +72 -0
  457. package/presets/mavis/php-hexagonal/native-skills/unit-testing/SKILL.md +20 -0
  458. package/presets/mavis/php-hexagonal/native-skills/update/SKILL.md +44 -0
  459. package/presets/mavis/php-hexagonal/native-skills/write-adr/SKILL.md +46 -0
  460. package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  461. package/presets/mavis/php-hexagonal/rules/code-review-mr.md +19 -4
  462. package/presets/mavis/php-hexagonal/skills/code-review/SKILL.md +2 -1
  463. package/presets/mavis/php-laravel/MAVIS.md +9 -3
  464. package/presets/mavis/php-laravel/README.md +3 -1
  465. package/presets/mavis/php-laravel/adapter-map.json +94 -40
  466. package/presets/mavis/php-laravel/agents/code-reviewer.md +5 -1
  467. package/presets/mavis/php-laravel/commands/update.md +1 -0
  468. package/presets/mavis/php-laravel/hooks/README.md +29 -7
  469. package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +40 -0
  470. package/presets/mavis/php-laravel/hooks/mavis-chain-hook.mjs +143 -0
  471. package/presets/mavis/php-laravel/hooks/run-hook.mjs +103 -0
  472. package/presets/mavis/php-laravel/minimax-hooks/hooks.json +28 -0
  473. package/presets/mavis/php-laravel/native-skills/README.md +15 -0
  474. package/presets/mavis/php-laravel/native-skills/ci-investigation/SKILL.md +24 -0
  475. package/presets/mavis/php-laravel/native-skills/code-review/SKILL.md +48 -0
  476. package/presets/mavis/php-laravel/native-skills/debug-investigation/SKILL.md +55 -0
  477. package/presets/mavis/php-laravel/native-skills/feature-delivery/SKILL.md +43 -0
  478. package/presets/mavis/php-laravel/native-skills/integration-testing/SKILL.md +21 -0
  479. package/presets/mavis/php-laravel/native-skills/migrate-tasks/SKILL.md +43 -0
  480. package/presets/mavis/php-laravel/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  481. package/presets/mavis/php-laravel/native-skills/rr-scheduler-start/SKILL.md +34 -0
  482. package/presets/mavis/php-laravel/native-skills/spec-authoring/SKILL.md +31 -0
  483. package/presets/mavis/php-laravel/native-skills/spec-discovery/SKILL.md +63 -0
  484. package/presets/mavis/php-laravel/native-skills/spec-start/SKILL.md +31 -0
  485. package/presets/mavis/php-laravel/native-skills/task/SKILL.md +77 -0
  486. package/presets/mavis/php-laravel/native-skills/task-continue/SKILL.md +72 -0
  487. package/presets/mavis/php-laravel/native-skills/technical-retro/SKILL.md +72 -0
  488. package/presets/mavis/php-laravel/native-skills/unit-testing/SKILL.md +20 -0
  489. package/presets/mavis/php-laravel/native-skills/update/SKILL.md +44 -0
  490. package/presets/mavis/php-laravel/native-skills/write-adr/SKILL.md +46 -0
  491. package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +1 -0
  492. package/presets/mavis/php-laravel/rules/code-review-mr.md +19 -4
  493. package/presets/mavis/php-laravel/skills/code-review/SKILL.md +2 -1
  494. package/presets/mavis/platform-contract.json +18 -5
  495. package/presets/mavis/svelte/MAVIS.md +9 -3
  496. package/presets/mavis/svelte/README.md +3 -1
  497. package/presets/mavis/svelte/adapter-map.json +109 -46
  498. package/presets/mavis/svelte/agents/code-reviewer.md +5 -1
  499. package/presets/mavis/svelte/agents/task-router.md +1 -1
  500. package/presets/mavis/svelte/commands/update.md +1 -0
  501. package/presets/mavis/svelte/hooks/README.md +29 -7
  502. package/presets/mavis/svelte/hooks/chain-team-phases.sh +40 -0
  503. package/presets/mavis/svelte/hooks/mavis-chain-hook.mjs +143 -0
  504. package/presets/mavis/svelte/hooks/run-hook.mjs +103 -0
  505. package/presets/mavis/svelte/minimax-hooks/hooks.json +28 -0
  506. package/presets/mavis/svelte/native-skills/README.md +15 -0
  507. package/presets/mavis/svelte/native-skills/ci-investigation/SKILL.md +50 -0
  508. package/presets/mavis/svelte/native-skills/code-review/SKILL.md +61 -0
  509. package/presets/mavis/svelte/native-skills/debug-investigation/SKILL.md +64 -0
  510. package/presets/mavis/svelte/native-skills/feature-delivery/SKILL.md +52 -0
  511. package/presets/mavis/svelte/native-skills/migrate-tasks/SKILL.md +43 -0
  512. package/presets/mavis/svelte/native-skills/mockup-review/SKILL.md +34 -0
  513. package/presets/mavis/svelte/native-skills/playwright-e2e/SKILL.md +43 -0
  514. package/presets/mavis/svelte/native-skills/rr-migrate-repositories/SKILL.md +61 -0
  515. package/presets/mavis/svelte/native-skills/rr-scheduler-start/SKILL.md +34 -0
  516. package/presets/mavis/svelte/native-skills/spec-authoring/SKILL.md +31 -0
  517. package/presets/mavis/svelte/native-skills/spec-discovery/SKILL.md +63 -0
  518. package/presets/mavis/svelte/native-skills/spec-start/SKILL.md +31 -0
  519. package/presets/mavis/svelte/native-skills/svelte-performance/SKILL.md +57 -0
  520. package/presets/mavis/svelte/native-skills/task/SKILL.md +79 -0
  521. package/presets/mavis/svelte/native-skills/task-continue/SKILL.md +74 -0
  522. package/presets/mavis/svelte/native-skills/technical-retro/SKILL.md +72 -0
  523. package/presets/mavis/svelte/native-skills/unit-testing/SKILL.md +38 -0
  524. package/presets/mavis/svelte/native-skills/update/SKILL.md +44 -0
  525. package/presets/mavis/svelte/native-skills/ux-design/SKILL.md +41 -0
  526. package/presets/mavis/svelte/native-skills/write-adr/SKILL.md +46 -0
  527. package/presets/mavis/svelte/rules/agent-team-orchestrator.md +1 -0
  528. package/presets/mavis/svelte/rules/code-review-mr.md +19 -4
  529. package/presets/mavis/svelte/skills/code-review/SKILL.md +2 -1
  530. package/presets/opencode/android-kotlin/adapter-map.json +1 -1
  531. package/presets/opencode/android-kotlin/agents/code-reviewer.md +5 -1
  532. package/presets/opencode/android-kotlin/commands/update.md +1 -0
  533. package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +40 -0
  534. package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  535. package/presets/opencode/android-kotlin/rules/code-review-mr.md +19 -4
  536. package/presets/opencode/android-kotlin/skills/code-review/SKILL.md +2 -1
  537. package/presets/opencode/go/adapter-map.json +1 -1
  538. package/presets/opencode/go/agents/code-reviewer.md +5 -1
  539. package/presets/opencode/go/commands/update.md +1 -0
  540. package/presets/opencode/go/hooks/chain-team-phases.sh +40 -0
  541. package/presets/opencode/go/rules/agent-team-orchestrator.md +1 -0
  542. package/presets/opencode/go/rules/code-review-mr.md +19 -4
  543. package/presets/opencode/go/skills/code-review/SKILL.md +2 -1
  544. package/presets/opencode/ios-swift/adapter-map.json +1 -1
  545. package/presets/opencode/ios-swift/agents/code-reviewer.md +5 -1
  546. package/presets/opencode/ios-swift/commands/update.md +1 -0
  547. package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +40 -0
  548. package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  549. package/presets/opencode/ios-swift/rules/code-review-mr.md +19 -4
  550. package/presets/opencode/ios-swift/skills/code-review/SKILL.md +2 -1
  551. package/presets/opencode/java/adapter-map.json +1 -1
  552. package/presets/opencode/java/agents/code-reviewer.md +5 -1
  553. package/presets/opencode/java/commands/update.md +1 -0
  554. package/presets/opencode/java/hooks/chain-team-phases.sh +40 -0
  555. package/presets/opencode/java/rules/agent-team-orchestrator.md +1 -0
  556. package/presets/opencode/java/rules/code-review-mr.md +19 -4
  557. package/presets/opencode/java/skills/code-review/SKILL.md +2 -1
  558. package/presets/opencode/mcp-ts/adapter-map.json +1 -1
  559. package/presets/opencode/mcp-ts/commands/update.md +1 -0
  560. package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +40 -0
  561. package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  562. package/presets/opencode/mcp-ts/rules/code-review-mr.md +19 -4
  563. package/presets/opencode/mol/REPO_AGENTS.md +1 -1
  564. package/presets/opencode/mol/adapter-map.json +1 -1
  565. package/presets/opencode/mol/agents/code-reviewer.md +5 -1
  566. package/presets/opencode/mol/agents/task-router.md +1 -1
  567. package/presets/opencode/mol/commands/update.md +1 -0
  568. package/presets/opencode/mol/hooks/chain-team-phases.sh +40 -0
  569. package/presets/opencode/mol/rules/agent-team-orchestrator.md +1 -0
  570. package/presets/opencode/mol/rules/code-review-mr.md +19 -4
  571. package/presets/opencode/mol/skills/code-review/SKILL.md +2 -1
  572. package/presets/opencode/next/REPO_AGENTS.md +1 -1
  573. package/presets/opencode/next/adapter-map.json +1 -1
  574. package/presets/opencode/next/agents/build-verifier.md +2 -1
  575. package/presets/opencode/next/agents/code-reviewer.md +5 -1
  576. package/presets/opencode/next/agents/feature-developer.md +1 -1
  577. package/presets/opencode/next/agents/task-router.md +1 -1
  578. package/presets/opencode/next/commands/update.md +1 -0
  579. package/presets/opencode/next/hooks/chain-team-phases.sh +40 -0
  580. package/presets/opencode/next/rules/agent-team-orchestrator.md +1 -0
  581. package/presets/opencode/next/rules/code-review-mr.md +19 -4
  582. package/presets/opencode/next/skills/code-review/SKILL.md +2 -1
  583. package/presets/opencode/nuxt/adapter-map.json +1 -1
  584. package/presets/opencode/nuxt/agents/code-reviewer.md +5 -1
  585. package/presets/opencode/nuxt/agents/task-router.md +1 -1
  586. package/presets/opencode/nuxt/commands/update.md +1 -0
  587. package/presets/opencode/nuxt/hooks/chain-team-phases.sh +40 -0
  588. package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +1 -0
  589. package/presets/opencode/nuxt/rules/code-review-mr.md +19 -4
  590. package/presets/opencode/nuxt/skills/code-review/SKILL.md +2 -1
  591. package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
  592. package/presets/opencode/php-hexagonal/agents/code-reviewer.md +5 -1
  593. package/presets/opencode/php-hexagonal/commands/update.md +1 -0
  594. package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
  595. package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  596. package/presets/opencode/php-hexagonal/rules/code-review-mr.md +19 -4
  597. package/presets/opencode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  598. package/presets/opencode/php-laravel/adapter-map.json +1 -1
  599. package/presets/opencode/php-laravel/agents/code-reviewer.md +5 -1
  600. package/presets/opencode/php-laravel/commands/update.md +1 -0
  601. package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +40 -0
  602. package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  603. package/presets/opencode/php-laravel/rules/code-review-mr.md +19 -4
  604. package/presets/opencode/php-laravel/skills/code-review/SKILL.md +2 -1
  605. package/presets/opencode/plugins/task-status/README.md +4 -3
  606. package/presets/opencode/plugins/task-status/deepseek.ts +68 -34
  607. package/presets/opencode/plugins/task-status/task-view.ts +4 -1
  608. package/presets/opencode/plugins/task-status/tui.tsx +16 -18
  609. package/presets/opencode/plugins/task-status/types.ts +5 -1
  610. package/presets/opencode/svelte/adapter-map.json +1 -1
  611. package/presets/opencode/svelte/agents/code-reviewer.md +5 -1
  612. package/presets/opencode/svelte/agents/task-router.md +1 -1
  613. package/presets/opencode/svelte/commands/update.md +1 -0
  614. package/presets/opencode/svelte/hooks/chain-team-phases.sh +40 -0
  615. package/presets/opencode/svelte/rules/agent-team-orchestrator.md +1 -0
  616. package/presets/opencode/svelte/rules/code-review-mr.md +19 -4
  617. package/presets/opencode/svelte/skills/code-review/SKILL.md +2 -1
  618. package/presets/zcode/android-kotlin/adapter-map.json +1 -1
  619. package/presets/zcode/android-kotlin/agents/code-reviewer.md +5 -1
  620. package/presets/zcode/android-kotlin/commands/update.md +1 -0
  621. package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +40 -0
  622. package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +1 -0
  623. package/presets/zcode/android-kotlin/rules/code-review-mr.md +19 -4
  624. package/presets/zcode/android-kotlin/skills/code-review/SKILL.md +2 -1
  625. package/presets/zcode/go/adapter-map.json +1 -1
  626. package/presets/zcode/go/agents/code-reviewer.md +5 -1
  627. package/presets/zcode/go/commands/update.md +1 -0
  628. package/presets/zcode/go/hooks/chain-team-phases.sh +40 -0
  629. package/presets/zcode/go/rules/agent-team-orchestrator.md +1 -0
  630. package/presets/zcode/go/rules/code-review-mr.md +19 -4
  631. package/presets/zcode/go/skills/code-review/SKILL.md +2 -1
  632. package/presets/zcode/ios-swift/adapter-map.json +1 -1
  633. package/presets/zcode/ios-swift/agents/code-reviewer.md +5 -1
  634. package/presets/zcode/ios-swift/commands/update.md +1 -0
  635. package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +40 -0
  636. package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +1 -0
  637. package/presets/zcode/ios-swift/rules/code-review-mr.md +19 -4
  638. package/presets/zcode/ios-swift/skills/code-review/SKILL.md +2 -1
  639. package/presets/zcode/java/adapter-map.json +1 -1
  640. package/presets/zcode/java/agents/code-reviewer.md +5 -1
  641. package/presets/zcode/java/commands/update.md +1 -0
  642. package/presets/zcode/java/hooks/chain-team-phases.sh +40 -0
  643. package/presets/zcode/java/rules/agent-team-orchestrator.md +1 -0
  644. package/presets/zcode/java/rules/code-review-mr.md +19 -4
  645. package/presets/zcode/java/skills/code-review/SKILL.md +2 -1
  646. package/presets/zcode/mcp-ts/adapter-map.json +1 -1
  647. package/presets/zcode/mcp-ts/commands/update.md +1 -0
  648. package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +40 -0
  649. package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +1 -0
  650. package/presets/zcode/mcp-ts/rules/code-review-mr.md +19 -4
  651. package/presets/zcode/mol/REPO_AGENTS.md +1 -1
  652. package/presets/zcode/mol/adapter-map.json +1 -1
  653. package/presets/zcode/mol/agents/code-reviewer.md +5 -1
  654. package/presets/zcode/mol/agents/task-router.md +1 -1
  655. package/presets/zcode/mol/commands/update.md +1 -0
  656. package/presets/zcode/mol/hooks/chain-team-phases.sh +40 -0
  657. package/presets/zcode/mol/rules/agent-team-orchestrator.md +1 -0
  658. package/presets/zcode/mol/rules/code-review-mr.md +19 -4
  659. package/presets/zcode/mol/skills/code-review/SKILL.md +2 -1
  660. package/presets/zcode/next/REPO_AGENTS.md +1 -1
  661. package/presets/zcode/next/adapter-map.json +1 -1
  662. package/presets/zcode/next/agents/build-verifier.md +2 -1
  663. package/presets/zcode/next/agents/code-reviewer.md +5 -1
  664. package/presets/zcode/next/agents/feature-developer.md +1 -1
  665. package/presets/zcode/next/agents/task-router.md +1 -1
  666. package/presets/zcode/next/commands/update.md +1 -0
  667. package/presets/zcode/next/hooks/chain-team-phases.sh +40 -0
  668. package/presets/zcode/next/rules/agent-team-orchestrator.md +1 -0
  669. package/presets/zcode/next/rules/code-review-mr.md +19 -4
  670. package/presets/zcode/next/skills/code-review/SKILL.md +2 -1
  671. package/presets/zcode/nuxt/adapter-map.json +1 -1
  672. package/presets/zcode/nuxt/agents/code-reviewer.md +5 -1
  673. package/presets/zcode/nuxt/agents/task-router.md +1 -1
  674. package/presets/zcode/nuxt/commands/update.md +1 -0
  675. package/presets/zcode/nuxt/hooks/chain-team-phases.sh +40 -0
  676. package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +1 -0
  677. package/presets/zcode/nuxt/rules/code-review-mr.md +19 -4
  678. package/presets/zcode/nuxt/skills/code-review/SKILL.md +2 -1
  679. package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
  680. package/presets/zcode/php-hexagonal/agents/code-reviewer.md +5 -1
  681. package/presets/zcode/php-hexagonal/commands/update.md +1 -0
  682. package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +40 -0
  683. package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +1 -0
  684. package/presets/zcode/php-hexagonal/rules/code-review-mr.md +19 -4
  685. package/presets/zcode/php-hexagonal/skills/code-review/SKILL.md +2 -1
  686. package/presets/zcode/php-laravel/adapter-map.json +1 -1
  687. package/presets/zcode/php-laravel/agents/code-reviewer.md +5 -1
  688. package/presets/zcode/php-laravel/commands/update.md +1 -0
  689. package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +40 -0
  690. package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +1 -0
  691. package/presets/zcode/php-laravel/rules/code-review-mr.md +19 -4
  692. package/presets/zcode/php-laravel/skills/code-review/SKILL.md +2 -1
  693. package/presets/zcode/svelte/adapter-map.json +1 -1
  694. package/presets/zcode/svelte/agents/code-reviewer.md +5 -1
  695. package/presets/zcode/svelte/agents/task-router.md +1 -1
  696. package/presets/zcode/svelte/commands/update.md +1 -0
  697. package/presets/zcode/svelte/hooks/chain-team-phases.sh +40 -0
  698. package/presets/zcode/svelte/rules/agent-team-orchestrator.md +1 -0
  699. package/presets/zcode/svelte/rules/code-review-mr.md +19 -4
  700. package/presets/zcode/svelte/skills/code-review/SKILL.md +2 -1
@@ -12,5 +12,7 @@ npx @bonesofspring/ai-rules init mavis --preset java
12
12
  Install id: `java`. Listed in `platform-contract.json` `releasedStacks`.
13
13
 
14
14
  `init` writes `.mavis/**` plus root `AGENTS.md` and seeds `.ai.local/team/`.
15
- No `hooks.json` / Bugbot; chain with `bash .mavis/hooks/chain-team-phases.sh`.
15
+ Native skills → `.minimax/skills/`; native project hooks → `.minimax/hooks.json`.
16
+ No Bugbot; the chain hook runs from `.minimax/hooks.json` once the user enables it
17
+ (Settings → Hooks → Project), or by hand with `bash .mavis/hooks/chain-team-phases.sh`.
16
18
  `clean mavis` does not delete `.ai.local/`.
@@ -3,7 +3,7 @@
3
3
  "platform": "mavis",
4
4
  "stack": "java",
5
5
  "semanticSource": "cursor/java",
6
- "sourceRevision": "f4dd86e9fb03141adfdaa6d0eebd7e6e06b9b09bf222ed6f64007b6de661c087",
6
+ "sourceRevision": "8facd59f003f370ca07e972a9559d76916462c0e29b631f582bf7904277655c7",
7
7
  "entries": [
8
8
  {
9
9
  "source": "AGENTS.md",
@@ -249,7 +249,10 @@
249
249
  "category": "commands",
250
250
  "disposition": "transform",
251
251
  "loadMode": "manual",
252
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
252
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
253
+ "extraTargets": [
254
+ "native-skills/migrate-tasks/SKILL.md"
255
+ ]
253
256
  },
254
257
  {
255
258
  "source": "commands/rr-migrate-repositories.md",
@@ -257,7 +260,10 @@
257
260
  "category": "commands",
258
261
  "disposition": "transform",
259
262
  "loadMode": "manual",
260
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
263
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
264
+ "extraTargets": [
265
+ "native-skills/rr-migrate-repositories/SKILL.md"
266
+ ]
261
267
  },
262
268
  {
263
269
  "source": "commands/rr-scheduler-start.md",
@@ -265,7 +271,10 @@
265
271
  "category": "commands",
266
272
  "disposition": "transform",
267
273
  "loadMode": "manual",
268
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
274
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
275
+ "extraTargets": [
276
+ "native-skills/rr-scheduler-start/SKILL.md"
277
+ ]
269
278
  },
270
279
  {
271
280
  "source": "commands/spec-start.md",
@@ -273,7 +282,10 @@
273
282
  "category": "commands",
274
283
  "disposition": "transform",
275
284
  "loadMode": "manual",
276
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
285
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
286
+ "extraTargets": [
287
+ "native-skills/spec-start/SKILL.md"
288
+ ]
277
289
  },
278
290
  {
279
291
  "source": "commands/task-continue.md",
@@ -281,7 +293,10 @@
281
293
  "category": "commands",
282
294
  "disposition": "transform",
283
295
  "loadMode": "manual",
284
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
296
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
297
+ "extraTargets": [
298
+ "native-skills/task-continue/SKILL.md"
299
+ ]
285
300
  },
286
301
  {
287
302
  "source": "commands/task.md",
@@ -289,8 +304,11 @@
289
304
  "category": "commands",
290
305
  "disposition": "transform",
291
306
  "loadMode": "manual",
292
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file",
293
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
307
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
308
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
309
+ "extraTargets": [
310
+ "native-skills/task/SKILL.md"
311
+ ]
294
312
  },
295
313
  {
296
314
  "source": "commands/technical-retro.md",
@@ -298,7 +316,7 @@
298
316
  "category": "commands",
299
317
  "disposition": "transform",
300
318
  "loadMode": "manual",
301
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
319
+ "reason": "Native skill of the same name already owns this slot; the command file stays the procedure"
302
320
  },
303
321
  {
304
322
  "source": "commands/update.md",
@@ -306,15 +324,18 @@
306
324
  "category": "commands",
307
325
  "disposition": "transform",
308
326
  "loadMode": "manual",
309
- "reason": "No file-defined slash command API; keep as an explicit procedure plus exec --file"
327
+ "reason": "Procedure file plus a native MiniMax skill copy: MiniMax Code discovers skills, not host command files",
328
+ "extraTargets": [
329
+ "native-skills/update/SKILL.md"
330
+ ]
310
331
  },
311
332
  {
312
333
  "source": "hooks.json",
313
- "target": null,
334
+ "target": "minimax-hooks/hooks.json",
314
335
  "category": "hooks",
315
- "disposition": "omit",
316
- "loadMode": "not-installed",
317
- "reason": "omit until a documented MiniMax hook schema exists"
336
+ "disposition": "transform",
337
+ "loadMode": "native-hook",
338
+ "reason": "MiniMax Code reads project hooks from <project>/.minimax/hooks.json; the Cursor document is rewritten into the MiniMax event format"
318
339
  },
319
340
  {
320
341
  "source": "hooks/chain-team-phases.sh",
@@ -338,7 +359,7 @@
338
359
  "category": "hooks",
339
360
  "disposition": "omit",
340
361
  "loadMode": "not-installed",
341
- "reason": "omit: Cursor preToolUse rewrite; the large-output guard has no Mavis hook event"
362
+ "reason": "omit: Cursor preToolUse rewrite; the large-output guard is not wired on MiniMax"
342
363
  },
343
364
  {
344
365
  "source": "hooks/examples/format-edited.example.sh",
@@ -370,7 +391,7 @@
370
391
  "category": "hooks",
371
392
  "disposition": "omit",
372
393
  "loadMode": "not-installed",
373
- "reason": "omit from active wiring; no native hook schema, safety policy stays in entry prose"
394
+ "reason": "omit: the MiniMax PreToolUse event exists, but a tool-blocking guard is a behaviour change; the safety policy stays in entry prose"
374
395
  },
375
396
  {
376
397
  "source": "hooks/list-ai-local.mjs",
@@ -382,11 +403,14 @@
382
403
  },
383
404
  {
384
405
  "source": "hooks/run-hook.mjs",
385
- "target": null,
406
+ "target": "hooks/run-hook.mjs",
386
407
  "category": "hooks",
387
- "disposition": "omit",
388
- "loadMode": "not-installed",
389
- "reason": "omit from active wiring; no native hook schema, the chain hook stays a manual runner"
408
+ "disposition": "transform",
409
+ "loadMode": "manual",
410
+ "reason": "Chain-hook launcher invoked by the native MiniMax SubagentStop hook and by the manual fallback",
411
+ "extraTargets": [
412
+ "hooks/mavis-chain-hook.mjs"
413
+ ]
390
414
  },
391
415
  {
392
416
  "source": "mcp.json",
@@ -776,8 +800,11 @@
776
800
  "category": "skills",
777
801
  "disposition": "transform",
778
802
  "loadMode": "referenced",
779
- "reason": "Workspace skill discovery without a root reference is unknown",
780
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
803
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
804
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
805
+ "extraTargets": [
806
+ "native-skills/ci-investigation/SKILL.md"
807
+ ]
781
808
  },
782
809
  {
783
810
  "source": "skills/code-review/SKILL.md",
@@ -785,8 +812,11 @@
785
812
  "category": "skills",
786
813
  "disposition": "transform",
787
814
  "loadMode": "referenced",
788
- "reason": "Workspace skill discovery without a root reference is unknown",
789
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
815
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
816
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
817
+ "extraTargets": [
818
+ "native-skills/code-review/SKILL.md"
819
+ ]
790
820
  },
791
821
  {
792
822
  "source": "skills/debug-investigation/SKILL.md",
@@ -794,8 +824,11 @@
794
824
  "category": "skills",
795
825
  "disposition": "transform",
796
826
  "loadMode": "referenced",
797
- "reason": "Workspace skill discovery without a root reference is unknown",
798
- "sharedCoreStem": "quality/debug-investigation.md"
827
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
828
+ "sharedCoreStem": "quality/debug-investigation.md",
829
+ "extraTargets": [
830
+ "native-skills/debug-investigation/SKILL.md"
831
+ ]
799
832
  },
800
833
  {
801
834
  "source": "skills/feature-delivery/SKILL.md",
@@ -803,8 +836,11 @@
803
836
  "category": "skills",
804
837
  "disposition": "transform",
805
838
  "loadMode": "referenced",
806
- "reason": "Workspace skill discovery without a root reference is unknown",
807
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
839
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
840
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
841
+ "extraTargets": [
842
+ "native-skills/feature-delivery/SKILL.md"
843
+ ]
808
844
  },
809
845
  {
810
846
  "source": "skills/integration-testing/SKILL.md",
@@ -812,8 +848,11 @@
812
848
  "category": "skills",
813
849
  "disposition": "transform",
814
850
  "loadMode": "referenced",
815
- "reason": "Workspace skill discovery without a root reference is unknown",
816
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
851
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
852
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
853
+ "extraTargets": [
854
+ "native-skills/integration-testing/SKILL.md"
855
+ ]
817
856
  },
818
857
  {
819
858
  "source": "skills/spec-authoring/SKILL.md",
@@ -821,8 +860,11 @@
821
860
  "category": "skills",
822
861
  "disposition": "transform",
823
862
  "loadMode": "referenced",
824
- "reason": "Workspace skill discovery without a root reference is unknown",
825
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
863
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
864
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
865
+ "extraTargets": [
866
+ "native-skills/spec-authoring/SKILL.md"
867
+ ]
826
868
  },
827
869
  {
828
870
  "source": "skills/spec-discovery/SKILL.md",
@@ -830,8 +872,11 @@
830
872
  "category": "skills",
831
873
  "disposition": "transform",
832
874
  "loadMode": "referenced",
833
- "reason": "Workspace skill discovery without a root reference is unknown",
834
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
875
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
876
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
877
+ "extraTargets": [
878
+ "native-skills/spec-discovery/SKILL.md"
879
+ ]
835
880
  },
836
881
  {
837
882
  "source": "skills/technical-retro/SKILL.md",
@@ -839,8 +884,11 @@
839
884
  "category": "skills",
840
885
  "disposition": "transform",
841
886
  "loadMode": "referenced",
842
- "reason": "Workspace skill discovery without a root reference is unknown",
843
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
887
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
888
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
889
+ "extraTargets": [
890
+ "native-skills/technical-retro/SKILL.md"
891
+ ]
844
892
  },
845
893
  {
846
894
  "source": "skills/unit-testing/SKILL.md",
@@ -848,8 +896,11 @@
848
896
  "category": "skills",
849
897
  "disposition": "transform",
850
898
  "loadMode": "referenced",
851
- "reason": "Workspace skill discovery without a root reference is unknown",
852
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
899
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
900
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
901
+ "extraTargets": [
902
+ "native-skills/unit-testing/SKILL.md"
903
+ ]
853
904
  },
854
905
  {
855
906
  "source": "skills/write-adr/SKILL.md",
@@ -857,8 +908,11 @@
857
908
  "category": "skills",
858
909
  "disposition": "transform",
859
910
  "loadMode": "referenced",
860
- "reason": "Workspace skill discovery without a root reference is unknown",
861
- "sharedCoreStem": "quality/anti-hallucination-load-line.md"
911
+ "reason": "Skill metadata is kept (name/description) and the file is republished in the native MiniMax skill root",
912
+ "sharedCoreStem": "quality/anti-hallucination-load-line.md",
913
+ "extraTargets": [
914
+ "native-skills/write-adr/SKILL.md"
915
+ ]
862
916
  },
863
917
  {
864
918
  "source": "team/fixtures/bugfix-standard.json",
@@ -74,8 +74,9 @@ Write `.ai.local/team/tasks/<slug>/review.md` with this format:
74
74
  # Code review: <slug>
75
75
 
76
76
  ## Verdict
77
- APPROVE | APPROVE_WITH_NOTES | REQUEST_CHANGES
77
+ APPROVE | APPROVE_WITH_QUESTIONS | APPROVE_WITH_NOTES | REQUEST_CHANGES
78
78
  Findings carry `path:line`, severity, `confidence`, and a fix direction — rules in `code-review-mr` § Output contract.
79
+ `APPROVE_WITH_QUESTIONS` needs no `blocker`/`important` finding and at least one open question below.
79
80
 
80
81
  ## Critical (must fix)
81
82
  - ...
@@ -86,6 +87,9 @@ Findings carry `path:line`, severity, `confidence`, and a fix direction — rule
86
87
  ## Suggestions (nice to have)
87
88
  - ...
88
89
 
90
+ ## Open questions
91
+ - <question> — check: <what would settle it> — blocker-candidate: yes | no
92
+
89
93
  ## Depth passes
90
94
  | Pass | Outcome | Evidence or reason |
91
95
  |------|---------|--------------------|
@@ -13,6 +13,7 @@ npx @bonesofspring/ai-rules update
13
13
  2. Report the CLI summary to the user in their native language. It names each tool and the preset it kept.
14
14
  3. State the outcome in plain words. Exit code 0 means the update finished successfully. Any other exit means it did not finish successfully: quote stderr and stop.
15
15
  4. Do not report the numeric exit code.
16
+ 5. Commit the update on its own. Managed trees (`.cursor/`, `.claude/`, `.mavis/`, `.opencode/`, `.zcode/`, `.ai.local/scripts/`) and app work never share a commit or a merge request.
16
17
 
17
18
  ## Record
18
19
 
@@ -1,6 +1,26 @@
1
1
  # Mavis hooks
2
2
 
3
- No documented MiniMax project hook API is assumed.
3
+ MiniMax Code reads project hooks from `<project>/.minimax/hooks.json` — the project
4
+ file lives in the repository, so the preset ships it. Two handlers:
5
+
6
+ - `SessionStart` → `node .mavis/hooks/check-preset-update.mjs`: prints the preset-update
7
+ notice; with exit code 0 the text is added as agent context.
8
+ - `SubagentStop` → `node .mavis/hooks/mavis-chain-hook.mjs`: reconciles
9
+ `status.json` / `metrics.json` after a producer receipt.
10
+
11
+ `mavis-chain-hook.mjs` is the MiniMax adapter for the chain hook. It adds the
12
+ producer receipt the chain hook waits for (the MiniMax `SubagentStop` payload has
13
+ no `status` field) and turns the chain receipt into a MiniMax wire decision, so
14
+ the runtime does not report invalid output. A chain `followup_message`, and a
15
+ refusal `reason` when `ok` is false, become `hookSpecificOutput.additionalContext`:
16
+ the runtime hands it to the agent as a continuation prompt. Any other receipt
17
+ becomes `{}`. A re-entrant stop (`stop_hook_active`) or a non-kebab `agent_type`
18
+ does not run the chain.
19
+
20
+ A project hook does not run until the user turns it on in Settings → Hooks → Project
21
+ (once per project, on that machine). Until then the chain runs by hand. The
22
+ enablement is bound to the hook id — a digest of the event and the command — so a
23
+ preset update that changes the command needs the hook switched on again.
4
24
 
5
25
  ## Shipped
6
26
 
@@ -15,14 +35,16 @@ printf '%s\n' '{"status":"completed","attemptId":"<runtime-attempt-id>"}' \
15
35
  Do not invent it. Agents never write lifecycle fields in `status.json` or
16
36
  `metrics.json`.
17
37
 
18
- `check-preset-update.mjs` — run on the first reply: `node .mavis/hooks/check-preset-update.mjs`.
19
- When the recorded package is older than the npm latest, open the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update`. Do not fold it into the task text. Not auto-registered.
38
+ `mavis-chain-hook.mjs` — the native `SubagentStop` adapter. The native hook
39
+ calls it; it calls `run-hook.mjs chain-team-phases`.
20
40
 
21
- `list-ai-local.mjs` — run before reading or editing paths: `node .mavis/hooks/list-ai-local.mjs`. Pass the repo-relative paths. Not auto-registered.
41
+ `check-preset-update.mjs` — run on the first reply when the hook is off: `node .mavis/hooks/check-preset-update.mjs`.
42
+ When the recorded package is older than the npm latest, open the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update`. Do not fold it into the task text.
43
+
44
+ `list-ai-local.mjs` — run before reading or editing paths: `node .mavis/hooks/list-ai-local.mjs`. Pass the repo-relative paths. Not auto-registered: the probe is path-scoped, so a hook cannot reproduce it faithfully.
22
45
 
23
46
  ## Omitted
24
47
 
25
- - `hooks.json` — no native registration schema
26
- - `guard-shell-command.mjs` — not wired; no native hook schema, do not describe it as enforcement
27
- - `run-hook.mjs` — not wired; no native hook schema, the chain hook stays a manual runner
48
+ - `guard-shell-command.mjs` — the MiniMax `PreToolUse` event exists, but a tool-blocking guard is a behaviour change; the safety policy stays in entry prose
49
+ - `compact-shell-output.mjs` — Cursor preToolUse rewrite
28
50
  - `hooks/examples/**` — no confirmed Mavis event API
@@ -1393,6 +1393,40 @@ function missingConsumerArtifacts() {
1393
1393
  );
1394
1394
  return ids.filter((id) => !done.has(id));
1395
1395
  }
1396
+ // A step that names a gate agent is a promise the plan made to the diff. The
1397
+ // consumer config is optional, but a declared gate is not: an unreviewed diff
1398
+ // completed while the plan said "code-reviewer" reads as a passed review.
1399
+ // A step the run skipped (status.skippedSteps) or skipIf-matched never promised
1400
+ // anything, so it is not required here.
1401
+ const GATE_AGENTS = new Set([
1402
+ 'build-verifier',
1403
+ 'code-reviewer',
1404
+ 'mockup-reviewer',
1405
+ 'security-reviewer',
1406
+ 'accessibility-reviewer',
1407
+ 'api-contract-reviewer',
1408
+ 'performance-auditor',
1409
+ ]);
1410
+ function missingDeclaredGateArtifacts() {
1411
+ if (steps.length === 0) return [];
1412
+ let manifest = { artifacts: [] };
1413
+ try { manifest = JSON.parse(fs.readFileSync(path.join(taskDir, 'artifact-manifest.json'), 'utf8')); } catch {}
1414
+ const done = new Set(
1415
+ (manifest.artifacts || [])
1416
+ .filter((artifact) => artifact && artifact.status === 'completed')
1417
+ .map((artifact) => artifact.id),
1418
+ );
1419
+ const missing = [];
1420
+ steps.forEach((step, index) => {
1421
+ if (!step || isStepSkipped(index)) return;
1422
+ for (const agent of getStepAgents(step)) {
1423
+ if (!GATE_AGENTS.has(agent)) continue;
1424
+ const id = artifactOutputIdFor(step, agent);
1425
+ if (!done.has(id)) missing.push(`${id} (${agent}${step.id ? `, step ${step.id}` : ''})`);
1426
+ }
1427
+ });
1428
+ return [...new Set(missing)];
1429
+ }
1396
1430
  function completePipeline(statusPatch) {
1397
1431
  const missing = missingConsumerArtifacts();
1398
1432
  if (missing.length > 0) {
@@ -1400,6 +1434,12 @@ function completePipeline(statusPatch) {
1400
1434
  out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
1401
1435
  process.exit(0);
1402
1436
  }
1437
+ const missingGates = missingDeclaredGateArtifacts();
1438
+ if (missingGates.length > 0) {
1439
+ writeStatus({ ...statusPatch, phase: 'blocked', state: 'blocked', currentAgent: null, awaitingHumanGate: false });
1440
+ out(`Pipeline blocked for "${slug}": pipeline.json declares gate step(s) with no completed receipt: ${missingGates.join(', ')}. Run the step, or record it under status.skippedSteps with its reason, then resume with /task-continue ${slug}.`);
1441
+ process.exit(0);
1442
+ }
1403
1443
  // task_completed is written only on this branch. A missing receipt blocks
1404
1444
  // above and must not be counted as a finished task.
1405
1445
  status.state = 'completed';
@@ -0,0 +1,143 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * MiniMax native-hook adapter for the team chain.
4
+ *
5
+ * Three differences between the Cursor/Claude hook contract and the MiniMax
6
+ * hook protocol are closed here:
7
+ *
8
+ * 1. Trigger. The chain hook acts only when its stdin payload carries the
9
+ * producer receipt (status "completed"). The MiniMax SubagentStop payload
10
+ * carries agent_type / agent_id / last_assistant_message instead, so the
11
+ * adapter adds the trigger and forwards the payload unchanged.
12
+ * 2. Guards. A MiniMax stop is not automatically a producer receipt. A
13
+ * re-entrant stop (stop_hook_active) and a stop from one of the runtime's
14
+ * own agents must not advance the pipeline. This mirrors the Claude twin's
15
+ * SubagentStop block; the chain script here is the Cursor variant and has
16
+ * neither guard, and MiniMax has no hook loop limit to fall back on.
17
+ * 3. Output. The chain hook answers with its own receipt JSON (ok / action /
18
+ * followup_message), which is not a MiniMax wire decision: the runtime
19
+ * would reject it as HOOK_INVALID_OUTPUT. The adapter translates it - a
20
+ * followup_message, or a refusal reason when ok is false, becomes
21
+ * hookSpecificOutput.additionalContext (the runtime carries it into the
22
+ * agent as a continuation prompt). Anything else becomes an empty object,
23
+ * so the runtime does not see an undocumented key.
24
+ *
25
+ * The adapter never blocks the agent: it keeps the chain hook stderr and
26
+ * exits with its code.
27
+ */
28
+ import { spawn } from 'node:child_process';
29
+ import fs from 'node:fs';
30
+ import path from 'node:path';
31
+ import { fileURLToPath } from 'node:url';
32
+
33
+ const hookDir = path.dirname(fileURLToPath(import.meta.url));
34
+ const launcher = path.join(hookDir, 'run-hook.mjs');
35
+
36
+ function readStdin() {
37
+ try {
38
+ return fs.readFileSync(0, 'utf8');
39
+ } catch {
40
+ return '';
41
+ }
42
+ }
43
+
44
+ /** Preset roles are kebab-case; the runtime's own agents are not. */
45
+ const ROLE_NAME_RE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
46
+
47
+ /**
48
+ * The receipt to forward, or null when this stop is not a producer receipt.
49
+ * A missing or non-kebab agent_type means an internal agent, and
50
+ * stop_hook_active means this hook already continued the turn.
51
+ */
52
+ function buildReceipt(raw) {
53
+ let payload = {};
54
+ try {
55
+ const parsed = JSON.parse(raw);
56
+ if (parsed && typeof parsed === 'object' && !Array.isArray(parsed)) {
57
+ payload = parsed;
58
+ }
59
+ } catch {
60
+ payload = {};
61
+ }
62
+ if (payload.stop_hook_active === true) {
63
+ return null;
64
+ }
65
+ const agentType = typeof payload.agent_type === 'string' ? payload.agent_type : '';
66
+ if (!ROLE_NAME_RE.test(agentType)) {
67
+ return null;
68
+ }
69
+ // The agent binding stays in the forwarded payload.
70
+ return { ...payload, status: 'completed' };
71
+ }
72
+
73
+ function additionalContext(message) {
74
+ return JSON.stringify({
75
+ hookSpecificOutput: {
76
+ hookEventName: 'SubagentStop',
77
+ additionalContext: message,
78
+ },
79
+ });
80
+ }
81
+
82
+ /**
83
+ * MiniMax wire decision. The runtime rejects unknown keys, so the only
84
+ * documented carrier is hookSpecificOutput.additionalContext.
85
+ * A followup_message wins. A refusal reason (ok: false) uses the same field.
86
+ * Anything else is {}.
87
+ */
88
+ function toWireDecision(raw) {
89
+ const text = raw.trim();
90
+ if (!text) {
91
+ return '{}';
92
+ }
93
+ let parsed = null;
94
+ try {
95
+ parsed = JSON.parse(text);
96
+ } catch {
97
+ return '{}';
98
+ }
99
+ const message =
100
+ parsed && typeof parsed.followup_message === 'string' ? parsed.followup_message : '';
101
+ if (message) {
102
+ return additionalContext(message);
103
+ }
104
+ // A refusal carries a reason instead of a handoff; dropping it hides why the
105
+ // chain hook declined to advance. The reason rides the same documented key.
106
+ const reason =
107
+ parsed && parsed.ok === false && typeof parsed.reason === 'string' ? parsed.reason : '';
108
+ if (reason) {
109
+ return additionalContext(reason);
110
+ }
111
+ return '{}';
112
+ }
113
+
114
+ const receipt = buildReceipt(readStdin());
115
+ if (receipt === null) {
116
+ console.log('{}');
117
+ process.exit(0);
118
+ }
119
+
120
+ const child = spawn(process.execPath, [launcher, 'chain-team-phases'], {
121
+ cwd: process.cwd(),
122
+ stdio: ['pipe', 'pipe', 'inherit'],
123
+ });
124
+
125
+ let output = '';
126
+ child.stdout.on('data', (chunk) => {
127
+ output += chunk.toString('utf8');
128
+ });
129
+
130
+ child.on('error', () => {
131
+ console.log('{}');
132
+ process.exit(0);
133
+ });
134
+
135
+ child.on('close', (code) => {
136
+ console.log(toWireDecision(output));
137
+ process.exit(code === null ? 0 : code);
138
+ });
139
+
140
+ child.stdin.on('error', () => {
141
+ // The chain hook may exit before it reads stdin; the receipt is optional.
142
+ });
143
+ child.stdin.end(JSON.stringify(receipt));