@reqvire-org/ads 0.4.0 → 0.4.3

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 (410) hide show
  1. package/README.md +115 -87
  2. package/dist/a11y.mjs +133 -48
  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 +142 -0
  7. package/dist/analysis/impact.mjs +20 -0
  8. package/dist/analysis/inputs.mjs +22 -0
  9. package/dist/analysis/module-resolvers.mjs +46 -0
  10. package/dist/analysis/native-adapter.mjs +180 -0
  11. package/dist/analysis/native-project.mjs +323 -0
  12. package/dist/analysis/queries.mjs +133 -0
  13. package/dist/analysis/service.mjs +153 -0
  14. package/dist/analysis/standalone.mjs +57 -0
  15. package/dist/analysis/syntax.mjs +179 -0
  16. package/dist/analysis/worker.mjs +182 -0
  17. package/dist/assets.mjs +6 -6
  18. package/dist/atomic-composition.mjs +191 -70
  19. package/dist/atomic-trace.mjs +120 -50
  20. package/dist/behavior-libraries.mjs +106 -37
  21. package/dist/behaviors.mjs +219 -77
  22. package/dist/boundaries.mjs +140 -41
  23. package/dist/brand-assets.mjs +219 -47
  24. package/dist/brands.mjs +86 -27
  25. package/dist/bun-compiler.mjs +28 -14
  26. package/dist/bun-worker.mjs +7 -5
  27. package/dist/capture/worker.mjs +15 -4
  28. package/dist/capture-store.mjs +4 -2
  29. package/dist/capture.mjs +17 -14
  30. package/dist/check-service.mjs +44 -58
  31. package/dist/check.mjs +754 -188
  32. package/dist/cli.mjs +200 -99
  33. package/dist/color-values.mjs +21 -21
  34. package/dist/component-contrast.mjs +127 -9
  35. package/dist/config.mjs +303 -135
  36. package/dist/construction-styles.cjs +10 -0
  37. package/dist/contrast-composition.mjs +134 -0
  38. package/dist/control-padding.mjs +45 -25
  39. package/dist/css-values.mjs +3 -2
  40. package/dist/declarative-flow.mjs +209 -109
  41. package/dist/design-values.mjs +136 -51
  42. package/dist/development-runtime.mjs +4 -6
  43. package/dist/draft-boundary.mjs +11 -6
  44. package/dist/evidence.mjs +1 -1
  45. package/dist/finding-rules.mjs +9 -5
  46. package/dist/font-rules.mjs +22 -17
  47. package/dist/fonts-generated.mjs +23 -16
  48. package/dist/foundation-views.mjs +242 -0
  49. package/dist/foundation.mjs +63 -39
  50. package/dist/generated-entries.mjs +101 -34
  51. package/dist/icons.mjs +79 -32
  52. package/dist/image-attributes.mjs +143 -66
  53. package/dist/image-size.mjs +1 -1
  54. package/dist/index.mjs +0 -2
  55. package/dist/init.mjs +122 -41
  56. package/dist/investigations.mjs +2 -2
  57. package/dist/layers.mjs +298 -129
  58. package/dist/layout-widths.mjs +180 -85
  59. package/dist/linaria/preserve-values.cjs +7 -0
  60. package/dist/linaria/spatial-inputs.cjs +56 -0
  61. package/dist/lockup-composition.mjs +44 -0
  62. package/dist/lockup-model.cjs +64 -0
  63. package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
  64. package/dist/mcp/apps.mjs +4 -30
  65. package/dist/mcp/behavior-pages.mjs +72 -24
  66. package/dist/mcp/build-status.mjs +257 -64
  67. package/dist/mcp/catalog.mjs +90 -26
  68. package/dist/mcp/context.mjs +17 -18
  69. package/dist/mcp/draft-discovery.mjs +44 -21
  70. package/dist/mcp/drafts.mjs +903 -281
  71. package/dist/mcp/execution-coordinator.mjs +417 -167
  72. package/dist/mcp/execution-results.mjs +7 -7
  73. package/dist/mcp/mutations.mjs +673 -234
  74. package/dist/mcp/preview-watch.mjs +448 -170
  75. package/dist/mcp/preview-widget.bundle.js +44 -50
  76. package/dist/mcp/prompts.mjs +5 -5
  77. package/dist/mcp/result-pages.mjs +1 -1
  78. package/dist/mcp/sandbox-host.mjs +1 -1
  79. package/dist/mcp/server.mjs +2409 -577
  80. package/dist/mcp/showcase-host.mjs +165 -41
  81. package/dist/mcp/skills.mjs +1 -1
  82. package/dist/mcp/text-diff.mjs +29 -10
  83. package/dist/paint-contracts.mjs +174 -81
  84. package/dist/palette-generated.mjs +2 -2
  85. package/dist/pictogram-model.mjs +59 -0
  86. package/dist/pictograms.mjs +52 -0
  87. package/dist/preview-bun.mjs +494 -187
  88. package/dist/preview-failure.mjs +1 -1
  89. package/dist/preview-files.mjs +13 -13
  90. package/dist/preview-imports.mjs +104 -55
  91. package/dist/preview-inputs.mjs +2 -2
  92. package/dist/preview-requests.mjs +24 -0
  93. package/dist/preview-resources.mjs +288 -147
  94. package/dist/preview-scope.mjs +5 -4
  95. package/dist/program-cache.mjs +8 -34
  96. package/dist/project-documents.mjs +1 -1
  97. package/dist/public-api.mjs +69 -31
  98. package/dist/public-props.mjs +39 -22
  99. package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
  100. package/dist/{browser-audit → render-audit}/image-shape.mjs +15 -5
  101. package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
  102. package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
  103. package/dist/render-audit/pictograms.mjs +88 -0
  104. package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
  105. package/dist/{browser-audit → render-audit}/worker.mjs +98 -30
  106. package/dist/render-audit.mjs +838 -0
  107. package/dist/render-color-probe.mjs +96 -42
  108. package/dist/render-composition.mjs +164 -0
  109. package/dist/resource-limits.mjs +229 -97
  110. package/dist/runtime-contracts.mjs +467 -185
  111. package/dist/scenario-groups.mjs +22 -10
  112. package/dist/scenario-inspector.mjs +6 -43
  113. package/dist/scenario-program.mjs +8 -25
  114. package/dist/scenario-registry.mjs +72 -30
  115. package/dist/scenario-selectors.mjs +161 -64
  116. package/dist/scenario-slots.mjs +149 -56
  117. package/dist/scenario-trace.mjs +215 -109
  118. package/dist/scenarios-compiler.mjs +719 -378
  119. package/dist/scenarios-vite.d.mts +1 -3
  120. package/dist/scenarios-vite.mjs +2 -81
  121. package/dist/scenarios.mjs +421 -157
  122. package/dist/selector-match.mjs +2 -2
  123. package/dist/showcase/client.bundle.js +57 -56
  124. package/dist/showcase/draft-navigation.js +21 -3
  125. package/dist/showcase/favicon.ico +0 -0
  126. package/dist/showcase/favicon.svg +1 -0
  127. package/dist/showcase/foundation-view.css +58 -0
  128. package/dist/showcase/foundation-view.mjs +255 -0
  129. package/dist/showcase/guide-controls.ads.review.mjs +32 -0
  130. package/dist/showcase/icons.js +1 -145
  131. package/dist/showcase/index.html +3 -31
  132. package/dist/showcase/pictogram-view.mjs +53 -0
  133. package/dist/showcase/preview-frame.ads.review.css +46 -0
  134. package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
  135. package/dist/showcase/preview-frame.ads.review.mjs +22 -0
  136. package/dist/showcase/preview-state.js +0 -9
  137. package/dist/showcase/refresh-scheduler.js +23 -0
  138. package/dist/showcase/style.css +5 -47
  139. package/dist/showcase/ui/ui.css +1353 -0
  140. package/dist/showcase/ui/ui.js +1064 -0
  141. package/dist/showcase-coverage.mjs +58 -37
  142. package/dist/skills/README.md +24 -23
  143. package/dist/skills/ads-designer/README.md +8 -2
  144. package/dist/skills/ads-designer/SKILL.md +143 -120
  145. package/dist/skills/ads-designer/references/accessibility.md +78 -15
  146. package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
  147. package/dist/skills/ads-designer/references/behaviors.md +30 -27
  148. package/dist/skills/ads-designer/references/branding.md +101 -24
  149. package/dist/skills/ads-designer/references/captures.md +25 -0
  150. package/dist/skills/ads-designer/references/cli.md +21 -24
  151. package/dist/skills/ads-designer/references/contracts.md +7 -6
  152. package/dist/skills/ads-designer/references/design-data.md +49 -52
  153. package/dist/skills/ads-designer/references/drafts.md +20 -17
  154. package/dist/skills/ads-designer/references/evidence.md +1 -5
  155. package/dist/skills/ads-designer/references/guarded-editing.md +14 -18
  156. package/dist/skills/ads-designer/references/layers.md +1 -1
  157. package/dist/skills/ads-designer/references/layout.md +347 -0
  158. package/dist/skills/ads-designer/references/mobile.md +2 -1
  159. package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
  160. package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
  161. package/dist/skills/ads-designer/references/performance.md +3 -2
  162. package/dist/skills/ads-designer/references/pictograms.md +131 -0
  163. package/dist/skills/ads-designer/references/review.md +37 -34
  164. package/dist/skills/ads-designer/references/runtimes.md +33 -30
  165. package/dist/skills/ads-designer/references/scenarios.md +16 -18
  166. package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
  167. package/dist/skills/ads-designer/references/stress-test.md +68 -0
  168. package/dist/skills/ads-designer/references/validation.md +83 -75
  169. package/dist/skills/ads-designer/references/workflows.md +8 -33
  170. package/dist/skills/ads-import/SKILL.md +43 -325
  171. package/dist/skills/ads-import/references/atomic-styles.md +4 -4
  172. package/dist/skills/ads-import/references/behaviors.md +30 -27
  173. package/dist/skills/ads-import/references/branding.md +5 -5
  174. package/dist/skills/ads-import/references/captures.md +25 -0
  175. package/dist/skills/ads-import/references/cli.md +21 -24
  176. package/dist/skills/ads-import/references/compatibility.md +1 -1
  177. package/dist/skills/ads-import/references/contracts.md +7 -6
  178. package/dist/skills/ads-import/references/design-data.md +49 -52
  179. package/dist/skills/ads-import/references/drafts.md +20 -17
  180. package/dist/skills/ads-import/references/evidence.md +1 -5
  181. package/dist/skills/ads-import/references/guarded-editing.md +14 -18
  182. package/dist/skills/ads-import/references/implementation.md +2 -1
  183. package/dist/skills/ads-import/references/layers.md +1 -1
  184. package/dist/skills/ads-import/references/layout.md +347 -0
  185. package/dist/skills/ads-import/references/review.md +37 -34
  186. package/dist/skills/ads-import/references/runtimes.md +33 -30
  187. package/dist/skills/ads-import/references/scenarios.md +16 -18
  188. package/dist/skills/ads-import/references/tokens.md +3 -3
  189. package/dist/skills/ads-import/references/validation.md +83 -75
  190. package/dist/skills/ads-import/references/workflows.md +8 -33
  191. package/dist/skills/ads-migrate/SKILL.md +56 -0
  192. package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
  193. package/dist/skills/ads-port/SKILL.md +58 -344
  194. package/dist/skills/ads-port/references/atomic-styles.md +4 -4
  195. package/dist/skills/ads-port/references/behaviors.md +30 -27
  196. package/dist/skills/ads-port/references/captures.md +25 -0
  197. package/dist/skills/ads-port/references/cli.md +21 -24
  198. package/dist/skills/ads-port/references/contracts.md +7 -6
  199. package/dist/skills/ads-port/references/design-data.md +49 -52
  200. package/dist/skills/ads-port/references/drafts.md +20 -17
  201. package/dist/skills/ads-port/references/evidence.md +1 -5
  202. package/dist/skills/ads-port/references/guarded-editing.md +14 -18
  203. package/dist/skills/ads-port/references/layers.md +1 -1
  204. package/dist/skills/ads-port/references/layout.md +347 -0
  205. package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
  206. package/dist/skills/ads-port/references/native-implementation.md +2 -1
  207. package/dist/skills/ads-port/references/review.md +37 -34
  208. package/dist/skills/ads-port/references/runtimes.md +33 -30
  209. package/dist/skills/ads-port/references/scenarios.md +16 -18
  210. package/dist/skills/ads-port/references/validation.md +83 -75
  211. package/dist/skills/ads-port/references/workflows.md +8 -33
  212. package/dist/source-symbols.mjs +1 -8
  213. package/dist/source-values.mjs +270 -129
  214. package/dist/spatial-composition.mjs +322 -0
  215. package/dist/spatial-contexts.cjs +56 -0
  216. package/dist/spatial-css.cjs +351 -0
  217. package/dist/spatial-inputs.cjs +80 -0
  218. package/dist/spatial-metadata.mjs +18 -0
  219. package/dist/spatial-model.cjs +322 -0
  220. package/dist/spatial.mjs +21 -0
  221. package/dist/stage-timing.cjs +20 -0
  222. package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
  223. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
  224. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  225. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  226. package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
  227. package/dist/starters/preact/ds.config.json +25 -6
  228. package/dist/starters/preact/package.json +4 -8
  229. package/dist/starters/preact/tsconfig.json +4 -5
  230. package/dist/starters/preact/vite.config.ts +3 -3
  231. package/dist/starters/react/ADS.md +42 -47
  232. package/dist/starters/react/README.md +47 -49
  233. package/dist/starters/react/design-system/assets/pictograms/catalog.ads.json +13 -0
  234. package/dist/starters/react/design-system/assets/pictograms/journey.dark.svg +7 -0
  235. package/dist/starters/react/design-system/assets/pictograms/journey.svg +7 -0
  236. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
  237. package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
  238. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.exports.ts +1 -0
  239. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.fixture.ts +1 -0
  240. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.scenario.tsx +7 -0
  241. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.tsx +26 -0
  242. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
  243. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
  244. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
  245. package/dist/starters/react/design-system/index.ts +2 -1
  246. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
  247. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
  248. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
  249. package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
  250. package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
  251. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
  252. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
  253. package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
  254. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
  255. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
  256. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
  257. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
  258. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -1
  259. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  260. package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
  261. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
  262. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
  263. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -1
  264. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  265. package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
  266. package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
  267. package/dist/starters/react/design-system/tokens/colors.css +1 -1
  268. package/dist/starters/react/design-system/tokens/spacing.css +22 -32
  269. package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
  270. package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
  271. package/dist/starters/react/ds.config.json +25 -6
  272. package/dist/starters/react/package.json +2 -6
  273. package/dist/starters/react/tsconfig.json +2 -3
  274. package/dist/starters/react/vite.config.ts +3 -3
  275. package/dist/style-boundaries.mjs +70 -25
  276. package/dist/task-cache.mjs +173 -72
  277. package/dist/task-worker.mjs +22 -11
  278. package/dist/test-boundaries.mjs +132 -59
  279. package/dist/themes-generated.mjs +1 -1
  280. package/dist/themes-watch.mjs +57 -22
  281. package/dist/themes.mjs +176 -73
  282. package/dist/token-export.mjs +39 -14
  283. package/dist/token-policy.mjs +6 -3
  284. package/dist/token-quality.mjs +6 -6
  285. package/dist/token-samples.mjs +16 -5
  286. package/dist/tokens.mjs +71 -26
  287. package/dist/ui-framework.mjs +16 -14
  288. package/dist/unit-contracts.mjs +251 -104
  289. package/dist/units.mjs +209 -99
  290. package/dist/usage.mjs +138 -38
  291. package/dist/validation-checks.mjs +115 -38
  292. package/dist/validation-inputs.mjs +191 -78
  293. package/dist/validation.mjs +268 -102
  294. package/dist/verification/browser.mjs +27 -5
  295. package/dist/verification.mjs +711 -187
  296. package/docs/ADS.md +96 -80
  297. package/docs/ARCHITECTURE.md +368 -137
  298. package/docs/BEHAVIORS.md +29 -25
  299. package/docs/CACHING.md +77 -17
  300. package/docs/CHANGELOG.md +332 -17
  301. package/docs/CONTRACTS.md +12 -4
  302. package/docs/DESIGN-REFERENCES.md +40 -0
  303. package/docs/GUIDE.md +300 -263
  304. package/docs/MCP.md +187 -324
  305. package/docs/SPATIAL-CHECKS.md +69 -0
  306. package/docs/benchmarks/README.md +39 -0
  307. package/package.json +43 -34
  308. package/dist/browser-audit.mjs +0 -429
  309. package/dist/create.mjs +0 -48
  310. package/dist/lint-config.mjs +0 -50
  311. package/dist/mcp/project-widget.bundle.js +0 -114
  312. package/dist/mcp/reports.mjs +0 -101
  313. package/dist/mcp/widget.bundle.js +0 -147
  314. package/dist/oxlint.mjs +0 -89
  315. package/dist/preview-builder.mjs +0 -133
  316. package/dist/preview-workers.mjs +0 -184
  317. package/dist/showcase.mjs +0 -77
  318. package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
  319. package/dist/skills/ads-break-ui/README.md +0 -16
  320. package/dist/skills/ads-break-ui/SKILL.md +0 -412
  321. package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
  322. package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
  323. package/dist/skills/ads-break-ui/references/behaviors.md +0 -412
  324. package/dist/skills/ads-break-ui/references/captures.md +0 -135
  325. package/dist/skills/ads-break-ui/references/contracts.md +0 -317
  326. package/dist/skills/ads-break-ui/references/design-data.md +0 -354
  327. package/dist/skills/ads-break-ui/references/drafts.md +0 -194
  328. package/dist/skills/ads-break-ui/references/evidence.md +0 -128
  329. package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -165
  330. package/dist/skills/ads-break-ui/references/layers.md +0 -145
  331. package/dist/skills/ads-break-ui/references/reporting.md +0 -101
  332. package/dist/skills/ads-break-ui/references/review.md +0 -97
  333. package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
  334. package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
  335. package/dist/skills/ads-break-ui/references/validation.md +0 -166
  336. package/dist/skills/ads-break-ui/references/verification.md +0 -58
  337. package/dist/skills/ads-break-ui/references/workflows.md +0 -90
  338. package/dist/skills/ads-designer/references/reporting.md +0 -101
  339. package/dist/skills/ads-import/references/reporting.md +0 -101
  340. package/dist/skills/ads-motion/LICENSE.upstream +0 -21
  341. package/dist/skills/ads-motion/README.md +0 -22
  342. package/dist/skills/ads-motion/SKILL.md +0 -385
  343. package/dist/skills/ads-motion/agents/openai.yaml +0 -4
  344. package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
  345. package/dist/skills/ads-motion/references/audit.md +0 -44
  346. package/dist/skills/ads-motion/references/behaviors.md +0 -412
  347. package/dist/skills/ads-motion/references/captures.md +0 -135
  348. package/dist/skills/ads-motion/references/contracts.md +0 -317
  349. package/dist/skills/ads-motion/references/design-data.md +0 -354
  350. package/dist/skills/ads-motion/references/drafts.md +0 -194
  351. package/dist/skills/ads-motion/references/evidence.md +0 -128
  352. package/dist/skills/ads-motion/references/guarded-editing.md +0 -165
  353. package/dist/skills/ads-motion/references/layers.md +0 -145
  354. package/dist/skills/ads-motion/references/motion-review.md +0 -35
  355. package/dist/skills/ads-motion/references/reporting.md +0 -101
  356. package/dist/skills/ads-motion/references/review.md +0 -97
  357. package/dist/skills/ads-motion/references/runtimes.md +0 -203
  358. package/dist/skills/ads-motion/references/scenarios.md +0 -246
  359. package/dist/skills/ads-motion/references/validation.md +0 -166
  360. package/dist/skills/ads-motion/references/verification.md +0 -39
  361. package/dist/skills/ads-motion/references/workflows.md +0 -90
  362. package/dist/skills/ads-port/references/reporting.md +0 -101
  363. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  364. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
  365. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  366. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  367. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  368. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
  369. package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
  370. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
  371. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
  372. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
  373. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
  374. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  375. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.exports.ts +0 -1
  376. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
  377. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
  378. package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
  379. package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
  380. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.ads.exports.ts +0 -1
  381. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
  382. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  383. package/dist/starters/react/design-system/review/grid-cell/GridCell.ads.exports.ts +0 -1
  384. package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
  385. package/dist/starters/react/design-system/review/index.ts +0 -6
  386. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  387. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  388. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.exports.ts +0 -1
  389. package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
  390. package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
  391. package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
  392. package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
  393. package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
  394. package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
  395. package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
  396. package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
  397. package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
  398. package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
  399. package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
  400. package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
  401. package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
  402. package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
  403. package/dist/starters/react/package-lock.json +0 -4707
  404. package/dist/token-fixtures.mjs +0 -30
  405. package/docs/benchmarks/bun-previews.md +0 -91
  406. package/docs/benchmarks/preview-memory.md +0 -147
  407. package/docs/benchmarks/turbo-poc.md +0 -284
  408. package/docs/plans/execution-coordination.md +0 -57
  409. /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
  410. /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
package/docs/BEHAVIORS.md CHANGED
@@ -153,7 +153,7 @@ command. For a project with an installed Playwright test runner:
153
153
  }
154
154
  ```
155
155
 
156
- Here `runtime` uses the Node or Bun interpreter that launched ADS, and the
156
+ Here `runtime` uses the Bun that runs ADS, and the
157
157
  project supplies the installed Playwright entry. Explicit executable commands
158
158
  retain their meaning. A Bun package-script profile can use `command: "bun"`
159
159
  with `args: ["--bun", "run", "test:behavior", "--"]`. The Playwright
@@ -211,11 +211,11 @@ after a failure, does not establish the cause. Preserve the draft and original
211
211
  diagnostic; do not change a component API, reference example or verification
212
212
  policy to compensate for a resource-loading failure.
213
213
 
214
- The reporter atomically publishes partial snapshots at test start/end. While a
215
- run is active, `ads_status.behaviors.progress` exposes the profile, runner budget,
216
- elapsed time, completed/active/pending counts, worker count when available and
217
- case identities/timings. Candidate mutation verification exposes the same data at
218
- `ads_status.mutations.progress`. Clients requesting MCP progress receive updates
214
+ The reporter atomically publishes partial snapshots at test start/end. While an
215
+ `ads_validate` run is active, `ads_status.validation.progress` (stage `behavior`)
216
+ exposes the profile, runner budget, elapsed time, completed/active/pending counts,
217
+ worker count when available and case identities/timings. Draft acceptance exposes
218
+ the same data at `ads_status.mutations.progress`. Clients requesting MCP progress receive updates
219
219
  and a heartbeat during the runner phase; client-side request timeouts still apply.
220
220
  `durationMs` records completed case execution, including attempts, separately from
221
221
  the suite's wall time. Parallel case durations can sum to more than wall time.
@@ -314,9 +314,10 @@ General listings return counts and short API/guarantee/scenario summaries. Exact
314
314
  owner requests return the registered details; source reads remain available for
315
315
  bounded inspection of large contracts. No full guide or test body is injected
316
316
  into discovery results.
317
- Call `ads_verify({unit, checks?})` for selected registered checks. Read
317
+ Over MCP, behavior tests run inside the two gates: `ads_accept` runs the draft
318
+ owners' own tests and `ads_validate` every test its change set reaches. Read
318
319
  `ads://project/behaviors` for current evidence or `ads://guides/behaviors` for this
319
- guide. CLI/CI equivalents are:
320
+ guide. To run one unit's checks from the CLI or CI:
320
321
 
321
322
  ```sh
322
323
  ads behaviors . --json
@@ -365,8 +366,11 @@ and retains dependencies with declared side effects. This narrowing requires a
365
366
  package `sideEffects:false` or a supported simple `sideEffects` glob array; preserve
366
367
  CSS/global effects in that policy. Unknown policies/patterns, wildcard exports and
367
368
  computed imports remain conservative. Barrel source changes still invalidate
368
- dependents. ADS caches source parsing, resolution and digests within an inspection
369
- only; later runs read current source again.
369
+ dependents. Native snapshots reuse unchanged ASTs and semantic queries across
370
+ inspections; request facts and dependency digests are scoped to captured inputs.
371
+ Later runs verify current source/configuration before reusing results. A saved
372
+ dependency graph includes previous consumers so removing an import cannot hide
373
+ an affected owner; missing evidence widens selection conservatively.
370
374
 
371
375
  Test selection is at owner-contract granularity: when a registered check's input
372
376
  dependencies intersect changed files, that owner is selected and its registered
@@ -375,30 +379,30 @@ scripts still run as configured; ordinary live preview does not automatically ru
375
379
  browser checks and release validation runs the full suite. Persistent Bun
376
380
  compilation and retained preview state do not imply per-test-case execution caches.
377
381
 
378
- When `acceptance.behaviorChecks` is true, guarded mutations execute affected
379
- registered behavior contracts after mandatory native ADS gates
380
- and configured project checks, before writing source. Imported shared
381
- controller changes also select dependent contracts conservatively. Rejected and
382
- dry-run acceptances publish no source changes. Verification output stays under `.ds/`.
383
- To check a draft, call `ads_accept({id, revision, dryRun:true})`. This checks the
384
- candidate using the acceptance policy, including affected behavior contracts and
385
- their browser preview when enabled, rendered through the project's own compiler.
386
- `validation.behaviorChecks` separately controls validation, while explicit
387
- `ads_verify` always runs requested tests. Candidate evidence
388
- is not persisted as passing evidence for live source. `ads_verify` selects checks
389
- for current source and has no draft argument.
382
+ Draft acceptance and guarded mutations run the draft owners' own registered
383
+ behavior contracts after `ads check` and `acceptance.scripts`, before writing
384
+ source, unless `acceptance.behavior` is false. `ads_validate` always runs every
385
+ contract its change set reaches, including the consumers of a changed shared
386
+ controller, selected conservatively. Rejected and dry-run acceptances publish no
387
+ source changes. Verification output stays under `.ds/`. To check a draft, call
388
+ `ads_accept({id, revision, dryRun:true})`. This checks the candidate, including the
389
+ owners' behavior contracts and their browser preview, rendered through the
390
+ ADS-managed preview compiler. Candidate evidence is not persisted as passing evidence
391
+ for live source. `ads verify` runs checks for current source and has no draft
392
+ argument.
390
393
 
391
394
  ## Packaging and performance
392
395
 
393
396
  Controllers follow normal component/scenario imports into the project's compiled
394
- resource graph. Their framework dependencies are bundled by the project compiler
397
+ resource graph. Their framework dependencies are bundled by ADS's Bun preview compiler
395
398
  and served through MCP resources inside the App iframe; external hosts install
396
399
  nothing. The selected scenario loads its dependency closure. Shared modules are
397
400
  cached within that App instance, and each separately opened App has its own runtime.
398
401
 
399
402
  Keep ESM modules and explicit imports. Avoid an eagerly imported controller
400
- registry. Tree shaking and shared chunks follow the project bundler: class methods,
401
- side effects, global CSS and dynamic maps can retain extra code. Inspect emitted
403
+ registry. Production tree shaking and shared chunks follow the application's
404
+ bundler; previews use Bun. Class methods, side effects, global CSS and dynamic
405
+ maps can retain extra code. Inspect emitted
402
406
  resources instead of assuming a controller produces a minimal bundle.
403
407
 
404
408
  Development-only `review/<Owner>` units may register the same guarantee/check
package/docs/CACHING.md CHANGED
@@ -3,19 +3,29 @@
3
3
  ADS uses its pinned Turborepo dependency internally for architecture batch tasks
4
4
  run by the CLI and CI. Projects do not install Turbo, create `turbo.json`, or choose
5
5
  between backends. Local caching is enabled out of the box for `ads check` and the
6
- source-check stage of `ads validate`. The synchronous exported `checkProject`
7
- function remains the analysis primitive.
8
-
9
- The MCP server and its preview compiler do not start a Turbo task per check. They run
10
- `ads check` in one warm worker thread (`check-service.mjs`) that keeps its TypeScript
11
- programs and parsed sources (`program-cache.mjs`): a check after an edit reparses only
12
- what changed, and an exact repeat of the same inputs (by the same content key the
13
- Turbo task uses) returns the remembered passing report. Failing reports are not
14
- remembered. Draft acceptance runs its check in the draft's preview workspace, a
15
- stable path, so a dry run followed by acceptance of the same revision is an exact
16
- repeat; the dry run's accessibility audit is likewise remembered by candidate
17
- revision and scenario selection. ADS invokes
18
- the already-installed platform binary directly. It never runs Turbo's automatic
6
+ source-check stage of `ads validate`. A task miss runs the asynchronous native
7
+ analysis service. The exported `checkProject` function is also asynchronous;
8
+ direct library calls use the same `NativeProject` implementation and must be
9
+ awaited.
10
+
11
+ The MCP server, interactive preview compiler and registered draft revisions use
12
+ `check-service.mjs` for warm checks. It serializes requests and retains a bounded
13
+ set of successful reports by the same input key used by the batch task.
14
+ `analysis/service.mjs` sends work to a Bun child process over asynchronous IPC;
15
+ that host owns native TypeScript compiler sessions and immutable live/draft
16
+ snapshots. Changed source updates those snapshots while unchanged ASTs and
17
+ eligible semantic queries are reused. `program-cache.mjs` delegates program
18
+ acquisition to this shared context rather than owning another compiler.
19
+
20
+ A matching report skips repeated rule execution; failing reports are not
21
+ remembered. A changed input key requires a new check. Draft acceptance registers
22
+ its candidate as a branch of the live project and promotes the checked revision
23
+ after publication. A dry run can reuse matching architecture evidence, but it
24
+ never publishes source. Browser audit reuse has its own candidate-revision and
25
+ scenario-selection checks and is separate from native analysis reuse.
26
+
27
+ For batch tasks ADS invokes the already-installed Turbo platform binary
28
+ directly. It never runs Turbo's automatic
19
29
  repair installer; a missing binary reports `ADS_TASK_RUNTIME_MISSING` and asks
20
30
  for dependency reinstallation with optional platform packages enabled.
21
31
 
@@ -33,23 +43,71 @@ successful acceptance, baseline, run ID, lock or live build status. Each policy
33
43
  invocation establishes its own freshness and result. The existing coordinator
34
44
  retains execution ownership, cancellation and cleanup.
35
45
 
46
+ ## In-memory ownership
47
+
48
+ | Cache | Lifetime and invalidation |
49
+ | --- | --- |
50
+ | Request facts (`memoFact`) | One captured input revision/request; concurrent callers share pending work |
51
+ | Input-discovery resolvers | One input capture; shared compiler options and pending native leases, drained and disposed before returning |
52
+ | Owned JSX render relationships | Weakly owned by the immutable native program; pending graph work is shared and failed work is evicted |
53
+ | Immutable program/tree facts (`memoProgram`) and native query results | Reused only with their owning immutable program/tree; rejected queries are evicted |
54
+ | Native project and draft snapshots | Project session with bounded revisions/programs; source/import/configuration changes update the snapshot |
55
+ | Relocated draft ASTs | Owned by that draft; releasing it drops the wrapper cache without changing sibling/live paths |
56
+ | Successful warm reports | Bounded by count and keyed to the complete task inputs; `fresh` bypasses report reuse |
57
+ | Turbo task artifacts | Persisted successful source reports under the task key; no live compiler handles or acceptance state |
58
+
59
+ Source text comes from the captured revision during rule execution. Input
60
+ boundaries still read and compare current bytes: same-size or preserved-mtime
61
+ edits are changes. Dependency selection uses shared ASTs and before/current
62
+ import closures; a cached parse alone cannot establish a passing check or render.
63
+ See [analysis ownership and rule helpers](ARCHITECTURE.md#semantic-analysis).
64
+
65
+ Source accessibility and image-attribute checks reuse immutable native source facts.
66
+ They share the main check's inventory rather than scanning and parsing components
67
+ again. Optional source text and read-only CSS trees are cached by captured revision,
68
+ including missing files. Font rules and preload generation share the resulting CSS
69
+ and face definitions; current token values, configuration and consuming styles still
70
+ determine the result. An edited source/stylesheet, added or deleted input, or a sibling
71
+ draft receives its own revision. The cache cannot fall back to newer disk bytes.
72
+
73
+ Acceptance captures an unchanged original/candidate input scope once at each
74
+ freshness boundary; a configuration change retains both distinct scopes. Comparing
75
+ a reviewed preview's inputs is only needed when such a preview workspace exists.
76
+ Before/after validation captures and exact-byte publication checks remain required.
77
+ Browser-preview planning runs only when the accepted owners have selected behavior
78
+ checks and the project has a preview framework; an empty behavior selection needs
79
+ no additional discovery query. Render-audit planning remains independent.
80
+
81
+ A warm-check miss derives its key and compiler source bytes from one capture,
82
+ then captures again after checking. A hit still captures current inputs before
83
+ consuming the report. Draft preparation shares the inventory used in its inspected
84
+ revision with workspace population; targeted live conflict checks remain separate.
85
+ Neither optimization retains live input state across operations or removes an
86
+ acceptance/publication freshness boundary.
87
+
36
88
  ## Controls
37
89
 
38
90
  | Control | Behavior |
39
91
  | --- | --- |
40
92
  | Default | Local `.ds/task-cache`; remote cache disabled |
41
93
  | `ads check --fresh`, `ads validate --fresh` | Bypass task-cache reads; refresh successful cached outputs |
42
- | MCP `ads_check`, `ads_validate`, `ads_accept`: `fresh:true` | Same override for the operation's source checks |
94
+ | MCP `ads_validate`, `ads_accept`: `fresh:true` | Same override for the operation's source checks |
43
95
  | `ADS_CACHE=off` | Disable task-cache reads/writes; keep the same runner |
44
96
  | `ADS_CACHE_DIR=/absolute/path` | Relocate or share the local artifact store |
45
97
  | `ADS_REMOTE_CACHE=1` | Opt into remote caching with standard Turbo provider settings |
46
98
 
99
+ These environment variables control persisted batch-task caching. They do not
100
+ disable warm reports or native snapshot/query reuse. Use `fresh` to bypass
101
+ successful source-report reuse in either check path.
102
+
47
103
  Read-only projects and unwritable/full cache stores run through the same Turbo
48
104
  runner uncached in an isolated temporary workspace, reporting the fallback reason.
49
105
  `ADS_CACHE=off` also avoids creating a project cache directory.
50
106
 
51
- Fresh concerns batch task reuse; it does not force unchanged Bun modules to
52
- recompile or change the selected test policy. `ads_status.taskCache` reports
107
+ Fresh bypasses successful source-report reuse in both the batch task cache and
108
+ warm checks. Native snapshots and immutable AST/query facts remain reusable;
109
+ fresh does not restart the compiler, force unchanged Bun modules to recompile
110
+ or change the selected test policy. `ads_status.taskCache` reports
53
111
  settings. Source reports include key, hit/miss/fresh/disabled status and elapsed
54
112
  time. Execution replies include compact cache status; `ads_results` check records
55
113
  retain details.
@@ -93,7 +151,9 @@ not the entire `.ds` directory and its run-specific state. Alternatively set
93
151
  `TURBO_API`. Managed or self-hosted storage is a project choice. Tasks execute on
94
152
  the caller's machine or CI runner on a miss.
95
153
 
96
- See [measurements and proofs](benchmarks/turbo-poc.md), Turbo's
154
+ Use the [current analysis benchmark](../scripts/benchmarks/analysis/README.md)
155
+ for serial check/selection/acceptance measurements and regression gates. It does
156
+ not measure cross-process Turbo hits or browser rendering. See also Turbo's
97
157
  [GitHub Actions guide](https://turborepo.dev/docs/guides/ci-vendors/github-actions)
98
158
  and [cache controls](https://turborepo.dev/docs/reference/run#--cache-options).
99
159
 
package/docs/CHANGELOG.md CHANGED
@@ -1,34 +1,349 @@
1
1
  # Changelog
2
2
 
3
- ## 0.4.0
3
+ ## 0.4.3
4
4
 
5
5
  <!-- ads-local-tests:start -->
6
- Local verification: **779/779 passed** with `ADS_TEST_BUN=1 npm test`.
7
- Tested commit: `5fe8287d965f4138d4371a19f96d906c1be38bfc`; Node v24.13.0, Bun 1.4.1.
8
- Completed 2026-11-04T02:37:52.914Z (2021 seconds).
6
+ Local verification: **833/833 passed** with `bun run test`.
7
+ Tested commit: `b461dfe801b0fb0871ae814a0d75cc1e5db47b3e`; Bun 1.4.4.
8
+ Completed 2026-11-07T10:14:03.979Z (798 seconds).
9
9
 
10
10
  <!-- ads-local-test-proof
11
11
  {
12
- "schema": 1,
13
- "version": "0.4.0",
14
- "commit": "5fe8287d965f4138d4371a19f96d906c1be38bfc",
15
- "sourceSha256": "a4566093dce1f89b0767ce73d1eae7ee7f41f01490409153cf9e302c32d0fa44",
16
- "command": "ADS_TEST_BUN=1 npm test",
12
+ "schema": 3,
13
+ "version": "0.4.3",
14
+ "commit": "b461dfe801b0fb0871ae814a0d75cc1e5db47b3e",
15
+ "sourceSha256": "049f372686fea898cb3829668c6e3071c766bd18722c9270b26d596bf5e69937",
16
+ "command": "bun run test",
17
17
  "result": "pass",
18
- "tests": 779,
19
- "pass": 779,
18
+ "tests": 833,
19
+ "pass": 833,
20
20
  "fail": 0,
21
- "cancelled": 0,
22
21
  "skipped": 0,
23
- "node": "v24.13.0",
24
- "bun": "1.4.1",
25
- "completedAt": "2026-11-04T02:37:52.914Z",
26
- "durationMs": 2020694,
27
- "logSha256": "1f6b98b02b780248fea700a41b2a2fd191622c7d002c7c93fc3819afe1d694fb"
22
+ "groups": [
23
+ {
24
+ "name": "unit",
25
+ "tests": 83,
26
+ "pass": 83,
27
+ "fail": 0,
28
+ "skipped": 0,
29
+ "reportSha256": "eaa05144b54ab4d694bbd66ab29c741d46eecbdef5eb6d9d5de5805b302f05c4"
30
+ },
31
+ {
32
+ "name": "integration",
33
+ "tests": 603,
34
+ "pass": 603,
35
+ "fail": 0,
36
+ "skipped": 0,
37
+ "reportSha256": "e7bf889b404194e73f0662ddc2a789dfc45e57190bf6afa9b3f0095f4b5aa1ec"
38
+ },
39
+ {
40
+ "name": "browser",
41
+ "tests": 147,
42
+ "pass": 147,
43
+ "fail": 0,
44
+ "skipped": 0,
45
+ "reportSha256": "4f08212c482bf42a7914e1e51b89964a884e730827c7eafb60a2609d3c6f5285"
46
+ }
47
+ ],
48
+ "testOverrides": {
49
+ "ADS_BROWSER_WORKERS": "2"
50
+ },
51
+ "bun": "1.4.4",
52
+ "completedAt": "2026-11-07T10:14:03.979Z",
53
+ "durationMs": 798441,
54
+ "logSha256": "8de81a9e0439a8ee1c3a4304e300f30f20a3e8844644b56610ca916c287f9d92"
28
55
  }
29
56
  -->
30
57
  <!-- ads-local-tests:end -->
31
58
 
59
+ - Audit contrast on the project's canvas without decorative showcase staging, preserving subject framing. Measure image shape against its content or CSS sizing box so borders, padding and rotated bounding rectangles do not cause false failures.
60
+
61
+ - Detect text contrast across source-resolvable component composition, including inherited ancestor backgrounds and forwarded children; report uncertain cascades for rendered auditing without requiring custom token-pair declarations.
62
+
63
+ - Reuse native resolver leases and compiler options within input capture; share captured bytes across warm-check keys/analysis and draft inspection/preparation, preserving post-check and publication freshness checks.
64
+
65
+ - Share native import-resolution queries between sibling source files during input capture, avoiding repeated resolver work while preserving freshness checks.
66
+ - Avoid duplicate acceptance inventories for identical input scopes, skip preview-workspace comparisons when there is no reviewed preview, and skip browser-behavior planning for an empty behavior selection.
67
+
68
+ - Reuse captured native ASTs for image/accessibility checks and share font/CSS facts across requests on an immutable revision, preserving dependency-sensitive checks.
69
+
70
+ - Add a separate pictogram catalogue/gallery, explicit theme variants, SVG source guards and rendered artwork checks, with an original shared-starter example.
71
+
72
+ - `component-contrast` applies WCAG's large-text minimum: a pair needs 3:1 instead of
73
+ 4.5:1 where its block or an enclosing block declares `font-size` of at least 24px, or
74
+ 18.66px at `font-weight` 700 or more, in `px`, `pt` or `rem`, literally or through a
75
+ token resolved per theme and brand. Other sizes keep 4.5:1. Each failing context reports
76
+ its `minimum`.
77
+
78
+ - Keep showcase subject framing stable during preview reloads. Full-frame
79
+ subjects no longer briefly acquire specimen padding while resources or fonts
80
+ load; replacement roots and delayed framework mounts resolve padding before paint.
81
+
82
+ ## 0.4.2
83
+
84
+ - Test and release verification always start unit, integration and browser groups
85
+ together after one shared build. Each group retains its worker settings; the
86
+ overlap-mode setting is removed.
87
+ - Spatial checks protect generated geometry through composed selector branches,
88
+ attributes, escaped/cased properties and keyframes. Unknown attribute values
89
+ cannot certify cell ownership or hide a possible override. Draft rejection and
90
+ repaired publication use the same checks; focused benchmarks cover these paths.
91
+
92
+ - ADS's showcase has one popover surface, the new `Popover` component: chrome background, square
93
+ corners, a chrome border and a light shadow. The layout-guides menu and the preview-status
94
+ popover both render inside it.
95
+ - The preview-status popover is readable: a title with the problem count, one entry per
96
+ diagnostic (location, rule, first sentence, the rest under "Why and how to fix"), and a footer
97
+ with background progress and an outlined Retry preview (`ToolbarButton variant="outlined"`).
98
+ Only the problem list scrolls. The host renders the same structure (`PreviewMessageContent`).
99
+
100
+ - Tokens → Grid system adds Units and scale (fine and mini unit, each scale step at its real
101
+ width in mini units), Grid roles (each role the spatial definition names, its `var()` chain to
102
+ the primitive and its measured value) and hybrid, docked-panel and floating-panel examples
103
+ compiled from `@ads-layout`. Everything follows the project's own spatial definition and token
104
+ names.
105
+ - In Tokens → Grid system, each token in a role's chain (and in the breakpoint table's margins)
106
+ is a link: it opens the token page that shows it and highlights the token.
107
+
108
+ - MCP serves the tokens as W3C Design Tokens JSON at `ads://project/tokens/dtcg` (template
109
+ `ads://project/tokens/dtcg{?theme,brand}`): the same export as `ads tokens --format dtcg`,
110
+ updated with the token sheets. `ads_tokens` returns its address as `dtcgUri`.
111
+
112
+ - ADS runs on Bun with one asynchronous native TypeScript analysis engine. Checks,
113
+ contract discovery, change selection and draft acceptance share captured inputs,
114
+ ASTs and cached facts; draft branches retain isolation and exact-byte publication.
115
+ Consuming projects keep their own compiler and application runtime.
116
+ - Compiler parking and shutdown share their pending cleanup, so shutdown waits
117
+ for owned processes to stop. Missing check targets return structured
118
+ `project-structure` findings without starting analysis. The showcase navigation
119
+ again collapses automatically at phone widths.
120
+ - Analysis benchmarks record one latest result per branch, covering source checks,
121
+ acceptance, imported contracts, spatial changes and branch construction checks.
122
+ The sampled RSS growth allowance is 35% after an unchanged-engine rerun exceeded
123
+ the previous 25% allowance; timing limits and hard memory caps are unchanged.
124
+
125
+ - Opt-in `@ads-lockup` declares an artwork/text relationship and its size token.
126
+ Checks, draft acceptance, previews and Linaria builds share its CSS construction;
127
+ `lockup-construction` rejects invalid hooks and conflicting size, proportion,
128
+ alignment or text-trimming styles. The showcase header uses it. Artwork geometry
129
+ stays project-owned; the control does not enforce square logos or painted-edge equality.
130
+
131
+ - Layout pattern scenarios show labelled, tinted regions instead of sample content: the preview
132
+ frame provides a shared `placeholder` block (`previewFrameClasses("placeholder", "placeholder-blue")`,
133
+ also mint, lavender and warm), used by the starter's new `RegionBlock` review helper for the Shell
134
+ scenarios and by ADS's own Workspace shell scenario. Shell panels are columns whose content fills
135
+ the panel's height.
136
+
137
+ - The starter's light page background (`--bg-canvas`) is now `slate-1`, effectively white, instead of
138
+ the pale blue-grey `slate-2`, so staged subjects stand out from the showcase surface.
139
+
140
+ - Token views follow the folder model of components and patterns: each catalogue group is a
141
+ sidebar group with one page per kind of token (`tokens/<Group>/<section>`, such as
142
+ Typography → Line heights), in a fixed order; a group with one kind, and `Layout`, stay a
143
+ single `tokens/<Group>` view. Sections come from each token's sample property, classified
144
+ once on the server. Token samples and brand artwork are staged like component subjects. Token view ids change; see the
145
+ 0.4.1 → 0.4.2 migration guide.
146
+ - Brand assets are one row each on the showcase grid (`@ads-layout`): the clean master, its
147
+ construction grid (without centre axes; the icon magnifier keeps them) and actual sizes sit
148
+ on the same tracks in every row.
149
+ - The Brand view draws masters at one 64px height and the favicon sizes (16, 32, 48 px) at
150
+ true size; the 180–512 px home-screen icons are named instead of drawn.
151
+ - ADS has a new mark, "Eye in the grid": coloured masters and a logo with the "Agentic
152
+ Design System" tagline for the repository, app icons and favicons, and a greyscale
153
+ `BrandMark` for the showcase header, which stays neutral beside the inspected design. The
154
+ showcase page now serves its favicons.
155
+
156
+ - Showcase previews mark the scenario's subject: what its `covers` names stays on the
157
+ project's own canvas, in a box around it, while framing (specimen layouts, review helpers,
158
+ scenario markup) sits on the showcase panes' surface, so the main view and the side panes
159
+ share one background in every theme. Nothing is drawn over the subject or the framing.
160
+ A subject paired only with text (an icon beside its label) is staged with that text, and a
161
+ scenario that renders only its subject (a full-page shell) fills the frame edge to edge. Scenario discovery records each
162
+ scenario's subject owners (`subjects`) and the preview manifest carries them; no project
163
+ changes are needed. Composition previews fill the frame edge to edge.
164
+ - ADS's own showcase design system adds `SpecimenTable` for side-by-side comparisons; the
165
+ Preview indicators page uses it, and scenarios that centred themselves in a `page`
166
+ frame now use the specimen layout like the rest.
167
+ - Showcase fixes: the Icons tab no longer stays blank after the preview slot was replaced
168
+ (the catalogue renders into its own host); layout guides are clipped against the layout
169
+ viewport, so a page scrollbar no longer cuts them short at the right edge; the mini-unit
170
+ ruler draws crisp one-device-pixel lines at any display scaling, with stronger 16px major
171
+ lines and a fainter 8px lattice. The showcase header's tabs and actions fill the bar, so
172
+ their bounds sit on the grid.
173
+ - ads-import and ads-port keep only their own workflow (about 240 and 200 lines, from 500
174
+ and 460). Shared ADS rules are a short "Ground rules" section linking the synced
175
+ references, instead of copied ads-designer text that drifted out of date.
176
+ - Remove the `ads_prepare_token_samples` MCP tool and the `brand-preview` rule. Token
177
+ sample bindings are data in `tokens/catalog.ads.json`, edited in a `tokens` draft; the
178
+ Brand view shows every artwork in `assets/brand/` itself, now including subfolders such
179
+ as `pictograms/`.
180
+ - Guidance now matches tool-owned foundation views: skills, guides, starter docs and MCP
181
+ instructions describe the Tokens and Brand views ADS renders from the token sheets,
182
+ `tokens/catalog.ads.json` (now documented, with its `foundation-catalog` errors) and
183
+ `assets/brand/`, instead of project token scenarios, `TokenSamples`/`BrandPreview`
184
+ renderers and the removed `brand-preview` check. Also corrected: generated barrel and
185
+ styles entry (declare exports in `<Owner>.ads.exports.ts`; never edit the entries),
186
+ `ads verify --unit`, the review severity of `layout-overflow-narrow`,
187
+ `usage.notifications` enforcement, and `preloadFonts()` from the public entry.
188
+ - Merge the ads-break-ui and ads-motion skills into ads-designer as references
189
+ (`stress-test.md`, `stress-catalog.md`, `motion.md`, `motion-performance.md`), keeping
190
+ their upstream credits and MIT notice. The two skills, their prompts and their copied
191
+ references are removed; install `ads-designer` for motion and stress-testing work.
192
+ - Fix: `@ads-layout` breakpoint tiers compile to exclusive ranges
193
+ (`(width >= 42rem) and (width < 66rem)`). Open-ended tiers could both match, and
194
+ atomic CSS does not keep rule order, so a smaller tier's placement could win at a
195
+ larger width (for example a docked panel staying in its overlay position).
196
+ - Spatial placement: cells take `end` lines (instead of `span`), `start: auto`, `row` /
197
+ `row-span`, and per-breakpoint `visible: false` (compiled to bounded range queries);
198
+ layouts take `rows` (`auto` / `fill`) and `align: start | center | end` for capped
199
+ regions. Overlays keep their row band. `grid-construction` and `grid-definition`
200
+ diagnostics link to the new `ads://guides/layout` guide (ads-designer
201
+ `references/layout.md`), whose examples are compiled in the test suite. Parsed spatial
202
+ definitions are reused by content across style templates in the build and preview.
203
+ - The starter `Shell` places its header in the grid (shared column keylines) and adds a
204
+ backdrop wherever a panel covers the main region.
205
+ - Spatial layouts gain region support: `context: container` applies the shared
206
+ breakpoints to the nearest region container; `@ads-cell` takes `container: region`
207
+ and per-breakpoint `overlay: start | end`; hybrid layouts take `fixed-end` and vary
208
+ their fixed tracks with `@ads-at`. Tracks emitted by `@ads-layout` are no longer
209
+ judged again by `layout-fixed-width`. The preview frame adds a `region` layout.
210
+ - The starter adds a `Shell` pattern (rail/panel navigation, docked or floating aside)
211
+ and a Workspace composition; `Conversation` now responds to its region's width
212
+ (`context: container`). `IconButton` takes `id`, `expanded` and `controls` for
213
+ disclosure toggles. The starter `tsconfig.json` no longer uses `baseUrl`, which
214
+ TypeScript 7 removed.
215
+ - The showcase host's header and navigation regions use `@ads-layout`: navigation is
216
+ fluid (5/12) below `md` and a fixed side pane from `md`, and the preview area is a
217
+ region container.
218
+ - Replace the `draftImportGuard()` export with `developmentImportGuard()`; update
219
+ application build imports and calls. The guard rejects drafts, marked development
220
+ scripts/styles and preview tooling. There is no compatibility alias.
221
+ - Reject the undocumented `.ads.fixtures.*` role; use `.ads.fixture.*` consistently
222
+ with scenario discovery. Remove duplicate starter/playground scripts:
223
+ `build:mcp-previews` → `build:showcase`, `preview`/`preview:showcase` →
224
+ `dev:showcase`, and repository `test:tool` → `test`.
225
+ - Add `ads-migrate` for existing design-system upgrades, with a short common workflow
226
+ and a 0.4.1 → 0.4.2 guide for source, configuration and preview changes.
227
+ - Use one authored starter in `starters/shared/`; generate native React/Preact import,
228
+ type and build differences, keeping only small mount adapters per framework.
229
+ - Serve an initialized Preact starter as the repository playground. Remove the
230
+ duplicated root design system; retain a small starter-based lazy-loading fixture
231
+ for compiler regression tests.
232
+ - Move generic preview framing into the showcase client. Mark project review
233
+ implementations/styles and mounts with `.ads.*`, and reject them in production
234
+ imports and bundler output. Review-only geometry does not enter shared token counts.
235
+ - Preserve starter asset configuration on first initialization so the Icons grid and
236
+ brand asset generation work in the shipped starter.
237
+ - Scope layout alignment guides to Patterns and Composition. Draw the project's
238
+ token grid inside each rendered example, following its bounds, resizing and
239
+ scrolling; keep the control out of Tokens, Icons and individual Components.
240
+ - Remove obsolete project-owned showcase page requirements and unused HTML mount pages.
241
+
242
+ ## 0.4.1
243
+
244
+ - Two gates run one pipeline, `ads check` → project scripts → behavior tests →
245
+ render audit:
246
+ - `ads_accept` checks one draft: `ads check`, `acceptance.scripts`, and the
247
+ draft owners' own behavior tests and render audit. It no longer runs the
248
+ tests or audit of other owners the change reaches; `ads_validate` does.
249
+ - `ads_validate` / `ads validate` checks everything (`scope:"all"`) or what
250
+ changed since the last successful full run (`scope:"changed"`, or
251
+ `--changed`): `ads check`, `acceptance.scripts` then `validation.scripts`,
252
+ and every behavior test and render audit the change set reaches. `"changed"`
253
+ now narrows the render audit too. It writes nothing.
254
+ - Configuration is `"acceptance": { "scripts": [], "behavior": true, "audit": true }`
255
+ and `"validation": { "scripts": [], "inputs": [] }`; list each script once, since
256
+ `ads validate` runs both lists. `checks`, `behaviorChecks` and `browserAudit` are
257
+ unknown fields.
258
+ - The validation policy is gone: `ads_validate` loses `policy`, `ads validate`
259
+ loses `--policy`, and `.ds/acceptance-baseline.json` is no longer written.
260
+ - `ads_check` and `ads_verify` are removed from MCP. The architecture check stays
261
+ readable as `ads://project/checks`; the CLI keeps `ads check` and `ads verify`.
262
+ - "Browser audit" is now "render audit": the check is `render-audit`, and the
263
+ rules are `render-audit`, `render-audit-skipped` and
264
+ `render-audit-nothing-measured`.
265
+ - The execution lock no longer reports an estimated remaining time.
266
+ - `ads_status.validation.progress` is compacted like other progress, and
267
+ `ads_status.policies` is now `gates`.
268
+ - Script files named by `acceptance.scripts` and `validation.scripts` belong to the
269
+ configuration unit and are copied into acceptance candidates.
270
+ - The Vite preview compiler is removed: `createVitePreviewBuilder`,
271
+ `previewEntriesPlugin`, `scenarioRegistryPlugin` and `inlineScenarioHtml` are gone.
272
+ ADS previews compile with Bun only. `@reqvire-org/ads/scenarios/vite` keeps
273
+ `draftImportGuard()` for application Vite/Rollup builds.
274
+ - Previews always compile into one shared resource graph. The per-scenario HTML mode
275
+ (no `mcp.previewManifest`), its nested scenario widget (`ui://ads/scenario`), the
276
+ fallback token inspector (`ui://ads/tokens`) and `mcp.apps` pages are removed.
277
+ `mcp.previewManifest` and `mcp.apps` are removed: ADS publishes the graph to
278
+ `.ds/preview/manifest.json`. `?category=` showcase links are no longer accepted;
279
+ use `?scenario=`. `ads_show_tokens` takes `id` instead of `category`.
280
+ - ADS's own Bun compiler is the only preview compiler: the MCP server runs it, and
281
+ `ads validate` and draft acceptance use it. `mcp.previewWatch` is removed, with its
282
+ external-builder (`false`) and custom-command modes, and so are the
283
+ `@reqvire-org/ads/scenarios/compiler`, `@reqvire-org/ads/scenarios/bun` and
284
+ `@reqvire-org/ads/mcp/build` exports. `ads_status.previewWatch` is now
285
+ `ads_status.compiler`. `ads compile` still builds previews from the command line.
286
+ - An unknown configuration field is an error that names it; removed fields no longer
287
+ carry a message pointing to their replacement.
288
+ - Both MCP transports serve the same protocol versions: `2026-07-28` and the
289
+ 2025-era versions (`2024-10-07` to `2025-11-25`). HTTP now serves 2025-era
290
+ clients too, over the sessionful Streamable HTTP transport with its notification
291
+ stream, as stdio already did. A client gets what its protocol version defines.
292
+ - ADS's tools run on Bun only: the CLI and MCP server require Bun, and the Node
293
+ fallbacks in runtime detection, cache keys and the check worker are removed. A
294
+ project may still be a Node project: what it imports from ADS in its own build,
295
+ lint or Playwright specs (`linaria`, `scenarios/vite`, `verification`, `oxlint`,
296
+ `tokens`) works under Node. ADS's own tests run with `bun test`, four files at a
297
+ time, and the release proof reads its JUnit report. Two test categories prove
298
+ both kinds of project: `node-project` (an npm project runs `npx … ads init`,
299
+ `ads check` and its builds, and the exports load under Node) and `bun-project`
300
+ (a Bun project with no Node runs `bunx … ads init`, its builds, MCP and gates).
301
+ - Source changes are announced to MCP clients (resource-list and subscribed-resource
302
+ notifications) whenever no build is running. Before, ADS held them while any
303
+ preview was pending, so with on-demand builds an edit could go unannounced until
304
+ someone opened a preview. The HTTP host also sends an event stream's headers
305
+ at once, so a 2025-era session's notification stream opens before it has data.
306
+ - A preview build error from the Bun compiler names the file and line again; newer Bun
307
+ reported only "Bundle failed".
308
+ - The `data-access` rule no longer rejects network stubs in tests, such as a behavior
309
+ spec that injects transport failures.
310
+ - The design system's layout inside `dsDir` is fixed: `index.ts`, `review/index.ads.review.ts`,
311
+ `styles.css` and `tokens/`, imported as `@ds` and `@ds/review`. `publicAlias`,
312
+ `publicEntry`, `reviewEntry`, `stylesEntry` and `tokenDir` are no longer
313
+ configuration fields; `sourceDir` and `dsDir` stay.
314
+ - The Oxlint adapter is removed: the `oxlint` field, `ads lint-config`, the
315
+ `@reqvire-org/ads/oxlint` export and the generated `.ds/oxlintrc.json`. A project's
316
+ own linter runs through its own scripts; ADS's checks run in `ads check`.
317
+ - `mcp.showcaseUrl` is no longer a configuration field. `ads_status.showcaseUrl` and
318
+ the preview tools report the URL and port of the showcase the MCP server is running,
319
+ and nothing without one (`--no-showcase`); `--port` fixes the port.
320
+ - `ads init` no longer recognizes the old `ds …` script names.
321
+ - `ads create` is removed; ADS always sets up inside an existing project with `ads init`.
322
+ `ads init --include-starter` adds the starter's example design system, Vite and
323
+ TypeScript setup, scripts and development dependencies the project lacks, never
324
+ replacing a project file or writing a lockfile. The starter's npm lockfile is gone.
325
+ - A `token-name` error says what fits the layer where it appears: in `tokens/` a shared
326
+ name with a contract prefix (and the prefix the bad name hints at, such as `--bg-<role>`),
327
+ in a component `--ds-*` customization, in a pattern `--ux-*`, in the showcase
328
+ `--showcase-*`. Token names are still ADS's fixed contract.
329
+ - `ads init` reads the package manager only from the project: `packageManager` in
330
+ `package.json`, else its lockfile. A project that declares neither gets an error
331
+ naming what to add. `--package-manager` and the guess from the launcher (`npx`/`bunx`)
332
+ are removed.
333
+ - `ads_report_bug` and `ads_request_feature` are removed, with their `.ds/reports/`
334
+ store, `ads_status.reports`, `ads://guides/reporting` and the skills' reporting
335
+ reference.
336
+ - `ads_skills` and `ads_read_skill` are listed only on 2025-era connections, which
337
+ have no native skills; `2026-07-28` clients use `skills/list`, `skills/get` and
338
+ skill resources.
339
+ - `ads_show_tokens` is removed. Token scenarios open with `ads_show_scenario` like
340
+ every other scenario; `ads_scenarios({kind: "tokens"})` lists them. The showcase and
341
+ the MCP explorer use `ads_show_scenario` for token previews too.
342
+ - The starters' `lint` script is the Biome CSS check only; Oxlint is no longer a
343
+ starter dependency.
344
+
345
+ ## 0.4.0
346
+
32
347
  - `mcp.previewBuildTimeoutMs` sets how long a preview waits for its build,
33
348
  including the first build after the MCP server starts (1000–3600000 ms). The
34
349
  default rises from 30 seconds to 5 minutes, so slower computers finish the