@reqvire-org/ads 0.4.0 → 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 (394) hide show
  1. package/README.md +105 -86
  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 +5 -5
  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 +219 -77
  21. package/dist/boundaries.mjs +135 -38
  22. package/dist/brand-assets.mjs +219 -47
  23. package/dist/brands.mjs +86 -27
  24. package/dist/bun-compiler.mjs +28 -14
  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 +40 -57
  30. package/dist/check.mjs +749 -188
  31. package/dist/cli.mjs +200 -99
  32. package/dist/color-values.mjs +21 -21
  33. package/dist/component-contrast.mjs +2 -2
  34. package/dist/config.mjs +303 -135
  35. package/dist/construction-styles.cjs +10 -0
  36. package/dist/control-padding.mjs +45 -25
  37. package/dist/css-values.mjs +3 -2
  38. package/dist/declarative-flow.mjs +209 -109
  39. package/dist/design-values.mjs +136 -51
  40. package/dist/development-runtime.mjs +4 -6
  41. package/dist/draft-boundary.mjs +11 -6
  42. package/dist/evidence.mjs +1 -1
  43. package/dist/finding-rules.mjs +7 -5
  44. package/dist/font-rules.mjs +2 -2
  45. package/dist/fonts-generated.mjs +2 -2
  46. package/dist/foundation-views.mjs +238 -0
  47. package/dist/foundation.mjs +63 -39
  48. package/dist/generated-entries.mjs +101 -34
  49. package/dist/icons.mjs +79 -32
  50. package/dist/image-attributes.mjs +109 -36
  51. package/dist/image-size.mjs +1 -1
  52. package/dist/index.mjs +0 -2
  53. package/dist/init.mjs +122 -41
  54. package/dist/investigations.mjs +2 -2
  55. package/dist/layers.mjs +298 -129
  56. package/dist/layout-widths.mjs +180 -85
  57. package/dist/linaria/preserve-values.cjs +7 -0
  58. package/dist/linaria/spatial-inputs.cjs +56 -0
  59. package/dist/lockup-composition.mjs +44 -0
  60. package/dist/lockup-model.cjs +64 -0
  61. package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
  62. package/dist/mcp/apps.mjs +4 -30
  63. package/dist/mcp/behavior-pages.mjs +72 -24
  64. package/dist/mcp/build-status.mjs +257 -64
  65. package/dist/mcp/catalog.mjs +90 -26
  66. package/dist/mcp/context.mjs +17 -18
  67. package/dist/mcp/draft-discovery.mjs +44 -21
  68. package/dist/mcp/drafts.mjs +901 -281
  69. package/dist/mcp/execution-coordinator.mjs +417 -167
  70. package/dist/mcp/execution-results.mjs +7 -7
  71. package/dist/mcp/mutations.mjs +670 -234
  72. package/dist/mcp/preview-watch.mjs +448 -170
  73. package/dist/mcp/preview-widget.bundle.js +44 -50
  74. package/dist/mcp/prompts.mjs +5 -5
  75. package/dist/mcp/result-pages.mjs +1 -1
  76. package/dist/mcp/sandbox-host.mjs +1 -1
  77. package/dist/mcp/server.mjs +2402 -577
  78. package/dist/mcp/showcase-host.mjs +165 -41
  79. package/dist/mcp/skills.mjs +1 -1
  80. package/dist/mcp/text-diff.mjs +29 -10
  81. package/dist/paint-contracts.mjs +174 -81
  82. package/dist/palette-generated.mjs +2 -2
  83. package/dist/preview-bun.mjs +493 -187
  84. package/dist/preview-failure.mjs +1 -1
  85. package/dist/preview-files.mjs +13 -13
  86. package/dist/preview-imports.mjs +104 -55
  87. package/dist/preview-inputs.mjs +2 -2
  88. package/dist/preview-requests.mjs +24 -0
  89. package/dist/preview-resources.mjs +288 -147
  90. package/dist/preview-scope.mjs +5 -4
  91. package/dist/program-cache.mjs +8 -34
  92. package/dist/project-documents.mjs +1 -1
  93. package/dist/public-api.mjs +69 -31
  94. package/dist/public-props.mjs +39 -22
  95. package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
  96. package/dist/{browser-audit → render-audit}/image-shape.mjs +2 -2
  97. package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
  98. package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
  99. package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
  100. package/dist/{browser-audit → render-audit}/worker.mjs +86 -30
  101. package/dist/render-audit.mjs +828 -0
  102. package/dist/render-color-probe.mjs +96 -42
  103. package/dist/resource-limits.mjs +229 -97
  104. package/dist/runtime-contracts.mjs +467 -185
  105. package/dist/scenario-groups.mjs +22 -10
  106. package/dist/scenario-inspector.mjs +6 -43
  107. package/dist/scenario-program.mjs +8 -25
  108. package/dist/scenario-registry.mjs +72 -30
  109. package/dist/scenario-selectors.mjs +161 -64
  110. package/dist/scenario-slots.mjs +149 -56
  111. package/dist/scenario-trace.mjs +215 -109
  112. package/dist/scenarios-compiler.mjs +719 -378
  113. package/dist/scenarios-vite.d.mts +1 -3
  114. package/dist/scenarios-vite.mjs +2 -81
  115. package/dist/scenarios.mjs +421 -157
  116. package/dist/selector-match.mjs +2 -2
  117. package/dist/showcase/client.bundle.js +57 -56
  118. package/dist/showcase/draft-navigation.js +18 -0
  119. package/dist/showcase/favicon.ico +0 -0
  120. package/dist/showcase/favicon.svg +1 -0
  121. package/dist/showcase/foundation-view.css +55 -0
  122. package/dist/showcase/foundation-view.mjs +252 -0
  123. package/dist/showcase/guide-controls.ads.review.mjs +32 -0
  124. package/dist/showcase/icons.js +1 -145
  125. package/dist/showcase/index.html +3 -31
  126. package/dist/showcase/preview-frame.ads.review.css +46 -0
  127. package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
  128. package/dist/showcase/preview-frame.ads.review.mjs +22 -0
  129. package/dist/showcase/preview-state.js +0 -9
  130. package/dist/showcase/refresh-scheduler.js +23 -0
  131. package/dist/showcase/style.css +5 -47
  132. package/dist/showcase/ui/ui.css +1353 -0
  133. package/dist/showcase/ui/ui.js +1062 -0
  134. package/dist/showcase-coverage.mjs +58 -37
  135. package/dist/skills/README.md +24 -23
  136. package/dist/skills/ads-designer/README.md +8 -2
  137. package/dist/skills/ads-designer/SKILL.md +130 -119
  138. package/dist/skills/ads-designer/references/accessibility.md +12 -13
  139. package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
  140. package/dist/skills/ads-designer/references/behaviors.md +30 -27
  141. package/dist/skills/ads-designer/references/branding.md +98 -10
  142. package/dist/skills/ads-designer/references/captures.md +25 -0
  143. package/dist/skills/ads-designer/references/cli.md +21 -24
  144. package/dist/skills/ads-designer/references/contracts.md +7 -6
  145. package/dist/skills/ads-designer/references/design-data.md +49 -52
  146. package/dist/skills/ads-designer/references/drafts.md +20 -17
  147. package/dist/skills/ads-designer/references/evidence.md +1 -5
  148. package/dist/skills/ads-designer/references/guarded-editing.md +14 -18
  149. package/dist/skills/ads-designer/references/layers.md +1 -1
  150. package/dist/skills/ads-designer/references/layout.md +347 -0
  151. package/dist/skills/ads-designer/references/mobile.md +2 -1
  152. package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
  153. package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
  154. package/dist/skills/ads-designer/references/review.md +37 -34
  155. package/dist/skills/ads-designer/references/runtimes.md +33 -30
  156. package/dist/skills/ads-designer/references/scenarios.md +16 -18
  157. package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
  158. package/dist/skills/ads-designer/references/stress-test.md +68 -0
  159. package/dist/skills/ads-designer/references/validation.md +83 -75
  160. package/dist/skills/ads-designer/references/workflows.md +8 -33
  161. package/dist/skills/ads-import/SKILL.md +43 -325
  162. package/dist/skills/ads-import/references/atomic-styles.md +4 -4
  163. package/dist/skills/ads-import/references/behaviors.md +30 -27
  164. package/dist/skills/ads-import/references/branding.md +5 -5
  165. package/dist/skills/ads-import/references/captures.md +25 -0
  166. package/dist/skills/ads-import/references/cli.md +21 -24
  167. package/dist/skills/ads-import/references/compatibility.md +1 -1
  168. package/dist/skills/ads-import/references/contracts.md +7 -6
  169. package/dist/skills/ads-import/references/design-data.md +49 -52
  170. package/dist/skills/ads-import/references/drafts.md +20 -17
  171. package/dist/skills/ads-import/references/evidence.md +1 -5
  172. package/dist/skills/ads-import/references/guarded-editing.md +14 -18
  173. package/dist/skills/ads-import/references/implementation.md +2 -1
  174. package/dist/skills/ads-import/references/layers.md +1 -1
  175. package/dist/skills/ads-import/references/layout.md +347 -0
  176. package/dist/skills/ads-import/references/review.md +37 -34
  177. package/dist/skills/ads-import/references/runtimes.md +33 -30
  178. package/dist/skills/ads-import/references/scenarios.md +16 -18
  179. package/dist/skills/ads-import/references/tokens.md +3 -3
  180. package/dist/skills/ads-import/references/validation.md +83 -75
  181. package/dist/skills/ads-import/references/workflows.md +8 -33
  182. package/dist/skills/ads-migrate/SKILL.md +56 -0
  183. package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
  184. package/dist/skills/ads-port/SKILL.md +54 -343
  185. package/dist/skills/ads-port/references/atomic-styles.md +4 -4
  186. package/dist/skills/ads-port/references/behaviors.md +30 -27
  187. package/dist/skills/ads-port/references/captures.md +25 -0
  188. package/dist/skills/ads-port/references/cli.md +21 -24
  189. package/dist/skills/ads-port/references/contracts.md +7 -6
  190. package/dist/skills/ads-port/references/design-data.md +49 -52
  191. package/dist/skills/ads-port/references/drafts.md +20 -17
  192. package/dist/skills/ads-port/references/evidence.md +1 -5
  193. package/dist/skills/ads-port/references/guarded-editing.md +14 -18
  194. package/dist/skills/ads-port/references/layers.md +1 -1
  195. package/dist/skills/ads-port/references/layout.md +347 -0
  196. package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
  197. package/dist/skills/ads-port/references/native-implementation.md +2 -1
  198. package/dist/skills/ads-port/references/review.md +37 -34
  199. package/dist/skills/ads-port/references/runtimes.md +33 -30
  200. package/dist/skills/ads-port/references/scenarios.md +16 -18
  201. package/dist/skills/ads-port/references/validation.md +83 -75
  202. package/dist/skills/ads-port/references/workflows.md +8 -33
  203. package/dist/source-symbols.mjs +1 -8
  204. package/dist/source-values.mjs +266 -128
  205. package/dist/spatial-composition.mjs +322 -0
  206. package/dist/spatial-contexts.cjs +56 -0
  207. package/dist/spatial-css.cjs +351 -0
  208. package/dist/spatial-inputs.cjs +80 -0
  209. package/dist/spatial-metadata.mjs +18 -0
  210. package/dist/spatial-model.cjs +322 -0
  211. package/dist/spatial.mjs +21 -0
  212. package/dist/stage-timing.cjs +20 -0
  213. package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
  214. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
  215. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  216. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  217. package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
  218. package/dist/starters/preact/ds.config.json +25 -6
  219. package/dist/starters/preact/package.json +4 -8
  220. package/dist/starters/preact/tsconfig.json +4 -5
  221. package/dist/starters/preact/vite.config.ts +3 -3
  222. package/dist/starters/react/ADS.md +42 -47
  223. package/dist/starters/react/README.md +47 -49
  224. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
  225. package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
  226. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
  227. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
  228. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
  229. package/dist/starters/react/design-system/index.ts +2 -1
  230. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
  231. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
  232. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
  233. package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
  234. package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
  235. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
  236. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
  237. package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
  238. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
  239. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
  240. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
  241. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
  242. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -1
  243. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  244. package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
  245. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
  246. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
  247. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -1
  248. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  249. package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
  250. package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
  251. package/dist/starters/react/design-system/tokens/colors.css +1 -1
  252. package/dist/starters/react/design-system/tokens/spacing.css +22 -32
  253. package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
  254. package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
  255. package/dist/starters/react/ds.config.json +25 -6
  256. package/dist/starters/react/package.json +2 -6
  257. package/dist/starters/react/tsconfig.json +2 -3
  258. package/dist/starters/react/vite.config.ts +3 -3
  259. package/dist/style-boundaries.mjs +70 -25
  260. package/dist/task-cache.mjs +173 -72
  261. package/dist/task-worker.mjs +22 -11
  262. package/dist/test-boundaries.mjs +132 -59
  263. package/dist/themes-generated.mjs +1 -1
  264. package/dist/themes-watch.mjs +57 -22
  265. package/dist/themes.mjs +176 -73
  266. package/dist/token-export.mjs +39 -14
  267. package/dist/token-policy.mjs +6 -3
  268. package/dist/token-quality.mjs +6 -6
  269. package/dist/token-samples.mjs +16 -5
  270. package/dist/tokens.mjs +71 -26
  271. package/dist/ui-framework.mjs +16 -14
  272. package/dist/unit-contracts.mjs +251 -104
  273. package/dist/units.mjs +208 -98
  274. package/dist/usage.mjs +138 -38
  275. package/dist/validation-checks.mjs +115 -38
  276. package/dist/validation-inputs.mjs +187 -78
  277. package/dist/validation.mjs +268 -102
  278. package/dist/verification/browser.mjs +27 -5
  279. package/dist/verification.mjs +711 -187
  280. package/docs/ADS.md +90 -79
  281. package/docs/ARCHITECTURE.md +294 -136
  282. package/docs/BEHAVIORS.md +29 -25
  283. package/docs/CACHING.md +52 -17
  284. package/docs/CHANGELOG.md +309 -17
  285. package/docs/CONTRACTS.md +12 -4
  286. package/docs/DESIGN-REFERENCES.md +40 -0
  287. package/docs/GUIDE.md +270 -258
  288. package/docs/MCP.md +181 -324
  289. package/docs/SPATIAL-CHECKS.md +69 -0
  290. package/docs/benchmarks/README.md +39 -0
  291. package/package.json +42 -34
  292. package/dist/browser-audit.mjs +0 -429
  293. package/dist/create.mjs +0 -48
  294. package/dist/lint-config.mjs +0 -50
  295. package/dist/mcp/project-widget.bundle.js +0 -114
  296. package/dist/mcp/reports.mjs +0 -101
  297. package/dist/mcp/widget.bundle.js +0 -147
  298. package/dist/oxlint.mjs +0 -89
  299. package/dist/preview-builder.mjs +0 -133
  300. package/dist/preview-workers.mjs +0 -184
  301. package/dist/showcase.mjs +0 -77
  302. package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
  303. package/dist/skills/ads-break-ui/README.md +0 -16
  304. package/dist/skills/ads-break-ui/SKILL.md +0 -412
  305. package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
  306. package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
  307. package/dist/skills/ads-break-ui/references/behaviors.md +0 -412
  308. package/dist/skills/ads-break-ui/references/captures.md +0 -135
  309. package/dist/skills/ads-break-ui/references/contracts.md +0 -317
  310. package/dist/skills/ads-break-ui/references/design-data.md +0 -354
  311. package/dist/skills/ads-break-ui/references/drafts.md +0 -194
  312. package/dist/skills/ads-break-ui/references/evidence.md +0 -128
  313. package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -165
  314. package/dist/skills/ads-break-ui/references/layers.md +0 -145
  315. package/dist/skills/ads-break-ui/references/reporting.md +0 -101
  316. package/dist/skills/ads-break-ui/references/review.md +0 -97
  317. package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
  318. package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
  319. package/dist/skills/ads-break-ui/references/validation.md +0 -166
  320. package/dist/skills/ads-break-ui/references/verification.md +0 -58
  321. package/dist/skills/ads-break-ui/references/workflows.md +0 -90
  322. package/dist/skills/ads-designer/references/reporting.md +0 -101
  323. package/dist/skills/ads-import/references/reporting.md +0 -101
  324. package/dist/skills/ads-motion/LICENSE.upstream +0 -21
  325. package/dist/skills/ads-motion/README.md +0 -22
  326. package/dist/skills/ads-motion/SKILL.md +0 -385
  327. package/dist/skills/ads-motion/agents/openai.yaml +0 -4
  328. package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
  329. package/dist/skills/ads-motion/references/audit.md +0 -44
  330. package/dist/skills/ads-motion/references/behaviors.md +0 -412
  331. package/dist/skills/ads-motion/references/captures.md +0 -135
  332. package/dist/skills/ads-motion/references/contracts.md +0 -317
  333. package/dist/skills/ads-motion/references/design-data.md +0 -354
  334. package/dist/skills/ads-motion/references/drafts.md +0 -194
  335. package/dist/skills/ads-motion/references/evidence.md +0 -128
  336. package/dist/skills/ads-motion/references/guarded-editing.md +0 -165
  337. package/dist/skills/ads-motion/references/layers.md +0 -145
  338. package/dist/skills/ads-motion/references/motion-review.md +0 -35
  339. package/dist/skills/ads-motion/references/reporting.md +0 -101
  340. package/dist/skills/ads-motion/references/review.md +0 -97
  341. package/dist/skills/ads-motion/references/runtimes.md +0 -203
  342. package/dist/skills/ads-motion/references/scenarios.md +0 -246
  343. package/dist/skills/ads-motion/references/validation.md +0 -166
  344. package/dist/skills/ads-motion/references/verification.md +0 -39
  345. package/dist/skills/ads-motion/references/workflows.md +0 -90
  346. package/dist/skills/ads-port/references/reporting.md +0 -101
  347. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  348. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
  349. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  350. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  351. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  352. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
  353. package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
  354. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
  355. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
  356. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
  357. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
  358. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  359. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.exports.ts +0 -1
  360. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
  361. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
  362. package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
  363. package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
  364. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.ads.exports.ts +0 -1
  365. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
  366. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  367. package/dist/starters/react/design-system/review/grid-cell/GridCell.ads.exports.ts +0 -1
  368. package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
  369. package/dist/starters/react/design-system/review/index.ts +0 -6
  370. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  371. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  372. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.exports.ts +0 -1
  373. package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
  374. package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
  375. package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
  376. package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
  377. package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
  378. package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
  379. package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
  380. package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
  381. package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
  382. package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
  383. package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
  384. package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
  385. package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
  386. package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
  387. package/dist/starters/react/package-lock.json +0 -4707
  388. package/dist/token-fixtures.mjs +0 -30
  389. package/docs/benchmarks/bun-previews.md +0 -91
  390. package/docs/benchmarks/preview-memory.md +0 -147
  391. package/docs/benchmarks/turbo-poc.md +0 -284
  392. package/docs/plans/execution-coordination.md +0 -57
  393. /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
  394. /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
@@ -14,7 +14,7 @@ Normal application checks verify website integration.
14
14
 
15
15
  This document explains the what, why, and high-level how. [ADS.md](ADS.md) defines
16
16
  the enforceable contract, [GUIDE.md](GUIDE.md) covers tool integration, and the
17
- [working example guide](../design-system/README.md) covers implementation details.
17
+ [starter/playground guide](../starters/README.md) covers implementation details.
18
18
 
19
19
  ## Shared tooling, project-owned design
20
20
 
@@ -36,20 +36,126 @@ their own reviewed lifecycle.
36
36
 
37
37
  ADS is opinionated about tooling and ownership. Linaria is required for the
38
38
  component and pattern styling pipeline. Visual choices belong to the project.
39
- ADS bundles its tooling and compiles MCP previews with Bun 1.3.13+, independently
40
- of the application's build tools. Checking APIs also run on Node. Project scripts
39
+ ADS's tools run on Bun 1.4.1+ and compile MCP previews independently of the
40
+ application's build tools. The project may use Node or Bun: what it imports from
41
+ ADS in its own build, lint or Playwright specs works under Node. Project scripts
41
42
  and behavior profiles retain their explicit interpreter commands; `command:
42
- "runtime"` inherits the launcher's interpreter. This tooling choice is separate
43
+ "runtime"` runs on ADS's Bun. This tooling choice is separate
43
44
  from the UI framework and adds no Node/Bun dependency to deployed components.
45
+
46
+ ### Semantic analysis
47
+
48
+ ADS semantic analysis uses its own pinned TypeScript 7.1 beta asynchronous
49
+ native API from Bun. Analysis, orchestration and preview compilation all run on
50
+ Bun; registered application commands retain their explicit runtimes. Generated
51
+ applications retain their TypeScript 5.9.3 dependency and their own `tsc`; ADS's
52
+ compiler is a separate nested package when necessary.
53
+
54
+ `src/analysis/service.mjs` is the shared asynchronous entry point for acceptance,
55
+ architecture checks, scenario/catalog discovery, tokens, behavior planning and
56
+ audit selection. Each calling ADS process shares a Bun child host with plain-data IPC. That host
57
+ serializes analysis requests and owns bounded native project sessions. One job
58
+ is an inspection/check/selection request that may inspect many files. Independent
59
+ native queries inside it can share pending promises and be batched.
60
+ Rendering and registered test commands execute outside this service.
61
+
62
+ Each project keeps an immutable live snapshot. Drafts branch from it using file
63
+ deltas; acceptance promotes the checked revision, while rejection releases it.
64
+ Sibling drafts cannot alter each other, and a changed live generation prevents
65
+ stale promotion. Project input bytes are captured during the existing validation
66
+ inventory read. Imported dependencies, missing resolution targets, configuration
67
+ and package changes invalidate the compiler state. Content fences remain required
68
+ around operations that can overlap filesystem edits; timestamps alone never
69
+ establish freshness. The beta compiler's unsafe program-removal operation is
70
+ avoided by bounded snapshot compaction within the same compiler process.
71
+ Relocated AST wrappers belong to a live project or one draft, rather than a
72
+ global map of draft paths. Unchanged live trees keep their identity across
73
+ revisions; releasing a draft releases its wrapper cache. Promotion creates live
74
+ paths without mutating trees already returned to draft callers.
75
+
76
+ Production acceptance registers the candidate's file delta against its live
77
+ project before checking. The architecture guard, contract discovery and affected
78
+ selection use that branch through the shared analysis service. Successful source
79
+ publication promotes the checked snapshot; rejected, abandoned and temporary
80
+ branches are released. Configured scripts and browser evidence remain separate
81
+ acceptance stages and retain their own source-freshness requirements.
82
+
83
+ Rules must use `analysis/helpers.mjs` for `sourceAst`, `sourceText`, `symbolAt`,
84
+ `valueSymbolAt`, `localValueDeclarations`, `walk`, `findNode`, `nodesOfKind`, `memoFact` and `memoProgram`. Program acquisition
85
+ goes through `cachedProgram`; import resolution goes through `importResolver`.
86
+ Optional inputs and immediate directory membership use `optionalSourceText` and
87
+ `sourceDirectoryFiles`; both observe the captured revision, including absence.
88
+ `sourceCss` shares read-only PostCSS trees within a request; transforms clone
89
+ before modifying them. Spatial guards and foundation discovery use
90
+ `spatial.mjs` over these helpers. The pure `spatial-model.cjs` compiler does no
91
+ filesystem I/O. `spatial-inputs.cjs` retains a bounded cache of immutable models
92
+ by contents, without branch paths or ASTs. Linaria's build adapter captures at
93
+ the build/extraction boundary, and Bun previews track spatial contents and token
94
+ sheet membership, including layouts introduced by evaluated interpolations.
95
+ `spatial-contexts.cjs` validates bounded conditional token graphs and shares immutable
96
+ context models. `spatial-css.cjs` normalizes supported ordinary CSS placement and protects
97
+ generated geometry. Its bounded 256-entry cache contains only immutable selector-text
98
+ facts, including finite functional branches and attribute targets; it retains no source
99
+ trees or project paths. Keyframe effects join the same target/property checks.
100
+ `spatial-composition.mjs` binds those facts to existing native JSX
101
+ nodes and owned component calls; it creates no compiler or independent syntax tree.
102
+ Standalone extraction checks algebra; acceptance adds the owned composition evidence.
103
+
104
+ The spatial design and starter defaults draw on IBM Carbon's 2x Grid. The
105
+ [design references](DESIGN-REFERENCES.md) record adopted concepts, the consulted
106
+ source revision, and attribution boundaries. ADS's compiler and analysis services
107
+ are separate from Carbon's Sass/React grid packages; consumers own their definitions.
108
+
109
+ Do not create compiler programs, native clients, path-keyed semantic caches or
110
+ independent AST parsers in new rules. `memoFact` lives for one fenced request;
111
+ `memoProgram` is only for facts determined by an immutable program/tree or captured
112
+ revision, with weak ownership. Return
113
+ copies when exposing cached mutable results. A boundary test prevents rule modules
114
+ from constructing programs or importing native transports. Library inspection
115
+ APIs are asynchronous and use the same native session implementation. Await
116
+ `checkProject`, `inspectTokens`, contract/scenario inspection and import
117
+ resolution. Direct library callers acquire a context through `standalone.mjs`;
118
+ they do not select a different engine. Syntax-only work uses the native API's
119
+ bounded source-file leases. There is one compiler implementation.
120
+
121
+ Semantic calls go through `analysis/queries.mjs`, which shares pending promises
122
+ and batches independent symbol/type queries. Await source and semantic lookups;
123
+ ordinary syntax predicates remain synchronous. Use the ordered async traversal
124
+ and collection helpers when callbacks perform semantic work, so short-circuit
125
+ checks and diagnostic order remain deterministic.
126
+ Use `walkValuesAsync` for CSS values: returning false prunes that function's
127
+ children. `walkAsync` follows PostCSS's different contract, stopping the walk.
128
+ Resolve named subjects through `localValueDeclarations` instead of enumerating
129
+ all symbols in scope. Resolving declarations for a global symbol inventory can
130
+ load the compiler libraries unnecessarily and exhaust memory.
131
+
132
+ `bun run test:analysis` verifies native analysis, cache invalidation, production
133
+ draft acceptance and computed-CSS compilation without browser rendering or
134
+ registered behavior execution. The [analysis benchmark](../scripts/benchmarks/analysis/README.md)
135
+ runs the current engine serially with correctness assertions and time/memory
136
+ regression gates when a compatible baseline is supplied. Its acceptance fixtures
137
+ disable scripts, registered behavior execution and rendering so measurements
138
+ include input capture, branching, guards and publication without browser work.
139
+ [AGENTS.md](../AGENTS.md#mandatory-analysis-benchmarks) requires both inventory
140
+ sizes for relevant changes. Browser and component behavior suites remain
141
+ separate from these engine measurements.
142
+
143
+ Changed-scope validation follows shared source trees and native import resolution.
144
+ Its successful full baseline also retains plain dependency closures, so later
145
+ selection includes consumers from both the previous and current revisions.
146
+ Deleted inputs without previous evidence, unknown ownership, computed imports
147
+ and shared configuration widen selection conservatively. This selects what to
148
+ audit; it does not replace browser evidence or grant a passing result.
44
149
  The project declares React or native Preact in `ds.config.json` and uses the
45
150
  matching compiler and mount adapter. Both integrate with the required styling
46
151
  and validation pipeline; additional frameworks need explicit tooling support.
47
152
 
48
- New projects start from the starter that ships inside the same ADS package:
49
- `ads create <folder> --framework react|preact` copies `starters/react` (and, for
50
- Preact, the `starters/preact` files that replace React's), names the package and
51
- runs init, so a project always matches the tool version that checks it. Skills carry
52
- no starter copy; they point agents to `ads create`. The starter is a working base: a
153
+ A design system can start from the starter that ships inside the same ADS package:
154
+ `ads init --framework react|preact --include-starter`, run inside an existing project, adds
155
+ `dist/starters/react` and its generated Preact overlay
156
+ where the project has nothing, so it always matches the tool version that checks it. It
157
+ never replaces a project file or writes a lockfile. Skills carry no starter copy; they
158
+ point agents to `ads init --include-starter`. The starter is a working base: a
53
159
  token foundation in six groups (color ramps with AA-checked roles, type,
54
160
  space and sizing, shape and elevation, motion, layout with a column grid), brand artwork
55
161
  with Brand previews, an icon set, and one example of each layer.
@@ -91,6 +197,11 @@ The shared foundation is the only design-value catalogue. Components and pattern
91
197
  map its roles into owned `--ds-*` and `--ux-*` variables; these namespaces cannot
92
198
  introduce independent design values. Raw literals hidden by aliases, fallbacks,
93
199
  themes or static helper/import interpolation follow the same source checks.
200
+ Every interpolated alternative must resolve. The checker deduplicates known
201
+ values and checks all resulting styles; unknown alternatives and work-limit
202
+ exhaustion produce a blocking `design-value-source` finding. A template may
203
+ produce at most 256 distinct styles, including combinations of interpolations;
204
+ larger constructions must be split into smaller styles, never silently sampled.
94
205
  Runtime measurements and typed instance paints retain narrow, explicit contracts.
95
206
  When adapting external UI, use the project's existing font, text, spacing and
96
207
  other semantic roles even when their values differ from the reference. Add a
@@ -115,15 +226,32 @@ patterns. Import count, element count and implementation size do not decide the
115
226
  layer. Scenarios may compose public UI and development review helpers to demonstrate their
116
227
  subject without becoming production patterns.
117
228
 
118
- Patterns are production application UI. Development-only framing, demo controls
119
- and token renderers belong in project-owned `review/`, with a separate
120
- `reviewEntry` (default `review/index.ts`) and `${publicAlias}/review` import alias.
121
- They are absent from the product barrel and catalogue. Guards reject production
122
- dependencies on review code, types and styles; review source keeps normal styling,
123
- token and public product-contract checks. Scenarios exercise the real production
124
- implementation through fixtures. The [portable review guide](../skills/ads-designer/references/review.md)
125
- defines guarded owners, build isolation and migration steps. Review rendering
126
- stays inside the App iframe; it adds no project execution to the host shell.
229
+ Patterns are production application UI. The showcase owns generic preview UX:
230
+ navigation, theme/viewport controls, framing and hosting inside the App iframe.
231
+ Projects supply `.ads.scenario.*` demonstrations and `.ads.fixture.*` inputs for
232
+ the actual production implementation. Small project-specific arrangements
233
+ and demonstration controls use `.ads.review.*` files. `review/`
234
+ is an optional organizational home for shared helpers, not another production
235
+ UI layer or an exemption from the filename marker. Its generated helper entry is
236
+ `review/index.ads.review.ts`, imported through `@ds/review`.
237
+
238
+ The tool-owned `@reqvire-org/ads/preview` API supplies generic frame classes and
239
+ mount containers; project framework adapters use `.ads.mount.*`. Its development-only
240
+ `setPreviewGuides(options)` and `observePreviewGuides(listener)` helpers let a
241
+ composed inspection toolbar control the managed preview’s existing guide overlay.
242
+ Choices are a `mode` (`off`, `hover` or `always`: where guides show) and boolean
243
+ layers (`bounds`, `tracks`, `gaps`, `padding`, `margins`, `mini`: what they draw);
244
+ the observer receives the current choices immediately and returns an unsubscribe
245
+ function. The App forwards edits to its host, which retains them across views and
246
+ synchronizes other controls. This does not create a second overlay or a production
247
+ layout dependency. Neither this
248
+ preview API nor marked project code/styles may enter production dependencies.
249
+ Review helpers retain public product-contract and style checks. They reuse
250
+ production tokens unchanged; literal width/height and grid-track dimensions are
251
+ permitted only for isolated demonstration geometry. Colors, typography, spacing
252
+ and component states remain governed by production Data and owners. Showcase-only
253
+ values do not belong in the production token foundation. See the
254
+ [scenario support guide](../skills/ads-designer/references/review.md).
127
255
 
128
256
  Core guards reject component runtime dependencies on patterns/composition through
129
257
  resolved imports, re-exports and helpers. Patterns consume public component
@@ -166,9 +294,8 @@ visual expression.
166
294
  ## Linaria is the implementation mechanism
167
295
 
168
296
  Linaria connects these responsibilities in the component and pattern styling
169
- pipeline. The native Preact working example in `design-system/` and the starter
170
- (React in `starters/react/`, Preact with `starters/preact/` applied over it by `ads create`)
171
- implement that pipeline. Both are supported: the project
297
+ pipeline. The starter has one authored `starters/shared/` design with generated
298
+ native React/Preact imports and configuration. Both runtimes are supported: the project
172
299
  chooses its rendering runtime, while ADS checks the same architecture and serves
173
300
  its actual compiled scenarios. A React application remains React; MCP does not
174
301
  substitute a different runtime or a visual reproduction.
@@ -223,7 +350,7 @@ of every unused variant. Atomic composition still requires care with the cascade
223
350
 
224
351
  Apply extraction to application and project preview builds, preserve intentional
225
352
  foundation CSS, and inspect compiled output when performance matters. The
226
- [implementation guide](../design-system/README.md#bundling-notes) covers these details.
353
+ [starter guide](../starters/shared/README.md) covers these details.
227
354
  Both extraction pipelines use the build-only `@reqvire-org/ads/linaria` tag
228
355
  resolver. It delegates atomization and nesting to the project's installed Linaria
229
356
  processor while preserving custom-property token streams around that pass.
@@ -275,7 +402,7 @@ components, patterns or controllers; extract a shared controller only when the
275
402
  behavior is shared. Other external runtime imports fail
276
403
  `behavior-library-undeclared`. Type-only imports and development roles retain
277
404
  their existing rules, as do the configured framework and Linaria exceptions.
278
- `ads lint-config` reports import locations and the exact list to declare.
405
+ `ads check` reports import locations and the exact list to declare.
279
406
 
280
407
  This is project approval, not a recursive dependency audit or a guarantee about
281
408
  third-party internals. ADS reads installed versions without executing packages
@@ -287,7 +414,7 @@ allowlisted producer's `style.setProperty("--ds-popover-x", ...)` and
287
414
  `style.setProperty("--ds-popover-y", ...)`; project Linaria owns positioning
288
415
  rules and visual treatment. Declare those exact properties in the owner contract's
289
416
  `styles.writes`. Clean up positioning observers on unmount.
290
- The project preview compiler bundles used library code into the normal MCP App
417
+ ADS's managed preview compiler bundles used library code into the normal MCP App
291
418
  resource graph; declarations alone do not load packages or change its sandbox.
292
419
 
293
420
  Optional `<Owner>.ads.contract.ts` modules identify public APIs or private
@@ -325,10 +452,11 @@ files from the token halves. Style permissions live in the owner's contract. ADS
325
452
  therefore never merges: if accepted source changes under a draft (a direct edit or a
326
453
  Git pull), acceptance reports a baseline conflict and the draft is recreated.
327
454
 
328
- There is one runtime and one compiler process per project. Generated preview
455
+ Each connected project runtime owns one managed preview compiler process.
456
+ Semantic analysis uses the shared host described above. Generated preview
329
457
  workspaces (`.ds/draft-previews/<id>/project`) retain the normal project layout and
330
458
  public imports while overlaying proposed owner files and declared draft dependencies,
331
- with the generated entries regenerated. The project's compiler process hosts each
459
+ with the generated entries regenerated. The preview compiler process hosts each
332
460
  draft workspace as an in-process instance listed in a control file, and one scheduler
333
461
  runs their builds in turn: the viewed draft first, then the project, then background
334
462
  work. A draft's preview is a view of its workspace served by the project's showcase,
@@ -351,16 +479,16 @@ Humans and coding agents inspect the same project through MCP. The showcase is
351
479
  tooling. Its header, section tabs (Brand, shown first when the project previews its
352
480
  artwork, then Tokens, Icons when the project has a glyph set, Components, Patterns and
353
481
  Composition), collapsible left menu,
354
- grid overlay and theme switches and preview area stay neutral. The grid overlay draws
355
- the project's `--grid-*` columns over every preview through the App's host context, so
356
- alignment is checked on real previews without a second renderer. The client discovers entries, invokes tools, forwards App
482
+ grid overlay and theme switches and preview area stay neutral. Through the App's host
483
+ context, the grid inspector highlights actual computed grid tracks inside the rendered
484
+ widgets, following each container's padding, gaps, size and scroll position. The client discovers entries, invokes tools, forwards App
357
485
  resource requests and subscribes to changes. It contains no project UI catalogue
358
486
  or implementation imports.
359
487
 
360
- The server supplies catalogues, discovered token scenarios, source guides, preview Apps,
488
+ The server supplies catalogues, the token and brand views it builds, source guides, preview Apps,
361
489
  build status and diagnostics. Agents connect over stdio; the browser uses a
362
- loopback HTTP MCP endpoint in the same runtime. Both share one project-configured
363
- compiler. Starting MCP starts the website; a browser-only command starts the same
490
+ loopback HTTP MCP endpoint in the same runtime. Both share ADS's managed Bun
491
+ preview compiler. Starting MCP starts the website; a browser-only command starts the same
364
492
  runtime without stdio. Shutdown closes the website, connections and compiler.
365
493
  Local and external compatible hosts load the same reusable preview App. The
366
494
  browser host uses a separate-origin sandbox proxy around its opaque App iframe.
@@ -375,14 +503,13 @@ external bases still require declared CSP origins. This belongs to document
375
503
  loading and changes no project link or scenario handler. External hosts control
376
504
  their own document-loading and CSP behavior.
377
505
 
378
- The proxy and App sandbox permit native forms (`allow-forms`), including the
379
- legacy nested widget. This lets browser constraint validation and `submit`
506
+ The proxy and App sandbox permit native forms (`allow-forms`). This lets browser constraint validation and `submit`
380
507
  handlers run for clicks, Enter and `requestSubmit()`. Client-side handlers retain
381
508
  their own `preventDefault()` behavior. The App stays opaque; CSP
382
509
  `form-action 'none'` blocks native action requests without suppressing submit
383
510
  handlers. Hosts outside ADS choose their own sandbox and CSP permissions.
384
511
 
385
- The project compiler publishes a versioned dependency graph: shared runtime and
512
+ ADS's Bun preview compiler publishes a versioned dependency graph: shared runtime and
386
513
  foundation assets, plus independently addressable scenario modules. Inside the
387
514
  App, a resource loader obtains the selected dependency closure through MCP,
388
515
  verifies its content and mounts it using the project's framework adapter. Native
@@ -407,9 +534,9 @@ its case results. Persistent transport failures still block a mutation. External
407
534
  hosts own their transport recovery; the reusable App's integrity checks remain
408
535
  the same.
409
536
 
410
- Managed graph builders publish into a private session directory beside the
411
- configured manifest. Logical scenario IDs and resource URIs stay unchanged;
412
- standalone builds retain the configured output and cannot overwrite a live
537
+ Managed graph builders publish into `.ds/preview/sessions/<session>/`.
538
+ Logical scenario IDs and resource URIs stay unchanged;
539
+ standalone builds publish `.ds/preview/manifest.json` and cannot overwrite a live
413
540
  session's success record. Verified compiled snapshots form a bounded shared
414
541
  warm-start cache. Source, compiler, dependency and output hashes still gate reuse.
415
542
  Ordinary shutdown removes owned session output while retaining that cache.
@@ -458,14 +585,13 @@ to produce useful UI. A scenario supplies that development context around the
458
585
  real public implementation. It mounts independently, without opening a showcase
459
586
  page or initializing the application's router, store or services first.
460
587
 
461
- Scenarios and their fixtures live beside the tokens, component or pattern they exercise.
588
+ Scenarios and their fixtures live beside the component or pattern they exercise.
462
589
  Demo framing belongs to development-only review helpers; component props describe
463
590
  intentional product behavior and visual variants.
464
- Token scenarios choose real token names and sample inputs; a project-owned
465
- review renderer applies the foundation variables. The tool contains no project
466
- token list, sample templates or assumed visual identity. Even an initial token
467
- scenario uses a project-owned development review renderer to apply its declared samples;
468
- a definitions-only inspector does not establish preview coverage.
591
+ The token and brand views are tool-owned: ADS builds them from the token sheets,
592
+ `tokens/catalog.ads.json` (groups and sample bindings) and `assets/brand/`. The project
593
+ owns the data; ADS owns the presentation. The tool contains no project token list,
594
+ sample values or assumed visual identity.
469
595
  Larger scenarios live under `composition/`. They use the same public screen
470
596
  patterns as production: application adapters supply live data and effects;
471
597
  scenario adapters supply fixture data, local state and simulated services.
@@ -474,9 +600,7 @@ Reassembling a second screen from shared primitives still allows design drift.
474
600
  The server discovers one path-derived scenario registry. The showcase's scenario
475
601
  sections (Brand, Tokens, Components, Patterns and Composition) browse that same registry
476
602
  through MCP results. They do not initialize the entry or define
477
- its UI. Every preview uses `?scenario=<id>`; discovered `kind` selects its section,
478
- including token scenarios colocated with component/pattern owners. Existing
479
- `?category=` links remain compatibility aliases. The host supplies theme and
603
+ its UI. Every preview uses `?scenario=<id>`; discovered `kind` selects its section. The host supplies theme and
480
604
  available space; the public implementation
481
605
  supplies presentation. Several related public parts may share a scenario with
482
606
  their required parent. Every declared token and every public renderable component
@@ -532,6 +656,11 @@ bundles. Native ADS gates run directly; project lint/build/test commands remain
532
656
  explicit integration checks. Explorer navigation and metadata are served
533
657
  independently of compilation and validation.
534
658
 
659
+ New preview requests share one input-stamp capture per batch. After that
660
+ asynchronous capture, scheduling reads the current candidate, publication and
661
+ registry together. Candidate completion or replacement during capture cannot
662
+ lose a requested view or reuse coverage from a retired candidate.
663
+
535
664
  ```mermaid
536
665
  flowchart LR
537
666
  Edit[Source edit] --> Compile[Compile changes with Bun]
@@ -547,8 +676,8 @@ flowchart LR
547
676
  ```
548
677
 
549
678
  Watched compilation provides immediate visual feedback while validation and
550
- scenario inspection run in the background. Inspection uses a persistent worker
551
- to keep the compiler responsive. Rapid edits replace pending work, with one
679
+ scenario inspection run in the background. Inspection uses the shared asynchronous
680
+ analysis host, rather than an inspector-owned worker. Rapid edits replace pending work, with one
552
681
  verification run in flight. Production builds retain their own optimization.
553
682
 
554
683
  Preview discovery shares `.ds/scenario-registry.json` between the MCP host,
@@ -560,16 +689,17 @@ startup; changed inputs or missing/corrupt snapshots trigger fresh discovery.
560
689
  Explicit catalogue reads fence their in-memory registry against current source,
561
690
  so edits and removals are visible before the next observation/reconciliation tick.
562
691
  Reopening an already known draft scenario retains its last discovered metadata
563
- while a persistent worker refreshes the catalogue. It does not run synchronous
564
- semantic discovery on the preview request. New/missing scenario identities await
565
- worker discovery; accepted comparison metadata is independently revision-fenced.
692
+ while the shared asynchronous analysis service refreshes the catalogue.
693
+ New/missing scenario identities await discovery; accepted comparison metadata
694
+ is independently revision-fenced.
566
695
  The response's `discovery` distinguishes current, pending and failed metadata
567
696
  from the exact proposal revision and the actual preview build. Superseded worker
568
- results cannot replace newer requests; drop/shutdown retires their state/worker.
569
- Preview analysis and checks retain a bounded set of TypeScript programs and
570
- unchanged source trees across edits (`program-cache.mjs`); module lookups are
571
- refreshed so added/deleted files cannot inherit old resolution results, and a changed
572
- file is always parsed again. Watched graphs include requested scenario roots and their dependencies,
697
+ results cannot replace newer requests; drop/shutdown removes owned discovery
698
+ state and releases registered revisions. Preview analysis and checks share
699
+ bounded native snapshots through `analysis/service.mjs`. Program acquisition
700
+ delegates through `program-cache.mjs`; unchanged ASTs retain identity, and source,
701
+ import and configuration edits invalidate the relevant snapshot. Watched graphs
702
+ include requested scenario roots and their dependencies,
573
703
  preserving roots used by other mounted Apps; untouched catalogue entries are not
574
704
  compiled until requested. Unwatched full builds retain complete entry coverage.
575
705
  Snapshot publication fences source edits during inspection. This cache supplies
@@ -602,7 +732,11 @@ not initialize fresh observation and misclassify each request as a source edit.
602
732
  Draft-only edits preserve accepted registry/catalogue snapshots. Capture updates
603
733
  reuse source-fenced discovery rather than allocating another semantic program.
604
734
  Explorer uses these reports for monochrome
605
- entry glyphs and refreshes its mounted Apps. A ready draft preview remains
735
+ entry glyphs and refreshes its mounted Apps. Its notification scheduler keeps an
736
+ already scheduled refresh's deadline; later build notices cannot postpone a
737
+ catalogue update indefinitely. Refreshes run one at a time, and notices arriving
738
+ during a refresh form one follow-up batch that retains any discovery request.
739
+ A ready draft preview remains
606
740
  unaccepted; catalogue metadata or compiled feedback cannot establish acceptance.
607
741
 
608
742
  Live resources are fenced to the current source digest and managed session.
@@ -629,10 +763,10 @@ newer inputs; it leaves the previous cache intact and requires the next build.
629
763
  A transferred checked graph can refresh older watcher metadata without recompiling
630
764
  it, while a partial watched graph cannot replace the complete catalogue.
631
765
  Its full semantic registry snapshot transfers only when source revisions match,
632
- so restarting a parked compiler need not repeat discovery of accepted source.
766
+ so reopening a compiler need not repeat discovery of accepted source.
633
767
  Shared dependency maps are stored once, with a fresh validation memo for each
634
768
  reuse operation. No file hash is retained across operations. Configuration input
635
- ordering is canonical across Node and Bun; complete caches stay within the
769
+ ordering is canonical; complete caches stay within the
636
770
  existing 8 MiB budget rather than silently writing an unreadable large file.
637
771
 
638
772
  Background acceptance, validation and architecture checks serialize independently
@@ -641,7 +775,7 @@ make a cold selection wait for a browser verification suite. Existing publicatio
641
775
  remain readable while interactive source changes compile.
642
776
 
643
777
  For managed resource previews, ADS requests the scenarios in production mode
644
- through the reviewed draft's workspace, compiled by the project's compiler and
778
+ through the reviewed draft's workspace, compiled by ADS's managed compiler and
645
779
  served by its host. Only a candidate without such a workspace gets a preview host
646
780
  of its own; its compiler is parked after production publication while the host
647
781
  continues serving that immutable graph to registered browser verification. Either
@@ -650,13 +784,16 @@ Warming an already-current selection does not restart or wait for that compiler.
650
784
  Production reuse requires a successful production build of the exact inputs,
651
785
  not merely a previously compiled development graph. Project-owned additional
652
786
  commands still run as configured. Remove the standalone preview-build command
653
- from `acceptance.checks`; keep it in the ordinary project build.
787
+ from `acceptance.scripts`; keep it in the ordinary project build.
654
788
 
655
- Candidate architecture inspection runs in a short-lived owned process, releasing
656
- its TypeScript heap after completion or cancellation. Semantic preview workers
657
- retire after five idle seconds, while revision-fenced metadata remains on disk.
658
- Closing a temporary host releases its semantic program cache. These lifecycle
659
- bounds do not change source checks, behavior selection or publication fences.
789
+ Candidate architecture inspection shares the project's native compiler through
790
+ an isolated snapshot rather than starting a compiler for each acceptance.
791
+ Releasing a candidate drops its adapters, resolvers and snapshot leases while
792
+ keeping live/sibling revisions valid. The service bounds active project/revision
793
+ state and closes after idle time when no registered revision pins it. Direct
794
+ library and syntax-only clients have their own short idle cleanup. Closing one
795
+ scenario inspector cancels its requests without retiring other callers' shared
796
+ compiler. Persisted registry metadata has separate content checks.
660
797
 
661
798
  After the selected view paints, a connected showcase can prefetch changed peers'
662
799
  static resources into the App's existing byte cache. This bounded, opportunistic
@@ -671,15 +808,16 @@ adapter. Native ESM resources still obey digest checks and the existing bounded
671
808
  revision lifecycle; this is state-preserving refresh, not component-level HMR.
672
809
 
673
810
  Incremental compilation is separate from test selection. Preview refresh runs the
674
- adapter's validation callback. Guarded mutations select affected behavior owners
675
- by registered input dependencies, then execute their registered checks. A shared
811
+ adapter's validation callback. Draft acceptance executes the draft owners' own
812
+ registered behavior checks when `acceptance.behavior` is enabled. `ads validate`
813
+ selects affected behavior owners through registered input dependencies; a shared
676
814
  foundation change can select every owner. Configured project checks still run as
677
815
  authored; releases run the full test suite. ADS does not claim per-test-case
678
816
  selection or skip validation because a module transform was cached.
679
817
 
680
- Architecture inspection shares analysis within one immutable TypeScript checker
681
- and avoids redundant source discovery. A new inspection still observes current
682
- source and configuration; successful diagnostics are not cached across edits.
818
+ Architecture inspection shares immutable ASTs/programs, native semantic queries
819
+ and request-scoped facts. A new inspection still observes current source and
820
+ configuration; successful reports are reused only for their exact input key.
683
821
  Source scans prepare generated-directory and source-root comparisons once per
684
822
  inventory. Every scan still discovers tests and hashes current input bytes.
685
823
 
@@ -696,8 +834,8 @@ The built-in client uses `waitFor: compiled` for interactive selections, so it
696
834
  can browse compiled feedback or a retained verified graph while checks run.
697
835
  Default MCP preview calls, captures and verification still wait for verified
698
836
  output. Pending selections never report App readiness as verified. Discovery
699
- notifications are reconciled after validation rather than repeating synchronous
700
- semantic inspection on the live update path. The App retains or remounts its view
837
+ notifications are reconciled after validation through asynchronous discovery.
838
+ The App retains or remounts its view
701
839
  according to its dependency closure. A quiet monochrome indicator in the
702
840
  showcase's upper-right header exposes compilation, checking, reload and fallback
703
841
  status through its accessible label, tooltip and details popover. Editing keeps
@@ -709,6 +847,11 @@ failures stay in the watcher's recoverable diagnostic path. Fixing source trigge
709
847
  If the compiler process exits, the next preview request starts one fresh child;
710
848
  MCP inspection remains available. Each child generation has its own status report,
711
849
  so independent MCP clients do not overwrite each other's build state.
850
+ Standalone compilation writes `.ds/build-status.json`. Managed compilation uses
851
+ `.ds/build-status-<session>.json`, selected through the internal
852
+ `ADS_MCP_BUILD_STATUS` and `ADS_MCP_BUILD_SESSION` launch variables. Session identity
853
+ separates revisions across restarts; source and artifact digests establish
854
+ freshness independently of process state.
712
855
  Compilation remains necessary for TSX and Linaria;
713
856
  there is one preview pipeline with automatic updates.
714
857
 
@@ -764,8 +907,8 @@ source ownership and product bundles. Detailed usage lives in each portable skil
764
907
 
765
908
  Brand artwork lives in `assets/brand/`: SVG masters, finished PNG/JPEG/WebP images and
766
909
  delivered `.ico`/`.icns` files, each described with its use and license in the folder's
767
- README. Brand previews are scenarios in `brand/`, the showcase's first section; they show
768
- artwork in the current theme and the app icon at its sizes and have no token samples.
910
+ README. ADS generates the Brand view from those assets, including construction grids
911
+ and actual-size samples; projects do not author brand preview scenarios.
769
912
 
770
913
  `ads assets` makes three kinds of output. Web icons from `assets.iconSource` are rebuilt
771
914
  into ignored `.ds/assets/` on every build, for the application's bundler. Committed targets
@@ -784,6 +927,32 @@ owners' colors, render as images, and are never muted, tinted or recolored (a on
784
927
  only where the owner's rules allow it, in the colors they name). ADS generates and checks
785
928
  nothing there.
786
929
 
930
+ ### Declared artwork/text lockups
931
+
932
+ `@ads-lockup { artwork: .hook; text: .other-hook; size: --icon-sm; }` is an opt-in
933
+ construction on an owned row. It emits ordinary CSS for centered artwork, an intrinsic
934
+ aspect ratio, a baseline-aligned text group and font-metric trimming of the group's
935
+ native text runs. It does not impose a canvas shape, symmetric artwork, internal
936
+ padding or cap-height-sized logos. Older browsers without text trimming retain box
937
+ centering. The [branding guide](../skills/ads-designer/references/branding.md#aligning-artwork-with-text)
938
+ contains the complete authoring example and visual-review boundaries.
939
+
940
+ The `lockup-construction` control is a blocking source check, shared by `ads check`,
941
+ validation and draft acceptance. It rejects malformed declarations, missing or
942
+ unresolved owned hooks, explicitly distorted inline SVGs and conflicting geometry,
943
+ alignment or text-trimming declarations across resolved class compositions. It
944
+ does not claim proof of painted-edge alignment or inspect opaque artwork internals.
945
+
946
+ `src/construction-styles.cjs` runs the pure lockup and spatial transforms for both
947
+ checking and the public Linaria resolver, including preview compilation. The lockup
948
+ transform in `src/lockup-model.cjs` reads no files and needs no spatial model. Generated
949
+ declarations retain their rule identity for shared CSS override protection.
950
+ `src/lockup-composition.mjs` binds the declaration through the existing captured native
951
+ AST/class-composition analysis. It adds no compiler, source capture, disk reads or
952
+ persistent rule-local cache. Preview fingerprints include the transform modules;
953
+ changes cannot reuse previously compiled output. Optical review remains separate
954
+ from these source-only checks and benchmarks.
955
+
787
956
  ## Build checks keep the architecture in place
788
957
 
789
958
  The project build runs ADS checks before producing application or showcase
@@ -795,7 +964,7 @@ Themes and brands are declared in `ds.config.json` and are only value sets: ever
795
964
  brand shares the same token names. A theme sets the color mode and a brand sets identity
796
965
  values (an accent ramp, a font), so a white-label product needs one brand per customer
797
966
  rather than one theme per customer and mode. The declaration is the one list the showcase,
798
- captures, preview host context, contrast review, browser audit and token export read, so a
967
+ captures, preview host context, contrast review, render audit and token export read, so a
799
968
  project can add a high-contrast theme or a brand without tool changes.
800
969
 
801
970
  A token that differs per theme is authored as one plain half per theme (`--x-light`,
@@ -827,16 +996,20 @@ equal token values with possibly different roles, keyboard reach, unused artwork
827
996
  in a render path); it is shown with guidance and never blocks. An info item notes an analysis
828
997
  limit. Stale or hand-edited generated outputs are errors, since they ship.
829
998
 
830
- Widths are fluid on the grid. A width that cannot shrink below 96 px, in any unit, raw, through a
831
- token or by arithmetic, is an error wherever a component, pattern or composition sets one. Values
832
- are read for what they resolve to, never by token name, and a maximum is not read because it cannot
833
- force overflow. A project names the widths that stay fixed (`layout.widthTokens`) and the owners
834
- that float above the layout (`layout.fixedWidthUnits`) in `ds.config.json`, and `ads check` lists
835
- both for review; ADS knows a unit's layer, not whether it is an overlay, and there is no
836
- per-declaration exception. The browser
999
+ The [spatial check map](SPATIAL-CHECKS.md) records GC-01–GC-06 enforcement, supported
1000
+ construction boundaries and focused evidence, including per-call container ancestry,
1001
+ placement alternatives and protection of emitted geometry.
1002
+
1003
+ Fixed minima use the spatial scale, mini/fine units, standard control/icon dimensions or
1004
+ explicit `layout.widthTokens` roles; their resolved minimum must fit the spatial maximum.
1005
+ Projects without a spatial definition may use their shared spacing primitives. The checker
1006
+ follows private aliases and calculated expressions. Responsive, fractional and intrinsic
1007
+ sizing remain supported; maximum sizes can cap otherwise fixed dimensions. Validated
1008
+ `@ads-layout` fixed/hybrid tracks use their own local algebra. Declared fixed roles and
1009
+ `layout.fixedWidthUnits` owners remain visible as review findings. The browser
837
1010
  audit adds what source cannot show: axe-core, non-text contrast of control borders and icons,
838
1011
  image shape and horizontal overflow at 390, 768 and 1280 px, by resizing each rendered scenario. It
839
- also narrows components and patterns to a 240 px container: a set width above the small-part limit
1012
+ also narrows components and patterns to a 240 px container: a set width above the browser review threshold of 96 px
840
1013
  that overflows it is a review item, since whether a part ever sits in a pane takes judgement.
841
1014
 
842
1015
  Each render waits, bounded, for its content to settle before anything is measured, and says so when it
@@ -846,13 +1019,13 @@ every render could measure, then assigns targets in request order, so which rend
846
1019
  control does not depend on page speed. Its result states what it covered, and what it skipped is an
847
1020
  info item per reason. `mcp.auditPages` (1–16, default 4) sets how many pages render at once.
848
1021
 
849
- The audit runs in two places. Draft acceptance audits per `acceptance.browserAudit`:
850
- `"owners"` (default) the draft owners' own UI scenarios, `"affected"` every scenario
851
- the change reaches through imports (all of them for shared configuration, foundation
852
- or token changes), `false` none. The cost of an affected audit grows with how widely
853
- the owner is used, so the full audit of everything a series of drafts reached runs as
854
- a stage: `ads_validate` with the validation policy and `scope:"changed"`, before a
855
- commit or release. A dry run's audit is remembered by candidate revision and selection,
1022
+ The audit runs in both gates. Draft acceptance audits the draft owners' own UI
1023
+ scenarios unless `acceptance.audit` is false. `ads validate` always audits every
1024
+ scenario its change set reaches through imports: everything with scope `all`, and
1025
+ with scope `changed` what changed since the last successful full run (all scenarios
1026
+ after shared configuration, foundation or token changes). The cost of auditing what
1027
+ a change reaches grows with how widely the owner is used, so it runs once for a
1028
+ series of drafts, before a commit or release, rather than on every acceptance. A dry run's audit is remembered by candidate revision and selection,
856
1029
  so accepting that revision does not render again.
857
1030
 
858
1031
  Static errors split by what they stop. A preview session the audit starts renders despite policy
@@ -870,7 +1043,7 @@ tests and browser review verify the resulting accessibility, layout, themes,
870
1043
  states, and motion. Both forms of verification support agent-driven iteration.
871
1044
 
872
1045
  The CLI `ads validate` and MCP `ads_validate` share one audit engine, combining
873
- architecture and test-boundary guards, registered lint rules, project commands
1046
+ architecture and test-boundary guards, configured project lint/check scripts
874
1047
  and behavior contracts. Full audits establish a content baseline. Changed audits
875
1048
  select affected behavior owners from that baseline; broad or unclassified changes
876
1049
  expand to full. Opaque project commands retain their declared scope.
@@ -883,8 +1056,8 @@ recording changed paths and known/unknown attribution. Source-change interruptio
883
1056
  cannot publish a successful baseline. A small run journal supports crash recovery;
884
1057
  immutable run results and exact-run investigations survive reconnects and subsequent
885
1058
  runs under bounded age/count/disk retention. Collection protects active work and
886
- expires owned evidence with its result. See [execution coordination](MCP.md#shared-process-execution-coordination)
887
- and the [implementation plan](plans/execution-coordination.md).
1059
+ expires owned evidence with its result. See
1060
+ [execution coordination](MCP.md#shared-process-execution-coordination).
888
1061
 
889
1062
  Only a successful full audit against unchanged source advances the baseline.
890
1063
  This works without Git history and does not cache individual test results. Skills
@@ -914,17 +1087,6 @@ Bounded tools establish what exists; explicit resource reads provide detail.
914
1087
  Prompts and packaged skills explain how to reason through Data, UX and Skin and
915
1088
  how to inspect the real implementation before changing it.
916
1089
 
917
- Agent feedback has a separate intake boundary. `ads_report_bug` records suspected
918
- broken behavior; `ads_request_feature` records a missing capability and its use
919
- case. Both save durable development metadata under the connected project's
920
- `.ds/reports/`, with verified evidence selectors, compact snapshots and observed
921
- version/framework/revisions. Classification remains an untriaged agent claim.
922
- Reports grant no architecture exception, execute no submitted command and upload
923
- nothing. Equivalent submissions reuse an ID; records do not expire or get pruned
924
- by count. Individual records and receipts are bounded. MCP intake is submission-only:
925
- it exposes no report-reading tools, resources, subscriptions or notifications.
926
- See the [reporting contract](MCP.md#bug-reports-and-feature-requests).
927
-
928
1090
  The MCP runtime owns its browser hosts and preview builder lifetime. Closing the
929
1091
  client connection releases them together; a separate ownership guard can stop
930
1092
  detached builders after abrupt owner death. A preview process must not outlive
@@ -939,30 +1101,32 @@ restarts it within the same MCP session. A running process alone is not freshnes
939
1101
  Opt-in MCP editing makes validation part of the write operation. The agent edits a
940
1102
  draft of one or more owners (file contents or a Git unified diff) and accepts it. ADS
941
1103
  resolves file ownership, takes the draft's files as they are and validates a
942
- temporary project copy with architecture checks, registered lint rules and project
943
- validation scripts.
1104
+ temporary project copy with architecture checks and configured project
1105
+ lint/validation scripts.
944
1106
  The temporary copy contains the relevant input graph and patched files, with room
945
1107
  for 100,000 files / 2 GiB. Unrelated native artifacts are not copied. Declared extra
946
1108
  inputs support project commands that read data outside the UI graph. When
947
- `acceptance.behaviorChecks` is true, affected registered behavior checks, including
948
- consumers of a changed shared controller, run in the isolated candidate project.
1109
+ `acceptance.behavior` is true (the default), the draft owners' own registered behavior
1110
+ checks run in the isolated candidate project; the consumers of a changed shared
1111
+ controller run in `ads validate`.
949
1112
  Architecture batch checks from the CLI and CI use the internal pinned Turbo runner
950
1113
  and its installed platform binary; no global Turbo or runtime dependency installer is
951
- invoked. The MCP server and its preview compiler instead run them in one warm worker
952
- thread (`check-service.mjs`): it keeps its TypeScript programs and parsed sources, so
953
- a check after an edit reparses only what changed, and an exact repeat of the same
954
- inputs returns the remembered passing report. Local artifact
1114
+ invoked. A task miss invokes the same asynchronous native analysis service.
1115
+ The MCP server, its preview compiler and registered candidates use warm checks
1116
+ (`check-service.mjs`) backed by that service. Native snapshots reuse unchanged
1117
+ ASTs and query results; an exact input-key repeat can return a remembered passing
1118
+ report. Local artifact
955
1119
  reuse is enabled by default and fenced by current input/tool/runtime/Git state;
956
- policy results, browser evidence, locks and baselines are never task outputs.
1120
+ gate results, browser evidence, locks and baselines are never task outputs.
957
1121
  Project scripts remain uncached without a known deterministic contract. The warm
958
1122
  Bun preview compiler retains its module cache; complete verified graph restoration
959
1123
  publishes fresh build-session evidence without semantic rediscovery. See
960
1124
  [cache controls and CI wiring](CACHING.md).
961
1125
 
962
- `acceptance.checks` and `validation.checks` explicitly select project scripts; no
963
- names are inferred. Validation selects its own `behaviorChecks` flag. Direct
964
- edits can invoke `ads validate --policy acceptance`; separate baselines prevent
965
- acceptance evidence from satisfying a complete validation audit. The project owns its test code and runner policy;
1126
+ `acceptance.scripts` and `validation.scripts` explicitly select project scripts; no
1127
+ names are inferred, and `ads validate` runs both lists, so each script is listed
1128
+ once. Direct edits invoke `ads validate --changed`; draft acceptance records no
1129
+ baseline, so its owner-scoped evidence never satisfies a complete validation. The project owns its test code and runner policy;
966
1130
  ADS owns affected-check selection, candidate hosting, progress, evidence freshness
967
1131
  and process cleanup. One profile timeout bounds its entire runner process. Parallel
968
1132
  workers can share that candidate host with independent App state. Partial outcomes
@@ -1033,20 +1197,14 @@ of evidence; source checks and metadata cannot establish visual or behavioral
1033
1197
  correctness. Text/resource access and the normal showcase keep the workflow
1034
1198
  usable when a client lacks experimental presentation capabilities.
1035
1199
 
1036
- Experimental MCP Apps are another development review surface. Token, component,
1037
- pattern and composition views are project-built scenarios with the project's
1038
- own extracted CSS and public implementations. A generic tool-owned definition
1039
- inspector remains available for token source/alias diagnostics, even if project
1040
- previews cannot compile; it does not substitute for token scenario coverage.
1200
+ Experimental MCP Apps are another development review surface. Component, pattern and
1201
+ composition views are project-built scenarios with the project's own extracted CSS and
1202
+ public implementations; token and brand views are built by ADS from project definitions.
1041
1203
  The server serves those artifacts; it does not interpret arbitrary component
1042
1204
  code or introduce production UI dependencies. File-change notifications let
1043
- hosts refresh their views. ADS normally manages its native Bun preview compiler with one launch command.
1205
+ hosts refresh their views. ADS runs its Bun preview compiler itself, with no launch command.
1044
1206
  Editing access is independent: direct editors can use MCP only for preview/checks,
1045
- while MCP-only editors use enabled mutation tools. Direct editors can instead
1046
- manage compilation externally with `mcp.previewWatch: false`; the external builder
1047
- must publish the ADS resource graph and build evidence. MCP still serves previews,
1048
- but source changes stale their evidence until verified updated output is published.
1049
- See the [editing workflows](../skills/ads-designer/references/workflows.md). Structured build reports distinguish running compilers
1207
+ while MCP-only editors use enabled mutation tools. Both use ADS's compiler. See the [editing workflows](../skills/ads-designer/references/workflows.md). Structured build reports distinguish running compilers
1050
1208
  from successful, current previews; diagnostics remain readable even when a host
1051
1209
  does not forward notifications. Older clients retain tools/resources/prompts;
1052
1210
  native skill discovery and Apps presentation depend on the host's capabilities.
@@ -1056,13 +1214,13 @@ For concrete instructions, use:
1056
1214
 
1057
1215
  - [ADS tooling contract](ADS.md) for naming, ownership rules, updates, and lint responsibilities.
1058
1216
  - [Tool guide](GUIDE.md) for prerequisites, supported formats, configuration, and build wiring.
1059
- - [Working example guide](../design-system/README.md) for Linaria composition, extraction, and project commands.
1217
+ - [Starter/playground guide](../starters/README.md) for Linaria composition, extraction, and project commands.
1060
1218
  - Component-local READMEs for APIs, lifecycle, tests, and provenance.
1061
1219
 
1062
- Token preview completeness has two checks. Static guards require explicit fixture
1063
- bindings (`token`, CSS `property`, and project-selected `probe`) consumed by a public
1064
- review renderer. The App then verifies rendered samples in the actual browser by
1065
- probing those bindings and restoring them. The tool supplies no token/property
1220
+ Token preview completeness has two checks. Static guards validate the catalogue's explicit
1221
+ bindings (`token`, CSS `property`, and project-selected `probe`; `foundation-catalog`). The
1222
+ view then verifies rendered samples in the actual browser by probing those bindings and
1223
+ restoring them. The tool supplies no token/property
1066
1224
  classification or visual sample palette. A source build alone is not a rendered
1067
1225
  verification, and the browser check does not judge design quality.
1068
1226
 
@@ -1102,7 +1260,7 @@ scenarios and fixtures use the marked names; existing IDs remain stable.
1102
1260
  Instance bindings are distinct from static tokens and arbitrary inline styles.
1103
1261
  Source checks trace config origin, key validation, exact map construction and
1104
1262
  attachment to an owner root. Shared token and private runtime-variable ownership and consumer permissions
1105
- remain enforced. Browser audits inspect current scoped values, paint effects and
1263
+ remain enforced. Render audits inspect current scoped values, paint effects and
1106
1264
  local SVG resources; registered checks must cover updates/removal, isolation and
1107
1265
  relevant themes. Registration, source-demonstrated consumption and current browser
1108
1266
  verification are separate evidence. Unknown paths establish no blanket permission.