@reqvire-org/ads 0.3.53 → 0.4.2

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 (401) hide show
  1. package/README.md +114 -94
  2. package/dist/a11y.mjs +108 -29
  3. package/dist/analysis/compiler-options.mjs +13 -0
  4. package/dist/analysis/context.mjs +46 -0
  5. package/dist/analysis/file-tree.mjs +52 -0
  6. package/dist/analysis/helpers.mjs +140 -0
  7. package/dist/analysis/impact.mjs +20 -0
  8. package/dist/analysis/inputs.mjs +15 -0
  9. package/dist/analysis/native-adapter.mjs +180 -0
  10. package/dist/analysis/native-project.mjs +323 -0
  11. package/dist/analysis/queries.mjs +133 -0
  12. package/dist/analysis/service.mjs +146 -0
  13. package/dist/analysis/standalone.mjs +57 -0
  14. package/dist/analysis/syntax.mjs +164 -0
  15. package/dist/analysis/worker.mjs +182 -0
  16. package/dist/assets.mjs +6 -6
  17. package/dist/atomic-composition.mjs +191 -70
  18. package/dist/atomic-trace.mjs +120 -50
  19. package/dist/behavior-libraries.mjs +106 -37
  20. package/dist/behaviors.mjs +222 -79
  21. package/dist/boundaries.mjs +137 -40
  22. package/dist/brand-assets.mjs +219 -47
  23. package/dist/brands.mjs +86 -27
  24. package/dist/bun-compiler.mjs +34 -13
  25. package/dist/bun-worker.mjs +7 -5
  26. package/dist/capture/worker.mjs +15 -4
  27. package/dist/capture-store.mjs +4 -2
  28. package/dist/capture.mjs +17 -14
  29. package/dist/check-service.mjs +66 -0
  30. package/dist/check.mjs +756 -196
  31. package/dist/cli.mjs +203 -100
  32. package/dist/color-values.mjs +21 -21
  33. package/dist/component-contrast.mjs +2 -2
  34. package/dist/config.mjs +308 -163
  35. package/dist/construction-styles.cjs +10 -0
  36. package/dist/contracts.d.mts +9 -0
  37. package/dist/control-padding.mjs +45 -25
  38. package/dist/css-values.mjs +3 -2
  39. package/dist/declarative-flow.mjs +209 -109
  40. package/dist/design-values.mjs +136 -51
  41. package/dist/development-runtime.mjs +4 -6
  42. package/dist/draft-boundary.mjs +11 -6
  43. package/dist/evidence.mjs +1 -1
  44. package/dist/finding-rules.mjs +7 -5
  45. package/dist/font-rules.mjs +2 -2
  46. package/dist/fonts-generated.mjs +4 -2
  47. package/dist/foundation-views.mjs +238 -0
  48. package/dist/foundation.mjs +63 -39
  49. package/dist/generated-entries.mjs +198 -0
  50. package/dist/icons.mjs +80 -33
  51. package/dist/image-attributes.mjs +109 -36
  52. package/dist/image-size.mjs +1 -1
  53. package/dist/index.mjs +0 -2
  54. package/dist/init.mjs +128 -68
  55. package/dist/investigations.mjs +2 -2
  56. package/dist/layers.mjs +300 -127
  57. package/dist/layout-widths.mjs +180 -85
  58. package/dist/linaria/preserve-values.cjs +7 -0
  59. package/dist/linaria/spatial-inputs.cjs +56 -0
  60. package/dist/lockup-composition.mjs +44 -0
  61. package/dist/lockup-model.cjs +64 -0
  62. package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
  63. package/dist/mcp/apps.mjs +4 -30
  64. package/dist/mcp/behavior-pages.mjs +72 -24
  65. package/dist/mcp/build-status.mjs +257 -64
  66. package/dist/mcp/catalog.mjs +91 -26
  67. package/dist/mcp/context.mjs +17 -18
  68. package/dist/mcp/draft-discovery.mjs +44 -21
  69. package/dist/mcp/drafts.mjs +978 -343
  70. package/dist/mcp/execution-coordinator.mjs +417 -167
  71. package/dist/mcp/execution-results.mjs +7 -7
  72. package/dist/mcp/mutations.mjs +701 -219
  73. package/dist/mcp/preview-watch.mjs +465 -161
  74. package/dist/mcp/preview-widget.bundle.js +44 -50
  75. package/dist/mcp/prompts.mjs +6 -6
  76. package/dist/mcp/result-pages.mjs +1 -1
  77. package/dist/mcp/sandbox-host.mjs +1 -1
  78. package/dist/mcp/server.mjs +2436 -570
  79. package/dist/mcp/showcase-host.mjs +176 -39
  80. package/dist/mcp/skills.mjs +1 -1
  81. package/dist/mcp/text-diff.mjs +29 -10
  82. package/dist/paint-contracts.mjs +174 -81
  83. package/dist/palette-generated.mjs +2 -2
  84. package/dist/preview-bun.mjs +493 -187
  85. package/dist/preview-failure.mjs +1 -1
  86. package/dist/preview-files.mjs +13 -13
  87. package/dist/preview-imports.mjs +104 -55
  88. package/dist/preview-inputs.mjs +2 -2
  89. package/dist/preview-requests.mjs +24 -0
  90. package/dist/preview-resources.mjs +288 -147
  91. package/dist/preview-scope.mjs +5 -4
  92. package/dist/program-cache.mjs +10 -0
  93. package/dist/project-documents.mjs +1 -1
  94. package/dist/public-api.mjs +70 -31
  95. package/dist/public-props.mjs +39 -22
  96. package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
  97. package/dist/{browser-audit → render-audit}/image-shape.mjs +2 -2
  98. package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
  99. package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
  100. package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
  101. package/dist/{browser-audit → render-audit}/worker.mjs +86 -30
  102. package/dist/render-audit.mjs +828 -0
  103. package/dist/render-color-probe.mjs +96 -42
  104. package/dist/resource-limits.mjs +229 -97
  105. package/dist/runtime-contracts.mjs +467 -185
  106. package/dist/scenario-groups.mjs +22 -10
  107. package/dist/scenario-inspector.mjs +6 -43
  108. package/dist/scenario-program.mjs +8 -25
  109. package/dist/scenario-registry.mjs +72 -30
  110. package/dist/scenario-selectors.mjs +161 -64
  111. package/dist/scenario-slots.mjs +149 -56
  112. package/dist/scenario-trace.mjs +215 -109
  113. package/dist/scenarios-compiler.mjs +768 -359
  114. package/dist/scenarios-vite.d.mts +1 -3
  115. package/dist/scenarios-vite.mjs +2 -81
  116. package/dist/scenarios.mjs +424 -159
  117. package/dist/selector-match.mjs +2 -2
  118. package/dist/showcase/client.bundle.js +57 -56
  119. package/dist/showcase/draft-navigation.js +18 -0
  120. package/dist/showcase/favicon.ico +0 -0
  121. package/dist/showcase/favicon.svg +1 -0
  122. package/dist/showcase/foundation-view.css +55 -0
  123. package/dist/showcase/foundation-view.mjs +252 -0
  124. package/dist/showcase/guide-controls.ads.review.mjs +32 -0
  125. package/dist/showcase/icons.js +1 -145
  126. package/dist/showcase/index.html +3 -31
  127. package/dist/showcase/preview-frame.ads.review.css +46 -0
  128. package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
  129. package/dist/showcase/preview-frame.ads.review.mjs +22 -0
  130. package/dist/showcase/preview-state.js +0 -9
  131. package/dist/showcase/refresh-scheduler.js +23 -0
  132. package/dist/showcase/style.css +5 -47
  133. package/dist/showcase/ui/ui.css +1353 -0
  134. package/dist/showcase/ui/ui.js +1062 -0
  135. package/dist/showcase-coverage.mjs +58 -37
  136. package/dist/skills/README.md +24 -23
  137. package/dist/skills/ads-designer/README.md +8 -2
  138. package/dist/skills/ads-designer/SKILL.md +152 -144
  139. package/dist/skills/ads-designer/references/accessibility.md +14 -11
  140. package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
  141. package/dist/skills/ads-designer/references/behaviors.md +34 -30
  142. package/dist/skills/ads-designer/references/branding.md +98 -10
  143. package/dist/skills/ads-designer/references/captures.md +31 -31
  144. package/dist/skills/ads-designer/references/cli.md +21 -20
  145. package/dist/skills/ads-designer/references/contracts.md +63 -29
  146. package/dist/skills/ads-designer/references/design-data.md +49 -52
  147. package/dist/skills/ads-designer/references/drafts.md +71 -52
  148. package/dist/skills/ads-designer/references/evidence.md +1 -5
  149. package/dist/skills/ads-designer/references/guarded-editing.md +58 -51
  150. package/dist/skills/ads-designer/references/layers.md +1 -1
  151. package/dist/skills/ads-designer/references/layout.md +347 -0
  152. package/dist/skills/ads-designer/references/mobile.md +2 -1
  153. package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
  154. package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
  155. package/dist/skills/ads-designer/references/performance.md +3 -2
  156. package/dist/skills/ads-designer/references/review.md +42 -38
  157. package/dist/skills/ads-designer/references/runtimes.md +33 -30
  158. package/dist/skills/ads-designer/references/scenarios.md +17 -19
  159. package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
  160. package/dist/skills/ads-designer/references/stress-test.md +68 -0
  161. package/dist/skills/ads-designer/references/validation.md +83 -71
  162. package/dist/skills/ads-designer/references/workflows.md +19 -37
  163. package/dist/skills/ads-import/SKILL.md +43 -328
  164. package/dist/skills/ads-import/references/atomic-styles.md +4 -4
  165. package/dist/skills/ads-import/references/behaviors.md +34 -30
  166. package/dist/skills/ads-import/references/branding.md +5 -5
  167. package/dist/skills/ads-import/references/captures.md +31 -31
  168. package/dist/skills/ads-import/references/cli.md +21 -20
  169. package/dist/skills/ads-import/references/compatibility.md +1 -1
  170. package/dist/skills/ads-import/references/contracts.md +63 -29
  171. package/dist/skills/ads-import/references/design-data.md +49 -52
  172. package/dist/skills/ads-import/references/drafts.md +71 -52
  173. package/dist/skills/ads-import/references/evidence.md +1 -5
  174. package/dist/skills/ads-import/references/guarded-editing.md +58 -51
  175. package/dist/skills/ads-import/references/implementation.md +2 -1
  176. package/dist/skills/ads-import/references/layers.md +1 -1
  177. package/dist/skills/ads-import/references/layout.md +347 -0
  178. package/dist/skills/ads-import/references/review.md +42 -38
  179. package/dist/skills/ads-import/references/runtimes.md +33 -30
  180. package/dist/skills/ads-import/references/scenarios.md +17 -19
  181. package/dist/skills/ads-import/references/tokens.md +3 -3
  182. package/dist/skills/ads-import/references/validation.md +83 -71
  183. package/dist/skills/ads-import/references/workflows.md +19 -37
  184. package/dist/skills/ads-migrate/SKILL.md +56 -0
  185. package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
  186. package/dist/skills/ads-port/SKILL.md +54 -346
  187. package/dist/skills/ads-port/references/atomic-styles.md +4 -4
  188. package/dist/skills/ads-port/references/behaviors.md +34 -30
  189. package/dist/skills/ads-port/references/captures.md +31 -31
  190. package/dist/skills/ads-port/references/cli.md +21 -20
  191. package/dist/skills/ads-port/references/contracts.md +63 -29
  192. package/dist/skills/ads-port/references/design-data.md +49 -52
  193. package/dist/skills/ads-port/references/drafts.md +71 -52
  194. package/dist/skills/ads-port/references/evidence.md +1 -5
  195. package/dist/skills/ads-port/references/guarded-editing.md +58 -51
  196. package/dist/skills/ads-port/references/layers.md +1 -1
  197. package/dist/skills/ads-port/references/layout.md +347 -0
  198. package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
  199. package/dist/skills/ads-port/references/native-implementation.md +8 -7
  200. package/dist/skills/ads-port/references/review.md +42 -38
  201. package/dist/skills/ads-port/references/runtimes.md +33 -30
  202. package/dist/skills/ads-port/references/scenarios.md +17 -19
  203. package/dist/skills/ads-port/references/validation.md +83 -71
  204. package/dist/skills/ads-port/references/workflows.md +19 -37
  205. package/dist/source-symbols.mjs +1 -8
  206. package/dist/source-values.mjs +266 -128
  207. package/dist/spatial-composition.mjs +322 -0
  208. package/dist/spatial-contexts.cjs +56 -0
  209. package/dist/spatial-css.cjs +351 -0
  210. package/dist/spatial-inputs.cjs +80 -0
  211. package/dist/spatial-metadata.mjs +18 -0
  212. package/dist/spatial-model.cjs +322 -0
  213. package/dist/spatial.mjs +21 -0
  214. package/dist/stage-timing.cjs +20 -0
  215. package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
  216. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
  217. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  218. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  219. package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
  220. package/dist/starters/preact/ds.config.json +24 -19
  221. package/dist/starters/preact/package.json +4 -8
  222. package/dist/starters/preact/tsconfig.json +4 -5
  223. package/dist/starters/preact/vite.config.ts +3 -3
  224. package/dist/starters/react/ADS.md +42 -47
  225. package/dist/starters/react/README.md +54 -52
  226. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.exports.ts +1 -0
  227. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.exports.ts +1 -0
  228. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
  229. package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
  230. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.exports.ts +1 -0
  231. package/dist/starters/react/design-system/components/Content/Image/Image.ads.exports.ts +1 -0
  232. package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.exports.ts +1 -0
  233. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.exports.ts +1 -0
  234. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
  235. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
  236. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
  237. package/dist/starters/react/design-system/controllers/Palette/Palette.ads.exports.ts +1 -0
  238. package/dist/starters/react/design-system/index.ts +5 -8
  239. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
  240. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
  241. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
  242. package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
  243. package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
  244. package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.exports.ts +1 -0
  245. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
  246. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
  247. package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
  248. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
  249. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
  250. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
  251. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
  252. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -0
  253. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  254. package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
  255. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
  256. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
  257. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -0
  258. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  259. package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
  260. package/dist/starters/react/design-system/styles.css +1 -0
  261. package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
  262. package/dist/starters/react/design-system/tokens/colors.css +1 -1
  263. package/dist/starters/react/design-system/tokens/spacing.css +22 -32
  264. package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
  265. package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
  266. package/dist/starters/react/ds.config.json +24 -19
  267. package/dist/starters/react/package.json +2 -6
  268. package/dist/starters/react/tsconfig.json +2 -3
  269. package/dist/starters/react/vite.config.ts +3 -3
  270. package/dist/style-boundaries.mjs +73 -27
  271. package/dist/task-cache.mjs +173 -72
  272. package/dist/task-worker.mjs +22 -11
  273. package/dist/test-boundaries.mjs +133 -60
  274. package/dist/themes-generated.mjs +1 -1
  275. package/dist/themes-watch.mjs +60 -19
  276. package/dist/themes.mjs +176 -73
  277. package/dist/token-export.mjs +39 -14
  278. package/dist/token-policy.mjs +6 -3
  279. package/dist/token-quality.mjs +6 -6
  280. package/dist/token-samples.mjs +16 -5
  281. package/dist/tokens.mjs +71 -26
  282. package/dist/ui-framework.mjs +16 -14
  283. package/dist/unit-contracts.mjs +270 -89
  284. package/dist/units.mjs +215 -180
  285. package/dist/usage.mjs +138 -38
  286. package/dist/validation-checks.mjs +121 -38
  287. package/dist/validation-inputs.mjs +187 -78
  288. package/dist/validation.mjs +268 -102
  289. package/dist/verification/browser.mjs +27 -5
  290. package/dist/verification.mjs +711 -187
  291. package/docs/ADS.md +100 -89
  292. package/docs/ARCHITECTURE.md +353 -159
  293. package/docs/BEHAVIORS.md +33 -28
  294. package/docs/CACHING.md +55 -11
  295. package/docs/CHANGELOG.md +358 -17
  296. package/docs/COMPARISON.md +1 -1
  297. package/docs/CONTRACTS.md +22 -29
  298. package/docs/DESIGN-REFERENCES.md +40 -0
  299. package/docs/GUIDE.md +313 -292
  300. package/docs/MCP.md +261 -439
  301. package/docs/SPATIAL-CHECKS.md +69 -0
  302. package/docs/benchmarks/README.md +39 -0
  303. package/package.json +42 -34
  304. package/dist/browser-audit.mjs +0 -424
  305. package/dist/contract-migration.mjs +0 -110
  306. package/dist/create.mjs +0 -48
  307. package/dist/lint-config.mjs +0 -48
  308. package/dist/mcp/draft-exports.mjs +0 -40
  309. package/dist/mcp/edit-preparation.mjs +0 -115
  310. package/dist/mcp/project-widget.bundle.js +0 -114
  311. package/dist/mcp/reports.mjs +0 -101
  312. package/dist/mcp/widget.bundle.js +0 -147
  313. package/dist/oxlint.mjs +0 -88
  314. package/dist/preview-builder.mjs +0 -133
  315. package/dist/preview-workers.mjs +0 -184
  316. package/dist/showcase.mjs +0 -77
  317. package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
  318. package/dist/skills/ads-break-ui/README.md +0 -16
  319. package/dist/skills/ads-break-ui/SKILL.md +0 -415
  320. package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
  321. package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
  322. package/dist/skills/ads-break-ui/references/behaviors.md +0 -411
  323. package/dist/skills/ads-break-ui/references/captures.md +0 -160
  324. package/dist/skills/ads-break-ui/references/contracts.md +0 -284
  325. package/dist/skills/ads-break-ui/references/design-data.md +0 -354
  326. package/dist/skills/ads-break-ui/references/drafts.md +0 -178
  327. package/dist/skills/ads-break-ui/references/evidence.md +0 -128
  328. package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -154
  329. package/dist/skills/ads-break-ui/references/layers.md +0 -145
  330. package/dist/skills/ads-break-ui/references/reporting.md +0 -101
  331. package/dist/skills/ads-break-ui/references/review.md +0 -96
  332. package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
  333. package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
  334. package/dist/skills/ads-break-ui/references/validation.md +0 -162
  335. package/dist/skills/ads-break-ui/references/verification.md +0 -58
  336. package/dist/skills/ads-break-ui/references/workflows.md +0 -83
  337. package/dist/skills/ads-designer/references/reporting.md +0 -101
  338. package/dist/skills/ads-import/references/reporting.md +0 -101
  339. package/dist/skills/ads-motion/LICENSE.upstream +0 -21
  340. package/dist/skills/ads-motion/README.md +0 -22
  341. package/dist/skills/ads-motion/SKILL.md +0 -388
  342. package/dist/skills/ads-motion/agents/openai.yaml +0 -4
  343. package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
  344. package/dist/skills/ads-motion/references/audit.md +0 -44
  345. package/dist/skills/ads-motion/references/behaviors.md +0 -411
  346. package/dist/skills/ads-motion/references/captures.md +0 -160
  347. package/dist/skills/ads-motion/references/contracts.md +0 -284
  348. package/dist/skills/ads-motion/references/design-data.md +0 -354
  349. package/dist/skills/ads-motion/references/drafts.md +0 -178
  350. package/dist/skills/ads-motion/references/evidence.md +0 -128
  351. package/dist/skills/ads-motion/references/guarded-editing.md +0 -154
  352. package/dist/skills/ads-motion/references/layers.md +0 -145
  353. package/dist/skills/ads-motion/references/motion-review.md +0 -35
  354. package/dist/skills/ads-motion/references/reporting.md +0 -101
  355. package/dist/skills/ads-motion/references/review.md +0 -96
  356. package/dist/skills/ads-motion/references/runtimes.md +0 -203
  357. package/dist/skills/ads-motion/references/scenarios.md +0 -246
  358. package/dist/skills/ads-motion/references/validation.md +0 -162
  359. package/dist/skills/ads-motion/references/verification.md +0 -39
  360. package/dist/skills/ads-motion/references/workflows.md +0 -83
  361. package/dist/skills/ads-port/references/reporting.md +0 -101
  362. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
  363. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  364. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  365. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
  366. package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
  367. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
  368. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
  369. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
  370. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
  371. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
  372. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
  373. package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
  374. package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
  375. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
  376. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  377. package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
  378. package/dist/starters/react/design-system/review/index.ts +0 -5
  379. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  380. package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
  381. package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
  382. package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
  383. package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
  384. package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
  385. package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
  386. package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
  387. package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
  388. package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
  389. package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
  390. package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
  391. package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
  392. package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
  393. package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
  394. package/dist/starters/react/package-lock.json +0 -4707
  395. package/dist/token-fixtures.mjs +0 -30
  396. package/docs/benchmarks/bun-previews.md +0 -91
  397. package/docs/benchmarks/preview-memory.md +0 -147
  398. package/docs/benchmarks/turbo-poc.md +0 -284
  399. package/docs/plans/execution-coordination.md +0 -57
  400. /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
  401. /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
package/docs/GUIDE.md CHANGED
@@ -6,21 +6,20 @@ ordinary edits do not require drafts or acceptance. MCP-only iterative editing
6
6
  uses [tracked drafts](../skills/ads-designer/references/drafts.md), rendered review
7
7
  and exact-revision acceptance. Direct editors may choose drafts for isolation and
8
8
  Accepted/Draft comparison too. Complete any required tracked proposals before
9
- reporting the design change finished. Compiler ownership is a separate choice:
10
- the managed ADS compiler is the default for both editing routes; external
11
- builders can publish resources/evidence with `mcp.previewWatch: false`.
9
+ reporting the design change finished. Both editing routes use ADS's own compiler.
12
10
 
13
11
  ADS is development tooling for a project's local design system. This package
14
- contains a Bun CLI, shared token contract, native static checks, an optional linter adapter, and
15
- empty foundation scaffolding. It includes no component or pattern catalogue,
16
- fonts, mock screens, or UI runtime dependency.
12
+ contains a Bun CLI, shared token contract, asynchronous native static checks and
13
+ foundation scaffolding. Default initialization creates an empty design system;
14
+ `--include-starter` adds the shared example design and application source. ADS
15
+ adds no runtime dependency to the application's shipped UI.
17
16
 
18
17
  ## Use ADS through MCP
19
18
 
20
19
  Connect your coding agent using the [MCP client setup](MCP.md#connect-codex-or-claude).
21
20
  The client launches `ads mcp` in your project; add `--mutations` to enable guarded
22
21
  source editing. Initialization also supplies `ads-mcp` and `ads-read-mcp` launch
23
- scripts. The server starts its showcase and configured preview compiler, so use
22
+ scripts. The server starts its showcase and ADS-managed preview compiler, so use
24
23
  the returned showcase URL rather than starting a separate preview application.
25
24
 
26
25
  An agent uses the MCP tools to inspect, edit and review the project:
@@ -29,38 +28,43 @@ An agent uses the MCP tools to inspect, edit and review the project:
29
28
  mutation mode, showcase URL and build freshness.
30
29
  2. Find public UI/behavior APIs with `ads_catalog`, inspect relevant definitions
31
30
  with `ads_tokens`, and discover preview IDs with `ads_scenarios`. Read one
32
- relevant workflow through `ads_skills` and `ads_read_skill` before editing.
33
- 3. Open a discovered preview with `ads_show_scenario` or `ads_show_tokens`. These
34
- render the project's actual scenario, fixtures and adapter through MCP Apps.
31
+ relevant workflow skill before editing: natively, or through `ads_skills` and
32
+ `ads_read_skill` on a 2025-era connection.
33
+ 3. Open a discovered preview, including the token and brand views ADS renders, with `ads_show_scenario`. It
34
+ renders the project's actual scenario, fixtures and adapter through MCP Apps.
35
35
  Use the returned showcase link when the client cannot render Apps.
36
36
  4. Select the editing route, independently of `mutations.enabled`. With direct
37
37
  source access, edit owned files and use the existing compiler/preview; run
38
38
  current gates and relevant project/behavior checks before finishing. With
39
- MCP-only access and mutation tools enabled, discover owners with `ads_units`,
40
- use `ads_create_draft`, `ads_read_file`/`ads_update_draft`, rendered
41
- `ads_show_draft` review and exact-revision `ads_accept`. Accept dependencies
42
- first and review dependents again. Guarded patches/transactions remain
43
- available for MCP-only focused repairs/migrations. A read-only MCP connection
39
+ MCP-only access and mutation tools enabled, every change goes through a draft:
40
+ discover owners with `ads_units`, use `ads_create_draft`,
41
+ `ads_read_file`/`ads_update_draft` (file contents or a Git diff), rendered
42
+ `ads_show_draft` review, an optional `ads_accept` dry run and exact-revision
43
+ `ads_accept`. An owner is in at most one open draft. Accept dependencies first and
44
+ review dependents again. After a series of accepted drafts, run
45
+ `ads_validate({scope:"changed"})`. A read-only MCP connection
44
46
  supports direct editors; it cannot edit for an MCP-only client.
45
47
  5. Review diagnostics, registered behavior evidence and the rendered result.
46
- `ads_behaviors` discovers guarantees; `ads_verify` executes selected registered
47
- checks. Recheck `ads_status.build` after changes; notifications alone do not
48
+ `ads_behaviors` discovers guarantees; the gates run them, and `ads verify` runs
49
+ one unit's checks from the CLI. Recheck `ads_status.build` after changes; notifications alone do not
48
50
  establish current output.
49
51
 
50
- After targeted diagnosis, record a suspected ADS defect with `ads_report_bug`, or
51
- a missing capability with `ads_request_feature`. Supply a minimal reproduction or
52
- workflow and reference exact execution/check evidence when available. Reports stay
53
- local, are untriaged, and do not bypass guards. Read `ads://guides/reporting` or the
54
- [portable reporting guide](../skills/ads-designer/references/reporting.md).
55
-
56
52
  For an on-demand screenshot, call `ads_capture` with a discovered scenario ID and
57
53
  optionally a named `captureTargets` element, theme and viewport. To compare a
58
- proposed change before applying it, add `screenshot:true` and an explicit
59
- `captures:[{scenario:"<discovered ID>"}]` selection to the patch/transaction dry run.
60
- Normal patches and dry runs create no screenshots. Capture uses project-installed
61
- Playwright and its browser; ADS installs neither (`ads create` and `ads init` declare
54
+ draft with accepted source, pass its `draft` id and exact `revision`; acceptance and
55
+ its dry run create no screenshots. Capture uses project-installed
56
+ Playwright and its browser; ADS installs neither (`ads init` declares
62
57
  `@playwright/test`; run `npx playwright install chromium` once).
63
58
 
59
+ For layout inspection, add `guides:["tracks","gaps","padding","mini"]`.
60
+ The selectable layers are `bounds`, `tracks`, `gaps`, `padding`, `margins`, and
61
+ `mini`; they use the showcase overlay on all visible elements. Omit `guides` or
62
+ pass `[]` for a clean visual review. Guides work on components, patterns,
63
+ compositions and `tokens/Layout`, and are recorded in image settings. Read the
64
+ annotated image before requesting a clean capture: each scenario/target has one
65
+ current slot, so the next capture replaces it. A draft comparison uses the same
66
+ layers for current and candidate.
67
+
64
68
  Read `ads://project/captures` and the returned PNG image URIs through MCP
65
69
  `resources/read`. Each target keeps only current and candidate: a successful
66
70
  standalone screenshot replaces current and clears candidate; a screenshot-enabled
@@ -117,7 +121,7 @@ patterns own presentation. A shared context provider is a behavioral API too.
117
121
  Optional `<Owner>.ads.contract.ts` registers guarantees and maintained checks using actual implementation references.
118
122
  Scenario `exercises` records demonstrations separately from rendered `covers`.
119
123
  Use `ads behaviors --json` for discovery and `ads verify --unit <discovered-id>`
120
- to run registered cases; MCP exposes `ads_behaviors` and `ads_verify`. Tests and
124
+ to run registered cases; MCP exposes `ads_behaviors`, and its gates run the cases. Tests and
121
125
  contracts stay outside production exports. See the [complete schema and runner
122
126
  integration](BEHAVIORS.md), including browser and React development StrictMode profiles.
123
127
 
@@ -137,9 +141,9 @@ project's existing build:
137
141
  result. Static source checks do not establish complete extraction or
138
142
  unused-style removal.
139
143
 
140
- The [starter's dependencies](https://github.com/reqvire-org/ads/blob/main/starters/react/package.json),
141
- [entry build](https://github.com/reqvire-org/ads/blob/main/starters/react/vite.config.ts),
142
- and [preview compiler](https://github.com/reqvire-org/ads/blob/main/starters/react/scripts/build-mcp-previews.mjs)
144
+ The [starter's dependencies](https://github.com/reqvire-org/ads/blob/main/starters/shared/package.json),
145
+ [entry build](https://github.com/reqvire-org/ads/blob/main/starters/shared/vite.config.ts),
146
+ and [native mounts](https://github.com/reqvire-org/ads/tree/main/starters)
143
147
  provide the React/Vite setup. Merge the needed integration into an existing
144
148
  project instead of replacing its configuration.
145
149
 
@@ -156,10 +160,11 @@ state. Configure TypeScript with `"jsx": "react-jsx"` and
156
160
 
157
161
  ```ts
158
162
  esbuild: { jsx: "automatic", jsxImportSource: "preact" },
159
- plugins: [wyw(), /* project plugins */],
163
+ plugins: [wyw({ tagResolver: linariaTagResolver }), /* project plugins */],
160
164
  ```
161
165
 
162
- Apply that configuration to both application and preview builds. Mount preview
166
+ Apply that configuration to the application build. ADS's preview compiler uses
167
+ the declared `framework` and shared Linaria resolver automatically. Mount preview
163
168
  entries with `render(<Scenario />, root)` from `preact`; React entries use their
164
169
  existing React mount. Keep Linaria's `css`/`cx` extraction; native Preact does not
165
170
  need `@linaria/react`'s React `styled` wrapper. Use `onInput` for live text updates
@@ -170,19 +175,17 @@ attributes when the project/file JSX runtime or factory is native Preact. Preact
170
175
  and exports DOM types such as `HTMLAttributes` directly; Preact 10's `JSX` type
171
176
  namespace is also recognized by guards. See the [Preact upgrade guide](https://preactjs.com/guide/v11/upgrade-guide/).
172
177
 
173
- The [working example](https://github.com/reqvire-org/ads/tree/main/design-system)
174
- and its [compiler adapter](https://github.com/reqvire-org/ads/blob/main/scripts/build-mcp-previews.mjs)
175
- show the native setup. A new Preact project comes from
176
- `ads create <folder> --framework preact`: the React starter with
177
- `starters/preact/` applied, which replaces the runtime dependencies, JSX settings,
178
- framework transform, mount adapter, review renderers' hooks and types, and
179
- `framework` field together, then init. For a Preact app without a saved framework, run
178
+ The [shared starter](https://github.com/reqvire-org/ads/tree/main/starters/shared)
179
+ and its [native generator](https://github.com/reqvire-org/ads/blob/main/scripts/build-starters.mjs)
180
+ show the setup. `ads init --framework preact --include-starter` adds the generated
181
+ Preact variant of that source. The generator changes runtime dependencies, JSX
182
+ settings, framework imports and the native mount together. For a Preact app without a saved framework, run
180
183
  `ads init --framework preact`; newly generated foundation scenarios use native
181
184
  hooks. Init preserves the application's compiler, dependencies and mount adapter.
182
185
 
183
- ### CSS correctness in the example and starter
186
+ ### CSS correctness in the tool and starter
184
187
 
185
- The example and starter use Biome only for CSS, configured in
188
+ The tool and starter use Biome only for CSS, configured in
186
189
  `biome.css.json`. Parsing rejects malformed CSS and invalid hex colors, including
187
190
  token values. Explicit lint rules reject duplicate font names and selectors;
188
191
  the starter also rejects duplicate properties. Formatting is disabled. ADS directly checks architecture, token usage and
@@ -208,13 +211,14 @@ For a Bun-managed project, use
208
211
  `bunx @reqvire-org/ads init --framework react`, followed by `bun install`,
209
212
  `bunx playwright install chromium` and `bun --bun run build`. Node is unnecessary. No archive or directory argument is needed for a published
210
213
  release. `init` requires an existing project; it does not create an application.
211
- For starting from zero, `ads create <folder> --framework react|preact` copies the
212
- TypeScript/Linaria starter shipped in the same ADS version into a new or empty
213
- folder (`--name`, `--package-manager bun`), then runs init.
214
+ To start from ADS's TypeScript/Linaria starter, add `--include-starter`: init also adds
215
+ the starter's example design system, Vite and TypeScript setup, scripts and development
216
+ dependencies that the project lacks. It never replaces an existing file and never writes
217
+ a lockfile.
214
218
 
215
219
  Choose `--framework react` or `--framework preact` when the project has no saved
216
220
  framework. Init persists it as `framework` in `ds.config.json`. Subsequent runs
217
- reuse the saved value; a project from `ads create` already declares its framework.
221
+ reuse the saved value.
218
222
  There is no implicit framework detection or default for initialization.
219
223
 
220
224
  A conflicting flag stops init before writes. Init also checks available
@@ -265,33 +269,23 @@ An unrelated custom `lint:ds` or `assets:ds` script causes init to stop before w
265
269
  rename it or integrate the checks deliberately. Writes are preflighted and do
266
270
  not follow symlinks. Keep normal version control review of the resulting changes.
267
271
 
268
- After installation, normal builds use the project's installed tool. They refresh
269
- lint configuration after tool/plugin changes, cloning/moving the project, or
270
- removing `.ds/`; they do not rely on the initializing npx cache. Commit the
272
+ After installation, normal builds use the project's installed tool; they do not rely
273
+ on the initializing npx cache. Commit the
271
274
  updated lockfile. npm CI can use `npm ci`, then `npm run build`.
272
275
 
273
276
  ## Package manager detection
274
277
 
275
- `init` chooses npm or Bun in this order:
276
-
277
- 1. Explicit `--package-manager npm` or `--package-manager bun`.
278
- 2. The project's `packageManager` field.
279
- 3. Its Bun (`bun.lock` or `bun.lockb`) or npm (`package-lock.json`) lockfile.
280
- 4. The Bun runtime or invoking Bun runner's metadata, otherwise npm.
278
+ `init` reads npm or Bun from the project:
281
279
 
282
- With both lockfile types and no declared package manager, specify the flag.
283
- This version supports npm and Bun. It never replaces or removes a lockfile.
284
- An existing Bun lockfile takes precedence over the npm runner used by `npx`.
285
- For a Bun project with no lockfile or package-manager metadata yet:
280
+ 1. Its `packageManager` field in `package.json`.
281
+ 2. Its Bun (`bun.lock` or `bun.lockb`) or npm (`package-lock.json`) lockfile.
286
282
 
287
- ```sh
288
- bunx @reqvire-org/ads init --framework react
289
- bun install
290
- bun --bun run build
291
- ```
283
+ A project that declares neither stops init with an error naming what to add; with both
284
+ lockfile types and no `packageManager`, keep one or set the field. This version supports
285
+ npm and Bun. It never replaces or removes a lockfile. How ADS was launched (`npx` or
286
+ `bunx`) does not change the project's choice.
292
287
 
293
- Bun is inferred from the launcher when the project has no saved manager or lockfile.
294
- Use `--package-manager bun` only to override an existing project choice. Init
288
+ Init
295
289
  does not translate the app's existing scripts. Bun hooks explicitly use `bun --bun run` so package executables,
296
290
  including ADS, run on Bun despite Node shebangs.
297
291
  Launch the MCP server with `bunx @reqvire-org/ads mcp`, or its generated
@@ -391,7 +385,7 @@ npm run dev:mcp-explorer
391
385
  ```
392
386
 
393
387
  Open **http://127.0.0.1:4190/**. It builds ADS and starts the real stdio server,
394
- its showcase and the configured preview compiler. The
388
+ its showcase and ADS-managed preview compiler. The
395
389
  [explorer guide](../mcp-explorer/README.md) covers tools, resources, prompts, skills,
396
390
  notifications and widget checks. Run `npm run dev:showcase` instead for normal
397
391
  visual review. These development commands are not required in projects using
@@ -406,7 +400,7 @@ For iterative development, use the linking workflow above. From the repository r
406
400
  npm install
407
401
  npm run build
408
402
  npm run pack:tool
409
- ads_tool_package="$PWD/output/npm/reqvire-org-ads-0.3.2.tgz"
403
+ ads_tool_package="$PWD/output/npm/reqvire-org-ads-$(bun -p 'require("./package.json").version').tgz"
410
404
  ```
411
405
 
412
406
  Then change into an existing test project containing `package.json`:
@@ -418,7 +412,7 @@ npm install
418
412
  npm run build
419
413
  ```
420
414
 
421
- Use `bun install` and `bun run build` for Bun. Keep npx options before `ds`.
415
+ Use `bun install` and `bun run build` for Bun. Keep npx options before `ads`.
422
416
  `--tool-package` accepts an absolute local tarball path, a version, or a matching
423
417
  package/version. A tarball becomes a `file:` development dependency, so keep it
424
418
  available for subsequent installs. A published pinned version is portable
@@ -432,7 +426,6 @@ between machines without an archive. Routine builds need no global install.
432
426
  | `ads check [directory]` | Read-only core token, source import, and style checks |
433
427
  | `ads tokens [directory]` | List declared values and theme/media scopes |
434
428
  | `ads assets [directory]` | Generate standard icons from `assets.iconSource` |
435
- | `ads lint-config [directory]` | Generate or refresh `.ds/oxlintrc.json` |
436
429
  | `ads mcp [directory]` | Serve tools, resources, prompts, skills and preview Apps; start the local showcase |
437
430
  | `ads mcp --mutations` | Enable guarded edits to the local ADS, validated before application |
438
431
  | `ads showcase [directory]` | Start the same MCP runtime and showcase for browser-only use |
@@ -445,22 +438,23 @@ Exit codes are 0 for success, 1 for check findings, and 2 for invalid
445
438
  input/configuration or execution errors.
446
439
 
447
440
  Guarded MCP editing is opt-in. Its mandatory checks and optional project
448
- `acceptance.checks` scripts run in a temporary project copy with installed
441
+ `acceptance.scripts` run in a temporary project copy with installed
449
442
  dependencies. Project scripts default to 60 seconds each; use the explicit
450
443
  `mcp.mutationCheckTimeoutMs` budget (100–300000 ms) for measured slower builds.
444
+ A preview waits up to 5 minutes for its build, including the first build after the
445
+ MCP server starts; set `mcp.previewBuildTimeoutMs` (1000–3600000 ms) to change it.
451
446
  Behavior profiles have a separate whole-run budget.
452
- Set `acceptance.behaviorChecks` to require affected registered tests at acceptance.
453
- Set `validation.checks` and `validation.behaviorChecks` independently for audits.
454
- Both script lists default to empty; no names are inferred. Both policies run the
455
- browser audit; `"browserAudit": false` in a policy turns its audit off. Direct source edits
456
- can run `ads validate --policy acceptance`; ordinary `ads validate` selects the
457
- validation policy. See [policy guidance](../skills/ads-designer/references/validation.md).
458
- When the acceptance policy requires affected registered behavior checks (or
459
- a capture was requested), ADS builds and shares production previews with browser
460
- verification. The acceptance policy's browser audit renders the candidate's affected UI
461
- scenarios for axe-core on that host, or compiles only those scenarios when nothing
462
- else needs previews. Core-only acceptance does not build the whole graph. Remove `build:mcp-previews`
463
- from `acceptance.checks`; keep that script in the ordinary project build.
447
+ Draft acceptance runs the draft owners' own registered tests unless
448
+ `acceptance.behavior` is false, and their render audit unless `acceptance.audit` is
449
+ false. `ads validate` runs `acceptance.scripts` and then `validation.scripts`, so list
450
+ each script once. Both script lists default to empty; no names are inferred. Direct
451
+ source edits run `ads validate --changed`. See [the two gates](../skills/ads-designer/references/validation.md).
452
+ When acceptance runs the owners' registered behavior checks (or a capture was
453
+ requested), ADS builds and shares production previews with browser verification.
454
+ Acceptance's render audit renders the owners' UI scenarios in the candidate on that
455
+ host, or compiles only those scenarios when nothing else needs previews. Core-only
456
+ acceptance does not build the whole graph. Remove `build:mcp-previews` from
457
+ `acceptance.scripts`; keep that script in the ordinary project build.
464
458
  See the [editing contract](MCP.md#guarded-editing) for unit ownership,
465
459
  Git patches, bounded reads and preview review. Keep normal build gates enabled
466
460
  for edits made by other tools.
@@ -479,8 +473,9 @@ including when a file is inside `tokens/`. Shared token assignments outside
479
473
  `tokens/` fail. Source styles also check shared references for undeclared names.
480
474
  It does not change values, import a theme, or synchronize definitions.
481
475
 
482
- Source checks enforce the configured public alias for app/showcase consumers,
483
- reject JSX inline styling except configured files, and check CSS and imported
476
+ Source checks enforce the fixed `@ds` public alias for app/showcase consumers,
477
+ reject JSX inline styling except files declared in their owner's `styles.inline`
478
+ contract, and check CSS and imported
484
479
  Linaria `css` and `styled` templates for raw visual values and namespace ownership. Private
485
480
  ADS implementation imports and showcase-local files are allowed. The checker
486
481
  recognizes imported aliases and shadowed bindings.
@@ -490,7 +485,7 @@ Arbitrary computed expressions, combined conditional cascade behavior, computed
490
485
  module specifiers, JSX spreads, other styling engines, and renderer-specific APIs
491
486
  need the project's existing checks and review. Continue to run its type checking,
492
487
  component tests, and browser comparisons. Register component-specific guards as
493
- explicit project scripts; include them in builds and `acceptance.checks` when
488
+ explicit project scripts; include them in builds and `acceptance.scripts` when
494
489
  required. `ads check` does not invoke project linter plugins.
495
490
 
496
491
  ### Checks and guards
@@ -510,30 +505,33 @@ There is no warning level.
510
505
  |---|---|
511
506
  | `ads check` | Static token, theme, brand, accessibility, ownership, import and coverage rules; no browser |
512
507
  | `ads audit` | axe-core (WCAG A/AA rules), ADS's non-text contrast check, `layout-shift` and `layout-overflow` at 390, 768 and 1280 px in every component, pattern and composition scenario, once per brand and theme, and in a 240 px container for components and patterns |
513
- | `ads validate` | The validation policy: `ads check` rules, `validation.checks` scripts, current previews, registered behavior checks (`validation.behaviorChecks`, default `true`) and the browser audit |
514
- | `ads validate --policy acceptance` | The acceptance policy against current source, applying nothing: `ads check` rules, `acceptance.checks` scripts, affected behavior checks when `acceptance.behaviorChecks` is `true` (default `false`) and the browser audit |
515
- | MCP acceptance | `ads_accept`, `ads_apply_patch` and `ads_apply_transaction` run the acceptance policy on an isolated candidate and write no source unless it passes; the audit covers the candidate's affected UI scenarios (all of them after configuration, foundation, token or asset changes) |
516
-
517
- **Browser audit.** Both policies run it by default. Each `a11y-axe`,
518
- `a11y-non-text-contrast`, `layout-overflow` and `layout-shift` finding is an error that fails the policy, and an audit that cannot run fails it with a `browser-audit` error
508
+ | MCP acceptance | `ads_accept` checks the draft's candidate and writes no source unless it passes (`dryRun:true` writes nothing): `ads check` rules, `acceptance.scripts`, the draft owners' own registered behavior tests (`acceptance.behavior`, default `true`) and the render audit of their own UI scenarios (`acceptance.audit`, default `true`) |
509
+ | `ads validate` | The project gate, applying nothing: `ads check` rules, `acceptance.scripts` then `validation.scripts`, current previews, and every registered behavior test and render audit its change set reaches |
510
+ | `ads validate --changed` | The same for what changed since the last successful full run (configuration, foundation or token changes widen it to everything); run it after direct edits or a series of accepted drafts |
511
+
512
+ **Render audit.** `ads validate` always runs it over the scenarios its change set
513
+ reaches; draft acceptance runs it over the draft owners' own scenarios.
514
+ `mcp.auditPages` (1–16, default 4) sets how many pages render at once. Each `a11y-axe`,
515
+ `a11y-non-text-contrast`, `layout-overflow` and `layout-shift` finding is an error that fails the gate, and an audit that cannot run fails it with a `render-audit` error
519
516
  naming what to install. Each `a11y-incomplete` finding is an info item that fails nothing: axe could
520
517
  not decide that rule on those elements, so check it by hand. It names the axe rule, scenario, themes,
521
518
  elements, and axe's reason, such as `bgGradient` for text over a gradient. The audit needs the
522
519
  project's Playwright and a browser:
523
520
 
524
521
  ```sh
525
- npm install -D @playwright/test # ads create and ads init declare it
522
+ npm install -D @playwright/test # ads init declares it
526
523
  npx playwright install chromium # Bun: bunx playwright install chromium
527
524
  ```
528
525
 
529
526
  `mcp.capture` selects `browser` (`chromium`, `firefox`, `webkit`), an installed Chrome
530
- `channel` such as `"chrome"`, and `timeoutMs`. To turn the audit off for a policy, set
531
- `browserAudit` to `false` in `ds.config.json`:
527
+ `channel` such as `"chrome"`, and `timeoutMs`. To turn the owners' behavior tests or
528
+ render audit off for draft acceptance, set them in `ds.config.json`; `ads validate`
529
+ always runs both:
532
530
 
533
531
  ```json
534
532
  {
535
- "acceptance": { "checks": [], "behaviorChecks": false, "browserAudit": false },
536
- "validation": { "checks": [], "behaviorChecks": true, "browserAudit": false }
533
+ "acceptance": { "scripts": [], "behavior": true, "audit": false },
534
+ "validation": { "scripts": [], "inputs": [] }
537
535
  }
538
536
  ```
539
537
 
@@ -543,7 +541,7 @@ component change audits only the scenarios that import it.
543
541
  A render that fails because the preview dropped or was slow is retried on its own, up to 3
544
542
  attempts, with a new browser and preview; the others keep their results, and findings never
545
543
  cause a retry. The JSON result and the check list retried passes under `retries`, and `ads
546
- audit` prints them. A scenario that still fails is a `browser-audit` error naming it and the
544
+ audit` prints them. A scenario that still fails is a `render-audit` error naming it and the
547
545
  last cause, beside any findings. A project that fails validation stops the audit.
548
546
 
549
547
  **Non-text contrast.** axe-core does not check WCAG 1.4.11, so the audit adds
@@ -597,33 +595,26 @@ set to 0 under `prefers-reduced-motion`), `a11y-text-spacing` (`--leading-normal
597
595
 
598
596
  **Layout.** Widths are fluid on the grid.
599
597
 
600
- `layout-fixed-width` (`ads check`) reads component, pattern and composition styles: `width`,
601
- `min-width`, `inline-size`, `min-inline-size`, `flex-basis`, the basis of `flex`, and
602
- `grid-template-columns` tracks. Component variables declared in the same template and `var()`
603
- fallbacks are read through. Each value is read at the smallest and largest container it can have,
604
- so what counts is whether it can shrink.
598
+ `layout-fixed-width` (`ads check`) reads fixed minima in component, pattern and composition
599
+ styles: widths, inline sizes, flex bases and grid tracks. Fixed sizing comes from the project's
600
+ spatial scale, mini/fine units, standard control/icon sizes or explicit fixed-size roles.
601
+ Aliases and calculations retain their underlying roles, and a fixed minimum must fit the
602
+ spatial maximum. Projects without a spatial definition may use their shared spacing primitives.
605
603
 
606
- | Value | Result |
604
+ | Construction | Result |
607
605
  |---|---|
608
- | 96 px or less, in any unit, raw, through a token or by arithmetic: `64px`, `12ch`, `var(--control-height-lg)` | Pass: a small part may use a plain size |
609
- | Fixed above 96 px, in any unit: `280px`, `32.5ch`, `20rem`, `var(--space-80)`, `calc(var(--space-32) * 10)` | Error. `ch`, `em`, `ex`, `lh` and `rem` are fixed lengths, estimated at the same rule's `font-size`, or 16 px |
610
- | Unable to shrink below 96 px: `max(100%, 280px)`, `clamp(200px, 50%, 400px)`, `calc(100% + 200px)`, a `minmax(200px, 1fr)` track | Error |
611
- | Able to shrink: `min(100%, 280px)`, `calc(100% - 200px)`, `50cqi`, a `minmax(0, 280px)` track, `width: 280px` with `max-width: 100%` in the same rule | Pass |
612
- | A flex item that grows and shrinks: `flex: 1 1 280px` | Pass |
613
- | A track repeated with `auto-fill` or `auto-fit`: `repeat(auto-fit, minmax(200px, 1fr))` | Pass: it wraps |
614
- | `%`, `fr`, viewport and container units, `auto`, `min-content`, `max-content`, `fit-content` | Pass |
615
- | `max-width`, `max-inline-size`, in any unit: `max-width: 1400px` | Not read: a maximum cannot force overflow |
616
- | A token named by `layout.widthTokens`, used plainly, or a `clamp()` whose three values all are, such as a resizable pane: `clamp(var(--pane-min), var(--ux-pane, var(--pane)), var(--pane-max))` | Pass, and each is listed for review when it is fixed. A runtime variable there needs a declared fallback |
617
- | A variable with no definition ADS can read: `var(--set-at-runtime)` | Pass: `layout-overflow` renders it |
618
-
619
- No token name is exempt: `var(--side-pane-width)` is 280 px whatever it is called.
620
-
621
- The fix depends on the part:
622
-
623
- - A small part stays at 96 px or less, as a plain size.
624
- - A panel, column or anything else that can give way: `width: min(100%, 280px)`,
625
- `flex: 1 1 280px` or a `minmax(0, 280px)` track.
626
- - A part that truly stays that wide: a token listed in `layout.widthTokens`, used plainly.
606
+ | A fixed size from `spatial.ads.json`'s scale, including sizes above 96 px | Supported within the spatial bound |
607
+ | Standard control/icon size, or an alias/calculation based on a supported size | Supported within the spatial bound |
608
+ | A fixed minimum without a supported sizing role | `layout-fixed-width` error |
609
+ | `min(100%, var(--side-pane-width))`, shrinking flex bases or `minmax(0, var(--side-pane-width))` tracks | Supported responsive sizing |
610
+ | Percentages, fractional tracks, viewport/container units and intrinsic sizing | Supported |
611
+ | A maximum size, or a fixed width capped by `max-width: 100%` in the same rule | Supported cap |
612
+ | A token explicitly named by `layout.widthTokens` | Supported and listed for review |
613
+ | Fixed/hybrid tracks emitted by `@ads-layout` | Checked by local track, cap, margin and gutter algebra |
614
+
615
+ A panel can use a responsive cap or a validated hybrid region. Repeated tiles can use
616
+ `@ads-layout fixed`. There is no universal fixed-width pixel cutoff and no warning for a
617
+ legitimate responsive cap around a small part.
627
618
 
628
619
  `layout` in `ds.config.json` has two fields:
629
620
 
@@ -639,14 +630,62 @@ The fix depends on the part:
639
630
  across them) whose widths are not checked. List overlays here: dialogs, menus, popovers and
640
631
  tooltips. There is no per-declaration exception.
641
632
 
642
- `layout-declared-width` is a review item for each fixed `widthTokens` token, with how many widths
643
- use it, and for each `fixedWidthUnits` file that sets a fixed width. `layout-width-noop` is a
644
- review item for a `min()` or `clamp()` that never exceeds 96 px, such as `min(100%, 64px)`. It does
645
- not protect against overflow and a plain size is clearer, but in a flex or grid parent the percentage
646
- can affect wrapping, so compare the scenario after changing it. An entry that matches no token, unit or file is a `layout-config` error, and an
647
- entry cannot name every token or unit.
633
+ `layout-declared-width` lists explicit fixed roles and owners for review. A configuration
634
+ entry matching no token, unit or file is a `layout-config` error; an entry cannot name every
635
+ token or unit.
636
+
637
+ ### Spatial layouts
638
+
639
+ `tokens/spatial.ads.json` defines the mini unit, sizing scale, ratios, breakpoints and gutter
640
+ modes. Owned Linaria styles describe layout with `@ads-layout`; ADS validates it against that
641
+ definition and compiles it to ordinary CSS, so placement is correct in the first render and no
642
+ layout wrapper component is needed. An invalid construction is a `grid-construction` error at
643
+ its source; an invalid definition is `grid-definition`.
648
644
 
649
- `layout-overflow` (browser audit) resizes each rendered scenario, in every theme and brand, to
645
+ | Layout | Use |
646
+ |---|---|
647
+ | `fluid` | Tracks that share the width: the breakpoint's column count, or `columns: N` |
648
+ | `hybrid` | Fluid tracks plus a `fixed-start` and/or `fixed-end` track (a token or `0`); `@ads-at <breakpoint> { fixed-start: …; fixed-end: … }` changes them from that breakpoint on |
649
+ | `fixed` | Tiles of `tile: <token>` that wrap |
650
+ | `flow` | A column with `row-gap`, natural content height |
651
+ | `inherited` | Inside a cell: continues the parent's tracks (CSS subgrid), optionally with its own `gutter` mode |
652
+
653
+ Fluid and hybrid roots also take `gutter`, `row-gap`, `margin`, `bound`, `align`, `rows` and
654
+ `context`. `align: start | center | end` places a capped region (`bound` other than `full`)
655
+ inside the available width, keeping its outer margin; the default is `center`. `rows` lists
656
+ 1–12 row sizes, each `auto` (content height) or `fill` (shares the remaining block size), for
657
+ example `rows: auto fill` for a header above a body. Without `rows`, rows are implicit and
658
+ content-sized; ADS never invents equal rows.
659
+ `context: viewport` (the default) emits media queries; `context: container` applies the same
660
+ breakpoints to the nearest region container instead, so a layout responds to the space its
661
+ region has. Inherited layouts follow their parent's context.
662
+
663
+ Cells are direct children named by class or data attribute: `@ads-cell .name { … }`.
664
+
665
+ | Property | Values |
666
+ |---|---|
667
+ | `start` | A column line from 1, or `auto` to take the next free position (needs a numeric `span`). Default `1` |
668
+ | `span` / `end` | Columns to cover (a number or `full`), or the line to end before. Use one; a breakpoint that sets one replaces the other |
669
+ | `row`, `row-span` | Row line (default `auto`) and rows to cover (default 1). With `rows` declared, placement must stay within them |
670
+ | `visible` | `true` (default) or `false`. A hidden range compiles to a bounded query, so the element's own `display` is never overridden where it is visible |
671
+ | `padding`, `ratio` | A spacing token inside the cell; a supported ratio |
672
+
673
+ Two region properties:
674
+
675
+ - `container: region` makes the cell a region container for `context: container` layouts
676
+ inside it. A cell either continues its parent's tracks or starts a region, not both.
677
+ - `overlay: start | end` takes the cell out of the tracks at that breakpoint: it covers the
678
+ region from that inline edge and the other cells keep their tracks. `overlay: none` returns
679
+ it to its track. Overlays belong to root fluid or hybrid layouts.
680
+
681
+ `@ads-at <breakpoint> { start; span; end; row; row-span; overlay; visible }` changes a cell from
682
+ that breakpoint on. An overlay keeps its row band, so a panel placed in the body row covers the
683
+ body, not the header.
684
+ Placement is checked against the track count at every breakpoint. Outside any region
685
+ container, a `context: container` layout uses its narrowest placement. The starter's `Shell`
686
+ pattern combines hybrid tracks, overlays and a region container for its panels.
687
+
688
+ `layout-overflow` (render audit) resizes each rendered scenario, in every theme and brand, to
650
689
  390, 768 and 1280 px. Each finding names the scenario, widths, themes, brands and elements:
651
690
 
652
691
  - The document scrolls horizontally.
@@ -665,8 +704,8 @@ measured anyway and reported as `content-still-changing`.
665
704
  The audit also renders what a scenario shows after someone acts on it, in every theme and brand.
666
705
  Findings name the state in the selector, such as `open overlay "Edit": button` or `hover: button`.
667
706
  The result's `coverage`, also printed as a `Covered:` line, gives what was measured. What was skipped is
668
- a `browser-audit-skipped` info item per reason, with up to 5 examples. A render that could measure none
669
- of its targets is a `browser-audit-nothing-measured` review item.
707
+ a `render-audit-skipped` info item per reason, with up to 5 examples. A render that could measure none
708
+ of its targets is a `render-audit-nothing-measured` review item.
670
709
 
671
710
  - **Overlays.** It clicks each distinct control with `aria-haspopup`, up to 3 per render, once per
672
711
  theme and brand across the audit. What opens
@@ -715,8 +754,8 @@ project with no `@font-face` gets none of these.
715
754
 
716
755
  The starters' `Image` lazily loads and reserves space; `priority` marks the view's main visible
717
756
  image. When body or heading text uses a font from `tokens/fonts.css`, `ads assets` writes
718
- `tokens/fonts.preload.generated.ts`: call its `preloadFonts()` in the app entry before the first
719
- render. It imports the files through the bundler, Vite or Bun, so the preload and the stylesheet share
757
+ `tokens/fonts.preload.generated.ts`, and the generated public barrel re-exports it: call
758
+ `preloadFonts()` from the public entry in the app entry before the first render. It imports the files through the bundler, Vite or Bun, so the preload and the stylesheet share
720
759
  one URL. For a preload earlier than JavaScript, a build step or prerender can call `fontPreloadTags()`
721
760
  for `<link>` tags or `fontPreloadHeader()` for a `Link` header value; `fontPreloads` is the same list.
722
761
  A project that sets heading fonts per component names what to preload in `assets.preloadFonts`:
@@ -740,21 +779,22 @@ and binding and variable ownership are errors; Linaria atomic composition risks
740
779
  `atomic-composition-review` items. See [Generic architecture guards](#generic-architecture-guards).
741
780
 
742
781
  **Behavior.** A registered guarantee needs current passing execution evidence. `ads verify`
743
- runs the registered checks against current source (`--unit` and `--check` select); the
744
- validation policy runs all of them, the acceptance policy the affected ones when
745
- `acceptance.behaviorChecks` is `true`.
782
+ runs the registered checks against current source (`--unit` and `--check` select);
783
+ `ads validate` runs every one its change set reaches, draft acceptance the draft
784
+ owners' own ones unless `acceptance.behavior` is `false`.
746
785
 
747
786
  ## Showcase
748
787
 
749
788
  ADS ships a minimal browser shell, MCP client and Apps host. `ads mcp` serves the
750
789
  website alongside its stdio connection; `ads showcase` starts the same runtime
751
790
  for browser-only use. Run commands from the project root. Open the printed URL,
752
- or use `ads_status.showcaseUrl` from an already connected runtime. An available
753
- loopback port is selected by default; `--port 4185` selects a fixed port.
791
+ or use `ads_status.showcaseUrl` from an already connected runtime: it is the URL
792
+ and port of the showcase that server is running. An available loopback port is
793
+ selected by default; `--port 4185` selects a fixed port.
754
794
  `ads mcp --no-showcase` keeps a headless stdio server.
755
795
 
756
796
  The client negotiates the current modern MCP protocol, discovers menus with
757
- `ads_tokens`/`ads_scenarios`, invokes `ads_show_tokens`/`ads_show_scenario` and renders
797
+ `ads_tokens`/`ads_scenarios`, invokes `ads_show_scenario` and renders
758
798
  Apps through the official bridge. It refreshes menus on catalogue notifications
759
799
  and refreshes the active scenario in the same App after a successful build. Errors identify
760
800
  stale retained output. Its neutral header and left pane align and collapse
@@ -764,24 +804,17 @@ or direct component imports are used by this client.
764
804
  The project owns implementations, colocated scenarios/fixtures, foundation
765
805
  CSS and a framework mount adapter. ADS supplies its native Bun preview compiler.
766
806
  The starter and init provide the mount under `design-system/showcase/mcp/`.
767
- Configure the framework and preview manifest; no Vite preview script is required:
807
+ Configure the framework; ADS compiles every scenario into one shared preview graph:
768
808
 
769
809
  ```json
770
810
  {
771
811
  "framework": "react",
772
812
  "mcp": {
773
- "showcaseTitle": "My Project Design System",
774
- "previewManifest": ".ds/preview/manifest.json"
813
+ "showcaseTitle": "My Project Design System"
775
814
  }
776
815
  }
777
816
  ```
778
817
 
779
- For direct editing with an externally managed builder, add `previewWatch: false`
780
- and run `ads compile .` or manage `ads compile . --watch` outside MCP. MCP then
781
- serves published resources/evidence without starting a compiler. Existing views
782
- can stay visible, but changed-source evidence stays stale until a verified update
783
- is published. See [editing workflows](../skills/ads-designer/references/workflows.md).
784
-
785
818
  Keep the saved `framework` (`react` or `preact`), JSX transform and mount adapter
786
819
  consistent. The optional title defaults to the project package name followed by
787
820
  ` · Design System`. The browser shell stays the same for both frameworks. There is
@@ -789,9 +822,9 @@ one managed compiler per runtime, shared by stdio and HTTP clients. It builds
789
822
  a shared multi-entry graph on first demand and after source changes; the App
790
823
  loads only the selected scenario's dependencies. TSX/Linaria compilation still
791
824
  happens automatically. Accepted configuration-unit mutations replace the managed
792
- compiler while keeping MCP connected. External compiler/configuration or dependency
825
+ compiler while keeping MCP connected. Configuration or dependency
793
826
  changes may require restarting the runtime; ordinary owner/fixture/style/asset edits do not.
794
- See [the compiler contract](MCP.md#configure-the-project-compiler) for revisions,
827
+ See [the compiler contract](MCP.md#one-client-command-managed-preview-builds) for revisions,
795
828
  diagnostics, invalidation and the shared resource graph.
796
829
 
797
830
  Colocate `<Owner>.ads.scenario.tsx` and `<Owner>.ads.fixture.ts` beside tokens and
@@ -836,29 +869,35 @@ behavior or capture references whose path-derived IDs change.
836
869
 
837
870
  Ungrouped entries remain directly visible without a Default heading. Named groups
838
871
  are collapsible and sorted alphabetically within each layer. Existing flat
839
- projects continue to work without moving files. Tokens retain their categories.
872
+ projects continue to work without moving files. Token views follow the catalogue's groups.
840
873
 
841
- Token scenarios live beside foundation CSS under the configured token directory.
842
- The starter groups its tokens in six scenarios (`tokens/Color`, `Type`, `Space`, `Shape`,
843
- `Motion`, `Layout`), each with its local fixture, for a project-owned token review
844
- renderer. Keep its presentation in development-only `review/`:
874
+ ADS renders the **Tokens** section itself from the token sheets and
875
+ `<dsDir>/tokens/catalog.ads.json`. Token navigation follows the same model as folders: a
876
+ catalogue group is a sidebar group, and each kind of token in it (color fills, text colors,
877
+ font families, text sizes, line heights, shadows…) is one view, `tokens/<Group>/<section>`, so a page shows one kind at a
878
+ time. A group with a single kind stays one view, `tokens/<Group>`; the `Layout` group stays one
879
+ view with the spatial reference. The section follows from each token's sample property, so there
880
+ is no section metadata. As on component pages, each sample sits on the project canvas in a box
881
+ while names and values sit on the showcase surface. The catalogue lists groups and gives each token its sample binding:
845
882
 
846
- ```tsx
847
- import { TokenSamples } from "@ds/review";
848
- import { fixture } from "./Typography.ads.fixture";
849
- export const scenario = { title: fixture.title, covers: ["TokenSamples"], samples: fixture.samples };
850
- export default function Scenario() { return <TokenSamples {...fixture} />; }
883
+ ```json
884
+ {
885
+ "schemaVersion": 1,
886
+ "groups": [
887
+ { "id": "Color", "title": "Color", "samples": [
888
+ { "token": "--accent", "property": "background-color", "probe": "rgb(31, 97, 163)" }
889
+ ] }
890
+ ]
891
+ }
851
892
  ```
852
893
 
853
- `TokenSamples` is an example project-owned pattern, not an npm tool component.
854
- The fixture defines literal `samples: [{ token, property, probe }]` and sample text.
855
- Token values come from foundation CSS; the fixture owns a distinct, valid CSS probe
856
- for verifying each declared property. Add/remove samples when tokens change.
857
- The renderer marks its styled elements with `data-ads-token` and `data-ads-property`.
858
- The App probes their computed properties in the browser; name/value labels alone
859
- do not pass. No CSS-property list or test palette is built into ADS. `token-scenario-reference`,
860
- `token-scenario-render` and `token-scenario-coverage` enforce real references and
861
- coverage for every token. The same source/style/import checks apply under tokens/.
894
+ `property` is the CSS property the view demonstrates the token with, and `probe` a valid test
895
+ value different from the token's own; the view checks in the browser that the property responds.
896
+ Tokens without a catalogue entry appear in a **Values** group with a default binding for their
897
+ type. The `Layout` group's view also shows the spatial definition's examples. An invalid
898
+ catalogue is a `foundation-catalog` error. Projects author no token scenarios or token review
899
+ renderers: a project scenario with a foundation view's ID fails. (An additional project scenario
900
+ that claims tokens is still checked by `token-scenario-reference` and `token-scenario-render`.)
862
901
 
863
902
  Fixtures/adapters own development inputs, state, callbacks and simulated services.
864
903
  The entry requires no browser page, application router/store or prior setup.
@@ -870,17 +909,17 @@ coverage for every public renderable component/pattern, including unused exports
870
909
  Only reachable real render references count. Types/constants/utilities are
871
910
  excluded. Scenarios and fixture helpers are development-only; runtime code and
872
911
  the public barrel cannot import or re-export them. They define no CSS, custom
873
- classes or native widget replicas. Reusable review layouts are public project
874
- patterns; the outer browser shell is tooling UI. Full-app integration harnesses
912
+ classes or native widget replicas. Project-specific review helpers use marked `.ads.review.*` files; the outer browser shell is tooling UI. Full-app integration harnesses
875
913
  belong in application tests. See the [contract](ADS.md#showcase-contract).
876
914
 
877
915
  The showcase header's **Phone viewport** toggle constrains the real preview iframe to 390 CSS pixels (or the available width on a narrower screen). It is available for patterns and compositions as well as components, keeps the mounted example and its state, and does not change the selected application host. Use it to review a responsive web shell at phone width independently of a native mobile app shell. `?viewport=phone` preserves this preview choice in a link; toggle it off to follow the available browser width. On phone browsers the catalogue starts collapsed, leaving the available width to the preview; the navigation button can reopen it. Automated captures retain their exact requested viewport.
878
916
 
879
- For this checkout, `npm run dev:showcase` builds the tool and launches its client;
880
- `npm run build:showcase` compiles scenario artifacts for verification. Use `bun
881
- run` with the same script names. These commands do not install a UI catalogue.
882
- The optional `scenarioRegistryPlugin` remains available for legacy Vite browsers,
883
- but the built-in client reads discovery through MCP. Existing custom showcases
917
+ For this checkout, `bun run dev:showcase` builds the tool and serves an initialized
918
+ Preact starter under ignored `.ds/playground/`. `bun run dev:react` selects React.
919
+ The design source is `starters/shared/`; restart after editing it to generate a new
920
+ playground snapshot. `bun run build:showcase` compiles that starter’s scenarios.
921
+ The playground and receiving projects use the same initializer and packaged source.
922
+ The built-in client reads discovery through MCP. Existing custom showcases
884
923
  are preserved by init; replace their run command deliberately when migrating.
885
924
 
886
925
  Run core and registered project checks before preview compilation, alongside
@@ -907,19 +946,16 @@ Keep original artwork (SVG masters, finished PNG/JPEG/WebP images, delivered
907
946
  `.ico`/`.icns` files, in any mix) and a usage/credits/license README in
908
947
  `design-system/assets/brand/`, and font files in `assets/fonts/`. `ads check` fails
909
948
  when artwork is undescribed in that README (`brand-readme`), the README states no
910
- license (`brand-license`), artwork is missing from a Brand preview
911
- (`brand-preview`), and lists artwork nothing uses for review (`brand-unused`). Name a dark-theme variant
949
+ license (`brand-license`), and lists artwork nothing uses for review (`brand-unused`). Name a dark-theme variant
912
950
  `<name>.dark.svg`; the component showing it renders both and shows each with a display switch
913
- (`display: var(--display-dark, block)`). Brand previews are the showcase's first
914
- section, **Brand**: scenarios in `brand/`, grouped by folder like components (the
915
- starter's `brand/Identity/Logo` and `brand/Icons/AppIcon` with the review
916
- `BrandPreview`). They show artwork in the current theme and the app icon at its
917
- sizes, and have no token samples. A finished image renders only at or below its own
951
+ (`display: var(--display-dark, block)`). ADS renders the showcase's first
952
+ section, **Brand** (`brand/Assets`), from the artwork in `assets/brand/` and its subfolders: artwork in the
953
+ current theme and the app icon at its actual sizes. Projects author no brand preview scenarios. A finished image renders only at or below its own
918
954
  pixel size; ADS never enlarges it. The [branding guide](../skills/ads-designer/references/branding.md)
919
955
  (`ads://guides/branding`) covers the whole flow. Font declarations
920
- belong in optional `tokens/fonts.css`, imported first. The foundation entry is
921
- import-only: fonts (when present), colors, typography, spacing, elevation, base,
922
- themes.generated.css.
956
+ belong in optional `tokens/fonts.css`. ADS generates the import-only foundation entry
957
+ (`styles.css`) from the sheets present, in this order: fonts, colors, typography, spacing,
958
+ elevation, base, themes.generated.css. Never edit it by hand.
923
959
  Fixed artwork colors and geometry are permitted inside SVG assets; they do not
924
960
  permit raw visual values in component or pattern styles.
925
961
 
@@ -996,9 +1032,9 @@ file's source and rule in `assets/logos/README.md`.
996
1032
 
997
1033
  ### Tokens, grid, icons and accessibility
998
1034
 
999
- `ads create` starts from a token foundation in six groups (Color, Type, Space &
1035
+ `ads init` starts a design system from a token foundation in six groups (Color, Type, Space &
1000
1036
  sizing, Shape & elevation, Motion, Layout) whose roles meet WCAG 2.2 AA in both themes,
1001
- a container-query `Grid` on the grid tokens, and an icon set with `Icon` and
1037
+ a spatial definition with `@ads-layout` constructions (see [Spatial layouts](#spatial-layouts)), and an icon set with `Icon` and
1002
1038
  `IconButton`. Keep the token names and change values to brand a project.
1003
1039
 
1004
1040
  `ads check` reports two kinds of finding. **Errors** fail `ads check`, validation and
@@ -1007,16 +1043,24 @@ acceptance: contrast per theme and brand (`token-contrast`), the 2 px spacing rh
1007
1043
  `a11y-text-resize`, `a11y-reduced-motion`, `a11y-text-spacing`, `a11y-image-alt`,
1008
1044
  `a11y-icon-label`), glyph sets (`glyph-viewbox`, `glyph-color`), control padding
1009
1045
  (`control-padding`: a control sized with `--control-height-<size>` pads its sides with
1010
- `--control-padding-<size>`, or `--control-inset` inside a track), and the theme, brand and
1046
+ `--control-padding-<size>`, or `--control-inset` inside a track), declared artwork/text
1047
+ relationships (`lockup-construction`), and the theme, brand and
1011
1048
  brand-artwork rules below. **Review items** never block; each names something only a person
1012
1049
  can judge: `atomic-composition-review`, `token-overlap-review`, `pointer-capture-review`,
1013
1050
  `scenario-exercise-review`, `a11y-keyboard`, `brand-unused` and `render-color-probe`.
1014
1051
  **Info** items (`atomic-composition-limit`) note an analysis limit. There is no setting that
1015
- changes a finding's kind. The showcase's grid button overlays the project's grid on every
1016
- preview, and its **Icons** tab shows the glyph set: every glyph at the size used beside
1052
+ changes a finding's kind. The showcase's layout-grid button inspects actual rendered grid
1053
+ containers. Its **Icons** tab shows the glyph set: every glyph at the size used beside
1017
1054
  text, each one on its grid at every `--icon-*` size with its aliases and glyph errors, and
1018
1055
  each file in `assets/logos/` as it is, on a white and a black tile.
1019
1056
 
1057
+ Use `@ads-lockup` in an owned Linaria style to declare the artwork hook, text-group
1058
+ hook and size token for a logo/icon beside text. It centers the artwork and aligns
1059
+ the text runs, preserving intrinsic artwork proportions. The blocking check rejects
1060
+ conflicting styles and unresolved hooks; it does not restrict standalone artwork
1061
+ or prove optical balance. See the [worked branding example](../skills/ads-designer/references/branding.md#aligning-artwork-with-text)
1062
+ for markup, font trimming, browser support and review boundaries.
1063
+
1020
1064
  `ads audit` runs `ads check` first. A policy error such as `layout-fixed-width` or `img-attributes`
1021
1065
  does not stop it: it renders every scenario and reports those errors with its own, and exits 1. Only
1022
1066
  an error that stops rendering blocks it (`source-syntax`, `css-syntax`, `project-structure`,
@@ -1027,13 +1071,13 @@ It adds a rendered check: axe-core (WCAG A/AA rules) in every component, pattern
1027
1071
  and composition scenario, once per declared brand and theme (`--scenario`, `--theme` and
1028
1072
  `--brand` narrow it). Each violation is an `a11y-axe` error naming the axe rule, WCAG
1029
1073
  criterion, themes and brands, failing elements and help link, and `ads audit` exits 1. It
1030
- needs the project's Playwright and browser, as captures do. The validation and acceptance
1031
- policies run it too unless their `browserAudit` is `false`; MCP draft acceptance and
1032
- guarded patches audit the candidate's affected scenarios before
1033
- writing source, and an `a11y-axe`, `a11y-non-text-contrast` or `layout-overflow` error rejects
1034
- the change.
1074
+ needs the project's Playwright and browser, as captures do. `ads validate` runs it too,
1075
+ over every scenario its change set reaches; MCP draft acceptance audits the draft
1076
+ owners' own scenarios before writing source unless `acceptance.audit` is `false`, and an
1077
+ `a11y-axe`, `a11y-non-text-contrast` or `layout-overflow` error rejects the change.
1035
1078
  `ads tokens --format dtcg` exports the tokens as W3C Design Tokens JSON for design tools
1036
- (`--theme <name>` and `--brand <name>` select one context).
1079
+ (`--theme <name>` and `--brand <name>` select one context). MCP clients read the same export
1080
+ from `ads://project/tokens/dtcg` (`?theme=` and `?brand=`).
1037
1081
 
1038
1082
  `themes` in `ds.config.json` declares the themes (a name and the color scheme for native
1039
1083
  controls; the first is the default), and the optional `brands` the brands (the first is the
@@ -1124,7 +1168,7 @@ Application manifest metadata and other platform exports remain project-owned.
1124
1168
  | Primitive state | State-variable overrides outside components; undocumented non-state component variables |
1125
1169
  | Literal visual values | Absolute/font-relative lengths (including `ch` and root font units), durations and color/effect formulas require tokens; geometry angles and responsive viewport/container relationships remain available |
1126
1170
  | Fixed token ownership | Foreign token names, shared token overrides, misplaced component/pattern/showcase variables, and noncanonical foundation imports |
1127
- | Showcase ownership | Fixture CSS/Linaria definitions, custom JSX classes, native controls/widget roles, state styling, private CSS/aliased imports, legacy catalogue dependencies and source ownership, and runtime imports of fixtures/test helpers |
1171
+ | Showcase ownership | Fixture CSS/Linaria definitions, custom JSX classes, native controls/widget roles, state styling, private CSS/aliased imports, catalogue dependencies of a project's own showcase pages and source ownership, and runtime imports of fixtures/test helpers |
1128
1172
  | Scenario coverage | All public renderable UI has path-discovered entries, colocated fixtures, literal metadata and reachable public render references; runtime imports of scenarios/fixtures are rejected |
1129
1173
  | Data access | Direct global fetch/XHR/WebSocket/EventSource in ADS source is rejected; injected services, workers and lazy imports remain allowed |
1130
1174
  | Showcase coverage | Public ADS UI referenced by production JSX/React `createElement` has showcase render references; imports and tests alone do not count |
@@ -1135,27 +1179,6 @@ queries. ADS implementations and showcase fixtures cannot import app code.
1135
1179
  Private imports within ADS implementations remain allowed, including when the ADS
1136
1180
  is nested inside `src/`. Application integration harnesses belong in test support.
1137
1181
 
1138
- Projects that explicitly choose Oxlint may use the optional adapter below.
1139
- Declare it as a project dependency and run `ads lint-config` followed by Oxlint
1140
- in an explicit project script; ADS acceptance and validation do not run it
1141
- automatically:
1142
-
1143
- ```json
1144
- {
1145
- "oxlint": {
1146
- "plugins": [{ "name": "project", "path": "scripts/oxlint-project.mjs" }],
1147
- "rules": { "project/domain-usage": "error" },
1148
- "overrides": [
1149
- { "files": ["src/test/**"], "rules": { "project/domain-usage": "off" } }
1150
- ]
1151
- }
1152
- }
1153
- ```
1154
-
1155
- Override patterns are project-relative, cannot escape the project, and configure
1156
- Oxlint only. They do not suppress architecture checks from `ads check`. A plugin
1157
- can import development-only `loadConfig`, `importResolver`, and `styleWriteViolation`
1158
- from `@reqvire-org/ads` when it needs the same validated boundaries as core.
1159
1182
  Unknown configuration fields fail rather than silently weakening checks.
1160
1183
 
1161
1184
  Notification usage can be enforced directly by ADS, without a project lint
@@ -1174,7 +1197,7 @@ plugin or another parse/lint pass:
1174
1197
  }
1175
1198
  ```
1176
1199
 
1177
- `api` and `host` name exports imported from the configured public alias. ADS
1200
+ `api` and `host` name exports imported from `@ds`. ADS
1178
1201
  recognizes named aliases and namespace imports, respecting shadowed bindings.
1179
1202
  It rejects direct module/render calls and calls in `use server` modules, requires
1180
1203
  a stable `id` for directly effect-created notifications with inspectable options,
@@ -1200,21 +1223,35 @@ Keep renderer-, framework-, and component-specific project guards too. The
1200
1223
  shared tool does not validate a third-party graph renderer's own APIs, arbitrary
1201
1224
  runtime spreads, or the semantic meaning of a
1202
1225
  measured value. Register project-specific guard scripts in the existing build
1203
- and required MCP checks. The optional linter adapter is one project choice.
1226
+ and configured acceptance/validation scripts. The project's own linter remains
1227
+ an independent build tool.
1204
1228
 
1205
1229
  ### Project boundaries and assets
1206
1230
 
1207
- Optional configuration adds only the permissions and paths that the project
1208
- actually uses; the tool contains no component or product-specific lists:
1231
+ Style permissions belong to their owner, in its `<Owner>.ads.contract.ts`, with paths
1232
+ relative to the contract:
1233
+
1234
+ ```ts
1235
+ export default {
1236
+ schemaVersion: 1,
1237
+ styles: { writes: { "./geometry.ts": ["--ds-panel-height"] }, inline: [] },
1238
+ customization: ["--ds-panel-gap"],
1239
+ } satisfies UnitContract;
1240
+ ```
1241
+
1242
+ `styles.writes` permits only the listed CSS properties in that exact file. Use
1243
+ kebab-case (`user-select`) or an exact custom property. Static assignments,
1244
+ `setProperty`, and `removeProperty` can use that permission; `cssText`, computed
1245
+ property names, escaped style objects, and bulk writes remain forbidden. Plain
1246
+ property reads are allowed. `styles.inline` is a separate file-level JSX/type
1247
+ exception and never permits imperative writes by itself. `customization` lists a
1248
+ component's non-state `--ds-*` variables that patterns, the showcase and the
1249
+ application may set.
1250
+
1251
+ Optional asset configuration adds only the paths that the project actually uses:
1209
1252
 
1210
1253
  ```json
1211
1254
  {
1212
- "boundaries": {
1213
- "styleWrites": [
1214
- { "file": "design-system/components/geometry.ts", "properties": ["--ds-panel-height"] }
1215
- ],
1216
- "componentVariables": ["--ds-panel-gap"]
1217
- },
1218
1255
  "assets": {
1219
1256
  "iconSource": "assets/brand/app-icon.svg",
1220
1257
  "publicDirs": ["public/assets"],
@@ -1224,13 +1261,7 @@ actually uses; the tool contains no component or product-specific lists:
1224
1261
  }
1225
1262
  ```
1226
1263
 
1227
- Merge these sections into `ds.config.json`. `styleWrites` permits only the
1228
- listed CSS properties in that exact file. Use kebab-case (`user-select`) or an
1229
- exact custom property. Static assignments, `setProperty`, and `removeProperty`
1230
- can use that boundary; `cssText`, computed property names, escaped style
1231
- objects, and bulk writes remain forbidden. Plain property reads are allowed.
1232
- `inlineStyleFiles` is a separate file-level JSX/type exception and never
1233
- permits imperative writes by itself.
1264
+ Merge this section into `ds.config.json`.
1234
1265
 
1235
1266
  Asset checks compare `design-system/assets/` with each configured public mount
1236
1267
  and `design-system/showcase/public/assets/`, adjusting for `dsDir`. A relative
@@ -1239,7 +1270,7 @@ match. `generatedFiles` names asset-relative paths forbidden in those source
1239
1270
  directories; nothing is inferred from filenames such as `favicon.ico`.
1240
1271
 
1241
1272
  `generatedPaths` names project-relative files or directories that must not be
1242
- tracked. Legacy `dist-kit/` and `dist-showcase/` output is also generated;
1273
+ tracked. A project's own `dist-showcase/` build output is also treated as generated;
1243
1274
  the built-in client uses project preview artifacts under `.ds/`.
1244
1275
  Git inspects tracked files, including nested workspaces. Outside a Git repo,
1245
1276
  there are no tracked outputs to check; other asset checks still run. Real Git
@@ -1256,64 +1287,43 @@ Paths stay within the receiving project:
1256
1287
  "schemaVersion": 1,
1257
1288
  "sourceDir": "src",
1258
1289
  "dsDir": "design-system",
1259
- "publicAlias": "@ds",
1260
- "publicEntry": "index.ts",
1261
- "reviewEntry": "review/index.ts",
1262
- "stylesEntry": "styles.css",
1263
- "tokenDir": "tokens",
1264
1290
  "themes": [{ "name": "light", "scheme": "light" }, { "name": "dark", "scheme": "dark" }],
1265
- "inlineStyleFiles": [],
1266
- "layout": { "widthTokens": [], "fixedWidthUnits": [] },
1267
- "oxlint": { "plugins": [], "rules": {} }
1291
+ "layout": { "widthTokens": [], "fixedWidthUnits": [] }
1268
1292
  }
1269
1293
  ```
1270
1294
 
1271
1295
  `layout` declares allowed width tokens and owners with fixed widths; see
1272
- [Checks and guards](#checks-and-guards).
1296
+ [Checks and guards](#checks-and-guards). Inside `dsDir` the layout is fixed:
1297
+ ADS generates the public barrel `index.ts`, the review entry `review/index.ads.review.ts`
1298
+ and the styles entry `styles.css`, and token sheets live in `tokens/`. ADS writes
1299
+ the barrels from the owners' `<Owner>.ads.exports.ts` files and the styles entry
1300
+ from the token sheets (`ads assets`, the showcase and the MCP server); `ads check`
1301
+ reports one that is stale or edited by hand. The app imports the design system as
1302
+ `@ds` and its development layer as `@ds/review`.
1273
1303
 
1274
1304
  These source-layout defaults apply when the file is absent; the example omits
1275
1305
  the required init-time framework choice. Run `ads init --framework react` (or
1276
- `preact`) to save it. To use another layout, write this configuration before init. Configure TypeScript and the app bundler to resolve
1277
- the same alias; this file does not rewrite their configuration.
1306
+ `preact`) to save it. To use other folders, write this configuration before init. Configure TypeScript and the app bundler to resolve
1307
+ `@ds` to `<dsDir>/index.ts`; this file does not rewrite their configuration.
1278
1308
 
1279
1309
  Colocate component-specific guards with their owner and register their command
1280
- in the project build. If that project chooses Oxlint, its optional adapter can
1281
- be configured explicitly:
1282
-
1283
- ```json
1284
- {
1285
- "oxlint": {
1286
- "plugins": [
1287
- { "name": "project-ui", "path": "scripts/oxlint-project-ui.mjs" }
1288
- ],
1289
- "rules": { "project-ui/feature-usage": "error" }
1290
- }
1291
- }
1292
- ```
1293
-
1294
- Merge that section into the project configuration and explicitly run
1295
- `ads lint-config` followed by the project linter.
1296
- Generated configuration registers `ads/public-import`, `ads/no-inline-style`, `ads/no-app-import`, and
1297
- explicit project plugins. Core tooling imports no particular component.
1310
+ in the project build or in `acceptance.scripts`. Core tooling imports no particular component.
1298
1311
  Registered project configuration and build helpers may import one another;
1299
1312
  native ADS import guards enforce this boundary. It does not
1300
1313
  allow application code to import private ADS modules or build helpers to import
1301
1314
  private UI implementation.
1302
1315
 
1303
- Unused `inlineStyleFiles` entries and `styleWrites` properties fail the core
1304
- `stale-style-boundary` check. Inline permissions recognize JSX, imported UI
1305
- factories and UI `CSSProperties` use; property permissions require an exact write
1306
- or removal, not a read. For MCP migrations, include the owner's source and only
1307
- its own exception entries through its `ds.config.json` companion. Preserve peer
1308
- permissions and other settings. A future filename can be valid configuration,
1309
- but the complete checked candidate must contain the matching use.
1316
+ Unused `styles.inline` entries and `styles.writes` properties fail the core
1317
+ `stale-style-boundary` check, reported on the contract. Inline permissions recognize
1318
+ JSX, imported UI factories and UI `CSSProperties` use; property permissions require
1319
+ an exact write or removal, not a read. Change an owner's source and its contract
1320
+ permissions together in its draft.
1310
1321
 
1311
- `inlineStyleFiles` should name only documented geometry/renderer boundaries,
1322
+ `styles.inline` should name only documented geometry/renderer boundaries,
1312
1323
  not broad styling exceptions. Ignore `.ds/`; generated paths refer to the project
1313
1324
  and its locally installed tool.
1314
1325
 
1315
- `lint-config` is optional linter integration. For native ADS gates outside
1316
- package-manager hooks, run the installed tool directly:
1326
+ For native ADS gates outside package-manager hooks, run the installed tool directly:
1317
1327
 
1318
1328
  ```sh
1319
1329
  ads check .
@@ -1360,39 +1370,50 @@ scenario, fixture, helpers, test, spec or behavior.spec. Optional
1360
1370
  paint and declarative-consumer contracts. Production APIs/types stay in runtime
1361
1371
  files. ADS reads contract data statically; no project import runs during discovery.
1362
1372
  See [CONTRACTS.md](CONTRACTS.md) for exact fields, supported producer forms and
1363
- source/browser limits. Older JSON and unmarked recognized development filenames
1364
- remain supported during migration.
1365
-
1366
- With supporting tooling installed and MCP reconnected, discover one owner, call
1367
- `ads_prepare_patch` with `action: "migrate"`, inspect the local draft/notes, and use
1368
- normal diff, dry-run and apply gates. This never changes live source by itself.
1369
- Review custom runner globs and unimportable private subjects before application;
1370
- migrate passing owners in stages and preserve pending agent drafts.
1373
+ source/browser limits. Only `.ads.`-marked filenames are development roles.
1371
1374
 
1372
1375
  Project scale policies remain explicit. A registered check can call
1373
- `inspectTokenOrigins(inspectTokens(root), target, {stopAt: allowedSharedTokens})`
1376
+ `inspectTokenOrigins(await inspectTokens(root), target, {stopAt: allowedSharedTokens})`
1374
1377
  from the tooling package. Check `aliasOnly` for strict alias-only policies across
1375
1378
  all themes; inspect `literals`/`diagnostics` for raw values, cycles and limits.
1376
1379
  Choose exact targets/origins and documented geometry exceptions in project code;
1377
- register the command in `acceptance.checks` and the normal build. ADS owns no
1380
+ register the command in `acceptance.scripts` and the normal build. ADS owns no
1378
1381
  universal spacing scale and infers no design meaning from token names.
1379
1382
 
1380
1383
  ## Releasing the ADS tool
1381
1384
 
1382
1385
  Run the complete tool, browser and packed npm/Bun suite locally before tagging.
1383
1386
  Commit the implementation, documentation and package version first, then run
1384
- `npm run release:verify` with Node, Bun and Chrome available. Tests run serially;
1385
- use an OS memory limit when exercising the full browser/compiler suite. The
1386
- runner forces `ADS_TEST_BUN=1`, rejects failed, cancelled or skipped tests, and
1387
+ `bun run release:verify` with Bun, Chrome, and npm and Node available (the packed
1388
+ tests install ADS into an npm project and check the Node-facing exports). The suite
1389
+ runs the same grouped command as `bun run test`: one shared build, then unit,
1390
+ integration and browser groups. Defaults are 4 unit file workers with up to 4
1391
+ concurrent cases per file, 2 integration workers and 4 browser workers. All three
1392
+ groups overlap after the build. All per-group overrides also
1393
+ apply to release verification; see [test configuration](../tests/README.md).
1394
+ Bun's optional `[test] smol = true` in
1395
+ `bunfig.toml` reduces heap growth through more frequent garbage collection; it
1396
+ can slow tests and is not a hard limit for the runner or its compiler/browser
1397
+ children. Use an OS/container limit when a hard memory cap is needed.
1398
+ The runner rejects failed or skipped tests, and
1387
1399
  refuses uncommitted inputs or source changes during the run.
1388
1400
 
1401
+ `make test` runs the same full suite; `make test-grid` uses serial compact dots
1402
+ and `make test-analysis` runs the focused analysis tests. `make release-verify`
1403
+ records release evidence and `make release-proof` verifies it. These targets
1404
+ enable terminal colors. Direct `bun run release:verify` also preserves colors
1405
+ while saving its output. To disable them, use `make test FORCE_COLOR=0` or
1406
+ `FORCE_COLOR=0 bun run release:verify`.
1407
+
1389
1408
  A successful run writes a generated verification stamp under the matching
1390
1409
  version in `docs/CHANGELOG.md`. It records the tested implementation commit,
1391
1410
  command, counts, runtimes, completion time, duration, source SHA-256 and log
1392
- SHA-256. The full log remains in `output/local-tests.log`. Commit that stamp
1411
+ SHA-256, per-group counts/report hashes and explicit test-setting overrides.
1412
+ All three fresh JUnit reports must pass without skips. The full log remains in
1413
+ `output/local-tests.log`; group reports are in `output/local-tests.junit/`. Commit that stamp
1393
1414
  and tag the resulting commit. Do not hand-author a passing stamp.
1394
1415
 
1395
- `npm run release:proof` verifies that the tested commit is an ancestor and its
1416
+ `bun run release:proof` verifies that the tested commit is an ancestor and its
1396
1417
  source digest matches both the release tree and working inputs. Only generated
1397
1418
  proof blocks and the machine-specific, unpackaged `.mcp.json` launcher are
1398
1419
  excluded from the digest; other tracked changes require another local run.