@bonesofspring/ai-rules 0.2.76 → 0.2.77

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 (593) hide show
  1. package/CHANGELOG.md +54 -0
  2. package/docs/PRESET-CONTRIBUTION.md +6 -3
  3. package/docs/ZCODE.md +1 -1
  4. package/package.json +5 -1
  5. package/presets/_shared/ai-local/scripts/check-write-scope.mjs +70 -8
  6. package/presets/_shared/core/architecture/feature-delivery-workflow.md +1 -1
  7. package/presets/claude/android-kotlin/CLAUDE.md +1 -1
  8. package/presets/claude/android-kotlin/REPO_AGENTS.md +8 -0
  9. package/presets/claude/android-kotlin/agents/README.md +4 -0
  10. package/presets/claude/android-kotlin/agents/accessibility-reviewer.md +1 -1
  11. package/presets/claude/android-kotlin/agents/api-contract-reviewer.md +1 -1
  12. package/presets/claude/android-kotlin/agents/build-verifier.md +1 -1
  13. package/presets/claude/android-kotlin/agents/ci-investigator.md +0 -1
  14. package/presets/claude/android-kotlin/agents/code-reviewer.md +1 -1
  15. package/presets/claude/android-kotlin/agents/codebase-analyzer.md +1 -1
  16. package/presets/claude/android-kotlin/agents/debugger.md +0 -1
  17. package/presets/claude/android-kotlin/agents/feature-developer.md +0 -1
  18. package/presets/claude/android-kotlin/agents/migration-specialist.md +1 -1
  19. package/presets/claude/android-kotlin/agents/mockup-reviewer.md +1 -0
  20. package/presets/claude/android-kotlin/agents/openspec-author.md +2 -1
  21. package/presets/claude/android-kotlin/agents/performance-auditor.md +1 -1
  22. package/presets/claude/android-kotlin/agents/qa-tester.md +0 -1
  23. package/presets/claude/android-kotlin/agents/security-reviewer.md +1 -1
  24. package/presets/claude/android-kotlin/agents/solution-architect.md +1 -1
  25. package/presets/claude/android-kotlin/agents/task-analyst.md +1 -1
  26. package/presets/claude/android-kotlin/agents/task-router.md +1 -1
  27. package/presets/claude/android-kotlin/agents/tech-writer.md +1 -1
  28. package/presets/claude/android-kotlin/agents/unit-test-generator.md +0 -1
  29. package/presets/claude/android-kotlin/agents/unit-test-healer.md +0 -1
  30. package/presets/claude/android-kotlin/agents/unit-test-planner.md +1 -1
  31. package/presets/claude/android-kotlin/rules/architecture/feature-delivery.md +66 -8
  32. package/presets/claude/android-kotlin/rules/architecture/reference-features.md +48 -2
  33. package/presets/claude/android-kotlin/skills/unit-testing/SKILL.md +1 -1
  34. package/presets/claude/android-kotlin/team/fixtures/feature-parallel.json +84 -0
  35. package/presets/claude/go/CLAUDE.md +1 -1
  36. package/presets/claude/go/REPO_AGENTS.md +8 -0
  37. package/presets/claude/go/agents/README.md +4 -0
  38. package/presets/claude/go/agents/api-contract-reviewer.md +1 -1
  39. package/presets/claude/go/agents/build-verifier.md +1 -1
  40. package/presets/claude/go/agents/ci-investigator.md +0 -1
  41. package/presets/claude/go/agents/code-reviewer.md +3 -3
  42. package/presets/claude/go/agents/codebase-analyzer.md +1 -1
  43. package/presets/claude/go/agents/debugger.md +0 -1
  44. package/presets/claude/go/agents/feature-developer.md +2 -3
  45. package/presets/claude/go/agents/integration-test-generator.md +1 -2
  46. package/presets/claude/go/agents/integration-test-healer.md +1 -2
  47. package/presets/claude/go/agents/integration-test-planner.md +1 -2
  48. package/presets/claude/go/agents/migration-specialist.md +1 -1
  49. package/presets/claude/go/agents/openspec-author.md +2 -1
  50. package/presets/claude/go/agents/performance-auditor.md +1 -1
  51. package/presets/claude/go/agents/qa-tester.md +0 -1
  52. package/presets/claude/go/agents/security-reviewer.md +2 -2
  53. package/presets/claude/go/agents/solution-architect.md +1 -1
  54. package/presets/claude/go/agents/task-analyst.md +1 -1
  55. package/presets/claude/go/agents/task-router.md +1 -1
  56. package/presets/claude/go/agents/tech-writer.md +1 -1
  57. package/presets/claude/go/agents/unit-test-generator.md +1 -2
  58. package/presets/claude/go/agents/unit-test-healer.md +1 -2
  59. package/presets/claude/go/agents/unit-test-planner.md +1 -1
  60. package/presets/claude/go/rules/architecture/feature-delivery.md +50 -1
  61. package/presets/claude/go/rules/architecture/reference-features.md +22 -0
  62. package/presets/claude/go/skills/feature-delivery/SKILL.md +2 -2
  63. package/presets/claude/go/skills/unit-testing/SKILL.md +1 -1
  64. package/presets/claude/go/team/fixtures/feature-parallel.json +84 -0
  65. package/presets/claude/ios-swift/CLAUDE.md +1 -1
  66. package/presets/claude/ios-swift/REPO_AGENTS.md +8 -0
  67. package/presets/claude/ios-swift/agents/README.md +4 -0
  68. package/presets/claude/ios-swift/agents/accessibility-reviewer.md +1 -1
  69. package/presets/claude/ios-swift/agents/api-contract-reviewer.md +1 -1
  70. package/presets/claude/ios-swift/agents/build-verifier.md +1 -1
  71. package/presets/claude/ios-swift/agents/ci-investigator.md +0 -1
  72. package/presets/claude/ios-swift/agents/code-reviewer.md +1 -1
  73. package/presets/claude/ios-swift/agents/codebase-analyzer.md +1 -1
  74. package/presets/claude/ios-swift/agents/debugger.md +0 -1
  75. package/presets/claude/ios-swift/agents/feature-developer.md +0 -1
  76. package/presets/claude/ios-swift/agents/migration-specialist.md +1 -1
  77. package/presets/claude/ios-swift/agents/mockup-reviewer.md +1 -0
  78. package/presets/claude/ios-swift/agents/openspec-author.md +2 -1
  79. package/presets/claude/ios-swift/agents/performance-auditor.md +1 -1
  80. package/presets/claude/ios-swift/agents/qa-tester.md +0 -1
  81. package/presets/claude/ios-swift/agents/security-reviewer.md +1 -1
  82. package/presets/claude/ios-swift/agents/solution-architect.md +1 -1
  83. package/presets/claude/ios-swift/agents/task-analyst.md +1 -1
  84. package/presets/claude/ios-swift/agents/task-router.md +1 -1
  85. package/presets/claude/ios-swift/agents/tech-writer.md +1 -1
  86. package/presets/claude/ios-swift/agents/unit-test-generator.md +0 -1
  87. package/presets/claude/ios-swift/agents/unit-test-healer.md +0 -1
  88. package/presets/claude/ios-swift/agents/unit-test-planner.md +1 -1
  89. package/presets/claude/ios-swift/agents/xcuitest-test-generator.md +0 -1
  90. package/presets/claude/ios-swift/agents/xcuitest-test-healer.md +0 -1
  91. package/presets/claude/ios-swift/agents/xcuitest-test-planner.md +0 -1
  92. package/presets/claude/ios-swift/rules/architecture/feature-delivery.md +8 -8
  93. package/presets/claude/ios-swift/rules/architecture/reference-features.md +2 -21
  94. package/presets/claude/ios-swift/skills/unit-testing/SKILL.md +1 -1
  95. package/presets/claude/ios-swift/team/fixtures/feature-parallel.json +84 -0
  96. package/presets/claude/java/CLAUDE.md +2 -2
  97. package/presets/claude/java/REPO_AGENTS.md +8 -0
  98. package/presets/claude/java/agents/README.md +4 -0
  99. package/presets/claude/java/agents/api-contract-reviewer.md +1 -1
  100. package/presets/claude/java/agents/build-verifier.md +1 -1
  101. package/presets/claude/java/agents/ci-investigator.md +0 -1
  102. package/presets/claude/java/agents/code-reviewer.md +3 -3
  103. package/presets/claude/java/agents/codebase-analyzer.md +1 -1
  104. package/presets/claude/java/agents/debugger.md +0 -1
  105. package/presets/claude/java/agents/feature-developer.md +2 -3
  106. package/presets/claude/java/agents/integration-test-generator.md +1 -2
  107. package/presets/claude/java/agents/integration-test-healer.md +1 -2
  108. package/presets/claude/java/agents/integration-test-planner.md +1 -2
  109. package/presets/claude/java/agents/migration-specialist.md +1 -1
  110. package/presets/claude/java/agents/openspec-author.md +2 -1
  111. package/presets/claude/java/agents/performance-auditor.md +1 -1
  112. package/presets/claude/java/agents/qa-tester.md +0 -1
  113. package/presets/claude/java/agents/security-reviewer.md +2 -2
  114. package/presets/claude/java/agents/solution-architect.md +1 -1
  115. package/presets/claude/java/agents/task-analyst.md +1 -1
  116. package/presets/claude/java/agents/task-router.md +1 -1
  117. package/presets/claude/java/agents/tech-writer.md +1 -1
  118. package/presets/claude/java/agents/unit-test-generator.md +1 -2
  119. package/presets/claude/java/agents/unit-test-healer.md +1 -2
  120. package/presets/claude/java/agents/unit-test-planner.md +1 -1
  121. package/presets/claude/java/rules/architecture/feature-delivery.md +51 -1
  122. package/presets/claude/java/rules/architecture/reference-features.md +22 -0
  123. package/presets/claude/java/skills/feature-delivery/SKILL.md +2 -2
  124. package/presets/claude/java/team/fixtures/feature-parallel.json +84 -0
  125. package/presets/claude/mcp-ts/CLAUDE.md +1 -1
  126. package/presets/claude/mcp-ts/REPO_AGENTS.md +8 -0
  127. package/presets/claude/mcp-ts/agents/README.md +4 -0
  128. package/presets/claude/mcp-ts/agents/build-verifier.md +1 -1
  129. package/presets/claude/mcp-ts/agents/feature-developer.md +2 -3
  130. package/presets/claude/mcp-ts/agents/security-reviewer.md +2 -2
  131. package/presets/claude/mcp-ts/agents/solution-architect.md +1 -1
  132. package/presets/claude/mcp-ts/agents/task-analyst.md +1 -1
  133. package/presets/claude/mcp-ts/agents/task-router.md +1 -1
  134. package/presets/claude/mcp-ts/rules/architecture/feature-delivery.md +47 -1
  135. package/presets/claude/mcp-ts/rules/architecture/reference-features.md +22 -0
  136. package/presets/claude/mcp-ts/skills/code-review/SKILL.md +1 -1
  137. package/presets/claude/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
  138. package/presets/claude/mcp-ts/skills/unit-testing/SKILL.md +1 -1
  139. package/presets/claude/mcp-ts/team/fixtures/feature-parallel.json +84 -0
  140. package/presets/claude/mol/CLAUDE.md +1 -1
  141. package/presets/claude/mol/REPO_AGENTS.md +8 -0
  142. package/presets/claude/mol/agents/README.md +2 -4
  143. package/presets/claude/mol/agents/accessibility-reviewer.md +1 -0
  144. package/presets/claude/mol/agents/api-contract-reviewer.md +1 -0
  145. package/presets/claude/mol/agents/build-verifier.md +1 -0
  146. package/presets/claude/mol/agents/code-reviewer.md +1 -0
  147. package/presets/claude/mol/agents/codebase-analyzer.md +1 -0
  148. package/presets/claude/mol/agents/migration-specialist.md +1 -0
  149. package/presets/claude/mol/agents/mockup-reviewer.md +1 -0
  150. package/presets/claude/mol/agents/openspec-author.md +1 -0
  151. package/presets/claude/mol/agents/performance-auditor.md +1 -0
  152. package/presets/claude/mol/agents/security-reviewer.md +1 -0
  153. package/presets/claude/mol/agents/solution-architect.md +1 -0
  154. package/presets/claude/mol/agents/task-analyst.md +1 -0
  155. package/presets/claude/mol/agents/task-router.md +1 -0
  156. package/presets/claude/mol/agents/tech-writer.md +1 -0
  157. package/presets/claude/mol/agents/unit-test-planner.md +1 -0
  158. package/presets/claude/mol/rules/architecture/feature-delivery-workflow.md +10 -10
  159. package/presets/claude/mol/rules/architecture/reference-features.md +0 -19
  160. package/presets/claude/next/CLAUDE.md +3 -3
  161. package/presets/claude/next/REPO_AGENTS.md +8 -0
  162. package/presets/claude/next/agents/README.md +4 -0
  163. package/presets/claude/next/agents/accessibility-reviewer.md +1 -0
  164. package/presets/claude/next/agents/api-contract-reviewer.md +1 -0
  165. package/presets/claude/next/agents/build-verifier.md +1 -0
  166. package/presets/claude/next/agents/code-reviewer.md +1 -0
  167. package/presets/claude/next/agents/codebase-analyzer.md +1 -1
  168. package/presets/claude/next/agents/migration-specialist.md +1 -0
  169. package/presets/claude/next/agents/mockup-reviewer.md +1 -0
  170. package/presets/claude/next/agents/openspec-author.md +1 -0
  171. package/presets/claude/next/agents/performance-auditor.md +1 -0
  172. package/presets/claude/next/agents/security-reviewer.md +1 -0
  173. package/presets/claude/next/agents/solution-architect.md +1 -0
  174. package/presets/claude/next/agents/task-analyst.md +1 -0
  175. package/presets/claude/next/agents/task-router.md +12 -0
  176. package/presets/claude/next/agents/tech-writer.md +1 -0
  177. package/presets/claude/next/agents/unit-test-planner.md +1 -0
  178. package/presets/claude/next/ai-local/rules-library/agent-artifacts-no-local-paths.md +71 -0
  179. package/presets/claude/next/ai-local/rules-library/agent-pipeline-gates.md +19 -0
  180. package/presets/claude/next/ai-local/rules-library/analytics-events.md +18 -0
  181. package/presets/claude/next/ai-local/rules-library/api-contract-source.md +14 -0
  182. package/presets/claude/next/ai-local/rules-library/artifact-lifecycle.md +17 -0
  183. package/presets/claude/next/ai-local/rules-library/code-style.md +68 -0
  184. package/presets/claude/next/ai-local/rules-library/commit-hygiene.md +17 -0
  185. package/presets/claude/next/ai-local/rules-library/component-child-decomposition.md +81 -0
  186. package/presets/claude/next/ai-local/rules-library/feature-flags-experiments.md +15 -0
  187. package/presets/claude/next/ai-local/rules-library/mcp-required-for-ui-layout.md +45 -0
  188. package/presets/claude/next/ai-local/rules-library/no-react-fc.md +46 -0
  189. package/presets/claude/next/ai-local/rules-library/no-test-driven-behavior-change.md +14 -0
  190. package/presets/claude/next/ai-local/rules-library/pre-pr-checklist.md +16 -0
  191. package/presets/claude/next/ai-local/rules-library/pwa-service-worker.md +15 -0
  192. package/presets/claude/next/ai-local/rules-library/qa-test-cases.md +14 -0
  193. package/presets/claude/next/ai-local/rules-library/router-pages.md +25 -0
  194. package/presets/claude/next/ai-local/rules-library/single-source-copy-constants.md +18 -0
  195. package/presets/claude/next/ai-local/rules-library/storybook-catalog-structure.md +62 -0
  196. package/presets/claude/next/ai-local/rules-library/storybook-cleanup-temp-screenshots.md +40 -0
  197. package/presets/claude/next/ai-local/rules-library/storybook-csf-authoring.md +100 -0
  198. package/presets/claude/next/ai-local/rules-library/storybook-dev-compare-figma.md +72 -0
  199. package/presets/claude/next/ai-local/rules-library/storybook-keep-tests-current.md +75 -0
  200. package/presets/claude/next/ai-local/rules-library/storybook-modals.md +64 -0
  201. package/presets/claude/next/ai-local/rules-library/storybook-no-app-node-modules.md +40 -0
  202. package/presets/claude/next/ai-local/rules-library/storybook-ui-quality-gate.md +38 -0
  203. package/presets/claude/next/ai-local/rules-library/ui-change-review-gate.md +16 -0
  204. package/presets/claude/next/rules/architecture/feature-delivery-workflow.md +13 -13
  205. package/presets/claude/next/rules/architecture/reference-features.md +0 -19
  206. package/presets/claude/next/rules/stack/next-app-core.md +1 -1
  207. package/presets/claude/next/team/fixtures/feature-l2-lite.json +27 -0
  208. package/presets/claude/nuxt/CLAUDE.md +3 -3
  209. package/presets/claude/nuxt/REPO_AGENTS.md +8 -0
  210. package/presets/claude/nuxt/agents/README.md +2 -4
  211. package/presets/claude/nuxt/agents/accessibility-reviewer.md +1 -0
  212. package/presets/claude/nuxt/agents/api-contract-reviewer.md +1 -0
  213. package/presets/claude/nuxt/agents/build-verifier.md +1 -0
  214. package/presets/claude/nuxt/agents/code-reviewer.md +1 -0
  215. package/presets/claude/nuxt/agents/codebase-analyzer.md +1 -1
  216. package/presets/claude/nuxt/agents/migration-specialist.md +1 -0
  217. package/presets/claude/nuxt/agents/mockup-reviewer.md +1 -0
  218. package/presets/claude/nuxt/agents/openspec-author.md +2 -1
  219. package/presets/claude/nuxt/agents/performance-auditor.md +1 -0
  220. package/presets/claude/nuxt/agents/playwright-test-generator.md +24 -68
  221. package/presets/claude/nuxt/agents/playwright-test-healer.md +28 -54
  222. package/presets/claude/nuxt/agents/playwright-test-planner.md +18 -51
  223. package/presets/claude/nuxt/agents/security-reviewer.md +1 -0
  224. package/presets/claude/nuxt/agents/solution-architect.md +1 -0
  225. package/presets/claude/nuxt/agents/task-analyst.md +12 -0
  226. package/presets/claude/nuxt/agents/task-router.md +1 -0
  227. package/presets/claude/nuxt/agents/tech-writer.md +1 -0
  228. package/presets/claude/nuxt/agents/unit-test-planner.md +1 -0
  229. package/presets/claude/nuxt/rules/architecture/feature-delivery-workflow.md +9 -9
  230. package/presets/claude/nuxt/rules/architecture/reference-features.md +1 -20
  231. package/presets/claude/nuxt/team/fixtures/feature-parallel.json +84 -0
  232. package/presets/claude/php-hexagonal/CLAUDE.md +2 -2
  233. package/presets/claude/php-hexagonal/REPO_AGENTS.md +8 -0
  234. package/presets/claude/php-hexagonal/agents/README.md +4 -0
  235. package/presets/claude/php-hexagonal/agents/api-contract-reviewer.md +1 -1
  236. package/presets/claude/php-hexagonal/agents/build-verifier.md +1 -1
  237. package/presets/claude/php-hexagonal/agents/ci-investigator.md +0 -1
  238. package/presets/claude/php-hexagonal/agents/code-reviewer.md +3 -3
  239. package/presets/claude/php-hexagonal/agents/codebase-analyzer.md +1 -1
  240. package/presets/claude/php-hexagonal/agents/debugger.md +0 -1
  241. package/presets/claude/php-hexagonal/agents/feature-developer.md +2 -3
  242. package/presets/claude/php-hexagonal/agents/integration-test-generator.md +1 -2
  243. package/presets/claude/php-hexagonal/agents/integration-test-healer.md +1 -2
  244. package/presets/claude/php-hexagonal/agents/integration-test-planner.md +1 -2
  245. package/presets/claude/php-hexagonal/agents/migration-specialist.md +1 -1
  246. package/presets/claude/php-hexagonal/agents/openspec-author.md +2 -1
  247. package/presets/claude/php-hexagonal/agents/performance-auditor.md +1 -1
  248. package/presets/claude/php-hexagonal/agents/qa-tester.md +0 -1
  249. package/presets/claude/php-hexagonal/agents/security-reviewer.md +2 -2
  250. package/presets/claude/php-hexagonal/agents/solution-architect.md +1 -1
  251. package/presets/claude/php-hexagonal/agents/task-analyst.md +1 -1
  252. package/presets/claude/php-hexagonal/agents/task-router.md +1 -1
  253. package/presets/claude/php-hexagonal/agents/tech-writer.md +1 -1
  254. package/presets/claude/php-hexagonal/agents/unit-test-generator.md +1 -2
  255. package/presets/claude/php-hexagonal/agents/unit-test-healer.md +1 -2
  256. package/presets/claude/php-hexagonal/agents/unit-test-planner.md +1 -1
  257. package/presets/claude/php-hexagonal/rules/architecture/feature-delivery.md +51 -1
  258. package/presets/claude/php-hexagonal/rules/architecture/reference-features.md +25 -0
  259. package/presets/claude/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
  260. package/presets/claude/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
  261. package/presets/claude/php-laravel/CLAUDE.md +1 -1
  262. package/presets/claude/php-laravel/REPO_AGENTS.md +8 -0
  263. package/presets/claude/php-laravel/agents/README.md +4 -0
  264. package/presets/claude/php-laravel/agents/api-contract-reviewer.md +1 -1
  265. package/presets/claude/php-laravel/agents/build-verifier.md +1 -1
  266. package/presets/claude/php-laravel/agents/ci-investigator.md +0 -1
  267. package/presets/claude/php-laravel/agents/code-reviewer.md +1 -1
  268. package/presets/claude/php-laravel/agents/codebase-analyzer.md +1 -1
  269. package/presets/claude/php-laravel/agents/debugger.md +0 -1
  270. package/presets/claude/php-laravel/agents/feature-developer.md +2 -3
  271. package/presets/claude/php-laravel/agents/integration-test-generator.md +1 -2
  272. package/presets/claude/php-laravel/agents/integration-test-healer.md +1 -2
  273. package/presets/claude/php-laravel/agents/integration-test-planner.md +1 -2
  274. package/presets/claude/php-laravel/agents/migration-specialist.md +1 -1
  275. package/presets/claude/php-laravel/agents/openspec-author.md +2 -1
  276. package/presets/claude/php-laravel/agents/performance-auditor.md +1 -1
  277. package/presets/claude/php-laravel/agents/qa-tester.md +0 -1
  278. package/presets/claude/php-laravel/agents/security-reviewer.md +1 -1
  279. package/presets/claude/php-laravel/agents/solution-architect.md +1 -1
  280. package/presets/claude/php-laravel/agents/task-analyst.md +1 -1
  281. package/presets/claude/php-laravel/agents/task-router.md +1 -1
  282. package/presets/claude/php-laravel/agents/tech-writer.md +1 -1
  283. package/presets/claude/php-laravel/agents/unit-test-generator.md +1 -2
  284. package/presets/claude/php-laravel/agents/unit-test-healer.md +1 -2
  285. package/presets/claude/php-laravel/agents/unit-test-planner.md +1 -1
  286. package/presets/claude/php-laravel/rules/architecture/feature-delivery.md +54 -1
  287. package/presets/claude/php-laravel/rules/architecture/reference-features.md +27 -0
  288. package/presets/claude/php-laravel/skills/feature-delivery/SKILL.md +2 -2
  289. package/presets/claude/php-laravel/team/fixtures/feature-parallel.json +84 -0
  290. package/presets/claude/svelte/CLAUDE.md +3 -3
  291. package/presets/claude/svelte/REPO_AGENTS.md +8 -0
  292. package/presets/claude/svelte/agents/README.md +2 -4
  293. package/presets/claude/svelte/agents/accessibility-reviewer.md +1 -0
  294. package/presets/claude/svelte/agents/api-contract-reviewer.md +1 -0
  295. package/presets/claude/svelte/agents/build-verifier.md +1 -0
  296. package/presets/claude/svelte/agents/code-reviewer.md +1 -0
  297. package/presets/claude/svelte/agents/codebase-analyzer.md +1 -1
  298. package/presets/claude/svelte/agents/migration-specialist.md +1 -0
  299. package/presets/claude/svelte/agents/mockup-reviewer.md +1 -0
  300. package/presets/claude/svelte/agents/openspec-author.md +2 -1
  301. package/presets/claude/svelte/agents/performance-auditor.md +1 -0
  302. package/presets/claude/svelte/agents/playwright-test-generator.md +24 -68
  303. package/presets/claude/svelte/agents/playwright-test-healer.md +28 -54
  304. package/presets/claude/svelte/agents/playwright-test-planner.md +18 -51
  305. package/presets/claude/svelte/agents/security-reviewer.md +1 -0
  306. package/presets/claude/svelte/agents/solution-architect.md +1 -0
  307. package/presets/claude/svelte/agents/task-analyst.md +12 -0
  308. package/presets/claude/svelte/agents/task-router.md +1 -1
  309. package/presets/claude/svelte/agents/tech-writer.md +1 -0
  310. package/presets/claude/svelte/agents/unit-test-planner.md +1 -0
  311. package/presets/claude/svelte/rules/architecture/feature-delivery-workflow.md +7 -7
  312. package/presets/claude/svelte/rules/architecture/reference-features.md +1 -20
  313. package/presets/claude/svelte/team/fixtures/feature-parallel.json +84 -0
  314. package/presets/cursor/android-kotlin/REPO_AGENTS.md +8 -0
  315. package/presets/cursor/android-kotlin/rules/agent-team-orchestrator.mdc +17 -5
  316. package/presets/cursor/android-kotlin/rules/feature-delivery-workflow.mdc +66 -8
  317. package/presets/cursor/android-kotlin/rules/reference-features.mdc +48 -2
  318. package/presets/cursor/android-kotlin/skills/unit-testing/SKILL.md +1 -1
  319. package/presets/cursor/android-kotlin/team/fixtures/feature-parallel.json +84 -0
  320. package/presets/cursor/go/REPO_AGENTS.md +8 -0
  321. package/presets/cursor/go/rules/agent-team-orchestrator.mdc +16 -5
  322. package/presets/cursor/go/rules/feature-delivery-workflow.mdc +63 -5
  323. package/presets/cursor/go/rules/reference-features.mdc +46 -6
  324. package/presets/cursor/go/skills/feature-delivery/SKILL.md +2 -2
  325. package/presets/cursor/go/skills/unit-testing/SKILL.md +1 -1
  326. package/presets/cursor/go/team/fixtures/feature-parallel.json +84 -0
  327. package/presets/cursor/ios-swift/REPO_AGENTS.md +8 -0
  328. package/presets/cursor/ios-swift/rules/agent-team-orchestrator.mdc +17 -5
  329. package/presets/cursor/ios-swift/rules/feature-delivery-workflow.mdc +64 -8
  330. package/presets/cursor/ios-swift/rules/reference-features.mdc +44 -21
  331. package/presets/cursor/ios-swift/skills/unit-testing/SKILL.md +1 -1
  332. package/presets/cursor/ios-swift/team/fixtures/feature-parallel.json +84 -0
  333. package/presets/cursor/java/AGENTS.md +1 -1
  334. package/presets/cursor/java/REPO_AGENTS.md +8 -0
  335. package/presets/cursor/java/rules/agent-team-orchestrator.mdc +16 -5
  336. package/presets/cursor/java/rules/feature-delivery-workflow.mdc +63 -5
  337. package/presets/cursor/java/rules/reference-features.mdc +46 -6
  338. package/presets/cursor/java/skills/feature-delivery/SKILL.md +2 -2
  339. package/presets/cursor/java/team/fixtures/feature-parallel.json +84 -0
  340. package/presets/cursor/mcp-ts/REPO_AGENTS.md +8 -0
  341. package/presets/cursor/mcp-ts/rules/agent-team-orchestrator.mdc +17 -6
  342. package/presets/cursor/mcp-ts/rules/feature-delivery-workflow.mdc +63 -5
  343. package/presets/cursor/mcp-ts/rules/reference-features.mdc +46 -6
  344. package/presets/cursor/mcp-ts/skills/code-review/SKILL.md +1 -1
  345. package/presets/cursor/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
  346. package/presets/cursor/mcp-ts/skills/unit-testing/SKILL.md +1 -1
  347. package/presets/cursor/mcp-ts/team/fixtures/feature-parallel.json +84 -0
  348. package/presets/cursor/mol/REPO_AGENTS.md +8 -0
  349. package/presets/cursor/mol/rules/agent-team-orchestrator.mdc +16 -5
  350. package/presets/cursor/mol/rules/feature-delivery-workflow.mdc +65 -9
  351. package/presets/cursor/mol/rules/reference-features.mdc +43 -20
  352. package/presets/cursor/next/README.md +2 -2
  353. package/presets/cursor/next/REPO_AGENTS.md +8 -0
  354. package/presets/cursor/next/rules/README.md +2 -2
  355. package/presets/cursor/next/rules/agent-team-orchestrator.mdc +16 -5
  356. package/presets/cursor/next/rules/feature-delivery-workflow.mdc +68 -12
  357. package/presets/cursor/next/rules/next-app-core.mdc +1 -1
  358. package/presets/cursor/next/rules/reference-features.mdc +42 -19
  359. package/presets/cursor/nuxt/REPO_AGENTS.md +8 -0
  360. package/presets/cursor/nuxt/rules/README.md +2 -2
  361. package/presets/cursor/nuxt/rules/agent-team-orchestrator.mdc +16 -5
  362. package/presets/cursor/nuxt/rules/feature-delivery-workflow.mdc +64 -8
  363. package/presets/cursor/nuxt/rules/reference-features.mdc +37 -14
  364. package/presets/cursor/nuxt/team/fixtures/feature-parallel.json +84 -0
  365. package/presets/cursor/php-hexagonal/AGENTS.md +1 -1
  366. package/presets/cursor/php-hexagonal/REPO_AGENTS.md +8 -0
  367. package/presets/cursor/php-hexagonal/rules/agent-team-orchestrator.mdc +16 -5
  368. package/presets/cursor/php-hexagonal/rules/feature-delivery-workflow.mdc +63 -5
  369. package/presets/cursor/php-hexagonal/rules/reference-features.mdc +46 -6
  370. package/presets/cursor/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
  371. package/presets/cursor/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
  372. package/presets/cursor/php-laravel/AGENTS.md +1 -1
  373. package/presets/cursor/php-laravel/REPO_AGENTS.md +8 -0
  374. package/presets/cursor/php-laravel/rules/agent-team-orchestrator.mdc +16 -5
  375. package/presets/cursor/php-laravel/rules/feature-delivery-workflow.mdc +63 -5
  376. package/presets/cursor/php-laravel/rules/reference-features.mdc +46 -6
  377. package/presets/cursor/php-laravel/skills/feature-delivery/SKILL.md +2 -2
  378. package/presets/cursor/php-laravel/team/fixtures/feature-parallel.json +84 -0
  379. package/presets/cursor/svelte/REPO_AGENTS.md +8 -0
  380. package/presets/cursor/svelte/rules/README.md +1 -1
  381. package/presets/cursor/svelte/rules/agent-team-orchestrator.mdc +16 -5
  382. package/presets/cursor/svelte/rules/feature-delivery-workflow.mdc +62 -6
  383. package/presets/cursor/svelte/rules/reference-features.mdc +40 -17
  384. package/presets/cursor/svelte/team/fixtures/feature-parallel.json +84 -0
  385. package/presets/mavis/android-kotlin/REPO_AGENTS.md +8 -0
  386. package/presets/mavis/android-kotlin/adapter-map.json +11 -2
  387. package/presets/mavis/android-kotlin/rules/feature-delivery-workflow.md +66 -8
  388. package/presets/mavis/android-kotlin/rules/reference-features.md +48 -2
  389. package/presets/mavis/android-kotlin/skills/unit-testing/SKILL.md +1 -1
  390. package/presets/mavis/android-kotlin/team/fixtures/feature-parallel.json +84 -0
  391. package/presets/mavis/go/REPO_AGENTS.md +8 -0
  392. package/presets/mavis/go/adapter-map.json +9 -1
  393. package/presets/mavis/go/rules/feature-delivery-workflow.md +50 -1
  394. package/presets/mavis/go/rules/reference-features.md +22 -0
  395. package/presets/mavis/go/skills/feature-delivery/SKILL.md +2 -2
  396. package/presets/mavis/go/skills/unit-testing/SKILL.md +1 -1
  397. package/presets/mavis/go/team/fixtures/feature-parallel.json +84 -0
  398. package/presets/mavis/ios-swift/REPO_AGENTS.md +8 -0
  399. package/presets/mavis/ios-swift/adapter-map.json +9 -1
  400. package/presets/mavis/ios-swift/rules/feature-delivery-workflow.md +8 -8
  401. package/presets/mavis/ios-swift/rules/reference-features.md +2 -21
  402. package/presets/mavis/ios-swift/skills/unit-testing/SKILL.md +1 -1
  403. package/presets/mavis/ios-swift/team/fixtures/feature-parallel.json +84 -0
  404. package/presets/mavis/java/MAVIS.md +1 -1
  405. package/presets/mavis/java/REPO_AGENTS.md +8 -0
  406. package/presets/mavis/java/adapter-map.json +9 -1
  407. package/presets/mavis/java/rules/feature-delivery-workflow.md +51 -1
  408. package/presets/mavis/java/rules/reference-features.md +22 -0
  409. package/presets/mavis/java/skills/feature-delivery/SKILL.md +2 -2
  410. package/presets/mavis/java/team/fixtures/feature-parallel.json +84 -0
  411. package/presets/mavis/mcp-ts/REPO_AGENTS.md +8 -0
  412. package/presets/mavis/mcp-ts/adapter-map.json +9 -1
  413. package/presets/mavis/mcp-ts/rules/feature-delivery-workflow.md +47 -1
  414. package/presets/mavis/mcp-ts/rules/reference-features.md +22 -0
  415. package/presets/mavis/mcp-ts/skills/code-review/SKILL.md +1 -1
  416. package/presets/mavis/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
  417. package/presets/mavis/mcp-ts/skills/unit-testing/SKILL.md +1 -1
  418. package/presets/mavis/mcp-ts/team/fixtures/feature-parallel.json +84 -0
  419. package/presets/mavis/mol/REPO_AGENTS.md +8 -0
  420. package/presets/mavis/mol/adapter-map.json +1 -1
  421. package/presets/mavis/mol/rules/feature-delivery-workflow.md +10 -10
  422. package/presets/mavis/mol/rules/reference-features.md +0 -19
  423. package/presets/mavis/next/REPO_AGENTS.md +8 -0
  424. package/presets/mavis/next/adapter-map.json +1 -1
  425. package/presets/mavis/next/rules/feature-delivery-workflow.md +13 -13
  426. package/presets/mavis/next/rules/next-app-core.md +1 -1
  427. package/presets/mavis/next/rules/reference-features.md +0 -19
  428. package/presets/mavis/nuxt/REPO_AGENTS.md +8 -0
  429. package/presets/mavis/nuxt/adapter-map.json +9 -1
  430. package/presets/mavis/nuxt/rules/feature-delivery-workflow.md +9 -9
  431. package/presets/mavis/nuxt/rules/reference-features.md +1 -20
  432. package/presets/mavis/nuxt/team/fixtures/feature-parallel.json +84 -0
  433. package/presets/mavis/php-hexagonal/MAVIS.md +1 -1
  434. package/presets/mavis/php-hexagonal/REPO_AGENTS.md +8 -0
  435. package/presets/mavis/php-hexagonal/adapter-map.json +9 -1
  436. package/presets/mavis/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
  437. package/presets/mavis/php-hexagonal/rules/reference-features.md +25 -0
  438. package/presets/mavis/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
  439. package/presets/mavis/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
  440. package/presets/mavis/php-laravel/MAVIS.md +1 -1
  441. package/presets/mavis/php-laravel/REPO_AGENTS.md +8 -0
  442. package/presets/mavis/php-laravel/adapter-map.json +9 -1
  443. package/presets/mavis/php-laravel/rules/feature-delivery-workflow.md +54 -1
  444. package/presets/mavis/php-laravel/rules/reference-features.md +27 -0
  445. package/presets/mavis/php-laravel/skills/feature-delivery/SKILL.md +2 -2
  446. package/presets/mavis/php-laravel/team/fixtures/feature-parallel.json +84 -0
  447. package/presets/mavis/svelte/REPO_AGENTS.md +8 -0
  448. package/presets/mavis/svelte/adapter-map.json +9 -1
  449. package/presets/mavis/svelte/rules/feature-delivery-workflow.md +7 -7
  450. package/presets/mavis/svelte/rules/reference-features.md +1 -20
  451. package/presets/mavis/svelte/team/fixtures/feature-parallel.json +84 -0
  452. package/presets/opencode/android-kotlin/REPO_AGENTS.md +8 -0
  453. package/presets/opencode/android-kotlin/adapter-map.json +11 -2
  454. package/presets/opencode/android-kotlin/rules/feature-delivery-workflow.md +66 -8
  455. package/presets/opencode/android-kotlin/rules/reference-features.md +48 -2
  456. package/presets/opencode/android-kotlin/skills/unit-testing/SKILL.md +1 -1
  457. package/presets/opencode/android-kotlin/team/fixtures/feature-parallel.json +84 -0
  458. package/presets/opencode/go/REPO_AGENTS.md +8 -0
  459. package/presets/opencode/go/adapter-map.json +9 -1
  460. package/presets/opencode/go/rules/feature-delivery-workflow.md +50 -1
  461. package/presets/opencode/go/rules/reference-features.md +22 -0
  462. package/presets/opencode/go/skills/feature-delivery/SKILL.md +2 -2
  463. package/presets/opencode/go/skills/unit-testing/SKILL.md +1 -1
  464. package/presets/opencode/go/team/fixtures/feature-parallel.json +84 -0
  465. package/presets/opencode/ios-swift/REPO_AGENTS.md +8 -0
  466. package/presets/opencode/ios-swift/adapter-map.json +9 -1
  467. package/presets/opencode/ios-swift/rules/feature-delivery-workflow.md +8 -8
  468. package/presets/opencode/ios-swift/rules/reference-features.md +2 -21
  469. package/presets/opencode/ios-swift/skills/unit-testing/SKILL.md +1 -1
  470. package/presets/opencode/ios-swift/team/fixtures/feature-parallel.json +84 -0
  471. package/presets/opencode/java/OPENCODE.md +1 -1
  472. package/presets/opencode/java/REPO_AGENTS.md +8 -0
  473. package/presets/opencode/java/adapter-map.json +9 -1
  474. package/presets/opencode/java/rules/feature-delivery-workflow.md +51 -1
  475. package/presets/opencode/java/rules/reference-features.md +22 -0
  476. package/presets/opencode/java/skills/feature-delivery/SKILL.md +2 -2
  477. package/presets/opencode/java/team/fixtures/feature-parallel.json +84 -0
  478. package/presets/opencode/mcp-ts/REPO_AGENTS.md +8 -0
  479. package/presets/opencode/mcp-ts/adapter-map.json +9 -1
  480. package/presets/opencode/mcp-ts/rules/feature-delivery-workflow.md +47 -1
  481. package/presets/opencode/mcp-ts/rules/reference-features.md +22 -0
  482. package/presets/opencode/mcp-ts/skills/code-review/SKILL.md +1 -1
  483. package/presets/opencode/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
  484. package/presets/opencode/mcp-ts/skills/unit-testing/SKILL.md +1 -1
  485. package/presets/opencode/mcp-ts/team/fixtures/feature-parallel.json +84 -0
  486. package/presets/opencode/mol/REPO_AGENTS.md +8 -0
  487. package/presets/opencode/mol/adapter-map.json +1 -1
  488. package/presets/opencode/mol/rules/feature-delivery-workflow.md +10 -10
  489. package/presets/opencode/mol/rules/reference-features.md +0 -19
  490. package/presets/opencode/next/REPO_AGENTS.md +8 -0
  491. package/presets/opencode/next/adapter-map.json +1 -1
  492. package/presets/opencode/next/rules/feature-delivery-workflow.md +13 -13
  493. package/presets/opencode/next/rules/next-app-core.md +1 -1
  494. package/presets/opencode/next/rules/reference-features.md +0 -19
  495. package/presets/opencode/nuxt/REPO_AGENTS.md +8 -0
  496. package/presets/opencode/nuxt/adapter-map.json +9 -1
  497. package/presets/opencode/nuxt/rules/feature-delivery-workflow.md +9 -9
  498. package/presets/opencode/nuxt/rules/reference-features.md +1 -20
  499. package/presets/opencode/nuxt/team/fixtures/feature-parallel.json +84 -0
  500. package/presets/opencode/php-hexagonal/OPENCODE.md +1 -1
  501. package/presets/opencode/php-hexagonal/REPO_AGENTS.md +8 -0
  502. package/presets/opencode/php-hexagonal/adapter-map.json +9 -1
  503. package/presets/opencode/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
  504. package/presets/opencode/php-hexagonal/rules/reference-features.md +25 -0
  505. package/presets/opencode/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
  506. package/presets/opencode/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
  507. package/presets/opencode/php-laravel/OPENCODE.md +1 -1
  508. package/presets/opencode/php-laravel/REPO_AGENTS.md +8 -0
  509. package/presets/opencode/php-laravel/adapter-map.json +9 -1
  510. package/presets/opencode/php-laravel/rules/feature-delivery-workflow.md +54 -1
  511. package/presets/opencode/php-laravel/rules/reference-features.md +27 -0
  512. package/presets/opencode/php-laravel/skills/feature-delivery/SKILL.md +2 -2
  513. package/presets/opencode/php-laravel/team/fixtures/feature-parallel.json +84 -0
  514. package/presets/opencode/svelte/REPO_AGENTS.md +8 -0
  515. package/presets/opencode/svelte/adapter-map.json +9 -1
  516. package/presets/opencode/svelte/rules/feature-delivery-workflow.md +7 -7
  517. package/presets/opencode/svelte/rules/reference-features.md +1 -20
  518. package/presets/opencode/svelte/team/fixtures/feature-parallel.json +84 -0
  519. package/presets/zcode/android-kotlin/REPO_AGENTS.md +8 -0
  520. package/presets/zcode/android-kotlin/adapter-map.json +11 -2
  521. package/presets/zcode/android-kotlin/rules/README.md +3 -3
  522. package/presets/zcode/android-kotlin/rules/feature-delivery-workflow.md +66 -8
  523. package/presets/zcode/android-kotlin/rules/reference-features.md +48 -2
  524. package/presets/zcode/android-kotlin/skills/unit-testing/SKILL.md +1 -1
  525. package/presets/zcode/android-kotlin/team/fixtures/feature-parallel.json +84 -0
  526. package/presets/zcode/go/REPO_AGENTS.md +8 -0
  527. package/presets/zcode/go/adapter-map.json +9 -1
  528. package/presets/zcode/go/rules/README.md +3 -3
  529. package/presets/zcode/go/rules/feature-delivery-workflow.md +50 -1
  530. package/presets/zcode/go/rules/reference-features.md +22 -0
  531. package/presets/zcode/go/skills/feature-delivery/SKILL.md +2 -2
  532. package/presets/zcode/go/skills/unit-testing/SKILL.md +1 -1
  533. package/presets/zcode/go/team/fixtures/feature-parallel.json +84 -0
  534. package/presets/zcode/ios-swift/REPO_AGENTS.md +8 -0
  535. package/presets/zcode/ios-swift/adapter-map.json +9 -1
  536. package/presets/zcode/ios-swift/rules/README.md +3 -3
  537. package/presets/zcode/ios-swift/rules/feature-delivery-workflow.md +8 -8
  538. package/presets/zcode/ios-swift/rules/reference-features.md +2 -21
  539. package/presets/zcode/ios-swift/skills/unit-testing/SKILL.md +1 -1
  540. package/presets/zcode/ios-swift/team/fixtures/feature-parallel.json +84 -0
  541. package/presets/zcode/java/REPO_AGENTS.md +8 -0
  542. package/presets/zcode/java/adapter-map.json +9 -1
  543. package/presets/zcode/java/rules/README.md +3 -3
  544. package/presets/zcode/java/rules/feature-delivery-workflow.md +51 -1
  545. package/presets/zcode/java/rules/reference-features.md +22 -0
  546. package/presets/zcode/java/skills/feature-delivery/SKILL.md +2 -2
  547. package/presets/zcode/java/team/fixtures/feature-parallel.json +84 -0
  548. package/presets/zcode/mcp-ts/REPO_AGENTS.md +8 -0
  549. package/presets/zcode/mcp-ts/adapter-map.json +9 -1
  550. package/presets/zcode/mcp-ts/rules/README.md +3 -3
  551. package/presets/zcode/mcp-ts/rules/feature-delivery-workflow.md +47 -1
  552. package/presets/zcode/mcp-ts/rules/reference-features.md +22 -0
  553. package/presets/zcode/mcp-ts/skills/code-review/SKILL.md +1 -1
  554. package/presets/zcode/mcp-ts/skills/feature-delivery/SKILL.md +2 -2
  555. package/presets/zcode/mcp-ts/skills/unit-testing/SKILL.md +1 -1
  556. package/presets/zcode/mcp-ts/team/fixtures/feature-parallel.json +84 -0
  557. package/presets/zcode/mol/REPO_AGENTS.md +8 -0
  558. package/presets/zcode/mol/adapter-map.json +1 -1
  559. package/presets/zcode/mol/rules/README.md +3 -3
  560. package/presets/zcode/mol/rules/feature-delivery-workflow.md +10 -10
  561. package/presets/zcode/mol/rules/reference-features.md +0 -19
  562. package/presets/zcode/next/REPO_AGENTS.md +8 -0
  563. package/presets/zcode/next/adapter-map.json +1 -1
  564. package/presets/zcode/next/rules/README.md +3 -3
  565. package/presets/zcode/next/rules/feature-delivery-workflow.md +13 -13
  566. package/presets/zcode/next/rules/next-app-core.md +1 -1
  567. package/presets/zcode/next/rules/reference-features.md +0 -19
  568. package/presets/zcode/nuxt/REPO_AGENTS.md +8 -0
  569. package/presets/zcode/nuxt/adapter-map.json +9 -1
  570. package/presets/zcode/nuxt/rules/README.md +3 -3
  571. package/presets/zcode/nuxt/rules/feature-delivery-workflow.md +9 -9
  572. package/presets/zcode/nuxt/rules/reference-features.md +1 -20
  573. package/presets/zcode/nuxt/team/fixtures/feature-parallel.json +84 -0
  574. package/presets/zcode/php-hexagonal/REPO_AGENTS.md +8 -0
  575. package/presets/zcode/php-hexagonal/adapter-map.json +9 -1
  576. package/presets/zcode/php-hexagonal/rules/README.md +3 -3
  577. package/presets/zcode/php-hexagonal/rules/feature-delivery-workflow.md +51 -1
  578. package/presets/zcode/php-hexagonal/rules/reference-features.md +25 -0
  579. package/presets/zcode/php-hexagonal/skills/feature-delivery/SKILL.md +2 -2
  580. package/presets/zcode/php-hexagonal/team/fixtures/feature-parallel.json +84 -0
  581. package/presets/zcode/php-laravel/REPO_AGENTS.md +8 -0
  582. package/presets/zcode/php-laravel/adapter-map.json +9 -1
  583. package/presets/zcode/php-laravel/rules/README.md +3 -3
  584. package/presets/zcode/php-laravel/rules/feature-delivery-workflow.md +54 -1
  585. package/presets/zcode/php-laravel/rules/reference-features.md +27 -0
  586. package/presets/zcode/php-laravel/skills/feature-delivery/SKILL.md +2 -2
  587. package/presets/zcode/php-laravel/team/fixtures/feature-parallel.json +84 -0
  588. package/presets/zcode/svelte/REPO_AGENTS.md +8 -0
  589. package/presets/zcode/svelte/adapter-map.json +9 -1
  590. package/presets/zcode/svelte/rules/README.md +3 -3
  591. package/presets/zcode/svelte/rules/feature-delivery-workflow.md +7 -7
  592. package/presets/zcode/svelte/rules/reference-features.md +1 -20
  593. package/presets/zcode/svelte/team/fixtures/feature-parallel.json +84 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.77
4
+
5
+ ### `preset` — one stack means one document on every platform
6
+
7
+ - **Entry text restored on all five platforms.** Every `REPO_AGENTS.md` regains the `## ZCode host` block (`node .zcode/hooks/list-ai-local.mjs`) and the `ai-local-overlay` closing sentence — additive only, 753 B and 227 B — and the 44 derived copies carry it byte for byte. `check-zcode-local-overlay`, `check-opencode-local-overlay` and `check-mavis-local-overlay` go from 22 / 11 / 11 findings to zero.
8
+ - **Canonical stem shape.** `feature-delivery-workflow` and `reference-features` now read `marker → core body verbatim → ## Stack notes → ### only` on all 11 stacks (22 Cursor sources, 88 derived): the stack-specific H1 gives way to the core H1, a duplicated core body after `## Stack notes` is dropped, and stack prose is `###`. `reference-features` in five stacks shipped its whole body twice; that copy is gone, and a duplicate heading now fails `check-shared-core-drift.sh`.
9
+ - **`paused` is documented where the hook emits it.** Cursor's `agent-team-orchestrator` carries the state-table row and the pause contract its `chain-team-phases.sh` already writes, and `embed-stems.json` `requiredSentences` holds the three fragments so no adapter can drop them again.
10
+ - **The Claude twin is complete.** 26 `rules-library` seeds and 10 `team/fixtures` files that Claude never received; `## Strict implementation rail` back on `task-router.md`; 199 agents and skills rebuilt from their Cursor bodies (`dependency graph`, `Epics / stages`, `Plan revision`, the three Playwright agents); 132 `*.mdc` references replaced by the installed `.md` name; `readonly:` removed from 135 files; `disallowedTools: Edit, MultiEdit, NotebookEdit` on the 147 agents whose OpenCode counterpart denies edits.
11
+ - **Fixtures reach every stack.** `feature-parallel.json` ships in all 11 stacks on all five platforms, so no router points at a file its stack does not carry.
12
+ - **One gate-timing sentence.** The always-on `next-app-core`, `claude/next/CLAUDE.md` and `post-change-lint` name the same moment (closure, one `build-verifier` run); the "required after code edits" claim is gone.
13
+ - **Claims match the tree.** ZCode docs describe only what ships (`## ZCode host`, eleven stacks), `guard-shell-command.mjs` replaces the `.sh` name, `mcp-ts`'s roster lists the two shipped gate agents, and the three command inventories list seven commands, not four.
14
+
15
+ ### `preset` — a gate for the defect class that slipped through
16
+
17
+ - **`check-semantic-parity.mjs` (new).** Four assertions over 11 stacks × 2 stems × 5 platforms (198 files, 0.1 s): **SP1** the derived section set is `headings(core) ∪ headings(Cursor tail)` with the core body verbatim and the marker naming its core; **SP2** every entry file carries the literals its platform's overlay checker asserts (Claude takes the union, it ships the same text); **SP3** a derived twin carries no `.mdc` token; **SP4** a scoped stem repeats no `##` and puts no `##` after `## Stack notes`. Exit 0 / 1 / 2, and a vacuous run — zero stacks, an empty scan, a stack missing on one platform, an unclassifiable core — is a failure, never a pass.
18
+ - **Required sections are derived, never tabulated.** The set comes from `_shared/core/<stem>` and the Cursor tail at run time, so a new core section fails every stack until the stack is updated and no checker edit is needed to learn about it.
19
+ - **Scoped on purpose.** SP3/SP4 cover the two architecture stems, not every derived file: `preset-layering`, `preset-pr-checklist` and the Claude `rules/README.md` mapping tables name the Cursor format on purpose. Stacks are enumerated from `presets/cursor`, never by globbing a platform directory, so `presets/opencode/plugins/` can never be read as a stack.
20
+ - **Wired twice.** `check-preset-fast.sh` runs it after `generated-drift`; `check-preset-structure.sh` runs it beside `shared-core-drift`, so `preset-structure.yml` and `release:gate` inherit it.
21
+ - **The `.mdc` leak is closed.** `_shared/core/architecture/feature-delivery-workflow.md` no longer names the Cursor extension, which is what shipped it into 44 derived files; the line now says "each rule name in the format that platform ships".
22
+
23
+ ### `engine` — the harness refuses the situations it used to record
24
+
25
+ - **`check:frontmatter` sees the dogfood installs.** `--root <dir>` (repeatable) scans another tree with the same heuristic; a root that does not exist is a usage error, never a silent pass. The six `dogfood/mcp-ts-sample` rule files with unquoted `*` globs are the first catch.
26
+ - **A write-scope baseline that attributes nothing is refused.** `--save-baseline` exits non-zero on 0 paths and on a baseline that would record every tracked path; `--allow-empty` is the explicit opt-in. A baseline already saved in that state now reads as `empty-baseline` and skips instead of charging the whole change-set to the step. Seven empty and two whole-tree baselines were live at HEAD.
27
+ - **Task intake is an invariant, not a convention.** `check-task-intake.mjs` fails a folder that carries a `pipeline.json` without its `prompt.md` (or a recorded exemption), counts the 18 pre-cutoff folders as legacy, and names the cutoff (`2026-11-18`) so the count can only shrink. The folder that shipped `0.2.76` held a bare `prompt.md`.
28
+ - **The Claude hand-maintained band is compared.** `check-generated-drift.mjs` diffs the `ai-local/**` + `team/**` file set against the Cursor SoT in both directions — the band where the missing seeds and the missing `feature-l2-lite.json` lived with no gate over them.
29
+ - **Adapter-map digest scope is stated.** `README.md` is excluded from the `sourceRevision` witness on purpose; whole-tree comparison already catches a README that fails to propagate, and extending the digest would rewrite 33 revisions for nothing.
30
+
31
+ ### `release` — the series is continuous and 0.2.76's leftover change is recorded
32
+
33
+ - **The unreleased window is a failure.** `check-release-consistency.mjs` fails when `packages/ai-rules/{src,scripts,docs,presets}` changed after the commit that introduced the newest section. `f14c431a` is exactly that window: four fixture suites added to `check-preset-structure.sh` plus a `PRESET-CONTRIBUTION.md` row, with no version bump and no CHANGELOG line. They are recorded here.
34
+ - **`0.2.69` and `0.2.75` are back.** The section `bf0d791d` overwrote on its way to `0.2.76`, and the `## Unreleased` block of tag `v0.2.69`, are restored verbatim; `seriesGaps` fails on a missing patch above `0.2.64`, where the history is continuous.
35
+
36
+ ### `engine` — the release gate's five fixtures meet the shipped contract
37
+
38
+ The `0.2.77` release gate ran phase 1 on `ddb234bf` and found five sub-checks red, none of them a product defect; they are closed here, in this commit, so the same commit that edits `packages/ai-rules/scripts/**` keeps the release window closed.
39
+
40
+ - **`cli-update`.** The W-5 mixed-source case relied on Claude not shipping `ai-local/rules-library`; now that both presets ship the 26 seeds, the case asserts the single recorded owner the tree actually has and pins the mixed-source record explicitly. The contract under test — one drift line counts both owners — is unchanged, and the assertion count grew.
41
+ - **`mcp-pack-tarball`.** `PACKED_BASELINE_BYTES` moves 4,827,609 → **5,310,390** B, the measured `0.2.77` tree, because the old anchor sat 116,027 B below its own measuring commit (`b2d670ae` packs 4,943,636 B) and the check had been red since it landed. The +49,152 B ratchet is unchanged, `docs/**` stays shipped, and the file header now records the re-measure recipe. Human gate, 2026-11-19.
42
+ - **`platform-tests`.** The `team-db serve` fixture drove `--open`, removed with the dashboard in `d3c0fd4e`; it now pins the shipped contract instead — `serve --open` is a usage error (exit 3, no listen line) and `serve` still answers `/openapi.json`.
43
+ - **`list-ai-local`.** The chain-block slice ends at the global `hashes:` trailer (added in `9ce788b4`) instead of running to EOF, with an explicit guard for a missing trailer and three assertions pinning the dedupe.
44
+ - **`hook-body-parity fixtures`.** `makeTree()` copies the whole `presets/_shared/hooks/` directory and stages the Cursor `compact-shell-output.mjs`, so a shared hook added later can no longer turn the clean-tree case into an `ENOENT`.
45
+ - **`test-write-scope` teardown.** The seven temp-repo teardowns retry `ENOTEMPTY`/`EBUSY` (`maxRetries: 5`); no assertion changed, so a real verdict failure still surfaces as itself.
46
+
3
47
  ## 0.2.76
4
48
 
5
49
  ### `preset` — guard accounting reads every ledger generation
@@ -65,6 +109,14 @@
65
109
  - **Claude rules block.** `fix-generated.mjs` runs `inject-claude-agent-rules-block.mjs`, the repair arm for `check-claude-agent-blocks.mjs`, because the Claude agents are hand-maintained.
66
110
  - **Structure fixtures.** `check-preset-structure.sh` runs `test-preset-token-budget-baseline.mjs` and `test-close-agent-task-human-gate.mjs`.
67
111
 
112
+ ## 0.2.75
113
+
114
+ ### `team` — the write-scope audit skips what it cannot attribute
115
+
116
+ - **Skip, not fail.** `check-write-scope.mjs` reconciles one step's paths against that step's `writeScopes`. With no step baseline it audited the whole uncommitted change-set and hard-failed an implementation step on paths that belong to earlier steps or to another task in the same worktree — the live `agent-action-telemetry` verdict was `baseline: null` with 7 foreign paths. It now skips with `skipReason: no-baseline` (exit `3`, the same "skip, not a failure" contract a legacy pipeline already had) and prints the labelled change-set as suspects, so no evidence is lost and no step fails on writes it cannot own. An empty change-set still reconciles to a pass.
117
+ - **Escape hatches keep their verdict.** `--paths` (the caller's authoritative list) and `--base <ref>` (a committed change-set) are explicit requests and still hard-fail an out-of-scope implementation write.
118
+ - **Orchestration.** `build-verifier` and `code-reviewer` read exit `3` as a skip, and a `no-baseline` skip as an orchestration defect: the orchestrator saves the step baseline (`--step <id> --save-baseline`) before the step writes and re-runs the audit.
119
+
68
120
  ## 0.2.74
69
121
 
70
122
  ### `team` — per-task agent action telemetry
@@ -180,6 +232,8 @@
180
232
  - **Commands.** The Cursor source and Claude twin, plus the generated Mavis, OpenCode, and ZCode `next` trees, ship `ui-start` and `ui-stop`. `ui-start` stops a running `team-tasks-ui` compose stack, runs `team-db.mjs migrate-tasks`, then rebuilds and starts it; `ui-stop` takes the project down and stops only the API `/ui-start` started.
181
233
  - **Scope.** The commands target repositories that contain `apps/team-tasks-ui`; both stop with a clear message when `apps/team-tasks-ui/scripts/stack.mjs` is absent.
182
234
 
235
+ ## 0.2.69
236
+
183
237
  ### `resume_blocked` — the chain hook re-arms a blocked step
184
238
 
185
239
  - **Action.** `chain-team-phases.sh` accepts `{"action":"resume_blocked"}` on a `state: blocked` step: it arms attempt N+1 (`<runId>:step-N:<agent>:attempt-<M+1>`, one `attempt_started` in `metrics.json`), sets `state: in_progress` / `phase: executing`, keeps `pipelineIndex` / `currentAgent`, and hands off to the blocked producer. The gate stays receipt-driven: the retried `completed` receipt opens it (`awaiting_approval`) when the step has `after:<agent>` in `humanGates`, and advances the chain otherwise.
@@ -413,8 +413,11 @@ Load these when editing files under `packages/ai-rules/presets/**`, `.cursor/**`
413
413
  | `scripts/check-preset-twin-map.sh` / `yarn check:preset-twin-map` | **FAIL** if Cursor `.mdc` missing from Claude mapping table, twin file missing, or orphan topic `.md` (excl. `**/README.md`). Stacks: `next`, `nuxt`, `svelte`, `mol`, `ios-swift`, `android-kotlin`, `go`, `java`, `mcp-ts`, `php-hexagonal`, `php-laravel`. **Rules only** — commands and skills are guarded by `check-preset-twin-drift.mjs`. |
414
414
  | `scripts/check-preset-twin-drift.mjs` / `yarn check:preset-twin-drift` | **FAIL** when a hand-maintained Claude twin (`presets/claude/<stack>/{commands,skills}/**/*.md`) drifts further from its Cursor source than `scripts/_lib/claude-twin-drift-baseline.json` records, when the recorded divergence between the twins changes while the line delta does not, when a command/skill has no twin on the other side, when a new pair has no baseline row, when a baseline row has no live pair, or when the baseline itself is missing its hash rows. Full parity is not required: mirror a change in both twins (delta and divergence unchanged) or record a deliberate divergence with `--update`. Raising an allowance needs `--update --widen`; dropping a row needs `--update --prune`. Fixture `test-preset-twin-drift.mjs`. |
415
415
  | `scripts/check-claude-agent-parity.mjs` / `yarn check:claude-agent-parity` | **FAIL** when a hand-maintained Claude `agents/*.md` twin drifts from its Cursor source beyond `scripts/_lib/claude-agent-parity-baseline.json`: a grown or shrunk normalized line delta, a one-sided rewrite at an unchanged delta, a changed divergence hash, a missing twin, an unrecorded pair, an orphan row, or a pair in the static `parity` allowlist that is not at delta 0. Normalization masks packaging only — YAML frontmatter, the `## Rules to load (subagent context)` block, `<!-- shared-core -->` markers, the two anti-hallucination load lines, the `.cursor/` / `.claude/` root, and `.mdc` → `.md` — and reuses the twin-drift diff helpers. `--update` re-records deltas and hashes; `--widen` / `--prune` gate a raised allowance or a dropped row; `parity` is never edited by `--update`. Fixture `test-claude-agent-parity.mjs` proves one-sided Claude FAIL, one-sided Cursor FAIL and mirrored PASS. Wired into `check-preset-structure.sh` next to `claude-agent-blocks`. |
416
- | `scripts/check-generated-drift.mjs` / `yarn check:generated-drift` | Regenerates Mavis, OpenCode, ZCode and the mapped Claude trees into a temp root and byte-compares them with the committed artifacts, then asserts the `.ai.local/scripts/` engine mirror. Also compares the eleven **hand-maintained** Claude `team/README.md` twins with their Cursor sources by line multiset: `generateClaudeStack` writes `rules/**` and `hooks/**` only, so those READMEs are not generator output and a Cursor-source edit must be mirrored by hand; section order differs by design and is not compared. |
417
- | `scripts/check-consumer-links.mjs` / `yarn check:consumer-links` | **FAIL** when a generated Claude rule or agent carries a source-only `.cursor/` path or a `.mdc` reference whose stem resolves through `claude/<stack>/rules/README.md`; `README.md` and `preset-*.md` are exempt by class. `scripts/_lib/claude-consumer-link-allowlist.json` records the legitimate lines one hash at a time; a stale row fails, and a planted line in an allowlisted file still fails unless it matches the recorded hash. `--update` re-hashes recorded rows only and refuses to add one. Scans `next` by default; `--stack` opts another stack in. Fixture `test-consumer-links.mjs`. Wired into `check-preset-structure.sh` next to `generated-drift`. |
416
+ | `scripts/check-generated-drift.mjs` / `yarn check:generated-drift` | Regenerates Mavis, OpenCode, ZCode and the mapped Claude trees into a temp root and byte-compares them with the committed artifacts, then asserts the `.ai.local/scripts/` engine mirror. Also compares the eleven **hand-maintained** Claude `team/README.md` twins with their Cursor sources by line multiset: `generateClaudeStack` writes `rules/**` and `hooks/**` only, so those READMEs are not generator output and a Cursor-source edit must be mirrored by hand; The Claude **hand-maintained band** (`ai-local/**`, `team/**`) is not generator output, so its file *set* is diffed against the Cursor SoT in both directions — a seed library or team fixture that Claude never received fails here (contents stay per-platform). |
417
+ | `scripts/check-semantic-parity.mjs` / `yarn check:semantic-parity` | **FAIL** when one stack is not one document on every platform (AC-8). Four codes over 11 stacks × 2 architecture stems (`feature-delivery-workflow`, `reference-features`) × 5 platforms: **SP1** the derived section set is `headings(core) ∪ headings(Cursor tail)` with the core body verbatim and the marker naming its core; **SP2** every entry file carries the literals its platform's `check-*-local-overlay.mjs` asserts (Claude takes the union, it ships the same text); **SP3** a derived twin carries no `.mdc` token; **SP4** a scoped stem repeats no `##` and puts no `##` after `## Stack notes`. The required set is derived at run time — never tabulated — so a new core section fails every stack until the stack is updated. Exit 0/1/2; a vacuous run (no stacks, no files scanned, a stack missing on one platform, an unclassifiable core) exits 1 instead of passing. Scope is stated in the source: `preset-*` meta rules and the Claude mapping tables name the Cursor format on purpose, and stacks are enumerated from `presets/cursor`, never by globbing a platform directory. `scripts/fixtures/semantic-parity/control/` is the green control. |
418
+ | `scripts/check-task-intake.mjs` / `yarn check:intake` | **FAIL** when a task folder carries a `pipeline.json` without its `prompt.md` or a recorded exemption (`intakeExempt: true`, or a `.intake-exempt` file). Folders whose last recorded state predates `INTAKE_CUTOFF` (`2026-11-18`) are counted as legacy and printed, never failed, so the historical 18 can only shrink. An explicit `--tasks-root` that does not exist is a usage error; the default root may be absent (a fresh clone has no task store). Fixtures: `scripts/fixtures/task-intake/{clean,violation}/`. |
419
+ | `scripts/check-frontmatter.mjs` / `yarn check:frontmatter` | Heuristic YAML check (unquoted `: ` / ` #` scalars, `*`-leading list items, tab indentation) over `presets/**` by default and over any `--root <dir>` (repeatable) — the fast gate passes `--root <repo>/dogfood`, so a dogfood install cannot carry YAML that no gate sees (D-09). A root that does not exist is a usage error (exit 2), never a silent pass. |
420
+ | `scripts/check-consumer-links.mjs` / `yarn check:consumer-links` | **FAIL** when a generated Claude rule or agent carries a source-only `.cursor/` path or a `.mdc` reference whose stem resolves through `claude/<stack>/rules/README.md`; `README.md` and `preset-*.md` are exempt by class. `scripts/_lib/claude-consumer-link-allowlist.json` records the legitimate lines one hash at a time; a stale rowfails, and a planted line in an allowlisted file still fails unless it matches the recorded hash. `--update` re-hashes recorded rows only and refuses to add one. Scans `next` by default; `--stack` opts another stack in. Fixture `test-consumer-links.mjs`. Wired into `check-preset-structure.sh` next to `generated-drift`. |
418
421
  | `scripts/check-preset-token-budget.sh` / `yarn check:preset-token-budget` | **FAIL** if Cursor `alwaysApply: true` or Claude no-`paths:` (excl. README) count is outside **3–10**, `preset-*` always-on, or intended body sum > **4000**. Stacks include `nuxt`, `svelte`. CI also compares the baseline to the base revision (`--base`); a widening needs `--update --widen`. |
419
422
  | `scripts/check-preset-leakage.sh` / `yarn check:preset-leakage` | **FAIL** on forbidden stems in `hooks/**/*.sh` (recursive), wrong-stack agent filenames, or **positive** (non-negation) agent body mentions; **FAIL** if chain scripts are byte-identical across stacks. Explicit **negation** of forbidden stems in agent bodies is **suppressed** (INFO summary count only — not a merge blocker). Non-negation mentions in `build-verifier` → **WARN only**. |
420
423
  | `scripts/check-preset-prompt-persistence.sh` / `yarn check:preset-structure` | **FAIL** if the prompt-persistence contract (`prompt.md` + the append-only `prompt-log.md` ledger, both on the `routing` entry) is missing from any platform × stack command (`task.md` + `task-continue.md`), orchestrator, or intake body, from the **always-on** root `REPO_AGENTS.md` entry (check **E** — reachability without `/task`), or a core `agent-artifact-contracts` anchor (`## Prompt artifact` / `## Prompt log`) is gone; **refuses vacuous PASS** when the iteration set is empty. Wired into `check-preset-structure.sh` next to `goal-contract`; fixture `test-preset-prompt-persistence-fixtures.mjs`. |
@@ -431,7 +434,7 @@ Load these when editing files under `packages/ai-rules/presets/**`, `.cursor/**`
431
434
  | `scripts/check-team-db-contract.mjs` / `yarn check:team-db-contract` | **FAIL** when the checked-in OpenAPI 3.1 document (`docs/openapi/team-db.v1.json`) drifts from `team-db-openapi.mjs`, fails the vendored 3.1 meta-schema (sha256-pinned), loses an `operationId`, diverges from `ROUTE_TABLE` in either direction, carries an invalid example, or leaves a `$ref` unresolved. `--write` is the only writer; no network at gate time. Wired into `check-preset-structure.sh`. |
432
435
  | `presets/_shared/hooks/guard-shell-command.mjs.tmpl` + `<stack>/guard-ports.json` | The shell guard asks before a server start whose port already listens: `startCommands` names the stack's dev-server command shape, `defaultPorts` the ports to probe when the command has no `--port`, and an explicit `--port` probes that port only. `pkill`, `killall`, and `xargs kill` always ask. Fixture `test-guard-shell-command.mjs`; rendered into every `hooks/guard-shell-command.mjs` by `generate-hooks.mjs`. |
433
436
  | `presets/_shared/ai-local/scripts/team-db-scheduler.mjs` | The scheduled-jobs module, shipped to consumers as `.ai.local/scripts/team-db-scheduler.mjs` (`ENGINE_SCRIPTS`): the job validator, a dependency-free five-field cron parser and next-fire on `Intl` zone math (both DST transitions are fixtures), the deterministic atomic `scheduler/jobs.json` store, the run-manifest and capped-capture helpers (the recorded sha256 covers exactly the pre-marker bytes, so a capped stream is not reported `E_LOG_HASH`), the projection into `scheduled_jobs` / `job_runs` / `job_run_events`, retention (1 MiB per stream, 200 runs, 30 days, 2 GiB; a pruned run directory takes its row with it; an active run is never pruned), restart reconciliation to `interrupted`, and `runScheduler` — the lease, the `BEGIN IMMEDIATE` claim, a durable run-now queue the timer re-reads and merges at every tick, the detached child with a process-group kill, `catch-up` bounded to five occurrences per gap with the truncation recorded (`E_CATCH_UP_TRUNCATED`), and the kill-switch drain. Fixture `test-team-db-scheduler.mjs`; concurrency fixtures live in `test-team-db-concurrency.mjs`. |
434
- | `scripts/test-team-db-*.mjs` | The team-db suite family: schema (17), project (18), migrate-tasks (5), dual-write (13), API (27), security (17), concurrency (10), scheduler (34), and FAIL-direction fixtures (22). The fixtures prove each gate fails on its planted defect; `test-team-db-concurrency.mjs` covers first-creation races, a mixed writer/reader load, `SIGKILL` recovery, a held lock, the 5 s hook budget, and the scheduler's four seams (scheduler versus projector on one database, a `SIGKILL`ed scheduler reconciled to one `interrupted` row, 50 finalized runs inside the WAL bound, and a held exclusive lock that neither hangs nor leaves a lease). Wired into `check-preset-structure.sh`; `yarn test:team-db` runs the family. |
437
+ | `scripts/check-team-db-contract.mjs` + `scripts/test-team-db-*.mjs` | The contract script, which validates the team-db OpenAPI contract, plus the suite family: eight suites (schema, project, migrate-tasks, dual-write, API, security, concurrency, scheduler), the tracker family (tracker, tracker-order, tracker-project, tracker-queue, tracker-import), task-runner, efficiency, and the FAIL-direction fixtures. The fixtures prove each gate fails on its planted defect; `test-team-db-concurrency.mjs` covers first-creation races, a mixed writer/reader load, `SIGKILL` recovery, a held lock, the 5 s hook budget, and the scheduler's four seams (scheduler versus projector on one database, a `SIGKILL`ed scheduler reconciled to one `interrupted` row, 50 finalized runs inside the WAL bound, and a held exclusive lock that neither hangs nor leaves a lease). `check-preset-structure.sh` wires the contract, the eight suites and the fixtures (ten entries). `yarn test:team-db` runs all seventeen stages, including the tracker family, task-runner and efficiency, which the structure gate does not run; the preset classifier names it for `team-db` paths. |
435
438
 
436
439
  Run from `packages/ai-rules/`:
437
440
 
package/docs/ZCODE.md CHANGED
@@ -37,7 +37,7 @@ contract). Config-hook enablement is a probe-gated follow-up; see
37
37
 
38
38
  ## Platform contract
39
39
 
40
- `presets/zcode/platform-contract.json` declares `managedRoot: .zcode`, the ten released stacks,
40
+ `presets/zcode/platform-contract.json` declares `managedRoot: .zcode`, the eleven released stacks,
41
41
  `entryFiles: [REPO_AGENTS.md → AGENTS.md]`, `mcp {source: mcp.json, fallbackDestination:
42
42
  .zcode/config.json, mode: merge-zcode-config}`, and 15 `nativeCapabilities` statuses from the
43
43
  enum set. Capability evidence lives in [`ZCODE-COMPATIBILITY.md`](ZCODE-COMPATIBILITY.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bonesofspring/ai-rules",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "description": "Presets of Cursor, Claude, Mavis, OpenCode, and ZCode rules/commands for Revy Ross personal use",
5
5
  "license": "MIT",
6
6
  "author": "Revy Ross",
@@ -68,6 +68,10 @@
68
68
  "check:preset-i18n": "node scripts/run-locked.mjs --label check:preset-i18n -- env AI_RULES_I18N_FAIL=1 AI_RULES_I18N_SOFT=0 bash scripts/check-preset-i18n.sh",
69
69
  "check:frontmatter": "node scripts/run-locked.mjs --label check:frontmatter -- node scripts/check-frontmatter.mjs",
70
70
  "check:shared-core-drift": "node scripts/run-locked.mjs --label check:shared-core-drift -- bash scripts/check-shared-core-drift.sh",
71
+ "check:semantic-parity": "node scripts/run-locked.mjs --label check:semantic-parity -- node scripts/check-semantic-parity.mjs",
72
+ "test:semantic-parity-fixtures": "node scripts/test-semantic-parity.mjs",
73
+ "check:intake": "node scripts/check-task-intake.mjs",
74
+ "test:task-intake-fixtures": "node scripts/test-task-intake.mjs",
71
75
  "check:product-specs": "bash scripts/check-product-specs.sh",
72
76
  "check:product-specs:self-test": "bash scripts/check-product-specs.sh --self-test",
73
77
  "check:product-specs:dogfood": "bash scripts/check-product-specs.sh ../../dogfood/mcp-ts-sample",
@@ -10,10 +10,16 @@
10
10
  *
11
11
  * Usage:
12
12
  * node .ai.local/scripts/check-write-scope.mjs --slug <slug> [--step <id>] [--base <ref>] [--json]
13
- * node .ai.local/scripts/check-write-scope.mjs --slug <slug> --step <id> --save-baseline
13
+ * node .ai.local/scripts/check-write-scope.mjs --slug <slug> --step <id> --save-baseline [--allow-empty]
14
14
  * node .ai.local/scripts/check-write-scope.mjs --slug <slug> --paths a,b [--step <id>] [--json]
15
15
  * node .ai.local/scripts/check-write-scope.mjs --slug <slug> --root <project> ...
16
16
  *
17
+ * `--save-baseline` refuses a baseline that records 0 paths or every tracked
18
+ * path: neither can separate this step's writes from the rest of the tree, and
19
+ * both were live defects (7 empty baselines, 2 whole-tree ones). `--allow-empty`
20
+ * is the explicit opt-in. A baseline already saved in that state is read as
21
+ * `empty-baseline` and skipped, never as an attribution of the whole tree.
22
+ *
17
23
  * `--root` is the project root (the directory holding `.ai.local/`), not
18
24
  * necessarily the git top level; a nested project works because the git
19
25
  * baseline is emitted relative to that root.
@@ -46,7 +52,7 @@ import { spawnSync } from 'node:child_process';
46
52
  import fs from 'node:fs';
47
53
  import path from 'node:path';
48
54
 
49
- const USAGE = `Usage: node .ai.local/scripts/check-write-scope.mjs --slug <slug> [--step <id>] [--base <ref>] [--root <project>] [--paths a,b] [--save-baseline] [--json]`;
55
+ const USAGE = `Usage: node .ai.local/scripts/check-write-scope.mjs --slug <slug> [--step <id>] [--base <ref>] [--root <project>] [--paths a,b] [--save-baseline [--allow-empty]] [--json]`;
50
56
 
51
57
  const REVIEW_AGENT_RE = /reviewer|auditor|verifier/i;
52
58
 
@@ -58,11 +64,20 @@ const EXIT_SKIP = 3;
58
64
  const BASELINE_DIRECTORY = path.join('.ai.local', 'team', '.write-scope');
59
65
  const BASELINE_PREFIX = `${BASELINE_DIRECTORY.split(path.sep).join('/')}/`;
60
66
 
67
+ /**
68
+ * "The whole tracked tree was dirty" is only a defect signal in a repository
69
+ * large enough for it to be unlikely: a fixture or a tiny project can be
70
+ * legitimately all-dirty, and the audit still works there (content hashes
71
+ * separate the step's writes). Below this size the tree-wide refusal stays off.
72
+ */
73
+ const WHOLE_TREE_MIN_TRACKED = 20;
74
+
61
75
  const SKIP_HINTS = {
62
76
  'no-steps': 'pipeline.json has no steps; write the plan with task-router before auditing',
63
77
  'no-step-ids': 'pipeline.json predates step ids and the baseline is keyed by id; re-run the task-router to regenerate pipeline.json with steps[].id, then resume via /task-continue <slug>',
64
78
  'no-write-scopes': 'pipeline.json predates writeScopes; only task-router can declare a step write surface, so this step is not auditable',
65
79
  'no-baseline': 'the step wrote without a saved baseline, so no path can be attributed to it; the orchestrator saves it before the step writes (--step <id> --save-baseline), or pass the step paths (--paths a,b), then re-run',
80
+ 'empty-baseline': 'the saved baseline records 0 paths (its tree was clean at save time), so it cannot attribute anything this step wrote; re-save it after the step is armed, or pass the step paths (--paths a,b)',
66
81
  };
67
82
 
68
83
  const DERIVED_RULES = [
@@ -99,6 +114,7 @@ function parseArgs(argv) {
99
114
  else if (token === '--paths') args.paths = readValue();
100
115
  else if (token === '--json') args.json = true;
101
116
  else if (token === '--save-baseline') args.saveBaseline = true;
117
+ else if (token === '--allow-empty') args.allowEmpty = true;
102
118
  else if (token === '--help' || token === '-h') {
103
119
  console.log(USAGE);
104
120
  process.exit(EXIT_PASS);
@@ -197,6 +213,18 @@ function contentHash(root, file) {
197
213
  return value === '' ? null : value;
198
214
  }
199
215
 
216
+ /** Tracked files under the project root — the denominator of "the whole tree". */
217
+ function trackedFileCount(root) {
218
+ const listed = spawnSync('git', ['-C', root, 'ls-files'], { encoding: 'utf8' });
219
+ if (listed.status !== 0) {
220
+ fail(`git ls-files failed: ${(listed.stderr || '').trim() || `exit ${listed.status}`}`);
221
+ }
222
+ return String(listed.stdout || '')
223
+ .split('\n')
224
+ .map(normalizePath)
225
+ .filter((file) => file && !file.startsWith(BASELINE_PREFIX)).length;
226
+ }
227
+
200
228
  const baselineFile = (root, slug, stepId) => path.join(
201
229
  root,
202
230
  BASELINE_DIRECTORY,
@@ -289,11 +317,29 @@ function reportSkip({ slug, skip, asJson, rows = [], writeScopes = [] }) {
289
317
  process.exit(EXIT_SKIP);
290
318
  }
291
319
 
292
- function saveBaseline({ root, slug, step }) {
320
+ function saveBaseline({ root, slug, step, allowEmpty = false }) {
293
321
  const file = baselineFile(root, slug, step.id);
322
+ const changed = gitChangedPaths(root, 'HEAD');
323
+ const tracked = trackedFileCount(root);
294
324
  const paths = {};
295
- for (const changed of gitChangedPaths(root, 'HEAD')) {
296
- paths[changed] = contentHash(root, changed);
325
+ for (const dirty of changed) {
326
+ paths[dirty] = contentHash(root, dirty);
327
+ }
328
+ // A baseline that records nothing attributing every later change to the step,
329
+ // and one that records every tracked file is the same failure with a full
330
+ // denominator: neither can separate this step's writes from anyone else's.
331
+ // Both are refused unless the caller says it knows (C-07/C-08).
332
+ if (!allowEmpty) {
333
+ if (changed.length === 0) {
334
+ fail(
335
+ 'refusing to save an empty baseline (0 paths changed): the step would own every later change — pass --allow-empty if the tree is meant to be clean here',
336
+ );
337
+ }
338
+ if (tracked > 0 && tracked >= WHOLE_TREE_MIN_TRACKED && changed.length >= tracked) {
339
+ fail(
340
+ `refusing to save a tree-wide baseline (${changed.length} of ${tracked} tracked paths dirty): no path is attributable to the step — pass --allow-empty if that is intended`,
341
+ );
342
+ }
297
343
  }
298
344
  fs.mkdirSync(path.dirname(file), { recursive: true });
299
345
  fs.writeFileSync(file, `${JSON.stringify({
@@ -304,7 +350,8 @@ function saveBaseline({ root, slug, step }) {
304
350
  savedAt: new Date().toISOString(),
305
351
  paths,
306
352
  }, null, 2)}\n`);
307
- process.stdout.write(`baseline saved: ${path.relative(root, file).replace(/\\/g, '/')} (${Object.keys(paths).length} path(s))\n`);
353
+ const note = allowEmpty && (changed.length === 0 || changed.length >= tracked) ? ' (explicit --allow-empty)' : '';
354
+ process.stdout.write(`baseline saved: ${path.relative(root, file).replace(/\\/g, '/')} (${Object.keys(paths).length} path(s)${note})\n`);
308
355
  return EXIT_PASS;
309
356
  }
310
357
 
@@ -328,7 +375,7 @@ function main() {
328
375
 
329
376
  if (args.saveBaseline) {
330
377
  if (typeof step.id !== 'string' || step.id === '') fail('--save-baseline needs a step with an id; pass --step <id>');
331
- process.exit(saveBaseline({ root, slug: args.slug, step }));
378
+ process.exit(saveBaseline({ root, slug: args.slug, step, allowEmpty: args.allowEmpty }));
332
379
  }
333
380
 
334
381
  let base = args.base ?? 'HEAD';
@@ -341,7 +388,22 @@ function main() {
341
388
  } else {
342
389
  const file = typeof step.id === 'string' && step.id !== '' ? baselineFile(root, args.slug, step.id) : null;
343
390
  const saved = file ? readBaseline(file) : null;
344
- if (saved) {
391
+ if (saved && Object.keys(saved.paths).length === 0) {
392
+ // A baseline saved before the empty-baseline refusal existed records no
393
+ // path, so it would attribute the whole change-set to this step. Treat it
394
+ // as no baseline at all instead of silently blaming the step (C-08).
395
+ const wholeTree = gitChangedPaths(root, base);
396
+ if (wholeTree.length > 0) {
397
+ reportSkip({
398
+ slug: args.slug,
399
+ skip: { reason: 'empty-baseline', step },
400
+ asJson: args.json,
401
+ rows: classify(wholeTree, writeScopes, args.slug),
402
+ writeScopes,
403
+ });
404
+ }
405
+ changed = wholeTree;
406
+ } else if (saved) {
345
407
  base = typeof saved.base === 'string' && saved.base !== '' ? saved.base : 'HEAD';
346
408
  baseline = path.relative(root, file).replace(/\\/g, '/');
347
409
  changed = baselineDelta(root, saved, base);
@@ -54,4 +54,4 @@ flowchart LR
54
54
 
55
55
  ## Zone → rules matrix
56
56
 
57
- Filled in the stack adapter: concrete globs/paths and `.mdc` / topic `.md` names.
57
+ Filled in the stack adapter: concrete globs/paths and each rule name in the format that platform ships.
@@ -49,4 +49,4 @@ Copies `CLAUDE.md`, `rules/**`, `commands/**`, `agents/**`, `skills/**`, `hooks/
49
49
  `git commit/push deny`; JS stacks also `npx jest* deny` and `npm/npx/pnpm/bun`
50
50
  ask). Re-init overwrites the file (consumer can edit afterwards); mirror
51
51
  with root `AGENTS.md` if you change the harness.
52
- - **Pipeline hooks:** `.claude/settings.json` `hooks` wires `check-preset-update.mjs` (`SessionStart`; opens the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update` when the install is older), `guard-shell-command.sh` (`PreToolUse` / `Bash`, `permissionDecision` `ask` or `allow`) and `chain-team-phases.sh` (`SubagentStop` for kebab-case `agent_type`). See `hooks/README.md`. No `hooks.json`.
52
+ - **Pipeline hooks:** `.claude/settings.json` `hooks` wires `check-preset-update.mjs` (`SessionStart`; opens the reply with a level-2 heading and a blockquote naming the installed version, the latest version, and `/update` when the install is older), `guard-shell-command.mjs` (`PreToolUse` / `Bash`, `permissionDecision` `ask` or `allow`) and `chain-team-phases.sh` (`SubagentStop` for kebab-case `agent_type`). See `hooks/README.md`. No `hooks.json`.
@@ -53,8 +53,16 @@ Empty output or a failed run stays silent.
53
53
 
54
54
  Gotchas, local patterns, and team decisions: **`.ai.local/conventions.md`** (fill after init; `init` does not overwrite it).
55
55
 
56
+ ## ZCode host
57
+
58
+ ZCode loads this file natively and has no per-tool map: this file is the entry. The essential rules are the always-on set under `.zcode/rules/` (plain Markdown, not auto-loaded) — start with `ai-local-overlay` and the stack app-core rule, and read the rest when the task scope matches. Agents, commands, and skills live under `.zcode/agents/`, `.zcode/commands/`, and `.zcode/skills/`.
59
+
60
+ On every turn, run `node .zcode/hooks/list-ai-local.mjs` with the paths this step will touch, apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`, and acknowledge `Using .ai.local: <rule-name>`. On the first reply of a session, run `node .zcode/hooks/check-preset-update.mjs` when it exists; the update-notice rules above apply.
61
+
56
62
  ## Local overlay (`.ai.local/`) — MANDATORY
57
63
 
58
64
  A `.ai.local/` directory MAY exist at the repo root or at any nesting depth in monorepos. **Every agent MUST read and apply it on every turn.** Rules there override preset rules; `override: kill <preset-rule-name>` drops that preset rule from context entirely.
59
65
 
60
66
  On every turn, run `list-ai-local.mjs` from the host hooks directory (`.cursor`, `.claude`, `.mavis`, `.opencode`, or `.zcode`) with the paths this step will touch, then apply the printed `.ai.local/rules/*.md` and `.ai.local/conventions.md`. The root overlay applies to every path; a nested one applies only under its directory. Do not read `shadowed` files or `rules-library/**` as rules. Acknowledge `Using .ai.local: <rule-name>` when answering. Authoring guide: `docs/LOCAL-OVERLAY.md`.
67
+
68
+ The `ai-local-overlay` rule is always-on on Cursor and session-start on Claude; Mavis, OpenCode, and ZCode have no native always-on mechanism, so this section plus the platform entry's essential-rules list is the reinforcement.
@@ -49,3 +49,7 @@ See `team/fixtures/*.json` and `hooks/chain-team-phases.sh` handoffs (`instrumen
49
49
  The analyst frames every task before decomposition: **goal frame** (goal, user value, success + result-evaluation criteria) → **requirements + AC-IDs** → **information-sufficiency** verdict → decomposition with `dependsOn[]` / DAG / epics-with-exit-criteria. `decomposition.md` is the plan graph; `pipeline.json` may add the optional, hook-ignored `epics[]`, `planRevision`, and `contextBudget` fields. Progress is checkpointed to `.memlog.md` and is resumable from `artifact-manifest.json`.
50
50
 
51
51
  **Self-review & context hygiene (producer-side):** before its terminal receipt (per wave for multi-wave work) each producing agent self-reviews its output against the framed goal + `AC-`IDs — coverage, evidence, alignment/drift — and, on drift, **re-anchors** to the goal frame + `decomposition.md` and records the correction in `.memlog.md`. Ratchets down for `bounded`/`spike`.
52
+
53
+ ## Frontmatter
54
+
55
+ Claude Code agent frontmatter has no `readonly` field and no path-scoped edit permission. Every role OpenCode marks `permission.edit: deny` carries `disallowedTools: Edit, MultiEdit, NotebookEdit`; the three `playwright-test-*` agents carry a `tools:` allow-list instead. Both keep `Write`, so a step artifact can be created while an in-place production edit is refused. `readonly:` is Cursor-only and is not shipped to Claude.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: accessibility-reviewer
3
3
  description: Accessibility review specialist. Audits TalkBack labels/semantics, font scale, reduce motion, Compose testTag, contrast, and touch targets for Android UI. Readonly — writes a11y-review.md only; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: inherit
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: api-contract-reviewer
3
3
  description: API contract review specialist. Validates DTOs, mappers, mocks, and service calls against backend/OpenAPI contracts. Readonly — writes api-contract-review.md only; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: inherit
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: build-verifier
3
3
  description: Validation gate specialist. Discovers Gradle compile/lint/unit after implementation; writes validation-report.md. Never fixes app source.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: ci-investigator
3
3
  description: CI failure investigator. Diagnoses failing PR checks (./gradlew, ktlint/detekt, unit, Android instrumentation) and applies minimal fixes. Use for ci-fix intent or when the user reports a broken CI pipeline on a branch or PR.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: code-reviewer
3
3
  description: Expert code review specialist for Android. Reviews after feature development using code-review-mr checklist. Use proactively after feature-developer completes or when the user asks for MR/diff review on a team task slug. Writes only review artifacts/status; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: codebase-analyzer
3
3
  description: Explains HOW existing Android Kotlin/Jetpack Compose code works as-is. Use when the user asks how something works, to trace Feature layers, or document architecture — without suggesting changes. Prefer over /task for pure questions.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: debugger
3
3
  description: Debugging specialist for errors, test failures, and unexpected behavior. Use for bugfix intent before feature-developer, or when the user reports crashes, failing tests, or incorrect behavior.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: feature-developer
3
3
  description: Feature implementation specialist for Android Kotlin/Jetpack Compose. Implements tasks from decomposition.md following feature-delivery workflow. Use after brief approval via /task-continue, or when explicitly asked to implement an approved task slug.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: migration-specialist
3
3
  description: Migration planning specialist for Android Studio / AGP / Gradle modules upgrades, dependency swaps, and phased refactors with rollback. Writes migration-plan.md and team status; never writes production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: opus
6
6
  ---
7
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: mockup-reviewer
3
3
  description: Figma mockup review specialist. Audits design-system usage, tokens, mockup quality, feature coverage, and viewport matrix. Writes mockup-review.md only; never edits production code or Figma.
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
4
5
  model: opus
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: openspec-author
3
3
  description: OpenSpec (spec-driven SDD) specialist. Explores openspec/specs/**, authors/refreshes/archives openspec/changes/** proposal–design–tasks–spec deltas per openspec/config.yaml schema. Reads app/** for evidence; never edits production code. Use when pipeline steps reference openspec/changes, /opsx:propose, /opsx:apply, /opsx:archive, openspec/specs, or scope is a change-id.
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
4
5
  model: inherit
5
6
  ---
6
7
 
@@ -166,7 +167,7 @@ explore | propose | apply | archive | full
166
167
 
167
168
  ## Anti-sycophancy
168
169
 
169
- Match `code-quality-and-refactoring.mdc`:
170
+ Match `code-quality.md`:
170
171
 
171
172
  - Verbatim third-party API (openspec CLI flags) → never invent flags; `// VERIFY: openspec.<flag> @ <version>` if uncertain; consult `npx openspec --help`.
172
173
  - Before "is this correct?" — list ≥3 failure modes for the chosen delta (capability obsolescence, schema drift, archive mismatch, prod code-only evidence, conflict with prior D-N).
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: performance-auditor
3
3
  description: Performance audit specialist. Reviews launch path, main-thread work, Compose recomposition, lazy lists, image loading, and Android Studio Profiler / Macrobenchmark risks. Readonly — writes perf-report.md only; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: opus
6
6
  ---
7
7
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: qa-tester
3
3
  description: QA and test specialist. Adds or updates unit and Android instrumentation coverage per decomposition. Use after code review completes for a team task slug.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: security-reviewer
3
3
  description: Security review specialist. Audits Android Keystore / EncryptedSharedPreferences/DataStore, network security config, cleartext, BiometricPrompt, PII in logs, secrets in diff, deep links / exported components, and unsafe URL handling. Readonly — writes security-review.md only; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: opus
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: solution-architect
3
3
  description: Solution architect for cross-layer features, API boundaries, and technical design before implementation. Use for spike intent or when router adds architect step for complex features. Readonly — produces design docs, not production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: opus
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: task-analyst
3
3
  description: Task analysis specialist. Clarifies requirements, validates acceptance criteria, and decomposes work into concrete tasks. Use for task intake, or when the user asks to analyze or decompose a feature before coding. Writes only team artifacts; never writes production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: task-router
3
3
  description: Task routing specialist. Analyzes user prompt, detects intent, and writes pipeline.json with ordered agent steps. Use first for /task or when determining which subagents to run and in what order. No production code — writes team artifacts only.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: tech-writer
3
3
  description: Technical documentation specialist. Writes feature READMEs, migration guides, ADR summaries, and changelog entries from completed task artifacts. Docs-only — never edits production application code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: fast
6
6
  ---
7
7
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: unit-test-generator
3
3
  description: Unit test generation specialist. Implements JUnit 4/5 (repo default) from unit-test-plan.md following tests-unit rules. Tests only — does not change production code.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  name: unit-test-healer
3
3
  description: Unit test healer. Fixes failing or flaky JUnit 4/5 (repo default) after refactors while preserving behavior assertions. Tests only — minimal production changes only when tests expose a real bug.
4
- readonly: false
5
4
  model: inherit
6
5
  ---
7
6
 
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: unit-test-planner
3
3
  description: Unit test planning specialist. Creates coverage plans for mappers, use cases, ViewModels, and networking adapters. Writes unit-test-plan.md and team status; never edits production code.
4
- readonly: false
4
+ disallowedTools: Edit, MultiEdit, NotebookEdit
5
5
  model: inherit
6
6
  ---
7
7