@bonesofspring/ai-rules 0.2.86 → 0.2.90

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 (742) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/README.md +9 -1
  3. package/bin/lib/engine-scripts.js +11 -0
  4. package/bin/lib/seed-ai-local-team.js +79 -2
  5. package/bin/opencode-install.js +14 -12
  6. package/docs/OPENCODE-COMPATIBILITY.md +6 -4
  7. package/docs/OPENCODE.md +15 -8
  8. package/docs/PRESET-CONTRIBUTION.md +6 -6
  9. package/docs/TOKEN-ECONOMY.md +20 -0
  10. package/docs/openapi/team-db.v1.json +2 -2
  11. package/package.json +1 -1
  12. package/presets/_shared/ai-local/env.example +54 -0
  13. package/presets/_shared/ai-local/scripts/aggregate-agent-task-metrics.mjs +34 -5
  14. package/presets/_shared/ai-local/scripts/check-task-repositories.mjs +25 -22
  15. package/presets/_shared/ai-local/scripts/process-lease.mjs +3 -2
  16. package/presets/_shared/ai-local/scripts/processes.mjs +52 -20
  17. package/presets/_shared/ai-local/scripts/report-step-cost.mjs +544 -0
  18. package/presets/_shared/ai-local/scripts/run.mjs +38 -6
  19. package/presets/_shared/ai-local/scripts/settings.mjs +246 -0
  20. package/presets/_shared/ai-local/scripts/task-worktree.mjs +364 -0
  21. package/presets/_shared/ai-local/scripts/team-db-openapi.mjs +2 -2
  22. package/presets/_shared/ai-local/scripts/team-db-project.mjs +87 -14
  23. package/presets/_shared/ai-local/scripts/team-db-schema.mjs +102 -12
  24. package/presets/_shared/ai-local/scripts/team-db-tracker.mjs +35 -0
  25. package/presets/_shared/ai-local/scripts/tracker-planned-drain.mjs +10 -1
  26. package/presets/_shared/ai-local/scripts/verification.mjs +106 -11
  27. package/presets/_shared/assets/model-tiers.json +6 -0
  28. package/presets/_shared/core/agent-team/agent-task-metrics.md +10 -2
  29. package/presets/_shared/core/agent-team/agent-team-intake.md +2 -0
  30. package/presets/_shared/core/agent-team/agent-team-orchestrator.md +5 -5
  31. package/presets/_shared/core/meta/preset-writing-style.md +8 -0
  32. package/presets/_shared/hooks/chain-team-phases.sh.tmpl +541 -61
  33. package/presets/_shared/hooks/guard-shell-command.mjs.tmpl +841 -97
  34. package/presets/_shared/hooks/prompt-autoroute.mjs.tmpl +153 -0
  35. package/presets/claude/android-kotlin/CLAUDE.md +2 -4
  36. package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +541 -61
  37. package/presets/claude/android-kotlin/hooks/guard-shell-command.mjs +841 -97
  38. package/presets/claude/android-kotlin/hooks/prompt-autoroute.mjs +153 -0
  39. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-intake.md +2 -0
  40. package/presets/claude/android-kotlin/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  41. package/presets/claude/android-kotlin/rules/tooling-and-review/preset-writing-style.md +8 -0
  42. package/presets/claude/android-kotlin/settings.json +15 -5
  43. package/presets/claude/go/CLAUDE.md +2 -4
  44. package/presets/claude/go/hooks/chain-team-phases.sh +541 -61
  45. package/presets/claude/go/hooks/guard-shell-command.mjs +841 -97
  46. package/presets/claude/go/hooks/prompt-autoroute.mjs +153 -0
  47. package/presets/claude/go/rules/tooling-and-review/agent-team-intake.md +2 -0
  48. package/presets/claude/go/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  49. package/presets/claude/go/rules/tooling-and-review/preset-writing-style.md +8 -0
  50. package/presets/claude/go/settings.json +15 -5
  51. package/presets/claude/ios-swift/CLAUDE.md +2 -4
  52. package/presets/claude/ios-swift/hooks/chain-team-phases.sh +541 -61
  53. package/presets/claude/ios-swift/hooks/guard-shell-command.mjs +841 -97
  54. package/presets/claude/ios-swift/hooks/prompt-autoroute.mjs +153 -0
  55. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-intake.md +2 -0
  56. package/presets/claude/ios-swift/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  57. package/presets/claude/ios-swift/rules/tooling-and-review/preset-writing-style.md +8 -0
  58. package/presets/claude/ios-swift/settings.json +15 -5
  59. package/presets/claude/java/CLAUDE.md +2 -4
  60. package/presets/claude/java/hooks/chain-team-phases.sh +541 -61
  61. package/presets/claude/java/hooks/guard-shell-command.mjs +841 -97
  62. package/presets/claude/java/hooks/prompt-autoroute.mjs +153 -0
  63. package/presets/claude/java/rules/tooling-and-review/agent-team-intake.md +2 -0
  64. package/presets/claude/java/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  65. package/presets/claude/java/rules/tooling-and-review/preset-writing-style.md +8 -0
  66. package/presets/claude/java/settings.json +15 -5
  67. package/presets/claude/mcp-ts/CLAUDE.md +2 -4
  68. package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +541 -61
  69. package/presets/claude/mcp-ts/hooks/guard-shell-command.mjs +841 -97
  70. package/presets/claude/mcp-ts/hooks/prompt-autoroute.mjs +153 -0
  71. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-intake.md +2 -0
  72. package/presets/claude/mcp-ts/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  73. package/presets/claude/mcp-ts/rules/tooling-and-review/preset-writing-style.md +8 -0
  74. package/presets/claude/mcp-ts/settings.json +15 -5
  75. package/presets/claude/mol/CLAUDE.md +2 -4
  76. package/presets/claude/mol/agents/feature-developer.md +1 -1
  77. package/presets/claude/mol/ai-local/rules-library/commit-hygiene.md +1 -1
  78. package/presets/claude/mol/commands/task-evil.md +8 -0
  79. package/presets/claude/mol/hooks/chain-team-phases.sh +541 -61
  80. package/presets/claude/mol/hooks/guard-shell-command.mjs +841 -97
  81. package/presets/claude/mol/hooks/prompt-autoroute.mjs +153 -0
  82. package/presets/claude/mol/rules/tooling-and-review/agent-team-intake.md +2 -0
  83. package/presets/claude/mol/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  84. package/presets/claude/mol/rules/tooling-and-review/preset-writing-style.md +8 -0
  85. package/presets/claude/mol/settings.json +15 -4
  86. package/presets/claude/next/CLAUDE.md +2 -4
  87. package/presets/claude/next/REPO_AGENTS.md +2 -0
  88. package/presets/claude/next/agents/feature-developer.md +1 -1
  89. package/presets/claude/next/agents/task-analyst.md +1 -7
  90. package/presets/claude/next/agents/task-router.md +1 -1
  91. package/presets/claude/next/ai-local/rules-library/commit-hygiene.md +1 -1
  92. package/presets/claude/next/commands/spec-start.md +3 -4
  93. package/presets/claude/next/commands/task-continue.md +9 -8
  94. package/presets/claude/next/commands/task-evil.md +8 -0
  95. package/presets/claude/next/commands/task.md +1 -1
  96. package/presets/claude/next/hooks/chain-team-phases.sh +541 -61
  97. package/presets/claude/next/hooks/guard-shell-command.mjs +841 -97
  98. package/presets/claude/next/hooks/prompt-autoroute.mjs +153 -0
  99. package/presets/claude/next/rules/tooling-and-review/agent-team-intake.md +2 -0
  100. package/presets/claude/next/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  101. package/presets/claude/next/rules/tooling-and-review/preset-writing-style.md +8 -0
  102. package/presets/claude/next/settings.json +15 -4
  103. package/presets/claude/next/team/README.md +1 -1
  104. package/presets/claude/nuxt/CLAUDE.md +2 -4
  105. package/presets/claude/nuxt/hooks/chain-team-phases.sh +541 -61
  106. package/presets/claude/nuxt/hooks/guard-shell-command.mjs +841 -97
  107. package/presets/claude/nuxt/hooks/prompt-autoroute.mjs +153 -0
  108. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-intake.md +2 -0
  109. package/presets/claude/nuxt/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  110. package/presets/claude/nuxt/rules/tooling-and-review/preset-writing-style.md +8 -0
  111. package/presets/claude/nuxt/settings.json +15 -4
  112. package/presets/claude/php-hexagonal/CLAUDE.md +2 -4
  113. package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +541 -61
  114. package/presets/claude/php-hexagonal/hooks/guard-shell-command.mjs +841 -97
  115. package/presets/claude/php-hexagonal/hooks/prompt-autoroute.mjs +153 -0
  116. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-intake.md +2 -0
  117. package/presets/claude/php-hexagonal/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  118. package/presets/claude/php-hexagonal/rules/tooling-and-review/preset-writing-style.md +8 -0
  119. package/presets/claude/php-hexagonal/settings.json +15 -5
  120. package/presets/claude/php-laravel/CLAUDE.md +2 -4
  121. package/presets/claude/php-laravel/hooks/chain-team-phases.sh +541 -61
  122. package/presets/claude/php-laravel/hooks/guard-shell-command.mjs +841 -97
  123. package/presets/claude/php-laravel/hooks/prompt-autoroute.mjs +153 -0
  124. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-intake.md +2 -0
  125. package/presets/claude/php-laravel/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  126. package/presets/claude/php-laravel/rules/tooling-and-review/preset-writing-style.md +8 -0
  127. package/presets/claude/php-laravel/settings.json +15 -5
  128. package/presets/claude/svelte/CLAUDE.md +2 -4
  129. package/presets/claude/svelte/hooks/chain-team-phases.sh +541 -61
  130. package/presets/claude/svelte/hooks/guard-shell-command.mjs +841 -97
  131. package/presets/claude/svelte/hooks/prompt-autoroute.mjs +153 -0
  132. package/presets/claude/svelte/rules/tooling-and-review/agent-team-intake.md +2 -0
  133. package/presets/claude/svelte/rules/tooling-and-review/agent-team-orchestrator.md +5 -5
  134. package/presets/claude/svelte/rules/tooling-and-review/preset-writing-style.md +8 -0
  135. package/presets/claude/svelte/settings.json +15 -4
  136. package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +541 -61
  137. package/presets/cursor/android-kotlin/hooks/guard-shell-command.mjs +841 -97
  138. package/presets/cursor/android-kotlin/rules/agent-team-intake.mdc +2 -0
  139. package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +4 -4
  140. package/presets/cursor/android-kotlin/rules/preset-writing-style.mdc +8 -0
  141. package/presets/cursor/go/hooks/chain-team-phases.sh +541 -61
  142. package/presets/cursor/go/hooks/guard-shell-command.mjs +841 -97
  143. package/presets/cursor/go/rules/agent-team-intake.mdc +2 -0
  144. package/presets/cursor/go/rules/agent-team-orchestrator.mdc +4 -4
  145. package/presets/cursor/go/rules/preset-writing-style.mdc +8 -0
  146. package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +541 -61
  147. package/presets/cursor/ios-swift/hooks/guard-shell-command.mjs +841 -97
  148. package/presets/cursor/ios-swift/rules/agent-team-intake.mdc +2 -0
  149. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +4 -4
  150. package/presets/cursor/ios-swift/rules/preset-writing-style.mdc +8 -0
  151. package/presets/cursor/java/hooks/chain-team-phases.sh +541 -61
  152. package/presets/cursor/java/hooks/guard-shell-command.mjs +841 -97
  153. package/presets/cursor/java/rules/agent-team-intake.mdc +2 -0
  154. package/presets/cursor/java/rules/agent-team-orchestrator.mdc +4 -4
  155. package/presets/cursor/java/rules/preset-writing-style.mdc +8 -0
  156. package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +541 -61
  157. package/presets/cursor/mcp-ts/hooks/guard-shell-command.mjs +841 -97
  158. package/presets/cursor/mcp-ts/rules/agent-team-intake.mdc +2 -0
  159. package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +4 -4
  160. package/presets/cursor/mcp-ts/rules/preset-writing-style.mdc +8 -0
  161. package/presets/cursor/mol/agents/feature-developer.md +1 -1
  162. package/presets/cursor/mol/ai-local/rules-library/commit-hygiene.md +1 -1
  163. package/presets/cursor/mol/commands/task-evil.md +8 -0
  164. package/presets/cursor/mol/hooks/chain-team-phases.sh +541 -61
  165. package/presets/cursor/mol/hooks/guard-shell-command.mjs +841 -97
  166. package/presets/cursor/mol/rules/agent-team-intake.mdc +2 -0
  167. package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +4 -4
  168. package/presets/cursor/mol/rules/preset-writing-style.mdc +8 -0
  169. package/presets/cursor/next/REPO_AGENTS.md +2 -0
  170. package/presets/cursor/next/agents/feature-developer.md +1 -1
  171. package/presets/cursor/next/agents/task-analyst.md +1 -7
  172. package/presets/cursor/next/agents/task-router.md +1 -1
  173. package/presets/cursor/next/ai-local/rules-library/commit-hygiene.md +1 -1
  174. package/presets/cursor/next/commands/spec-start.md +3 -4
  175. package/presets/cursor/next/commands/task-continue.md +9 -8
  176. package/presets/cursor/next/commands/task-evil.md +8 -0
  177. package/presets/cursor/next/commands/task.md +1 -1
  178. package/presets/cursor/next/hooks/chain-team-phases.sh +541 -61
  179. package/presets/cursor/next/hooks/guard-shell-command.mjs +841 -97
  180. package/presets/cursor/next/rules/agent-team-intake.mdc +2 -0
  181. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +5 -5
  182. package/presets/cursor/next/rules/preset-writing-style.mdc +8 -0
  183. package/presets/cursor/next/team/README.md +1 -1
  184. package/presets/cursor/nuxt/hooks/chain-team-phases.sh +541 -61
  185. package/presets/cursor/nuxt/hooks/guard-shell-command.mjs +841 -97
  186. package/presets/cursor/nuxt/rules/agent-team-intake.mdc +2 -0
  187. package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +4 -4
  188. package/presets/cursor/nuxt/rules/preset-writing-style.mdc +8 -0
  189. package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +541 -61
  190. package/presets/cursor/php-hexagonal/hooks/guard-shell-command.mjs +841 -97
  191. package/presets/cursor/php-hexagonal/rules/agent-team-intake.mdc +2 -0
  192. package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +4 -4
  193. package/presets/cursor/php-hexagonal/rules/preset-writing-style.mdc +8 -0
  194. package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +541 -61
  195. package/presets/cursor/php-laravel/hooks/guard-shell-command.mjs +841 -97
  196. package/presets/cursor/php-laravel/rules/agent-team-intake.mdc +2 -0
  197. package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +4 -4
  198. package/presets/cursor/php-laravel/rules/preset-writing-style.mdc +8 -0
  199. package/presets/cursor/svelte/hooks/chain-team-phases.sh +541 -61
  200. package/presets/cursor/svelte/hooks/guard-shell-command.mjs +841 -97
  201. package/presets/cursor/svelte/rules/agent-team-intake.mdc +2 -0
  202. package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +4 -4
  203. package/presets/cursor/svelte/rules/preset-writing-style.mdc +8 -0
  204. package/presets/mavis/android-kotlin/MAVIS.md +1 -1
  205. package/presets/mavis/android-kotlin/adapter-map.json +1 -1
  206. package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +541 -61
  207. package/presets/mavis/android-kotlin/rules/agent-team-intake.md +2 -0
  208. package/presets/mavis/android-kotlin/rules/agent-team-orchestrator.md +5 -5
  209. package/presets/mavis/android-kotlin/rules/preset-writing-style.md +8 -0
  210. package/presets/mavis/go/MAVIS.md +1 -1
  211. package/presets/mavis/go/adapter-map.json +1 -1
  212. package/presets/mavis/go/hooks/chain-team-phases.sh +541 -61
  213. package/presets/mavis/go/rules/agent-team-intake.md +2 -0
  214. package/presets/mavis/go/rules/agent-team-orchestrator.md +5 -5
  215. package/presets/mavis/go/rules/preset-writing-style.md +8 -0
  216. package/presets/mavis/ios-swift/MAVIS.md +1 -1
  217. package/presets/mavis/ios-swift/adapter-map.json +1 -1
  218. package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +541 -61
  219. package/presets/mavis/ios-swift/rules/agent-team-intake.md +2 -0
  220. package/presets/mavis/ios-swift/rules/agent-team-orchestrator.md +5 -5
  221. package/presets/mavis/ios-swift/rules/preset-writing-style.md +8 -0
  222. package/presets/mavis/java/MAVIS.md +1 -1
  223. package/presets/mavis/java/adapter-map.json +1 -1
  224. package/presets/mavis/java/hooks/chain-team-phases.sh +541 -61
  225. package/presets/mavis/java/rules/agent-team-intake.md +2 -0
  226. package/presets/mavis/java/rules/agent-team-orchestrator.md +5 -5
  227. package/presets/mavis/java/rules/preset-writing-style.md +8 -0
  228. package/presets/mavis/mcp-ts/MAVIS.md +1 -1
  229. package/presets/mavis/mcp-ts/adapter-map.json +1 -1
  230. package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +541 -61
  231. package/presets/mavis/mcp-ts/rules/agent-team-intake.md +2 -0
  232. package/presets/mavis/mcp-ts/rules/agent-team-orchestrator.md +5 -5
  233. package/presets/mavis/mcp-ts/rules/preset-writing-style.md +8 -0
  234. package/presets/mavis/mol/MAVIS.md +1 -1
  235. package/presets/mavis/mol/adapter-map.json +1 -1
  236. package/presets/mavis/mol/agents/feature-developer.md +1 -1
  237. package/presets/mavis/mol/ai-local/rules-library/commit-hygiene.md +1 -1
  238. package/presets/mavis/mol/commands/task-evil.md +8 -0
  239. package/presets/mavis/mol/hooks/chain-team-phases.sh +541 -61
  240. package/presets/mavis/mol/native-skills/task-evil/SKILL.md +8 -0
  241. package/presets/mavis/mol/rules/agent-team-intake.md +2 -0
  242. package/presets/mavis/mol/rules/agent-team-orchestrator.md +5 -5
  243. package/presets/mavis/mol/rules/preset-writing-style.md +8 -0
  244. package/presets/mavis/next/MAVIS.md +1 -1
  245. package/presets/mavis/next/REPO_AGENTS.md +2 -0
  246. package/presets/mavis/next/adapter-map.json +1 -1
  247. package/presets/mavis/next/agents/feature-developer.md +1 -1
  248. package/presets/mavis/next/agents/task-analyst.md +1 -7
  249. package/presets/mavis/next/agents/task-router.md +1 -1
  250. package/presets/mavis/next/ai-local/rules-library/commit-hygiene.md +1 -1
  251. package/presets/mavis/next/commands/spec-start.md +3 -4
  252. package/presets/mavis/next/commands/task-continue.md +9 -8
  253. package/presets/mavis/next/commands/task-evil.md +8 -0
  254. package/presets/mavis/next/commands/task.md +1 -1
  255. package/presets/mavis/next/hooks/chain-team-phases.sh +541 -61
  256. package/presets/mavis/next/native-skills/spec-start/SKILL.md +3 -4
  257. package/presets/mavis/next/native-skills/task/SKILL.md +1 -1
  258. package/presets/mavis/next/native-skills/task-continue/SKILL.md +9 -8
  259. package/presets/mavis/next/native-skills/task-evil/SKILL.md +8 -0
  260. package/presets/mavis/next/rules/agent-team-intake.md +2 -0
  261. package/presets/mavis/next/rules/agent-team-orchestrator.md +5 -5
  262. package/presets/mavis/next/rules/preset-writing-style.md +8 -0
  263. package/presets/mavis/next/team/README.md +1 -1
  264. package/presets/mavis/nuxt/MAVIS.md +1 -1
  265. package/presets/mavis/nuxt/adapter-map.json +1 -1
  266. package/presets/mavis/nuxt/hooks/chain-team-phases.sh +541 -61
  267. package/presets/mavis/nuxt/rules/agent-team-intake.md +2 -0
  268. package/presets/mavis/nuxt/rules/agent-team-orchestrator.md +5 -5
  269. package/presets/mavis/nuxt/rules/preset-writing-style.md +8 -0
  270. package/presets/mavis/php-hexagonal/MAVIS.md +1 -1
  271. package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
  272. package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +541 -61
  273. package/presets/mavis/php-hexagonal/rules/agent-team-intake.md +2 -0
  274. package/presets/mavis/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
  275. package/presets/mavis/php-hexagonal/rules/preset-writing-style.md +8 -0
  276. package/presets/mavis/php-laravel/MAVIS.md +1 -1
  277. package/presets/mavis/php-laravel/adapter-map.json +1 -1
  278. package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +541 -61
  279. package/presets/mavis/php-laravel/rules/agent-team-intake.md +2 -0
  280. package/presets/mavis/php-laravel/rules/agent-team-orchestrator.md +5 -5
  281. package/presets/mavis/php-laravel/rules/preset-writing-style.md +8 -0
  282. package/presets/mavis/svelte/MAVIS.md +1 -1
  283. package/presets/mavis/svelte/adapter-map.json +1 -1
  284. package/presets/mavis/svelte/hooks/chain-team-phases.sh +541 -61
  285. package/presets/mavis/svelte/rules/agent-team-intake.md +2 -0
  286. package/presets/mavis/svelte/rules/agent-team-orchestrator.md +5 -5
  287. package/presets/mavis/svelte/rules/preset-writing-style.md +8 -0
  288. package/presets/opencode/android-kotlin/OPENCODE.md +5 -66
  289. package/presets/opencode/android-kotlin/adapter-map.json +42 -42
  290. package/presets/opencode/android-kotlin/agents/accessibility-reviewer.md +1 -1
  291. package/presets/opencode/android-kotlin/agents/api-contract-reviewer.md +1 -1
  292. package/presets/opencode/android-kotlin/agents/build-verifier.md +1 -1
  293. package/presets/opencode/android-kotlin/agents/ci-investigator.md +1 -1
  294. package/presets/opencode/android-kotlin/agents/code-reviewer.md +1 -1
  295. package/presets/opencode/android-kotlin/agents/codebase-analyzer.md +1 -1
  296. package/presets/opencode/android-kotlin/agents/debugger.md +1 -1
  297. package/presets/opencode/android-kotlin/agents/feature-developer.md +1 -1
  298. package/presets/opencode/android-kotlin/agents/instrumentation-test-generator.md +1 -1
  299. package/presets/opencode/android-kotlin/agents/instrumentation-test-healer.md +1 -1
  300. package/presets/opencode/android-kotlin/agents/instrumentation-test-planner.md +1 -1
  301. package/presets/opencode/android-kotlin/agents/migration-specialist.md +1 -1
  302. package/presets/opencode/android-kotlin/agents/mockup-reviewer.md +1 -1
  303. package/presets/opencode/android-kotlin/agents/openspec-author.md +1 -1
  304. package/presets/opencode/android-kotlin/agents/performance-auditor.md +1 -1
  305. package/presets/opencode/android-kotlin/agents/qa-tester.md +1 -1
  306. package/presets/opencode/android-kotlin/agents/security-reviewer.md +1 -1
  307. package/presets/opencode/android-kotlin/agents/solution-architect.md +1 -1
  308. package/presets/opencode/android-kotlin/agents/task-analyst.md +1 -1
  309. package/presets/opencode/android-kotlin/agents/task-router.md +1 -1
  310. package/presets/opencode/android-kotlin/agents/tech-writer.md +1 -1
  311. package/presets/opencode/android-kotlin/agents/unit-test-generator.md +1 -1
  312. package/presets/opencode/android-kotlin/agents/unit-test-healer.md +1 -1
  313. package/presets/opencode/android-kotlin/agents/unit-test-planner.md +1 -1
  314. package/presets/opencode/android-kotlin/commands/task-continue.md +1 -1
  315. package/presets/opencode/android-kotlin/hooks/README.md +12 -1
  316. package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +541 -61
  317. package/presets/opencode/android-kotlin/hooks/guard-shell-command.mjs +879 -0
  318. package/presets/opencode/android-kotlin/opencode.json +4 -4
  319. package/presets/opencode/android-kotlin/plugins/rule-attach/globs.json +167 -0
  320. package/presets/opencode/android-kotlin/rules/agent-team-intake.md +2 -0
  321. package/presets/opencode/android-kotlin/rules/agent-team-orchestrator.md +7 -7
  322. package/presets/opencode/android-kotlin/rules/preset-writing-style.md +8 -0
  323. package/presets/opencode/go/OPENCODE.md +5 -51
  324. package/presets/opencode/go/adapter-map.json +45 -45
  325. package/presets/opencode/go/agents/api-contract-reviewer.md +1 -1
  326. package/presets/opencode/go/agents/build-verifier.md +1 -1
  327. package/presets/opencode/go/agents/ci-investigator.md +1 -1
  328. package/presets/opencode/go/agents/code-reviewer.md +1 -1
  329. package/presets/opencode/go/agents/codebase-analyzer.md +1 -1
  330. package/presets/opencode/go/agents/debugger.md +1 -1
  331. package/presets/opencode/go/agents/feature-developer.md +1 -1
  332. package/presets/opencode/go/agents/integration-test-generator.md +1 -1
  333. package/presets/opencode/go/agents/integration-test-healer.md +1 -1
  334. package/presets/opencode/go/agents/integration-test-planner.md +1 -1
  335. package/presets/opencode/go/agents/migration-specialist.md +1 -1
  336. package/presets/opencode/go/agents/openspec-author.md +1 -1
  337. package/presets/opencode/go/agents/performance-auditor.md +1 -1
  338. package/presets/opencode/go/agents/qa-tester.md +1 -1
  339. package/presets/opencode/go/agents/security-reviewer.md +1 -1
  340. package/presets/opencode/go/agents/solution-architect.md +1 -1
  341. package/presets/opencode/go/agents/task-analyst.md +1 -1
  342. package/presets/opencode/go/agents/task-router.md +1 -1
  343. package/presets/opencode/go/agents/tech-writer.md +1 -1
  344. package/presets/opencode/go/agents/unit-test-generator.md +1 -1
  345. package/presets/opencode/go/agents/unit-test-healer.md +1 -1
  346. package/presets/opencode/go/agents/unit-test-planner.md +1 -1
  347. package/presets/opencode/go/commands/task-continue.md +1 -1
  348. package/presets/opencode/go/hooks/README.md +12 -1
  349. package/presets/opencode/go/hooks/chain-team-phases.sh +541 -61
  350. package/presets/opencode/go/hooks/guard-shell-command.mjs +878 -0
  351. package/presets/opencode/go/opencode.json +4 -4
  352. package/presets/opencode/go/plugins/rule-attach/globs.json +198 -0
  353. package/presets/opencode/go/rules/agent-team-intake.md +2 -0
  354. package/presets/opencode/go/rules/agent-team-orchestrator.md +7 -7
  355. package/presets/opencode/go/rules/preset-writing-style.md +8 -0
  356. package/presets/opencode/ios-swift/OPENCODE.md +5 -66
  357. package/presets/opencode/ios-swift/adapter-map.json +41 -41
  358. package/presets/opencode/ios-swift/agents/accessibility-reviewer.md +1 -1
  359. package/presets/opencode/ios-swift/agents/api-contract-reviewer.md +1 -1
  360. package/presets/opencode/ios-swift/agents/build-verifier.md +1 -1
  361. package/presets/opencode/ios-swift/agents/ci-investigator.md +1 -1
  362. package/presets/opencode/ios-swift/agents/code-reviewer.md +1 -1
  363. package/presets/opencode/ios-swift/agents/codebase-analyzer.md +1 -1
  364. package/presets/opencode/ios-swift/agents/debugger.md +1 -1
  365. package/presets/opencode/ios-swift/agents/feature-developer.md +1 -1
  366. package/presets/opencode/ios-swift/agents/migration-specialist.md +1 -1
  367. package/presets/opencode/ios-swift/agents/mockup-reviewer.md +1 -1
  368. package/presets/opencode/ios-swift/agents/openspec-author.md +1 -1
  369. package/presets/opencode/ios-swift/agents/performance-auditor.md +1 -1
  370. package/presets/opencode/ios-swift/agents/qa-tester.md +1 -1
  371. package/presets/opencode/ios-swift/agents/security-reviewer.md +1 -1
  372. package/presets/opencode/ios-swift/agents/solution-architect.md +1 -1
  373. package/presets/opencode/ios-swift/agents/task-analyst.md +1 -1
  374. package/presets/opencode/ios-swift/agents/task-router.md +1 -1
  375. package/presets/opencode/ios-swift/agents/tech-writer.md +1 -1
  376. package/presets/opencode/ios-swift/agents/unit-test-generator.md +1 -1
  377. package/presets/opencode/ios-swift/agents/unit-test-healer.md +1 -1
  378. package/presets/opencode/ios-swift/agents/unit-test-planner.md +1 -1
  379. package/presets/opencode/ios-swift/agents/xcuitest-test-generator.md +1 -1
  380. package/presets/opencode/ios-swift/agents/xcuitest-test-healer.md +1 -1
  381. package/presets/opencode/ios-swift/agents/xcuitest-test-planner.md +1 -1
  382. package/presets/opencode/ios-swift/commands/task-continue.md +1 -1
  383. package/presets/opencode/ios-swift/hooks/README.md +12 -1
  384. package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +541 -61
  385. package/presets/opencode/ios-swift/hooks/guard-shell-command.mjs +878 -0
  386. package/presets/opencode/ios-swift/opencode.json +4 -4
  387. package/presets/opencode/ios-swift/plugins/rule-attach/globs.json +160 -0
  388. package/presets/opencode/ios-swift/rules/agent-team-intake.md +2 -0
  389. package/presets/opencode/ios-swift/rules/agent-team-orchestrator.md +7 -7
  390. package/presets/opencode/ios-swift/rules/preset-writing-style.md +8 -0
  391. package/presets/opencode/java/OPENCODE.md +5 -58
  392. package/presets/opencode/java/adapter-map.json +45 -45
  393. package/presets/opencode/java/agents/api-contract-reviewer.md +1 -1
  394. package/presets/opencode/java/agents/build-verifier.md +1 -1
  395. package/presets/opencode/java/agents/ci-investigator.md +1 -1
  396. package/presets/opencode/java/agents/code-reviewer.md +1 -1
  397. package/presets/opencode/java/agents/codebase-analyzer.md +1 -1
  398. package/presets/opencode/java/agents/debugger.md +1 -1
  399. package/presets/opencode/java/agents/feature-developer.md +1 -1
  400. package/presets/opencode/java/agents/integration-test-generator.md +1 -1
  401. package/presets/opencode/java/agents/integration-test-healer.md +1 -1
  402. package/presets/opencode/java/agents/integration-test-planner.md +1 -1
  403. package/presets/opencode/java/agents/migration-specialist.md +1 -1
  404. package/presets/opencode/java/agents/openspec-author.md +1 -1
  405. package/presets/opencode/java/agents/performance-auditor.md +1 -1
  406. package/presets/opencode/java/agents/qa-tester.md +1 -1
  407. package/presets/opencode/java/agents/security-reviewer.md +1 -1
  408. package/presets/opencode/java/agents/solution-architect.md +1 -1
  409. package/presets/opencode/java/agents/task-analyst.md +1 -1
  410. package/presets/opencode/java/agents/task-router.md +1 -1
  411. package/presets/opencode/java/agents/tech-writer.md +1 -1
  412. package/presets/opencode/java/agents/unit-test-generator.md +1 -1
  413. package/presets/opencode/java/agents/unit-test-healer.md +1 -1
  414. package/presets/opencode/java/agents/unit-test-planner.md +1 -1
  415. package/presets/opencode/java/commands/task-continue.md +1 -1
  416. package/presets/opencode/java/hooks/README.md +12 -1
  417. package/presets/opencode/java/hooks/chain-team-phases.sh +541 -61
  418. package/presets/opencode/java/hooks/guard-shell-command.mjs +879 -0
  419. package/presets/opencode/java/opencode.json +4 -4
  420. package/presets/opencode/java/plugins/rule-attach/globs.json +230 -0
  421. package/presets/opencode/java/rules/agent-team-intake.md +2 -0
  422. package/presets/opencode/java/rules/agent-team-orchestrator.md +7 -7
  423. package/presets/opencode/java/rules/preset-writing-style.md +8 -0
  424. package/presets/opencode/mcp-ts/OPENCODE.md +5 -48
  425. package/presets/opencode/mcp-ts/adapter-map.json +36 -36
  426. package/presets/opencode/mcp-ts/agents/build-verifier.md +1 -1
  427. package/presets/opencode/mcp-ts/agents/feature-developer.md +1 -1
  428. package/presets/opencode/mcp-ts/agents/security-reviewer.md +1 -1
  429. package/presets/opencode/mcp-ts/agents/solution-architect.md +1 -1
  430. package/presets/opencode/mcp-ts/agents/task-analyst.md +1 -1
  431. package/presets/opencode/mcp-ts/agents/task-router.md +1 -1
  432. package/presets/opencode/mcp-ts/commands/task-continue.md +1 -1
  433. package/presets/opencode/mcp-ts/hooks/README.md +12 -1
  434. package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +541 -61
  435. package/presets/opencode/mcp-ts/hooks/guard-shell-command.mjs +878 -0
  436. package/presets/opencode/mcp-ts/opencode.json +4 -4
  437. package/presets/opencode/mcp-ts/plugins/rule-attach/globs.json +151 -0
  438. package/presets/opencode/mcp-ts/rules/agent-team-intake.md +2 -0
  439. package/presets/opencode/mcp-ts/rules/agent-team-orchestrator.md +7 -7
  440. package/presets/opencode/mcp-ts/rules/preset-writing-style.md +8 -0
  441. package/presets/opencode/mol/OPENCODE.md +5 -56
  442. package/presets/opencode/mol/adapter-map.json +31 -31
  443. package/presets/opencode/mol/agents/accessibility-reviewer.md +1 -1
  444. package/presets/opencode/mol/agents/api-contract-reviewer.md +1 -1
  445. package/presets/opencode/mol/agents/build-verifier.md +1 -1
  446. package/presets/opencode/mol/agents/ci-investigator.md +1 -1
  447. package/presets/opencode/mol/agents/code-reviewer.md +1 -1
  448. package/presets/opencode/mol/agents/codebase-analyzer.md +1 -1
  449. package/presets/opencode/mol/agents/debugger.md +1 -1
  450. package/presets/opencode/mol/agents/feature-developer.md +2 -2
  451. package/presets/opencode/mol/agents/migration-specialist.md +1 -1
  452. package/presets/opencode/mol/agents/mockup-reviewer.md +1 -1
  453. package/presets/opencode/mol/agents/openspec-author.md +1 -1
  454. package/presets/opencode/mol/agents/performance-auditor.md +1 -1
  455. package/presets/opencode/mol/agents/playwright-test-generator.md +1 -1
  456. package/presets/opencode/mol/agents/playwright-test-healer.md +1 -1
  457. package/presets/opencode/mol/agents/playwright-test-planner.md +1 -1
  458. package/presets/opencode/mol/agents/qa-tester.md +1 -1
  459. package/presets/opencode/mol/agents/security-reviewer.md +1 -1
  460. package/presets/opencode/mol/agents/solution-architect.md +1 -1
  461. package/presets/opencode/mol/agents/task-analyst.md +1 -1
  462. package/presets/opencode/mol/agents/task-router.md +1 -1
  463. package/presets/opencode/mol/agents/tech-writer.md +1 -1
  464. package/presets/opencode/mol/agents/unit-test-generator.md +1 -1
  465. package/presets/opencode/mol/agents/unit-test-healer.md +1 -1
  466. package/presets/opencode/mol/agents/unit-test-planner.md +1 -1
  467. package/presets/opencode/mol/ai-local/rules-library/commit-hygiene.md +1 -1
  468. package/presets/opencode/mol/commands/task-continue.md +1 -1
  469. package/presets/opencode/mol/commands/task-evil.md +8 -0
  470. package/presets/opencode/mol/hooks/README.md +12 -1
  471. package/presets/opencode/mol/hooks/chain-team-phases.sh +541 -61
  472. package/presets/opencode/mol/hooks/guard-shell-command.mjs +877 -0
  473. package/presets/opencode/mol/opencode.json +4 -4
  474. package/presets/opencode/mol/plugins/rule-attach/globs.json +112 -0
  475. package/presets/opencode/mol/rules/agent-team-intake.md +2 -0
  476. package/presets/opencode/mol/rules/agent-team-orchestrator.md +7 -7
  477. package/presets/opencode/mol/rules/preset-writing-style.md +8 -0
  478. package/presets/opencode/next/OPENCODE.md +5 -55
  479. package/presets/opencode/next/REPO_AGENTS.md +2 -0
  480. package/presets/opencode/next/adapter-map.json +56 -56
  481. package/presets/opencode/next/agents/accessibility-reviewer.md +1 -1
  482. package/presets/opencode/next/agents/api-contract-reviewer.md +1 -1
  483. package/presets/opencode/next/agents/build-verifier.md +1 -1
  484. package/presets/opencode/next/agents/ci-investigator.md +1 -1
  485. package/presets/opencode/next/agents/code-reviewer.md +1 -1
  486. package/presets/opencode/next/agents/codebase-analyzer.md +1 -1
  487. package/presets/opencode/next/agents/debugger.md +1 -1
  488. package/presets/opencode/next/agents/feature-developer.md +2 -2
  489. package/presets/opencode/next/agents/migration-specialist.md +1 -1
  490. package/presets/opencode/next/agents/mockup-reviewer.md +1 -1
  491. package/presets/opencode/next/agents/openspec-author.md +1 -1
  492. package/presets/opencode/next/agents/performance-auditor.md +1 -1
  493. package/presets/opencode/next/agents/playwright-test-generator.md +1 -1
  494. package/presets/opencode/next/agents/playwright-test-healer.md +1 -1
  495. package/presets/opencode/next/agents/playwright-test-planner.md +1 -1
  496. package/presets/opencode/next/agents/qa-tester.md +1 -1
  497. package/presets/opencode/next/agents/security-reviewer.md +1 -1
  498. package/presets/opencode/next/agents/solution-architect.md +1 -1
  499. package/presets/opencode/next/agents/task-analyst.md +2 -8
  500. package/presets/opencode/next/agents/task-router.md +2 -2
  501. package/presets/opencode/next/agents/tech-writer.md +1 -1
  502. package/presets/opencode/next/agents/unit-test-generator.md +1 -1
  503. package/presets/opencode/next/agents/unit-test-healer.md +1 -1
  504. package/presets/opencode/next/agents/unit-test-planner.md +1 -1
  505. package/presets/opencode/next/ai-local/rules-library/commit-hygiene.md +1 -1
  506. package/presets/opencode/next/commands/spec-start.md +3 -4
  507. package/presets/opencode/next/commands/task-continue.md +10 -9
  508. package/presets/opencode/next/commands/task-evil.md +8 -0
  509. package/presets/opencode/next/commands/task.md +1 -1
  510. package/presets/opencode/next/hooks/README.md +12 -1
  511. package/presets/opencode/next/hooks/chain-team-phases.sh +541 -61
  512. package/presets/opencode/next/hooks/guard-shell-command.mjs +877 -0
  513. package/presets/opencode/next/opencode.json +4 -4
  514. package/presets/opencode/next/plugins/rule-attach/globs.json +276 -0
  515. package/presets/opencode/next/rules/agent-team-intake.md +2 -0
  516. package/presets/opencode/next/rules/agent-team-orchestrator.md +7 -7
  517. package/presets/opencode/next/rules/preset-writing-style.md +8 -0
  518. package/presets/opencode/next/team/README.md +1 -1
  519. package/presets/opencode/nuxt/OPENCODE.md +5 -54
  520. package/presets/opencode/nuxt/adapter-map.json +51 -51
  521. package/presets/opencode/nuxt/agents/accessibility-reviewer.md +1 -1
  522. package/presets/opencode/nuxt/agents/api-contract-reviewer.md +1 -1
  523. package/presets/opencode/nuxt/agents/build-verifier.md +1 -1
  524. package/presets/opencode/nuxt/agents/ci-investigator.md +1 -1
  525. package/presets/opencode/nuxt/agents/code-reviewer.md +1 -1
  526. package/presets/opencode/nuxt/agents/codebase-analyzer.md +1 -1
  527. package/presets/opencode/nuxt/agents/debugger.md +1 -1
  528. package/presets/opencode/nuxt/agents/feature-developer.md +1 -1
  529. package/presets/opencode/nuxt/agents/migration-specialist.md +1 -1
  530. package/presets/opencode/nuxt/agents/mockup-reviewer.md +1 -1
  531. package/presets/opencode/nuxt/agents/openspec-author.md +1 -1
  532. package/presets/opencode/nuxt/agents/performance-auditor.md +1 -1
  533. package/presets/opencode/nuxt/agents/playwright-test-generator.md +1 -1
  534. package/presets/opencode/nuxt/agents/playwright-test-healer.md +1 -1
  535. package/presets/opencode/nuxt/agents/playwright-test-planner.md +1 -1
  536. package/presets/opencode/nuxt/agents/qa-tester.md +1 -1
  537. package/presets/opencode/nuxt/agents/security-reviewer.md +1 -1
  538. package/presets/opencode/nuxt/agents/solution-architect.md +1 -1
  539. package/presets/opencode/nuxt/agents/task-analyst.md +1 -1
  540. package/presets/opencode/nuxt/agents/task-router.md +1 -1
  541. package/presets/opencode/nuxt/agents/tech-writer.md +1 -1
  542. package/presets/opencode/nuxt/agents/unit-test-generator.md +1 -1
  543. package/presets/opencode/nuxt/agents/unit-test-healer.md +1 -1
  544. package/presets/opencode/nuxt/agents/unit-test-planner.md +1 -1
  545. package/presets/opencode/nuxt/commands/task-continue.md +1 -1
  546. package/presets/opencode/nuxt/hooks/README.md +12 -1
  547. package/presets/opencode/nuxt/hooks/chain-team-phases.sh +541 -61
  548. package/presets/opencode/nuxt/hooks/guard-shell-command.mjs +877 -0
  549. package/presets/opencode/nuxt/opencode.json +4 -4
  550. package/presets/opencode/nuxt/plugins/rule-attach/globs.json +266 -0
  551. package/presets/opencode/nuxt/rules/agent-team-intake.md +2 -0
  552. package/presets/opencode/nuxt/rules/agent-team-orchestrator.md +7 -7
  553. package/presets/opencode/nuxt/rules/preset-writing-style.md +8 -0
  554. package/presets/opencode/php-hexagonal/OPENCODE.md +5 -60
  555. package/presets/opencode/php-hexagonal/adapter-map.json +45 -45
  556. package/presets/opencode/php-hexagonal/agents/api-contract-reviewer.md +1 -1
  557. package/presets/opencode/php-hexagonal/agents/build-verifier.md +1 -1
  558. package/presets/opencode/php-hexagonal/agents/ci-investigator.md +1 -1
  559. package/presets/opencode/php-hexagonal/agents/code-reviewer.md +1 -1
  560. package/presets/opencode/php-hexagonal/agents/codebase-analyzer.md +1 -1
  561. package/presets/opencode/php-hexagonal/agents/debugger.md +1 -1
  562. package/presets/opencode/php-hexagonal/agents/feature-developer.md +1 -1
  563. package/presets/opencode/php-hexagonal/agents/integration-test-generator.md +1 -1
  564. package/presets/opencode/php-hexagonal/agents/integration-test-healer.md +1 -1
  565. package/presets/opencode/php-hexagonal/agents/integration-test-planner.md +1 -1
  566. package/presets/opencode/php-hexagonal/agents/migration-specialist.md +1 -1
  567. package/presets/opencode/php-hexagonal/agents/openspec-author.md +1 -1
  568. package/presets/opencode/php-hexagonal/agents/performance-auditor.md +1 -1
  569. package/presets/opencode/php-hexagonal/agents/qa-tester.md +1 -1
  570. package/presets/opencode/php-hexagonal/agents/security-reviewer.md +1 -1
  571. package/presets/opencode/php-hexagonal/agents/solution-architect.md +1 -1
  572. package/presets/opencode/php-hexagonal/agents/task-analyst.md +1 -1
  573. package/presets/opencode/php-hexagonal/agents/task-router.md +1 -1
  574. package/presets/opencode/php-hexagonal/agents/tech-writer.md +1 -1
  575. package/presets/opencode/php-hexagonal/agents/unit-test-generator.md +1 -1
  576. package/presets/opencode/php-hexagonal/agents/unit-test-healer.md +1 -1
  577. package/presets/opencode/php-hexagonal/agents/unit-test-planner.md +1 -1
  578. package/presets/opencode/php-hexagonal/commands/task-continue.md +1 -1
  579. package/presets/opencode/php-hexagonal/hooks/README.md +12 -1
  580. package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +541 -61
  581. package/presets/opencode/php-hexagonal/hooks/guard-shell-command.mjs +879 -0
  582. package/presets/opencode/php-hexagonal/opencode.json +4 -4
  583. package/presets/opencode/php-hexagonal/plugins/rule-attach/globs.json +242 -0
  584. package/presets/opencode/php-hexagonal/rules/agent-team-intake.md +2 -0
  585. package/presets/opencode/php-hexagonal/rules/agent-team-orchestrator.md +7 -7
  586. package/presets/opencode/php-hexagonal/rules/preset-writing-style.md +8 -0
  587. package/presets/opencode/php-laravel/OPENCODE.md +5 -60
  588. package/presets/opencode/php-laravel/adapter-map.json +45 -45
  589. package/presets/opencode/php-laravel/agents/api-contract-reviewer.md +1 -1
  590. package/presets/opencode/php-laravel/agents/build-verifier.md +1 -1
  591. package/presets/opencode/php-laravel/agents/ci-investigator.md +1 -1
  592. package/presets/opencode/php-laravel/agents/code-reviewer.md +1 -1
  593. package/presets/opencode/php-laravel/agents/codebase-analyzer.md +1 -1
  594. package/presets/opencode/php-laravel/agents/debugger.md +1 -1
  595. package/presets/opencode/php-laravel/agents/feature-developer.md +1 -1
  596. package/presets/opencode/php-laravel/agents/integration-test-generator.md +1 -1
  597. package/presets/opencode/php-laravel/agents/integration-test-healer.md +1 -1
  598. package/presets/opencode/php-laravel/agents/integration-test-planner.md +1 -1
  599. package/presets/opencode/php-laravel/agents/migration-specialist.md +1 -1
  600. package/presets/opencode/php-laravel/agents/openspec-author.md +1 -1
  601. package/presets/opencode/php-laravel/agents/performance-auditor.md +1 -1
  602. package/presets/opencode/php-laravel/agents/qa-tester.md +1 -1
  603. package/presets/opencode/php-laravel/agents/security-reviewer.md +1 -1
  604. package/presets/opencode/php-laravel/agents/solution-architect.md +1 -1
  605. package/presets/opencode/php-laravel/agents/task-analyst.md +1 -1
  606. package/presets/opencode/php-laravel/agents/task-router.md +1 -1
  607. package/presets/opencode/php-laravel/agents/tech-writer.md +1 -1
  608. package/presets/opencode/php-laravel/agents/unit-test-generator.md +1 -1
  609. package/presets/opencode/php-laravel/agents/unit-test-healer.md +1 -1
  610. package/presets/opencode/php-laravel/agents/unit-test-planner.md +1 -1
  611. package/presets/opencode/php-laravel/commands/task-continue.md +1 -1
  612. package/presets/opencode/php-laravel/hooks/README.md +12 -1
  613. package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +541 -61
  614. package/presets/opencode/php-laravel/hooks/guard-shell-command.mjs +879 -0
  615. package/presets/opencode/php-laravel/opencode.json +4 -4
  616. package/presets/opencode/php-laravel/plugins/rule-attach/globs.json +232 -0
  617. package/presets/opencode/php-laravel/rules/agent-team-intake.md +2 -0
  618. package/presets/opencode/php-laravel/rules/agent-team-orchestrator.md +7 -7
  619. package/presets/opencode/php-laravel/rules/preset-writing-style.md +8 -0
  620. package/presets/opencode/platform-contract.json +4 -0
  621. package/presets/opencode/plugins/output-guard/README.md +1 -1
  622. package/presets/opencode/plugins/output-guard/index.ts +8 -2
  623. package/presets/opencode/plugins/output-guard/rewrite.ts +37 -0
  624. package/presets/opencode/plugins/rule-attach/README.md +34 -0
  625. package/presets/opencode/plugins/rule-attach/attach.ts +224 -0
  626. package/presets/opencode/plugins/rule-attach/index.ts +169 -0
  627. package/presets/opencode/plugins/rule-attach/package.json +9 -0
  628. package/presets/opencode/plugins/settings-guard/README.md +25 -0
  629. package/presets/opencode/plugins/settings-guard/index.ts +114 -0
  630. package/presets/opencode/plugins/settings-guard/package.json +9 -0
  631. package/presets/opencode/plugins/settings-guard/policy.mjs +85 -0
  632. package/presets/opencode/plugins/settings-guard/prompt-face.mjs +153 -0
  633. package/presets/opencode/plugins/task-status/README.md +9 -4
  634. package/presets/opencode/plugins/task-status/eta.ts +20 -7
  635. package/presets/opencode/plugins/task-status/index.ts +14 -1
  636. package/presets/opencode/plugins/task-status/task-view.ts +160 -5
  637. package/presets/opencode/plugins/task-status/timing.ts +244 -0
  638. package/presets/opencode/plugins/task-status/types.ts +6 -0
  639. package/presets/opencode/svelte/OPENCODE.md +5 -54
  640. package/presets/opencode/svelte/adapter-map.json +51 -51
  641. package/presets/opencode/svelte/agents/accessibility-reviewer.md +1 -1
  642. package/presets/opencode/svelte/agents/api-contract-reviewer.md +1 -1
  643. package/presets/opencode/svelte/agents/build-verifier.md +1 -1
  644. package/presets/opencode/svelte/agents/ci-investigator.md +1 -1
  645. package/presets/opencode/svelte/agents/code-reviewer.md +1 -1
  646. package/presets/opencode/svelte/agents/codebase-analyzer.md +1 -1
  647. package/presets/opencode/svelte/agents/debugger.md +1 -1
  648. package/presets/opencode/svelte/agents/feature-developer.md +1 -1
  649. package/presets/opencode/svelte/agents/migration-specialist.md +1 -1
  650. package/presets/opencode/svelte/agents/mockup-reviewer.md +1 -1
  651. package/presets/opencode/svelte/agents/openspec-author.md +1 -1
  652. package/presets/opencode/svelte/agents/performance-auditor.md +1 -1
  653. package/presets/opencode/svelte/agents/playwright-test-generator.md +1 -1
  654. package/presets/opencode/svelte/agents/playwright-test-healer.md +1 -1
  655. package/presets/opencode/svelte/agents/playwright-test-planner.md +1 -1
  656. package/presets/opencode/svelte/agents/qa-tester.md +1 -1
  657. package/presets/opencode/svelte/agents/security-reviewer.md +1 -1
  658. package/presets/opencode/svelte/agents/solution-architect.md +1 -1
  659. package/presets/opencode/svelte/agents/task-analyst.md +1 -1
  660. package/presets/opencode/svelte/agents/task-router.md +1 -1
  661. package/presets/opencode/svelte/agents/tech-writer.md +1 -1
  662. package/presets/opencode/svelte/agents/unit-test-generator.md +1 -1
  663. package/presets/opencode/svelte/agents/unit-test-healer.md +1 -1
  664. package/presets/opencode/svelte/agents/unit-test-planner.md +1 -1
  665. package/presets/opencode/svelte/commands/task-continue.md +1 -1
  666. package/presets/opencode/svelte/hooks/README.md +12 -1
  667. package/presets/opencode/svelte/hooks/chain-team-phases.sh +541 -61
  668. package/presets/opencode/svelte/hooks/guard-shell-command.mjs +877 -0
  669. package/presets/opencode/svelte/opencode.json +4 -4
  670. package/presets/opencode/svelte/plugins/rule-attach/globs.json +245 -0
  671. package/presets/opencode/svelte/rules/agent-team-intake.md +2 -0
  672. package/presets/opencode/svelte/rules/agent-team-orchestrator.md +7 -7
  673. package/presets/opencode/svelte/rules/preset-writing-style.md +8 -0
  674. package/presets/zcode/android-kotlin/adapter-map.json +1 -1
  675. package/presets/zcode/android-kotlin/hooks/chain-team-phases.sh +541 -61
  676. package/presets/zcode/android-kotlin/rules/agent-team-intake.md +2 -0
  677. package/presets/zcode/android-kotlin/rules/agent-team-orchestrator.md +5 -5
  678. package/presets/zcode/android-kotlin/rules/preset-writing-style.md +8 -0
  679. package/presets/zcode/go/adapter-map.json +1 -1
  680. package/presets/zcode/go/hooks/chain-team-phases.sh +541 -61
  681. package/presets/zcode/go/rules/agent-team-intake.md +2 -0
  682. package/presets/zcode/go/rules/agent-team-orchestrator.md +5 -5
  683. package/presets/zcode/go/rules/preset-writing-style.md +8 -0
  684. package/presets/zcode/ios-swift/adapter-map.json +1 -1
  685. package/presets/zcode/ios-swift/hooks/chain-team-phases.sh +541 -61
  686. package/presets/zcode/ios-swift/rules/agent-team-intake.md +2 -0
  687. package/presets/zcode/ios-swift/rules/agent-team-orchestrator.md +5 -5
  688. package/presets/zcode/ios-swift/rules/preset-writing-style.md +8 -0
  689. package/presets/zcode/java/adapter-map.json +1 -1
  690. package/presets/zcode/java/hooks/chain-team-phases.sh +541 -61
  691. package/presets/zcode/java/rules/agent-team-intake.md +2 -0
  692. package/presets/zcode/java/rules/agent-team-orchestrator.md +5 -5
  693. package/presets/zcode/java/rules/preset-writing-style.md +8 -0
  694. package/presets/zcode/mcp-ts/adapter-map.json +1 -1
  695. package/presets/zcode/mcp-ts/hooks/chain-team-phases.sh +541 -61
  696. package/presets/zcode/mcp-ts/rules/agent-team-intake.md +2 -0
  697. package/presets/zcode/mcp-ts/rules/agent-team-orchestrator.md +5 -5
  698. package/presets/zcode/mcp-ts/rules/preset-writing-style.md +8 -0
  699. package/presets/zcode/mol/adapter-map.json +1 -1
  700. package/presets/zcode/mol/agents/feature-developer.md +1 -1
  701. package/presets/zcode/mol/ai-local/rules-library/commit-hygiene.md +1 -1
  702. package/presets/zcode/mol/commands/task-evil.md +8 -0
  703. package/presets/zcode/mol/hooks/chain-team-phases.sh +541 -61
  704. package/presets/zcode/mol/rules/agent-team-intake.md +2 -0
  705. package/presets/zcode/mol/rules/agent-team-orchestrator.md +5 -5
  706. package/presets/zcode/mol/rules/preset-writing-style.md +8 -0
  707. package/presets/zcode/next/REPO_AGENTS.md +2 -0
  708. package/presets/zcode/next/adapter-map.json +1 -1
  709. package/presets/zcode/next/agents/feature-developer.md +1 -1
  710. package/presets/zcode/next/agents/task-analyst.md +1 -7
  711. package/presets/zcode/next/agents/task-router.md +1 -1
  712. package/presets/zcode/next/ai-local/rules-library/commit-hygiene.md +1 -1
  713. package/presets/zcode/next/commands/spec-start.md +3 -4
  714. package/presets/zcode/next/commands/task-continue.md +9 -8
  715. package/presets/zcode/next/commands/task-evil.md +8 -0
  716. package/presets/zcode/next/commands/task.md +1 -1
  717. package/presets/zcode/next/hooks/chain-team-phases.sh +541 -61
  718. package/presets/zcode/next/rules/agent-team-intake.md +2 -0
  719. package/presets/zcode/next/rules/agent-team-orchestrator.md +5 -5
  720. package/presets/zcode/next/rules/preset-writing-style.md +8 -0
  721. package/presets/zcode/next/team/README.md +1 -1
  722. package/presets/zcode/nuxt/adapter-map.json +1 -1
  723. package/presets/zcode/nuxt/hooks/chain-team-phases.sh +541 -61
  724. package/presets/zcode/nuxt/rules/agent-team-intake.md +2 -0
  725. package/presets/zcode/nuxt/rules/agent-team-orchestrator.md +5 -5
  726. package/presets/zcode/nuxt/rules/preset-writing-style.md +8 -0
  727. package/presets/zcode/php-hexagonal/adapter-map.json +1 -1
  728. package/presets/zcode/php-hexagonal/hooks/chain-team-phases.sh +541 -61
  729. package/presets/zcode/php-hexagonal/rules/agent-team-intake.md +2 -0
  730. package/presets/zcode/php-hexagonal/rules/agent-team-orchestrator.md +5 -5
  731. package/presets/zcode/php-hexagonal/rules/preset-writing-style.md +8 -0
  732. package/presets/zcode/php-laravel/adapter-map.json +1 -1
  733. package/presets/zcode/php-laravel/hooks/chain-team-phases.sh +541 -61
  734. package/presets/zcode/php-laravel/rules/agent-team-intake.md +2 -0
  735. package/presets/zcode/php-laravel/rules/agent-team-orchestrator.md +5 -5
  736. package/presets/zcode/php-laravel/rules/preset-writing-style.md +8 -0
  737. package/presets/zcode/svelte/adapter-map.json +1 -1
  738. package/presets/zcode/svelte/hooks/chain-team-phases.sh +541 -61
  739. package/presets/zcode/svelte/rules/agent-team-intake.md +2 -0
  740. package/presets/zcode/svelte/rules/agent-team-orchestrator.md +5 -5
  741. package/presets/zcode/svelte/rules/preset-writing-style.md +8 -0
  742. package/scripts/report-context-cost.mjs +1 -20
@@ -12,4 +12,6 @@ When the user message looks like a **work request** (implement, add, fix, refact
12
12
  6. **Reuse the dialogue language already resolved on this turn** (always-on `ai-local-overlay` / **language-policy**). A question and a message without a slash command still resolve before you speak. When this request writes `prompt.md`, persist that tag once in the header (`language: <BCP-47>`) + a `.memlog.md` `event:` line. Development, reasoning, and artifacts stay English. The setting wins over a mid-task prompt switch (surface it once, never ask). See **language-policy**.
13
13
  7. **Project the intake write.** After `prompt.md` is written for an inline (non-`/task`) work request, run `node .ai.local/scripts/team-db.mjs sync --slug <slug> --deadline-ms 4500` once, so the new task row and its prompt reach the database. A projection failure is reported to the user, never blocks the request; the next full sync remains the convergence path. Do not run a full sync from intake.
14
14
 
15
+ On Cursor, Mavis, OpenCode and ZCode — the hosts without a verified prompt hook — run a request that is not already `/task` or `/task-continue` as `/task` when `node .ai.local/scripts/settings.mjs get AI_RULES_AUTOROUTE_UNCHAINED_PROMPTS` prints `true` and the live-slug count (every `.ai.local/team/tasks/*/status.json` whose `state` is not one of `completed`, `blocked`, `changes_requested`, `validation_failed`) is below the `node .ai.local/scripts/settings.mjs get AI_RULES_MAX_PARALLEL_TASKS` cap (`4` by default; `0` = unlimited). A prompt that names an existing slug or is a resume intent (`continue` / `resume` / `продолжай` family, `.ai.local/rules/task-resume.md`) routes to `/task-continue <slug>` regardless of the cap. <!-- i18n-keep: E4 -->
16
+
15
17
  Exceptions: user explicitly says “no pipeline”, “just do it”, or continues an active slug.
@@ -243,7 +243,7 @@ On each `subagentStop`, the hook reconciles `status.state` from the completing p
243
243
  3. One role per Task call — **except** parallel steps: multiple Task calls in one message.
244
244
  4. **Never** skip `humanGates` without `/task-continue` or explicit user approval.
245
245
  5. Persist handoffs to disk (`brief.md`, `decomposition.md`, `debug-report.md`, `validation-report.md`, `architecture.md`, `migration-plan.md`, `ci-report.md`, `a11y-review.md`, `perf-report.md`, `security-review.md`, `api-contract-review.md`, `unit-test-plan.md`, `documentation.md`, `review.md`, `mockup-review.md`, `ux-design.md`) and update the producer-owned terminal receipt in `artifact-manifest.json`.
246
- 6. On `changes_requested` from reviewers: hook sets `retryAfterFix` → developer → `build-verifier` (delta) → same reviewer when the fix touches code/tests; a docs/artifacts-only fix returns to the same reviewer without a code gate. Exception: embedded `mockup-reviewer` FAIL (`changes_requested` while the completed/current agent is `mockup-reviewer`) → `awaiting_approval` / `/task-continue` only — do **not** `retryAfterFix` to developer. A `mockup-reviewer` verdict `mockup-change-requested` (a defect whose fix belongs in the design source, not the implementation) routes the same way — `awaiting_approval`, no developer retry.
246
+ 6. On `changes_requested` from reviewers: the first time that agent returns it, the hook sets `retryAfterFix` → developer → `build-verifier` (delta) → same reviewer when the fix touches code/tests; a docs/artifacts-only fix returns to the same reviewer without a code gate. The second `changes_requested` from the same agent is a human gate (`awaitingHumanGate`, `designEscalation`): do not dispatch the developer. Append `decision: replan rev N → N+1` to `.memlog.md` (the decision changes the model), then `/task-continue`, which the hook accepts only when that line is new. Exception: embedded `mockup-reviewer` FAIL (`changes_requested` while the completed/current agent is `mockup-reviewer`) → `awaiting_approval` / `/task-continue` only — do **not** `retryAfterFix` to developer. A `mockup-reviewer` verdict `mockup-change-requested` (a defect whose fix belongs in the design source, not the implementation) routes the same way — `awaiting_approval`, no developer retry.
247
247
  7. On `validation_failed` from `build-verifier`: hook sets `retryAfterFix: build-verifier` → developer → build-verifier (delta).
248
248
  8. When all steps complete, suggest `/technical-retro <slug>`.
249
249
  9. If `autoChain: false` in pipeline, do not rely on hook — manual step only.
@@ -269,12 +269,12 @@ Use Task tool or `/agent-name`. Pass: slug, artifact paths, step `scope` if set.
269
269
  ### Model when invoking (Task)
270
270
 
271
271
  1. Read `steps[i].model` if present; else use the agent’s frontmatter `model` (see `agents/README.md` matrix).
272
- 2. Resolve the tier through `.ai.local/team/model-tiers.json` → `tiers.<tier>` when that file exists. The user approved that map, so passing an explicit model is allowed. Pass the resolved `providerID/modelID` (or `providerID/modelID#variant`) to the Task/subagent tool.
272
+ 2. Resolve the tier through `.ai.local/team/model-tiers.json` → `tiers.<tier>` when that file is an approved map. An empty `tiers` object with an empty `approvedBy` is the unfilled template: omit the model and the session model applies. Once `approvedBy` is set or any tier value is set, the file is the map, so passing an explicit model is allowed. Pass the resolved `providerID/modelID` (or `providerID/modelID#variant`) to the Task/subagent tool.
273
273
  - **`cheap`** → router, analyst, tech-writer, codebase-analyzer, and the review roles `code-reviewer`, `build-verifier`, `api-contract-reviewer`, `mockup-reviewer`. Resolve the provider through `.ai.local/team/model-tiers.json`. Do not write a provider id into the agent file. Pass the mapped id as written; do not append `#high`.
274
274
  - **`standard`** → implementation and the other non-review specialists. `feature-developer` stays on this tier.
275
275
  - **`strong`** → architecture, security, migration, performance. Never downgrade a `strong` step to the parent default, and do not put `mockup-reviewer` on `strong`.
276
- - When `steps[i].model` is omitted and the agent file has no `model`, those four review roles stay `cheap` when `.ai.local/team/model-tiers.json` exists. Without that file, omit the model and the session model applies.
277
- - If a tier is declared but the file has no mapping, **STOP** and report `model-tier-unmapped`; do not silently inherit the parent model.
276
+ - When `steps[i].model` is omitted and the agent file has no `model`, those four review roles stay `cheap` when the map has a `cheap` value. Without the file, or while the template is still empty, omit the model and the session model applies.
277
+ - If a tier is declared, the map is approved, and that tier has no mapping, **STOP** and report `model-tier-unmapped`; do not silently inherit the parent model.
278
278
  3. If the tool does not accept a model (Cursor/Claude adapters), record the resolved tier in the handoff and let the platform pin apply.
279
279
  4. Parallel steps: apply the step-level `model` to **each** agent in the array (or omit → each agent’s own frontmatter).
280
280
  5. The tier never changes the step order, gates, receipts, or retry policy.
@@ -287,7 +287,7 @@ node .ai.local/scripts/record-usage.mjs --task <slug> --attempt <attemptId> --in
287
287
 
288
288
  The chain hook also forwards a `usage` object from its input into the `attempt_finished` event. Never estimate or invent token counts; a missing usage record stays missing.
289
289
 
290
- After each agent completes, verify its terminal manifest receipt, then let the orchestration runtime/hook reconcile `status.json` (`completed`, a blocking outcome, or `awaiting_approval`) from that receipt. Pass the active slug explicitly: `TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh` (or the host's hook path). The `active-task.json` pointer is a single-slot fallback and a parallel session can overwrite it; do not rely on it alone. Do not ask the agent to mutate shared lifecycle fields, and do not invoke the next specialist until the hook has written the handoff / updated `status.json`.
290
+ After each agent completes, verify its terminal manifest receipt, then let the orchestration runtime/hook reconcile `status.json` (`completed`, a blocking outcome, or `awaiting_approval`) from that receipt. **MUST: pass `TEAM_TASK_SLUG=<slug>` on every hook call** — `TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh` (or the host's hook path). With more than one live slug, an omitted env is a hook refusal (`active-task-pointer-ambiguous`, `ok:false`), never a silent reroute: re-run with the env set. The OpenCode task-status plugin pins each tab in `.ai.local/team/.session-leases/<session>.json` and injects `AI_RULES_SESSION_ID` on `shell.env`, so a later hook call in that tab resolves through the lease when `TEAM_TASK_SLUG` is omitted. `active-task.json` is the live-slug list, not a tab binding. Do not ask the agent to mutate shared lifecycle fields, and do not invoke the next specialist until the hook has written the handoff / updated `status.json`.
291
291
 
292
292
  ## Legacy mode
293
293
 
@@ -25,6 +25,14 @@ Write for two readers at once: an **agent** loading one file out of context, and
25
25
  - No scenario storytelling, rhetorical questions, or meta-narration ("this section explains…").
26
26
  - No duplicated rule text across stems — link instead.
27
27
 
28
+ ## Shell guards
29
+
30
+ A write or execute guard allowlists the benign shapes and answers `ask` on anything it cannot classify. `allow` on an unknown shape is a defect.
31
+
32
+ - Name the bypass class — abbreviations, aliases, quoting, shell wrappers, config-injection options (`-c`, `--exec`, `--receive-pack`), value-consumption mismatch — not a list of spellings.
33
+ - Probe each shape with the flag on, the flag off, a sentinel, and an unreadable config. Quote the tool output. A green gate set is not that evidence.
34
+ - Compare every probed shape with the previous answer. A shape that asked before and allows now is a blocker.
35
+
28
36
  ## Size
29
37
 
30
38
  - Shortest form that still changes behavior: if a bullet fits as a clause, make it a clause.
@@ -1,69 +1,8 @@
1
1
  # Android Kotlin stack — OpenCode agent team
2
2
 
3
- Short OpenCode entry. Native discovery: `.opencode/agents/`,
4
- `.opencode/skills/`, `.opencode/commands/`. Rule files under
5
- `.opencode/rules/*.md` are **not** auto-loaded.
3
+ Docs: `docs/OPENCODE.md`.
6
4
 
7
- Root `AGENTS.md` is native always-on. Read it first, then this file.
8
-
9
- ## How to load
10
-
11
- - Essential rules: Read immediately (paths below). Do not preload the catalog.
12
- - Other rules: lazy `Read` `.opencode/rules/<stem>.md` when the task matches.
13
- - Agents: native `@name` / Task from `.opencode/agents/`.
14
- - Commands: native `/task` from `.opencode/commands/`.
15
- - After a producer receipt, run the chain by hand (`projectHooks` is `manual`): `printf '%s\n' '{"status":"completed"}' | TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh`. Agents never write `status.json` / `metrics.json`.
16
-
17
- ## Essential rules (read every turn)
18
-
19
- - `.opencode/rules/android-app-core.md`
20
- - `.opencode/rules/architecture-boundaries.md`
21
- - `.opencode/rules/code-quality-and-refactoring.md`
22
- - `.opencode/rules/ai-local-overlay.md`
23
-
24
- Every turn, run `list-ai-local.mjs` from the host hooks directory with the paths this step will touch, then apply the printed `.ai.local/rules/*.md` and
25
- `.ai.local/conventions.md`. Acknowledge `Using .ai.local: <rule-name>`.
26
- Guide: `docs/LOCAL-OVERLAY.md`. These essential rules are a prompt contract.
27
- `nativeProjectRules` is `no-equivalent` — do not claim engine `alwaysApply`.
28
-
29
- See `.opencode/rules/README.md` for the full catalog and loading strategy.
30
-
31
- **Platform docs:** published with the `@bonesofspring/ai-rules` package
32
- (`docs/OPENCODE.md`, `docs/OPENCODE-COMPATIBILITY.md`) — **not** copied into
33
- the consumer repo. Source: https://github.com/bonesofspring/ai-rules
34
-
35
- **Repo-root agents:** see [`AGENTS.md`](../../AGENTS.md) at the project root (cross-tool setup, commands, security, living conventions pointers).
36
-
37
- ## Quick start
38
-
39
- | Task | Where to look |
40
- |------|----------------|
41
- | Any new work request | `/task` → `commands/task.md` + `agent-team-orchestrator.md` (+ `agent-team-intake.md` on-demand) |
42
- | New end-to-end feature | skill `feature-delivery` + `feature-delivery-workflow.md` |
43
- | Stack and layers | `android-app-core.md`, `architecture-boundaries.md` |
44
- | Reference modules | `reference-features.md` (placeholders `applications/`, `features/<name>/`, `build-logic/`) |
45
- | Toolchain / Gradle | `gradle-tooling.md` (requestable) |
46
- | After Kotlin/Android edits | `post-change-build.md` (**requestable**, required after edits; full gate — `build-verifier`) |
47
- | Code review MR | skill `code-review` + `code-review-mr.md` |
48
- | UI tests | skill `instrumentation-ui-e2e` + agents `instrumentation-test-*` |
49
- | Security | `security-android.md` |
50
- | Compose / MVI | `compose-ui.md`, `state-and-viewmodels.md` |
51
- | Technical retro | `/technical-retro` + skill `technical-retro` |
52
-
53
- ## Dogfood (5 scenarios)
54
-
55
- 1. `/task` — new feature under `features/<name>/`.
56
- 2. ViewModel bug — debugger + unit test.
57
- 3. Mapper — unit-test-planner/generator.
58
- 4. UI flow — instrumentation-test trio.
59
- 5. Auth/storage — security-reviewer + `security-android.md`.
60
-
61
- ## When to use `/task`
62
-
63
- - Implementation, bugfix, migration, tests, MR review, CI-fix — **prefer `/task`**.
64
- - Simple one-liner with no architectural risk — may skip the pipeline if the user explicitly asks.
65
- - “How does X work?” questions — agent `codebase-analyzer` (explain-as-is) or answer without `/task`.
66
-
67
- ## Pipeline routing
68
-
69
- Intent detection, profiles (`full` / `standard` / `light`), and default steps — **only** in `agents/task-router.md`. Schema and rename map — `agents/README.md`.
5
+ - Discovery: `.opencode/{agents,skills,commands}/` native; the engine never auto-loads `.opencode/rules/*.md` — `rule-attach` attaches a glob-matched rule once per `(sessionID, stem)` (stack globs, `bash`/`shell`).
6
+ - Essentials: `opencode.json` `instructions` — android-app-core, architecture-boundaries, code-quality-and-refactoring, ai-local-overlay; `nativeProjectRules` is `no-equivalent`.
7
+ - Overlay: `node .opencode/hooks/list-ai-local.mjs <paths>` → `.ai.local/rules/*.md`, `.ai.local/conventions.md`, ack `Using .ai.local: <rule-name>` (`docs/LOCAL-OVERLAY.md`).
8
+ - Chain: `projectHooks` is `manual` — `printf '%s\n' '{"status":"completed"}' | TEAM_TASK_SLUG=<slug> bash .opencode/hooks/chain-team-phases.sh`.
@@ -3,7 +3,7 @@
3
3
  "platform": "opencode",
4
4
  "stack": "android-kotlin",
5
5
  "semanticSource": "cursor/android-kotlin",
6
- "sourceRevision": "2b9949cbeda8a4e81e452ae70db9dee6875b58708c15eaf83af66b9f06bba09a",
6
+ "sourceRevision": "f5f38c73e979643bab919d45d63b51f950c7b6154564253f2a7ec11ffbe1e8a6",
7
7
  "entries": [
8
8
  {
9
9
  "source": "AGENTS.md",
@@ -384,11 +384,11 @@
384
384
  },
385
385
  {
386
386
  "source": "hooks/guard-shell-command.mjs",
387
- "target": null,
387
+ "target": "hooks/guard-shell-command.mjs",
388
388
  "category": "hooks",
389
- "disposition": "omit",
390
- "loadMode": "not-installed",
391
- "reason": "omit from active wiring; no native hook schema, safety policy stays in entry prose"
389
+ "disposition": "transform",
390
+ "loadMode": "manual",
391
+ "reason": "Rendered from the shared template with a pure evaluate(event); runnable CLI, no host event dispatches it on v2.4.1"
392
392
  },
393
393
  {
394
394
  "source": "hooks/list-ai-local.mjs",
@@ -420,7 +420,7 @@
420
420
  "category": "rules",
421
421
  "disposition": "transform",
422
422
  "loadMode": "referenced",
423
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
423
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
424
424
  "sharedCoreStem": "agent-team/agent-team-intake.md"
425
425
  },
426
426
  {
@@ -429,7 +429,7 @@
429
429
  "category": "rules",
430
430
  "disposition": "transform",
431
431
  "loadMode": "referenced",
432
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
432
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
433
433
  "sharedCoreStem": "agent-team/agent-team-orchestrator.md"
434
434
  },
435
435
  {
@@ -454,7 +454,7 @@
454
454
  "category": "rules",
455
455
  "disposition": "transform",
456
456
  "loadMode": "referenced",
457
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
457
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
458
458
  "sharedCoreStem": "quality/anti-hallucination-contract.md"
459
459
  },
460
460
  {
@@ -463,7 +463,7 @@
463
463
  "category": "rules",
464
464
  "disposition": "transform",
465
465
  "loadMode": "referenced",
466
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
466
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
467
467
  "sharedCoreStem": "quality/anti-sycophancy-discipline.md"
468
468
  },
469
469
  {
@@ -489,7 +489,7 @@
489
489
  "category": "rules",
490
490
  "disposition": "transform",
491
491
  "loadMode": "referenced",
492
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
492
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
493
493
  "sharedCoreStem": "review/code-review-mr.md"
494
494
  },
495
495
  {
@@ -498,7 +498,7 @@
498
498
  "category": "rules",
499
499
  "disposition": "transform",
500
500
  "loadMode": "referenced",
501
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
501
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
502
502
  },
503
503
  {
504
504
  "source": "rules/design-guidance.mdc",
@@ -506,7 +506,7 @@
506
506
  "category": "rules",
507
507
  "disposition": "transform",
508
508
  "loadMode": "referenced",
509
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
509
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
510
510
  "sharedCoreStem": "quality/design-guidance.md"
511
511
  },
512
512
  {
@@ -515,7 +515,7 @@
515
515
  "category": "rules",
516
516
  "disposition": "transform",
517
517
  "loadMode": "referenced",
518
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
518
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
519
519
  },
520
520
  {
521
521
  "source": "rules/feature-delivery-workflow.mdc",
@@ -523,7 +523,7 @@
523
523
  "category": "rules",
524
524
  "disposition": "transform",
525
525
  "loadMode": "referenced",
526
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
526
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
527
527
  "sharedCoreStem": "architecture/feature-delivery-workflow.md"
528
528
  },
529
529
  {
@@ -532,7 +532,7 @@
532
532
  "category": "rules",
533
533
  "disposition": "transform",
534
534
  "loadMode": "referenced",
535
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
535
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
536
536
  },
537
537
  {
538
538
  "source": "rules/interactive-questions.mdc",
@@ -540,7 +540,7 @@
540
540
  "category": "rules",
541
541
  "disposition": "transform",
542
542
  "loadMode": "referenced",
543
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
543
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
544
544
  "sharedCoreStem": "quality/interactive-questions.md"
545
545
  },
546
546
  {
@@ -549,7 +549,7 @@
549
549
  "category": "rules",
550
550
  "disposition": "transform",
551
551
  "loadMode": "referenced",
552
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
552
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
553
553
  },
554
554
  {
555
555
  "source": "rules/kotlin-conventions.mdc",
@@ -557,7 +557,7 @@
557
557
  "category": "rules",
558
558
  "disposition": "transform",
559
559
  "loadMode": "referenced",
560
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
560
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
561
561
  },
562
562
  {
563
563
  "source": "rules/language-policy.mdc",
@@ -565,7 +565,7 @@
565
565
  "category": "rules",
566
566
  "disposition": "transform",
567
567
  "loadMode": "referenced",
568
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
568
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
569
569
  "sharedCoreStem": "agent-team/language-policy.md"
570
570
  },
571
571
  {
@@ -574,7 +574,7 @@
574
574
  "category": "rules",
575
575
  "disposition": "transform",
576
576
  "loadMode": "referenced",
577
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
577
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
578
578
  "sharedCoreStem": "quality/mcp-usage.md"
579
579
  },
580
580
  {
@@ -583,7 +583,7 @@
583
583
  "category": "rules",
584
584
  "disposition": "transform",
585
585
  "loadMode": "referenced",
586
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
586
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
587
587
  "sharedCoreStem": "review/mockup-review.md"
588
588
  },
589
589
  {
@@ -592,7 +592,7 @@
592
592
  "category": "rules",
593
593
  "disposition": "transform",
594
594
  "loadMode": "referenced",
595
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
595
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
596
596
  },
597
597
  {
598
598
  "source": "rules/navigation-feature-launcher.mdc",
@@ -600,7 +600,7 @@
600
600
  "category": "rules",
601
601
  "disposition": "transform",
602
602
  "loadMode": "referenced",
603
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
603
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
604
604
  },
605
605
  {
606
606
  "source": "rules/networking-data.mdc",
@@ -608,7 +608,7 @@
608
608
  "category": "rules",
609
609
  "disposition": "transform",
610
610
  "loadMode": "referenced",
611
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
611
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
612
612
  },
613
613
  {
614
614
  "source": "rules/persistence-data.mdc",
@@ -616,7 +616,7 @@
616
616
  "category": "rules",
617
617
  "disposition": "transform",
618
618
  "loadMode": "referenced",
619
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
619
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
620
620
  },
621
621
  {
622
622
  "source": "rules/post-change-build.mdc",
@@ -624,7 +624,7 @@
624
624
  "category": "rules",
625
625
  "disposition": "transform",
626
626
  "loadMode": "referenced",
627
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
627
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
628
628
  },
629
629
  {
630
630
  "source": "rules/preset-goals.mdc",
@@ -632,7 +632,7 @@
632
632
  "category": "rules",
633
633
  "disposition": "transform",
634
634
  "loadMode": "referenced",
635
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
635
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
636
636
  "sharedCoreStem": "meta/preset-goals.md"
637
637
  },
638
638
  {
@@ -641,7 +641,7 @@
641
641
  "category": "rules",
642
642
  "disposition": "transform",
643
643
  "loadMode": "referenced",
644
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
644
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
645
645
  "sharedCoreStem": "meta/preset-layering.md"
646
646
  },
647
647
  {
@@ -650,7 +650,7 @@
650
650
  "category": "rules",
651
651
  "disposition": "transform",
652
652
  "loadMode": "referenced",
653
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
653
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
654
654
  "sharedCoreStem": "meta/preset-no-cross-stack-leakage.md"
655
655
  },
656
656
  {
@@ -659,7 +659,7 @@
659
659
  "category": "rules",
660
660
  "disposition": "transform",
661
661
  "loadMode": "referenced",
662
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
662
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
663
663
  "sharedCoreStem": "meta/preset-pr-checklist.md"
664
664
  },
665
665
  {
@@ -668,7 +668,7 @@
668
668
  "category": "rules",
669
669
  "disposition": "transform",
670
670
  "loadMode": "referenced",
671
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
671
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
672
672
  "sharedCoreStem": "meta/preset-token-budget.md"
673
673
  },
674
674
  {
@@ -677,7 +677,7 @@
677
677
  "category": "rules",
678
678
  "disposition": "transform",
679
679
  "loadMode": "referenced",
680
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
680
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
681
681
  "sharedCoreStem": "meta/preset-twin-sync.md"
682
682
  },
683
683
  {
@@ -686,7 +686,7 @@
686
686
  "category": "rules",
687
687
  "disposition": "transform",
688
688
  "loadMode": "referenced",
689
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
689
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
690
690
  "sharedCoreStem": "meta/preset-writing-style.md"
691
691
  },
692
692
  {
@@ -695,7 +695,7 @@
695
695
  "category": "rules",
696
696
  "disposition": "transform",
697
697
  "loadMode": "referenced",
698
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
698
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
699
699
  "sharedCoreStem": "architecture/product-specs-authoring.md"
700
700
  },
701
701
  {
@@ -704,7 +704,7 @@
704
704
  "category": "rules",
705
705
  "disposition": "transform",
706
706
  "loadMode": "referenced",
707
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
707
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
708
708
  "sharedCoreStem": "architecture/product-specs.md"
709
709
  },
710
710
  {
@@ -713,7 +713,7 @@
713
713
  "category": "rules",
714
714
  "disposition": "transform",
715
715
  "loadMode": "referenced",
716
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
716
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
717
717
  "sharedCoreStem": "architecture/reference-features.template.md"
718
718
  },
719
719
  {
@@ -722,7 +722,7 @@
722
722
  "category": "rules",
723
723
  "disposition": "transform",
724
724
  "loadMode": "referenced",
725
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
725
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
726
726
  },
727
727
  {
728
728
  "source": "rules/state-and-viewmodels.mdc",
@@ -730,7 +730,7 @@
730
730
  "category": "rules",
731
731
  "disposition": "transform",
732
732
  "loadMode": "referenced",
733
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
733
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
734
734
  },
735
735
  {
736
736
  "source": "rules/technical-retro.mdc",
@@ -738,7 +738,7 @@
738
738
  "category": "rules",
739
739
  "disposition": "transform",
740
740
  "loadMode": "referenced",
741
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
741
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
742
742
  "sharedCoreStem": "review/technical-retro.md"
743
743
  },
744
744
  {
@@ -747,7 +747,7 @@
747
747
  "category": "rules",
748
748
  "disposition": "transform",
749
749
  "loadMode": "referenced",
750
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
750
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
751
751
  },
752
752
  {
753
753
  "source": "rules/tests-unit.mdc",
@@ -755,7 +755,7 @@
755
755
  "category": "rules",
756
756
  "disposition": "transform",
757
757
  "loadMode": "referenced",
758
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded"
758
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached"
759
759
  },
760
760
  {
761
761
  "source": "rules/ux-design.mdc",
@@ -763,7 +763,7 @@
763
763
  "category": "rules",
764
764
  "disposition": "transform",
765
765
  "loadMode": "referenced",
766
- "reason": "Requestable Cursor rule: lazy Read from .opencode/rules; not auto-loaded",
766
+ "reason": "Requestable Cursor rule: rule-attach attaches the body on a glob match; lazy Read only when unattached",
767
767
  "sharedCoreStem": "review/ux-design.md"
768
768
  },
769
769
  {
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -8,7 +8,7 @@ permission:
8
8
 
9
9
  ## Rules to load (subagent context)
10
10
 
11
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
12
12
 
13
13
  - `.opencode/rules/android-app-core.md`
14
14
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only review artifacts under `.ai.local/team/**`. Do not edit production co
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -8,7 +8,7 @@ permission:
8
8
 
9
9
  ## Rules to load (subagent context)
10
10
 
11
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
12
12
 
13
13
  - `.opencode/rules/android-app-core.md`
14
14
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -8,7 +8,7 @@ permission:
8
8
 
9
9
  ## Rules to load (subagent context)
10
10
 
11
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
12
12
 
13
13
  - `.opencode/rules/android-app-core.md`
14
14
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -8,7 +8,7 @@ permission:
8
8
 
9
9
  ## Rules to load (subagent context)
10
10
 
11
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
12
12
 
13
13
  - `.opencode/rules/android-app-core.md`
14
14
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -8,7 +8,7 @@ permission:
8
8
 
9
9
  ## Rules to load (subagent context)
10
10
 
11
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
11
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
12
12
 
13
13
  - `.opencode/rules/android-app-core.md`
14
14
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports
@@ -12,7 +12,7 @@ Write only team artifacts under `.ai.local/team/**`. Do not edit production code
12
12
 
13
13
  ## Rules to load (subagent context)
14
14
 
15
- This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting:
15
+ This subagent does **not** inherit `opencode.json` `instructions`. Read these rules explicitly before acting; a rule the `rule-attach` plugin already attached to your context need not be Read again:
16
16
 
17
17
  - `.opencode/rules/android-app-core.md`
18
18
  - `.opencode/rules/architecture-boundaries.md` — layer boundaries and allowed imports