@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/README.md CHANGED
@@ -28,8 +28,8 @@ Data, UX, Skin, and the performance reasons behind that choice.
28
28
  ADS manages its batch-task cache internally; see [cache controls and CI wiring](docs/CACHING.md).
29
29
 
30
30
  ADS supports **React and native Preact** with the same architecture guards and
31
- MCP preview flow. The starter comes for React and for Preact; this repository’s working example
32
- uses Preact. See [implementation support](docs/GUIDE.md#implementation-support).
31
+ MCP preview flow. One shared starter generates native React and Preact projects; this repository’s
32
+ playground runs the initialized Preact starter. See [implementation support](docs/GUIDE.md#implementation-support).
33
33
 
34
34
  ## What ADS does
35
35
 
@@ -48,15 +48,13 @@ uses Preact. See [implementation support](docs/GUIDE.md#implementation-support).
48
48
  edit. Commit proposals for PR review, compare Accepted/Draft in Explorer, and
49
49
  let the agent accept an exact reviewed revision after required checks pass.
50
50
  - **Bound command memory** with project process-tree budgets and reported kernel
51
- or watchdog enforcement. See [command memory budgets](docs/MCP.md#command-memory-budgets-ads-0338).
51
+ or watchdog enforcement. See [command memory budgets](docs/MCP.md#command-memory-budgets).
52
52
  - **Verify behavior** through project-owned guarantees and registered tests,
53
53
  with progress, timings and evidence tied to current source.
54
54
  - **Keep contracts explicit** for typed paint inputs, scoped data bindings and
55
55
  declarative APIs, without adding ADS to production components.
56
56
  - **Guide agents** with prompts and portable skills for building, importing,
57
57
  porting, motion and UI stress testing.
58
- - **Collect feedback** as local bug reports and feature requests with compact
59
- evidence, deduplication and submission receipts.
60
58
 
61
59
  See [using ADS through MCP](docs/GUIDE.md#use-ads-through-mcp) for the workflow and
62
60
  [visual captures](docs/MCP.md#screenshots-and-candidate-comparison) for screenshot
@@ -76,55 +74,55 @@ There is no warning level.
76
74
 
77
75
  | Area | What ADS enforces |
78
76
  |---|---|
79
- | **Rendered accessibility** | `ads audit` runs axe-core (WCAG 2.2 AA rules) in every rendered UI scenario, once per theme and brand, plus ADS's own non-text contrast check (WCAG 1.4.11, which axe does not cover): a field or other control without its own text or icon, whose border is its only boundary, needs that border at 3:1 against the background around it, and an icon-only control needs its icon at 3:1 against its background. The audit gates `ads validate` by default, and MCP draft acceptance and guarded patches audit the candidate's affected scenarios (all of them after configuration, foundation, token or asset changes); `browserAudit: false` in a policy turns it off. It needs the project's Playwright and browser (`npx playwright install chromium`); without them the policy fails and names what to install. |
77
+ | **Rendered accessibility** | `ads audit` runs axe-core (WCAG 2.2 AA rules) in every rendered UI scenario, once per theme and brand, plus ADS's own non-text contrast check (WCAG 1.4.11, which axe does not cover): a field or other control without its own text or icon, whose border is its only boundary, needs that border at 3:1 against the background around it, and an icon-only control needs its icon at 3:1 against its background. This render audit always gates `ads validate` (every scenario its change set reaches), and MCP draft acceptance audits the draft owners' own scenarios in the candidate; `acceptance.audit: false` turns that off for acceptance. It needs the project's Playwright and browser (`npx playwright install chromium`); without them the gate fails and names what to install. |
80
78
  | **Static accessibility** | Focus styles, icon-only labels, image alt text, reduced motion, target size, text resize and text spacing are checked from source and tokens, without a browser. |
81
79
  | **Contrast** | `token-contrast` checks the role pairs that meet on screen (text on surfaces, fills with their foreground, status text on tints, focus indicators and control borders) in every theme and brand. `component-contrast` checks the pairs components and patterns make themselves: a style block (including a nested state such as `&:hover` or `&[aria-selected="true"]`) that sets both `color` and `background` to tokens, such as a status color as text on its own tint. Both resolve every CSS color syntax, including `oklch()` and `color-mix()`, and composite translucent fills over the canvas. Text needs 4.5:1; focus indicators and control borders need 3:1; disabled states are exempt. |
82
- | **Layout** | Widths are fluid on the grid. `layout-fixed-width` fails a width, `flex-basis` or grid track that cannot shrink below 96 px, in any unit, whether raw, from a token or by arithmetic; small parts use plain sizes, `min(100%, 280px)` and `%` shrink, a maximum is not read, and widths declared in `layout.widthTokens` pass and are listed for review. `layout-overflow` renders every UI scenario at 390, 768 and 1280 px and fails on horizontal page overflow and clipped content, and renders components and patterns in a 240 px container, where a set width above 96 px must fit; scrollers and ellipsis are exempt. |
80
+ | **Layout** | `@ads-layout` validates spatial definitions, placement and local bounds. Ordinary grid CSS must have provable track/placement relationships; owned JSX supplies composition and container evidence. `layout-fixed-width` checks shared sizing roles and spatial bounds, without a universal pixel cutoff. Browser overflow audits remain a separate capability, including the existing narrow-container review. |
83
81
  | **Web performance** | `img-attributes` fails a raw `<img>` without dimensions or a `loading` choice, and a `srcset` with width descriptors and no `sizes`; `asset-image-budget` fails oversized images in `assets/` (SVG 100 KB, WebP and AVIF 300 KB, JPEG 400 KB, PNG and GIF 500 KB, or `assets.imageBudgetKb`); `layout-shift` fails a rendered scenario above 0.1; `img-shape` fails an image rendered at another shape than it declares; `font-weight-missing` and `asset-font-budget` hold fonts to what is declared and a size. `ads assets` generates preloads for the fonts the first text uses, on the URLs the stylesheet requests. Page metadata, sitemaps, hosting and Lighthouse stay with the application. |
84
82
  | **Themes and brands** | One mechanism: per-theme halves (`--x-light`, `--x-dark`) and brands on `[data-brand]`. `ads assets` generates `themes.generated.css` and `.ts`; missing or conflicting halves, empty themes, stale generated files, `light-dark()` and ancestor theme selectors are errors. |
85
- | **Tokens** | Ownership, naming, rhythm, missing and scenario references; equal values in different roles are flagged for review. |
83
+ | **Tokens** | Ownership, naming, rhythm, missing references and the token catalogue (`catalog.ads.json`); equal values in different roles are flagged for review. |
86
84
  | **Architecture** | Data, UX and Skin ownership, project structure, unit and paint contracts, binding and variable ownership; Linaria atomic composition risks are flagged for review. |
87
- | **Brand assets and glyphs** | Brand coverage, licenses, READMEs and previews; glyph viewBox, color and alias rules. |
85
+ | **Pictograms** | Catalogue, SVG geometry and theme coverage; rendered images preserve the declared variant, minimum size and proportions. Fixed colors and gradients are allowed. |
86
+ | **Brand assets and glyphs** | Brand coverage, licenses and READMEs; glyph viewBox, color and alias rules. |
88
87
  | **Behavior** | Registered guarantees need current passing execution evidence; `ads verify` runs them against current source. |
89
- | **Acceptance policy** | `ads validate --policy acceptance` applies the project's acceptance policy (core gates, its configured `acceptance.checks` scripts, affected behavior checks when enabled and the browser audit) to direct edits, the same bar MCP acceptance uses. |
88
+ | **Two gates** | Draft acceptance runs `ads check`, `acceptance.scripts`, and the draft owners' own behavior tests and render audit. `ads validate` runs `ads check`, `acceptance.scripts` then `validation.scripts`, and every behavior test and render audit its change set reaches; `--changed` narrows that to what changed since the last full run. |
90
89
 
91
90
  See [checks and guards](docs/GUIDE.md#checks-and-guards) for the gates, thresholds and
92
- how to turn the browser audit off.
91
+ how to turn the render audit off for draft acceptance.
93
92
 
94
- ## Create a new design system
93
+ ## Set up an existing project
95
94
 
96
- `create` copies the starter shipped in this ADS version into a new folder and sets
97
- it up, so the project always matches the tool that checks it:
95
+ Run **inside your project**, where `package.json` lives. The project declares its
96
+ package manager: `"packageManager"` in `package.json`, or its lockfile
97
+ (`package-lock.json` for npm, `bun.lock` for Bun). Install Bun 1.4.1+ for ADS tooling
98
+ and previews. Your application can continue using Node/npm or Bun.
98
99
 
99
100
  ```sh
100
- npx @reqvire-org/ads create my-design-system --framework react # or preact
101
- cd my-design-system
101
+ npx @reqvire-org/ads init --framework react
102
102
  npm install
103
- npx playwright install chromium # browser for the accessibility audit
103
+ npx playwright install chromium
104
104
  npm run build
105
- npm run dev:showcase
106
105
  ```
107
106
 
108
- With Bun: `bunx @reqvire-org/ads create my-design-system --framework preact
109
- --package-manager bun`, then `bun install`, `bunx playwright install chromium` and
110
- `bun --bun run build`. `--name` sets
111
- the package name (default: the folder name).
112
-
113
- ## Set up an existing project
107
+ Use `--framework preact` for native Preact. Init saves the choice in
108
+ `ds.config.json`; later runs can use plain `ads init`.
114
109
 
115
- Run **inside your project**, where `package.json` lives. Install Bun 1.4.1+ for
116
- ADS tooling and previews. Your application can continue using Node/npm or Bun.
110
+ To start a design system from ADS's starter, add `--include-starter`: init also adds
111
+ the starter's example components, patterns, compositions, review frames, Vite and
112
+ TypeScript setup, and the scripts and development dependencies they need. It adds
113
+ only what the project lacks, never replaces an existing file and never writes a
114
+ lockfile. Start from a `package.json` that declares the package manager:
117
115
 
118
116
  ```sh
119
- npx @reqvire-org/ads init --framework react
117
+ mkdir my-design-system && cd my-design-system
118
+ npm init -y && npm pkg set packageManager=npm@11.7.0 # Bun: "packageManager": "bun@1.4.1"
119
+ npx @reqvire-org/ads init --framework react --include-starter # or preact
120
120
  npm install
121
- npx playwright install chromium
121
+ npx playwright install chromium # browser for the accessibility audit
122
122
  npm run build
123
+ npm run dev:showcase
123
124
  ```
124
125
 
125
- Use `--framework preact` for native Preact. Init saves the choice in
126
- `ds.config.json`; later runs can use plain `ads init`.
127
-
128
126
  For a Bun project, Node is unnecessary:
129
127
 
130
128
  ```sh
@@ -135,7 +133,8 @@ bun --bun run build
135
133
  ```
136
134
 
137
135
  `--bun` keeps package executables on Bun even when they have a Node shebang.
138
- `init` detects npm or Bun from your project. It adds ADS (and `@playwright/test`, unless Playwright is already a dependency) as development dependencies, sets up an empty local ADS if needed, and adds ADS checks before your
136
+ `init` reads npm or Bun from your project, and stops with an error naming what to add when
137
+ the project declares neither. It adds ADS (and `@playwright/test`, unless Playwright is already a dependency) as development dependencies, sets up an empty local ADS if needed, and adds ADS checks before your
139
138
  existing build. The default layout is root `design-system/`, alongside `src/`.
140
139
  It keeps your app, token values, scripts, and lockfile. Each build runs native ADS gates for tokens, styles, imports, renderer
141
140
  boundaries and asset ownership, then runs `ads assets` (configured brand icons, the
@@ -150,15 +149,14 @@ Linaria; integrate its extraction with your build as described in the
150
149
  |---------|-----|
151
150
  | `ads init --framework react` | Set up ADS in the current project; also accepts `preact`; saved choices can omit the flag |
152
151
  | `ads check` | Check tokens, styles, imports, and ADS ownership; errors fail, review items are listed |
153
- | `ads validate` | Run the configured validation policy and current-preview audit |
154
- | `ads validate --policy acceptance` | Check the acceptance policy against direct source edits without applying changes |
152
+ | `ads validate` | Run the full gate: `ads check`, project scripts, every behavior test and the render audit |
153
+ | `ads validate --changed` | The same gate for what changed since the last successful full run |
155
154
  | `ads compile` | Compile all previews with Bun; `--watch` rebuilds on edits |
156
155
  | `ads tokens` | Inspect token values and themes |
157
156
  | `ads behaviors` | Inspect registered behavior guarantees and current evidence |
158
157
  | `ads verify --unit <id>` | Run an owner's registered behavior checks |
159
158
  | `ads audit` | Run axe-core in every rendered UI scenario, once per brand and theme; findings are errors |
160
159
  | `ads assets` | Generate web icons, the glyph module, `themes.generated.css` and the renderer palette `themes.generated.ts` |
161
- | `ads lint-config` | Optional integration with an explicitly configured project linter |
162
160
  | `ads mcp` | Start the stdio MCP server and its local showcase |
163
161
  | `ads showcase` | Start the same MCP runtime for browser-only inspection |
164
162
 
@@ -182,7 +180,8 @@ claude mcp add --transport stdio --scope project ads -- npx -y @reqvire-org/ads
182
180
  ```
183
181
 
184
182
  Restart your client in that project. `npx` uses its installed ADS version or
185
- downloads the published package. See the [MCP guide](docs/MCP.md#connect-codex-or-claude)
183
+ downloads the published package; ADS itself runs on Bun 1.4.1+, so Bun must be
184
+ installed. In a Bun project, use `bunx -y @reqvire-org/ads mcp` instead of `npx`. See the [MCP guide](docs/MCP.md#connect-codex-or-claude)
186
185
  for config files and Claude Desktop setup.
187
186
 
188
187
  To let the agent edit the ADS through enforced checks, append `--mutations` to
@@ -197,7 +196,8 @@ project and all its draft previews. See
197
196
  The server exposes public components/patterns, token values,
198
197
  source guides, controllers/hooks, architecture checks, behavioral verification,
199
198
  on-demand screenshots, workflow prompts, and packaged ADS skills.
200
- It supports older MCP clients and the newer Skills protocol.
199
+ It serves the same MCP protocol versions over stdio and HTTP: `2026-07-28`,
200
+ with native Skills, and the 2025-era versions.
201
201
 
202
202
  Private controllers stay beside their component; shared controllers have their own
203
203
  edit units. Optional behavior contracts connect guarantees to maintained checks.
@@ -207,11 +207,11 @@ Structured failure boundaries and compact investigation bundles help agents
207
207
  inspect the failing source, requests and available artifacts while preserving
208
208
  the intended design. Each result states what it established and left unverified.
209
209
 
210
- Experimental MCP Apps show an interactive token inspector and project-built
211
- token, component, pattern and composition scenarios. They use the same public implementations and fixtures
210
+ Experimental MCP Apps show the token and brand views ADS builds from project definitions and
211
+ the project's component, pattern and composition scenarios. They use the same public implementations and fixtures
212
212
  as the showcase. Text and resource access remain available without Apps support.
213
- Configure a project preview watcher in `ds.config.json` and MCP manages its
214
- startup, rebuilds and shutdown; the client launches only `ads mcp`.
213
+ Declare the project's framework in `ds.config.json`. MCP manages ADS's Bun
214
+ preview compiler, rebuilds and shutdown; the client launches only `ads mcp`.
215
215
  Build status and diagnostics remain readable through tools/resources, with
216
216
  notifications for subscribed clients and explicit errors from preview tools.
217
217
  See the [MCP guide](docs/MCP.md) for Codex/Claude setup, preview builds, prompts,
@@ -223,8 +223,8 @@ To inspect an existing component through MCP:
223
223
  2. `ads_catalog` finds the component and links its owning source, available guides
224
224
  and preview IDs. `ads_tokens` explains the values it uses.
225
225
  3. `ads_scenarios` finds a preview; `ads_show_scenario` opens the real entry with its
226
- colocated fixtures. Use `ads_show_tokens` for project-owned token samples.
227
- 4. After a change, check build freshness, run `ads_check` and project checks, then
226
+ colocated fixtures; token views are listed with `ads_scenarios({kind:"tokens"})`.
227
+ 4. After a change, check build freshness, run `ads_validate({scope:"changed"})`, then
228
228
  verify the refreshed preview and exercise its relevant states.
229
229
 
230
230
  This is what makes ADS useful through MCP: small, structured discovery leads to
@@ -235,7 +235,7 @@ Clients without Apps can inspect text/resources and use the regular showcase.
235
235
  ## Showcase
236
236
 
237
237
  The showcase is **a minimal shell plus an MCP client and Apps host**. It ships
238
- with ADS tooling. Brand, Tokens, Components, Patterns and Composition share its header,
238
+ with ADS tooling. Brand, Icons, Pictograms, Tokens, Components, Patterns and Composition share its header,
239
239
  collapsible left menu, theme and brand switches and preview area; an Icons tab shows the
240
240
  glyph set. Lists come from MCP results;
241
241
  selecting an entry renders its real scenario inside one reusable MCP App. The
@@ -267,31 +267,41 @@ npm run ads-read-mcp -- --port 4191 # read-only; run one at a time
267
267
 
268
268
  Open **http://127.0.0.1:4191/**. Both commands build the local tool first and
269
269
  start stdio MCP, the showcase and the managed preview compiler.
270
- `dev:showcase` starts the browser-only runtime and also builds the local tool.
270
+ `dev:showcase` builds the local tool, initializes its Preact starter under ignored
271
+ `.ds/playground/`, and starts the browser-only runtime. `bun run dev:react` selects React.
272
+ Edit `starters/shared/` and restart to preview source changes.
271
273
  Open the printed URL when choosing another port.
272
274
  `--port 4185` chooses a fixed port; the default chooses an available port.
273
275
  The title and left pane align; the title toggle hides/restores both. Minimize the
274
276
  header for a full preview, then refresh to restore it.
275
277
 
276
- A configured project compiler builds a shared scenario graph on first demand
278
+ ADS's managed Bun compiler builds a shared scenario graph on first demand
277
279
  and watches code, styles, fixtures and assets. The App loads only the selected
278
280
  scenario and its dependencies. Notifications update menus and refresh the active
279
281
  scenario after a successful build. Failures show diagnostics and identify stale
280
282
  output. `ads_tokens` inspects definitions independently of preview builds. Compilation still
281
283
  happens automatically; no separate project showcase rebuild is needed.
282
284
 
283
- For an existing app, `init` adds the showcase launch script; it does not install
284
- a preview compiler. Integrate the [starter compiler and mount adapter](docs/GUIDE.md#showcase)
285
- with your build. Projects from `ads create` already include that setup.
285
+ For an existing app, `init` adds showcase launch scripts and a missing native
286
+ framework mount; ADS supplies the preview compiler. Keep the application's build
287
+ integration separate. See the [showcase setup](docs/GUIDE.md#showcase).
286
288
 
287
- There are no required showcase page files. Add a colocated scenario and fixture
288
- for tokens and each public UI owner; larger entries live under `composition/`.
289
- ADS rejects invented token names, tokens without reachable scenarios, and public
290
- components/patterns without real render coverage. Development inputs stay out
289
+ There are no required showcase page files. ADS renders the Tokens and Brand views
290
+ from the token sheets, `tokens/catalog.ads.json` and `assets/brand/`. Add a colocated
291
+ scenario and fixture for each public UI owner; larger entries live under `composition/`.
292
+ ADS rejects invented token names and public components/patterns without real render coverage. Development inputs stay out
291
293
  of production. Full-app harnesses belong in application tests. See the
292
294
  [architecture](docs/ARCHITECTURE.md#the-showcase-is-the-shared-design-workspace),
293
295
  [contract](docs/ADS.md#showcase-contract) and [setup guide](docs/GUIDE.md#showcase).
294
296
 
297
+ ## Pictograms
298
+
299
+ Illustrative SVG artwork has its own `assets/pictograms/` owner and showcase section,
300
+ separate from logos and UI icons. Its catalogue declares theme variants, intended
301
+ use and a project-selected minimum size. The shared starter includes an original
302
+ Journey example and renderer. See the [pictogram guide](skills/ads-designer/references/pictograms.md)
303
+ for the format, artistic freedom and check boundaries.
304
+
295
305
  ## Branding
296
306
 
297
307
  Change values in `design-system/tokens/`, keeping the
@@ -303,8 +313,8 @@ Change values in `design-system/tokens/`, keeping the
303
313
  [themes](docs/GUIDE.md#tokens-grid-icons-and-accessibility).
304
314
 
305
315
  Keep original artwork, with its use, credits and license in a README, in
306
- `design-system/assets/brand/`; `ads check` fails on undescribed, unlicensed or
307
- unpreviewed artwork and lists unused artwork for review. Name dark-theme variants `<name>.dark.svg`.
316
+ `design-system/assets/brand/`; `ads check` fails on undescribed or unlicensed artwork and
317
+ lists unused artwork for review. ADS shows the artwork in the Brand view itself. Name dark-theme variants `<name>.dark.svg`.
308
318
  Committed native and export icons (`assets.targets`: SVG, PNG, ICO, ICNS) and UI
309
319
  icon sets (`assets.glyphs`) are generated by `ads assets` and checked for freshness.
310
320
  Other products' logos are not brand artwork or glyphs: keep them, in their own
@@ -327,27 +337,24 @@ app's bundler. With no icon source, generation is skipped. See the
327
337
  Install skills with `npx skills`:
328
338
 
329
339
  ```sh
330
- npx skills add reqvire-org/ads --skill ads-designer --skill ads-import --skill ads-port --skill ads-break-ui --skill ads-motion
340
+ npx skills add reqvire-org/ads --skill ads-designer --skill ads-import --skill ads-port --skill ads-migrate
331
341
  ```
332
342
 
333
343
  For local development, install from this checkout:
334
344
 
335
345
  ```sh
336
- npx skills add ./skills --skill ads-designer --skill ads-import --skill ads-port --skill ads-break-ui --skill ads-motion
346
+ npx skills add ./skills --skill ads-designer --skill ads-import --skill ads-port --skill ads-migrate
337
347
  ```
338
348
 
339
- Acknowledgments: `ads-designer`'s craft/mobile guidance, `ads-break-ui`, and
340
- `ads-motion` adapt [Emil Kowalski's MIT-licensed skills](https://github.com/emilkowalski/skills).
341
- Their local [designer](skills/ads-designer/README.md),
342
- [break-ui](skills/ads-break-ui/README.md), and [motion](skills/ads-motion/README.md)
343
- credits record the sources and revision. Each skill keeps the upstream MIT
344
- notice beside its files.
349
+ Acknowledgments: `ads-designer`'s craft, mobile, stress-testing and motion guidance
350
+ adapts [Emil Kowalski's MIT-licensed skills](https://github.com/emilkowalski/skills).
351
+ Its [credits](skills/ads-designer/README.md) record the sources and revision, and the
352
+ upstream MIT notice stays beside its files.
345
353
 
346
- - [ads-designer](skills/ads-designer/SKILL.md): start an ADS or build UI with your local ADS.
354
+ - [ads-designer](skills/ads-designer/SKILL.md): start an ADS or build UI with your local ADS, including layout, motion and stress-testing with difficult content.
347
355
  - [ads-import](skills/ads-import/SKILL.md): import external components, patterns, styles, token values, or brand artwork.
348
356
  - [ads-port](skills/ads-port/SKILL.md): port library components into your ADS using shared tokens and primitives.
349
- - [ads-break-ui](skills/ads-break-ui/SKILL.md): stress-test real components and patterns with difficult content.
350
- - [ads-motion](skills/ads-motion/SKILL.md): implement, review, audit, or profile component animation.
357
+ - [ads-migrate](skills/ads-migrate/SKILL.md): upgrade an existing design system between ADS versions, following the relevant migration guide.
351
358
 
352
359
  See the [skill guide](skills/README.md) for examples and source credits.
353
360
 
@@ -361,6 +368,15 @@ $ads-import /path/to/source-repo brand
361
368
 
362
369
  ## Development and references
363
370
 
371
+ Start with [AGENTS.md](AGENTS.md) for repository ownership, development commands,
372
+ verification and required benchmarks. The [performance guide](docs/benchmarks/README.md)
373
+ separates native analysis/acceptance measurements from preview and browser work.
374
+
375
+ `bun run dev:ui` opens ADS's own showcase design system from `showcase-ui/`, using
376
+ the current checkout's tooling. `bun run dev` opens the separate Preact starter.
377
+ The host and its UI scenarios share components; see the
378
+ [showcase UI guide](showcase-ui/README.md).
379
+
364
380
  To develop ADS itself against another project, use the
365
381
  [npm link workflow](docs/GUIDE.md#develop-ads-locally). Consumer setup above uses the
366
382
  published package; local development uses your linked checkout.
@@ -376,18 +392,36 @@ real token/component/pattern/composition Apps, switch themes, inspect build erro
376
392
  try tools, resources, prompts and skills. See the
377
393
  [MCP explorer guide](mcp-explorer/README.md) for the small test flow.
378
394
 
379
- This repository uses its own local ADS to try ideas and verify the complete flow.
395
+ This repository uses the shipped starter to verify the complete flow.
380
396
  The showcase is the visual/interaction review surface; automated tests also
381
397
  check tool behavior and the example build:
382
398
 
383
399
  ```sh
384
- npm test # Tool guards and packed npm install/build tests
385
- npm run build:project # ADS guards, type checking, example build and showcase
400
+ bun run test # Build once; unit, integration and browser groups with separate worker limits
401
+ bun run test:unit # Unit helpers: 4 file workers, up to 4 async cases per file
402
+ bun run test:integration # Native compiler, MCP/CLI and packed projects: 2 file workers
403
+ bun run test:browser # Real browser tests: 4 file workers
404
+ bun run test:grid # Compact pass/fail dots; always sequential (1 worker)
405
+ ADS_DRAFT_DEBUG=1 bun test tests/browser/drafts-browser.test.mjs # also keeps the split-view page state and a screenshot in a printed temp folder
406
+ bun run build:project # ADS guards, type checking and the initialized Preact starter build
386
407
  ```
387
408
 
388
- Set `ADS_TEST_BUN=1` when running `npm test` to test the installed package with
389
- Node/npm/npx unavailable, including Bun builds, MCP previews and guarded checks.
390
- Browser behavior/capture checks also run when a supported browser is installed.
409
+ ADS's tools and tests run on Bun. The packed-package tests install ADS into an npm
410
+ project and into a Bun project with Node unavailable, and a Node check loads the
411
+ exports a project's own build imports. Browser behavior/capture checks also run
412
+ when a supported browser is installed.
413
+
414
+ All three groups overlap after one shared build. Tune their workers with
415
+ environment variables, for example `ADS_UNIT_WORKERS=8 ADS_INTEGRATION_WORKERS=4 bun run test`.
416
+ Browser defaults to four file workers. Release verification uses the same
417
+ settings. See [test configuration](tests/README.md) for local files, CI examples
418
+ and per-group controls.
419
+
420
+ Package tests keep dependency downloads in `.ds/test-package-cache/npm` and
421
+ `.ds/test-package-cache/bun`; each run still installs the current tarball into fresh
422
+ temporary projects. `ADS_TEST_NPM_CACHE` and `ADS_TEST_BUN_CACHE` override these
423
+ locations; `npm_config_cache` and `BUN_INSTALL_CACHE_DIR` are also respected.
424
+ Point the ADS overrides at empty directories to measure a cold install.
391
425
 
392
426
  Tool source lives in `src/`; tests and the dummy project live in `tests/`.
393
427
 
@@ -395,23 +429,17 @@ See the [tooling contract](docs/ADS.md) and [tool guide](docs/GUIDE.md) for enfo
395
429
  and setup.
396
430
  The [dummy project](tests/fixtures/guard-project/README.md) tests the generic guards with passing and failing cases.
397
431
 
398
- There are two different starting points in this checkout:
399
-
400
- - [starters/react/](starters/react/README.md) is the React application starter, and
401
- [starters/preact/](starters/preact/) the files that replace it for Preact:
402
- a token foundation in six groups (AA contrast in both themes, a 2 px
403
- rhythm), light and dark themes declared in `ds.config.json` that apply to the page or one
404
- section at any depth, a column grid, an icon set, a brand preview with placeholder artwork, build
405
- setup, example components, a pattern and a composition, development-only review
406
- renderers, and a project preview compiler adapter. They ship in the npm package;
407
- `ads create` copies them into a new project, and `ads init` uses their foundation
408
- files when a project has no ADS.
409
- - [design-system/](design-system/README.md) is this repository's working example,
410
- with real components, patterns, and scenarios inspected through the built-in showcase. It demonstrates the architecture
411
- and helps us develop the tooling. Its UI source is excluded from the npm package
412
- and is not automatically copied into projects.
432
+ There is one maintained example: [the shared starter](starters/README.md).
433
+ Its tokens, assets and UI live in [starters/shared/](starters/shared/README.md);
434
+ React and Preact retain only small native mount adapters. The tool build generates
435
+ the two framework variants, `ads init --include-starter` installs them, and the
436
+ repository playground inspects an initialized copy of that same source.
413
437
 
414
438
  Licensed under [MIT](LICENSE). Adapted third-party material retains its upstream
415
439
  notices.
416
440
 
441
+ The spatial defaults and design guidance draw on IBM Carbon's 2x Grid and IBM Design
442
+ Language. See [design references and acknowledgments](docs/DESIGN-REFERENCES.md)
443
+ for the adopted concepts, source revision and treatment of third-party material.
444
+
417
445