@reqvire-org/ads 0.4.7 → 0.5.0

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 (1070) hide show
  1. package/README.md +265 -420
  2. package/dist/accessibility-declarations.mjs +43 -0
  3. package/dist/active-clock.d.mts +30 -0
  4. package/dist/active-clock.mjs +26 -17
  5. package/dist/ads-errors.mjs +3421 -0
  6. package/dist/ads-view-choices.mjs +17 -0
  7. package/dist/ads-views.mjs +12 -0
  8. package/dist/analysis/captured-content.mjs +16 -0
  9. package/dist/analysis/compiler-options.mjs +3 -7
  10. package/dist/analysis/context.mjs +14 -20
  11. package/dist/analysis/controller-gates.mjs +119 -0
  12. package/dist/analysis/design-usage.mjs +126 -0
  13. package/dist/analysis/file-tree.mjs +44 -29
  14. package/dist/analysis/framework-imports.mjs +62 -0
  15. package/dist/analysis/glyph-macros.mjs +103 -0
  16. package/dist/analysis/helpers.mjs +119 -91
  17. package/dist/analysis/impact.mjs +25 -12
  18. package/dist/analysis/inputs.mjs +19 -13
  19. package/dist/analysis/mock-check.mjs +98 -0
  20. package/dist/analysis/module-graph.mjs +156 -0
  21. package/dist/analysis/module-resolvers.mjs +30 -28
  22. package/dist/analysis/native-adapter.mjs +139 -146
  23. package/dist/analysis/native-boundary.mjs +52 -0
  24. package/dist/analysis/native-project.mjs +331 -231
  25. package/dist/analysis/native-session.mjs +20 -0
  26. package/dist/analysis/owner-accessibility.mjs +74 -0
  27. package/dist/analysis/owner-analysis-cache.mjs +125 -0
  28. package/dist/analysis/owner-analysis-key.mjs +114 -0
  29. package/dist/analysis/owner-choices.mjs +763 -0
  30. package/dist/analysis/owner-composition.mjs +612 -0
  31. package/dist/analysis/owner-discovery.mjs +164 -0
  32. package/dist/analysis/owner-failures.mjs +19 -0
  33. package/dist/analysis/owner-outcomes.mjs +42 -0
  34. package/dist/analysis/owner-reuse.mjs +100 -0
  35. package/dist/analysis/owner-source.mjs +1506 -0
  36. package/dist/analysis/public-imports.mjs +31 -0
  37. package/dist/analysis/queries.mjs +72 -54
  38. package/dist/analysis/runtime-setters.mjs +114 -0
  39. package/dist/analysis/scenario-keys.mjs +151 -0
  40. package/dist/analysis/service.mjs +111 -70
  41. package/dist/analysis/standalone.mjs +40 -37
  42. package/dist/analysis/styling-ownership.mjs +276 -0
  43. package/dist/analysis/svg-attributes.mjs +199 -0
  44. package/dist/analysis/syntax.mjs +82 -78
  45. package/dist/analysis/visual-bindings.mjs +68 -0
  46. package/dist/analysis/worker-protocol.mjs +302 -0
  47. package/dist/analysis/worker.mjs +234 -166
  48. package/dist/api-signature.mjs +53 -0
  49. package/dist/app-icon-checks.mjs +298 -0
  50. package/dist/app-icon-declaration.d.mts +53 -0
  51. package/dist/app-icon-declaration.mjs +66 -0
  52. package/dist/asset-binding.mjs +35 -0
  53. package/dist/asset-catalog.mjs +83 -0
  54. package/dist/asset-declaration.d.mts +42 -0
  55. package/dist/asset-declaration.mjs +108 -0
  56. package/dist/asset-macro.d.mts +63 -0
  57. package/dist/asset-macro.mjs +22 -0
  58. package/dist/asset-model.mjs +74 -0
  59. package/dist/asset-usage.mjs +14 -0
  60. package/dist/asset-view-facts.mjs +41 -0
  61. package/dist/authoring-macro.d.mts +11 -0
  62. package/dist/authoring-macro.mjs +21 -0
  63. package/dist/autocomplete-hints.mjs +31 -0
  64. package/dist/availability.mjs +9 -0
  65. package/dist/behavior-macro.d.mts +31 -0
  66. package/dist/behavior-macro.mjs +3 -0
  67. package/dist/behavior-registry.mjs +358 -0
  68. package/dist/boundaries.mjs +50 -212
  69. package/dist/browser-runtime.mjs +73 -0
  70. package/dist/browser-test.d.mts +3 -0
  71. package/dist/browser-test.mjs +2 -0
  72. package/dist/bun-bundler.mjs +10 -0
  73. package/dist/bun-compiler.mjs +30 -18
  74. package/dist/bun-runtime.mjs +4 -0
  75. package/dist/bun-worker.mjs +10 -4
  76. package/dist/capture/request.mjs +81 -0
  77. package/dist/capture/worker.mjs +69 -40
  78. package/dist/capture/worker.page.mjs +6 -0
  79. package/dist/capture-store.mjs +159 -75
  80. package/dist/capture.mjs +232 -95
  81. package/dist/check-service.mjs +27 -33
  82. package/dist/check.mjs +200 -904
  83. package/dist/cli-arguments.mjs +278 -0
  84. package/dist/cli.mjs +374 -304
  85. package/dist/color-values.mjs +294 -242
  86. package/dist/composed-contrast.mjs +628 -0
  87. package/dist/config.mjs +162 -468
  88. package/dist/construction-output.mjs +217 -0
  89. package/dist/construction-spec.d.mts +712 -0
  90. package/dist/construction-spec.mjs +937 -0
  91. package/dist/css-length.mjs +80 -0
  92. package/dist/css-quantity.mjs +173 -0
  93. package/dist/deletion-model.mjs +56 -0
  94. package/dist/deletion-plan.mjs +364 -0
  95. package/dist/dependency-manifest.mjs +56 -0
  96. package/dist/design-context-model.d.mts +61 -0
  97. package/dist/design-context-model.mjs +79 -0
  98. package/dist/design-contexts.mjs +105 -0
  99. package/dist/design-foundation.mjs +527 -0
  100. package/dist/design-inputs.mjs +156 -0
  101. package/dist/design-modules.mjs +27 -0
  102. package/dist/design-rejection.d.mts +23 -0
  103. package/dist/design-rejection.mjs +29 -0
  104. package/dist/design-system-closure.mjs +108 -0
  105. package/dist/design-usage.mjs +48 -0
  106. package/dist/development-modules.mjs +2 -0
  107. package/dist/development-runtime.mjs +0 -7
  108. package/dist/digest.mjs +2 -0
  109. package/dist/draft-boundary.mjs +1 -27
  110. package/dist/draft-workspace.mjs +11 -5
  111. package/dist/emit/accept.mjs +33 -0
  112. package/dist/emit/app-icon-emission.mjs +124 -0
  113. package/dist/emit/app-icon-render.mjs +126 -0
  114. package/dist/emit/asset-imports.mjs +18 -0
  115. package/dist/emit/cli-report.mjs +97 -0
  116. package/dist/emit/contract.mjs +136 -0
  117. package/dist/emit/emission.mjs +175 -0
  118. package/dist/emit/font-emission.mjs +91 -0
  119. package/dist/emit/foundation-sheet.mjs +55 -0
  120. package/dist/emit/icon-containers.mjs +46 -0
  121. package/dist/emit/integrity.mjs +61 -0
  122. package/dist/emit/lock.mjs +66 -0
  123. package/dist/emit/namespace.mjs +79 -0
  124. package/dist/emit/operation-reply.mjs +3 -0
  125. package/dist/emit/operation.mjs +36 -0
  126. package/dist/emit/output-location.mjs +20 -0
  127. package/dist/emit/output-package.mjs +7 -0
  128. package/dist/emit/owner-emission-cache.mjs +52 -0
  129. package/dist/emit/palette-module.mjs +19 -0
  130. package/dist/emit/palette-refresh.mjs +77 -0
  131. package/dist/emit/preview-emitter.mjs +110 -0
  132. package/dist/emit/preview-tree.mjs +174 -0
  133. package/dist/emit/scheduler.mjs +75 -0
  134. package/dist/emit/service.mjs +249 -0
  135. package/dist/emit/sync.mjs +38 -0
  136. package/dist/emit/watch.mjs +74 -0
  137. package/dist/emit/writer.mjs +102 -0
  138. package/dist/evidence.mjs +6 -8
  139. package/dist/example-babel.mjs +7 -0
  140. package/dist/example-literals.mjs +88 -0
  141. package/dist/finding-rules.mjs +71 -77
  142. package/dist/focus-checks.mjs +93 -0
  143. package/dist/font-checks.mjs +143 -0
  144. package/dist/font-declaration.d.mts +54 -0
  145. package/dist/font-declaration.mjs +77 -0
  146. package/dist/font-macro.d.mts +32 -0
  147. package/dist/font-macro.mjs +6 -0
  148. package/dist/font-model.mjs +37 -0
  149. package/dist/form-states.mjs +82 -0
  150. package/dist/foundation-macro.d.mts +108 -0
  151. package/dist/foundation-macro.mjs +6 -0
  152. package/dist/frame-regions.mjs +190 -0
  153. package/dist/glyph-set-declaration.d.mts +27 -0
  154. package/dist/glyph-set-declaration.mjs +36 -0
  155. package/dist/grid-checks.mjs +94 -0
  156. package/dist/grid-facts.mjs +92 -0
  157. package/dist/grid-lowering.mjs +257 -0
  158. package/dist/guard/cli.mjs +51 -0
  159. package/dist/guard/config.mjs +67 -0
  160. package/dist/guard/files.mjs +31 -0
  161. package/dist/guard/index.mjs +3 -0
  162. package/dist/guard/run.mjs +56 -0
  163. package/dist/guard/tsconfig.declarations.json +13 -0
  164. package/dist/index.mjs +2 -7
  165. package/dist/init-project.mjs +134 -0
  166. package/dist/init.mjs +225 -263
  167. package/dist/input-digests.mjs +109 -163
  168. package/dist/input-scope.mjs +18 -41
  169. package/dist/inspected-svg.d.mts +28 -0
  170. package/dist/inspected-svg.mjs +40 -0
  171. package/dist/inventories.mjs +149 -0
  172. package/dist/inventory-query.mjs +15 -0
  173. package/dist/investigations.mjs +177 -99
  174. package/dist/json.d.mts +10 -0
  175. package/dist/json.mjs +36 -0
  176. package/dist/linaria/atomic-processor.json +96 -0
  177. package/dist/linaria/atomic-processor.mjs +2452 -0
  178. package/dist/linaria/backend-identity.mjs +26 -0
  179. package/dist/linaria/compatibility.json +61 -0
  180. package/dist/linaria/css-shape.mjs +94 -0
  181. package/dist/linaria/custom-property-css.mjs +56 -0
  182. package/dist/linaria/delivery.mjs +111 -0
  183. package/dist/linaria/direct-extract.mjs +43 -0
  184. package/dist/linaria/extraction-cache.mjs +31 -0
  185. package/dist/linaria/extraction-model.mjs +5 -0
  186. package/dist/linaria/fingerprint.mjs +183 -0
  187. package/dist/linaria/pair-manifest.json +2315 -0
  188. package/dist/linaria/persisted-extraction-cache.mjs +352 -0
  189. package/dist/linaria/preservation.mjs +13 -0
  190. package/dist/linaria/priority-emitted-rank.mjs +40 -0
  191. package/dist/linaria/priority-manifest.mjs +87 -0
  192. package/dist/linaria/priority-table.mjs +47 -0
  193. package/dist/linaria/priority-tiers.mjs +27 -0
  194. package/dist/linaria/processor-host.mjs +42 -0
  195. package/dist/linaria/processor-runtime.mjs +36 -0
  196. package/dist/linaria-processor-NOTICES.md +147 -0
  197. package/dist/lowering-components.mjs +14 -0
  198. package/dist/lowering-effects.mjs +38 -0
  199. package/dist/lowering-emitter.mjs +29 -0
  200. package/dist/lowering-hidden.mjs +30 -0
  201. package/dist/lowering-layer.mjs +141 -0
  202. package/dist/lowering-motion.mjs +37 -0
  203. package/dist/lowering-normalize.mjs +194 -0
  204. package/dist/lowering-overlaps.mjs +328 -0
  205. package/dist/lowering-paint.mjs +32 -0
  206. package/dist/lowering-properties.mjs +144 -0
  207. package/dist/lowering-region-layout.mjs +191 -0
  208. package/dist/lowering-serialize.mjs +40 -0
  209. package/dist/lowering-session.mjs +130 -0
  210. package/dist/lowering-tiers.mjs +23 -0
  211. package/dist/lowering-transitions.mjs +39 -0
  212. package/dist/mcp/ads-mcp.mjs +423 -0
  213. package/dist/mcp/apps.mjs +3 -25
  214. package/dist/mcp/behavior-pages.mjs +58 -51
  215. package/dist/mcp/build-status.mjs +233 -267
  216. package/dist/mcp/catalog.mjs +21 -128
  217. package/dist/mcp/compiler-channel.mjs +218 -83
  218. package/dist/mcp/context.mjs +50 -40
  219. package/dist/mcp/deletions.mjs +147 -0
  220. package/dist/mcp/draft-discovery.mjs +43 -38
  221. package/dist/mcp/drafts.mjs +635 -691
  222. package/dist/mcp/execution-context.mjs +33 -22
  223. package/dist/mcp/execution-coordinator.mjs +367 -354
  224. package/dist/mcp/execution-results.mjs +440 -173
  225. package/dist/mcp/mutation-limits.mjs +1 -2
  226. package/dist/mcp/mutations.mjs +515 -553
  227. package/dist/mcp/patch.mjs +117 -75
  228. package/dist/mcp/preview-http.bundle.js +3 -7
  229. package/dist/mcp/preview-http.mjs +220 -107
  230. package/dist/mcp/preview-owner-guard.mjs +81 -43
  231. package/dist/mcp/preview-watch.mjs +428 -365
  232. package/dist/mcp/preview-widget.bundle.js +42 -46
  233. package/dist/mcp/preview-work.mjs +25 -13
  234. package/dist/mcp/prompts.mjs +22 -16
  235. package/dist/mcp/resource-loader.js +1 -1
  236. package/dist/mcp/result-pages.mjs +94 -54
  237. package/dist/mcp/sandbox-host.mjs +41 -19
  238. package/dist/mcp/server-discovery.mjs +96 -0
  239. package/dist/mcp/server-guides.mjs +43 -0
  240. package/dist/mcp/server-host.mjs +203 -0
  241. package/dist/mcp/server-observation.mjs +225 -0
  242. package/dist/mcp/server-project.mjs +371 -0
  243. package/dist/mcp/server-resources.mjs +466 -0
  244. package/dist/mcp/server-shared.mjs +79 -0
  245. package/dist/mcp/server-tools.mjs +791 -0
  246. package/dist/mcp/server.mjs +2 -2813
  247. package/dist/mcp/showcase-host.mjs +209 -135
  248. package/dist/mcp/showcase-http.mjs +50 -28
  249. package/dist/mcp/skills.mjs +32 -36
  250. package/dist/mcp/text-diff.mjs +18 -36
  251. package/dist/measured-geometry.mjs +157 -0
  252. package/dist/motion-model.mjs +50 -0
  253. package/dist/non-text-contrast.mjs +118 -0
  254. package/dist/owner-analysis-check.mjs +651 -0
  255. package/dist/owner-design.mjs +15 -0
  256. package/dist/owner-errors.mjs +200 -0
  257. package/dist/owner-lowering.mjs +186 -0
  258. package/dist/owner-scenarios.mjs +832 -0
  259. package/dist/ownership-model.d.mts +6 -0
  260. package/dist/ownership-model.mjs +124 -0
  261. package/dist/package-declarations.mjs +34 -0
  262. package/dist/paint-contrast.mjs +181 -0
  263. package/dist/palette-generated.mjs +101 -116
  264. package/dist/pictogram-model.mjs +13 -51
  265. package/dist/placeholder-contrast.mjs +34 -0
  266. package/dist/platform-features.mjs +377 -0
  267. package/dist/press-scale.mjs +26 -0
  268. package/dist/preview-bun.mjs +333 -404
  269. package/dist/preview-compile-inputs.mjs +78 -0
  270. package/dist/preview-contexts.mjs +7 -0
  271. package/dist/preview-failure.mjs +20 -10
  272. package/dist/preview-files.mjs +18 -36
  273. package/dist/preview-imports.mjs +76 -70
  274. package/dist/preview-incremental.mjs +322 -222
  275. package/dist/preview-inputs.mjs +26 -26
  276. package/dist/preview-manifest-update.mjs +67 -49
  277. package/dist/preview-requests.mjs +10 -17
  278. package/dist/preview-resources.mjs +275 -323
  279. package/dist/preview-scope.mjs +15 -17
  280. package/dist/preview-source.mjs +182 -0
  281. package/dist/preview-spatial.mjs +27 -0
  282. package/dist/profile-macro.d.mts +41 -0
  283. package/dist/profile-macro.mjs +6 -0
  284. package/dist/profile-model.d.mts +65 -0
  285. package/dist/profile-model.mjs +213 -0
  286. package/dist/profile-view-facts.mjs +42 -0
  287. package/dist/program-cache.mjs +9 -7
  288. package/dist/project-boundary.mjs +8 -13
  289. package/dist/project-documents.mjs +25 -29
  290. package/dist/property-registrations.mjs +44 -35
  291. package/dist/public-catalog.mjs +76 -0
  292. package/dist/recipe-defaults.mjs +117 -0
  293. package/dist/recipe-macro.d.mts +400 -0
  294. package/dist/recipe-macro.mjs +23 -0
  295. package/dist/recipe-model.d.mts +26 -0
  296. package/dist/recipe-model.mjs +190 -0
  297. package/dist/region-lowering.mjs +523 -0
  298. package/dist/registration-css.mjs +41 -0
  299. package/dist/registration-roles.mjs +35 -0
  300. package/dist/render-audit/axe-run.page.mjs +28 -0
  301. package/dist/render-audit/first-render.page.mjs +35 -0
  302. package/dist/render-audit/image-shape.page.mjs +42 -0
  303. package/dist/render-audit/layout-overflow.page.mjs +240 -0
  304. package/dist/render-audit/layout-shift.page.mjs +36 -0
  305. package/dist/render-audit/non-text-contrast.page.mjs +138 -0
  306. package/dist/render-audit/render-states.mjs +66 -293
  307. package/dist/render-audit/render-states.page.mjs +177 -0
  308. package/dist/render-audit/text-scale.mjs +42 -0
  309. package/dist/render-audit/text-scale.page.mjs +25 -0
  310. package/dist/render-audit/worker.mjs +125 -112
  311. package/dist/render-audit/worker.page.mjs +21 -0
  312. package/dist/render-audit.mjs +465 -500
  313. package/dist/resource-limits.mjs +174 -223
  314. package/dist/result.d.mts +34 -0
  315. package/dist/result.mjs +60 -0
  316. package/dist/role-vocabulary.d.mts +224 -0
  317. package/dist/role-vocabulary.mjs +223 -0
  318. package/dist/runtime-paint-contrast.mjs +97 -0
  319. package/dist/runtime-paint.mjs +42 -0
  320. package/dist/runtime-requirements.mjs +10 -11
  321. package/dist/runtime-style.mjs +21 -0
  322. package/dist/scenario-groups.mjs +42 -33
  323. package/dist/scenario-inspector.mjs +4 -4
  324. package/dist/scenario-kit.d.mts +79 -0
  325. package/dist/scenario-kit.mjs +18 -0
  326. package/dist/scenario-registry-model.mjs +2 -0
  327. package/dist/scenario-registry.mjs +89 -108
  328. package/dist/scenarios-compiler.mjs +875 -662
  329. package/dist/showcase/ads-views.mjs +103 -0
  330. package/dist/showcase/assets-view.mjs +221 -0
  331. package/dist/showcase/client.bundle.js +222 -59
  332. package/dist/showcase/guide-controls.d.mts +28 -0
  333. package/dist/showcase/guide-controls.mjs +31 -0
  334. package/dist/showcase/http-client.bundle.js +172 -9
  335. package/dist/showcase/index.html +1 -1
  336. package/dist/showcase/preview-frame.css +16 -0
  337. package/dist/showcase/preview-frame.d.mts +5 -0
  338. package/dist/showcase/preview-frame.mjs +4 -0
  339. package/dist/showcase/preview-root.d.mts +2 -0
  340. package/dist/showcase/preview-root.mjs +9 -0
  341. package/dist/showcase/profiles-view.mjs +280 -0
  342. package/dist/showcase/project-rules.mjs +9 -0
  343. package/dist/showcase/sandbox.bundle.js +1 -1
  344. package/dist/showcase/scenario-page.d.mts +39 -0
  345. package/dist/showcase/scenario-page.mjs +90 -0
  346. package/dist/showcase/style.css +2 -0
  347. package/dist/showcase/token-sample.mjs +46 -0
  348. package/dist/showcase/tokens-view.mjs +185 -0
  349. package/dist/showcase/ui/apple-touch-icon-9zwv3w79.png +0 -0
  350. package/dist/showcase/{favicon.ico → ui/favicon-c2c9kvtf.ico} +0 -0
  351. package/dist/showcase/ui/icon-192-t5zh7mxx.png +0 -0
  352. package/dist/showcase/ui/icon-512-ed6yz0n0.png +0 -0
  353. package/dist/showcase/ui/ui.css +1 -1353
  354. package/dist/showcase/ui/ui.js +165 -1064
  355. package/dist/showcase-http-routes.mjs +28 -21
  356. package/dist/skills/README.md +26 -26
  357. package/dist/skills/ads-designer/README.md +1 -1
  358. package/dist/skills/ads-designer/SKILL.md +311 -550
  359. package/dist/skills/ads-designer/references/accessibility.md +162 -114
  360. package/dist/skills/ads-designer/references/atomic-styles.md +61 -273
  361. package/dist/skills/ads-designer/references/behaviors.md +144 -280
  362. package/dist/skills/ads-designer/references/branding.md +132 -222
  363. package/dist/skills/ads-designer/references/captures.md +13 -7
  364. package/dist/skills/ads-designer/references/cli.md +80 -63
  365. package/dist/skills/ads-designer/references/contracts.md +218 -286
  366. package/dist/skills/ads-designer/references/design-craft.md +1 -1
  367. package/dist/skills/ads-designer/references/design-data.md +299 -323
  368. package/dist/skills/ads-designer/references/drafts.md +83 -22
  369. package/dist/skills/ads-designer/references/evidence.md +2 -1
  370. package/dist/skills/ads-designer/references/forms.md +199 -0
  371. package/dist/skills/ads-designer/references/guarded-editing.md +37 -48
  372. package/dist/skills/ads-designer/references/layers.md +64 -76
  373. package/dist/skills/ads-designer/references/layout.md +185 -330
  374. package/dist/skills/ads-designer/references/mobile.md +2 -2
  375. package/dist/skills/ads-designer/references/motion.md +30 -25
  376. package/dist/skills/ads-designer/references/performance.md +48 -49
  377. package/dist/skills/ads-designer/references/pictograms.md +62 -127
  378. package/dist/skills/ads-designer/references/recipes.md +307 -0
  379. package/dist/skills/ads-designer/references/review.md +51 -95
  380. package/dist/skills/ads-designer/references/runtimes.md +34 -33
  381. package/dist/skills/ads-designer/references/scenarios.md +255 -216
  382. package/dist/skills/ads-designer/references/stress-test.md +13 -5
  383. package/dist/skills/ads-designer/references/validation.md +28 -21
  384. package/dist/skills/ads-designer/references/workflows.md +7 -5
  385. package/dist/skills/ads-import/SKILL.md +29 -29
  386. package/dist/skills/ads-import/references/atomic-styles.md +61 -273
  387. package/dist/skills/ads-import/references/behaviors.md +144 -280
  388. package/dist/skills/ads-import/references/branding.md +24 -41
  389. package/dist/skills/ads-import/references/captures.md +13 -7
  390. package/dist/skills/ads-import/references/cli.md +80 -63
  391. package/dist/skills/ads-import/references/compatibility.md +3 -3
  392. package/dist/skills/ads-import/references/contracts.md +218 -286
  393. package/dist/skills/ads-import/references/design-data.md +299 -323
  394. package/dist/skills/ads-import/references/drafts.md +83 -22
  395. package/dist/skills/ads-import/references/evidence.md +2 -1
  396. package/dist/skills/ads-import/references/forms.md +199 -0
  397. package/dist/skills/ads-import/references/guarded-editing.md +37 -48
  398. package/dist/skills/ads-import/references/implementation.md +20 -20
  399. package/dist/skills/ads-import/references/layers.md +64 -76
  400. package/dist/skills/ads-import/references/layout.md +185 -330
  401. package/dist/skills/ads-import/references/recipes.md +307 -0
  402. package/dist/skills/ads-import/references/review.md +51 -95
  403. package/dist/skills/ads-import/references/runtimes.md +34 -33
  404. package/dist/skills/ads-import/references/scenarios.md +255 -216
  405. package/dist/skills/ads-import/references/tokens.md +26 -17
  406. package/dist/skills/ads-import/references/validation.md +28 -21
  407. package/dist/skills/ads-import/references/workflows.md +7 -5
  408. package/dist/skills/ads-migrate/SKILL.md +19 -5
  409. package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +6 -0
  410. package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0-boundary.md +71 -0
  411. package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0-grid.md +204 -0
  412. package/dist/skills/ads-migrate/references/0.4.7-to-0.5.0.md +727 -0
  413. package/dist/skills/ads-port/SKILL.md +27 -28
  414. package/dist/skills/ads-port/references/atomic-styles.md +61 -273
  415. package/dist/skills/ads-port/references/behaviors.md +144 -280
  416. package/dist/skills/ads-port/references/captures.md +13 -7
  417. package/dist/skills/ads-port/references/cli.md +80 -63
  418. package/dist/skills/ads-port/references/contracts.md +218 -286
  419. package/dist/skills/ads-port/references/design-data.md +299 -323
  420. package/dist/skills/ads-port/references/drafts.md +83 -22
  421. package/dist/skills/ads-port/references/evidence.md +2 -1
  422. package/dist/skills/ads-port/references/forms.md +199 -0
  423. package/dist/skills/ads-port/references/guarded-editing.md +37 -48
  424. package/dist/skills/ads-port/references/layers.md +64 -76
  425. package/dist/skills/ads-port/references/layout.md +185 -330
  426. package/dist/skills/ads-port/references/lint-and-docs.md +2 -3
  427. package/dist/skills/ads-port/references/native-implementation.md +23 -33
  428. package/dist/skills/ads-port/references/recipes.md +307 -0
  429. package/dist/skills/ads-port/references/review.md +51 -95
  430. package/dist/skills/ads-port/references/runtimes.md +34 -33
  431. package/dist/skills/ads-port/references/scenarios.md +255 -216
  432. package/dist/skills/ads-port/references/validation.md +28 -21
  433. package/dist/skills/ads-port/references/workflows.md +7 -5
  434. package/dist/source-inventory.mjs +33 -0
  435. package/dist/source-values.mjs +272 -262
  436. package/dist/spatial-css.mjs +403 -0
  437. package/dist/spatial-metadata.mjs +11 -11
  438. package/dist/spatial-model.mjs +422 -0
  439. package/dist/spatial-reading.mjs +127 -0
  440. package/dist/stage-timing.mjs +27 -0
  441. package/dist/starter-files.mjs +155 -0
  442. package/dist/starter-overlay.mjs +189 -0
  443. package/dist/starters/preact/design-system/assets/avatars/avatar.ads.ts +10 -0
  444. package/dist/starters/preact/design-system/assets/avatars/member.svg +1 -0
  445. package/dist/starters/preact/design-system/assets/brand/emblem.ads.ts +18 -0
  446. package/dist/starters/preact/design-system/assets/brand/emblem.svg +4 -0
  447. package/dist/starters/preact/design-system/assets/brand/iris-emblem.ads.ts +14 -0
  448. package/dist/starters/preact/design-system/assets/brand/iris-emblem.svg +4 -0
  449. package/dist/starters/preact/design-system/assets/brand/mark.ads.ts +14 -0
  450. package/dist/starters/preact/design-system/assets/brand/mark.svg +1 -0
  451. package/dist/starters/preact/design-system/assets/glyphs/arrow.ads.ts +14 -0
  452. package/dist/starters/preact/design-system/assets/glyphs/arrow.svg +1 -0
  453. package/dist/starters/preact/design-system/assets/glyphs/chevron-20.svg +1 -0
  454. package/dist/starters/preact/design-system/assets/glyphs/chevron-24.svg +1 -0
  455. package/dist/starters/preact/design-system/assets/glyphs/chevron.ads.ts +20 -0
  456. package/dist/starters/preact/design-system/assets/glyphs/close.ads.ts +13 -0
  457. package/dist/starters/preact/design-system/assets/glyphs/close.svg +1 -0
  458. package/dist/starters/preact/design-system/assets/glyphs/favorite.ads.ts +23 -0
  459. package/dist/starters/preact/design-system/assets/glyphs/favorite.normal.svg +1 -0
  460. package/dist/starters/preact/design-system/assets/glyphs/favorite.selected.svg +1 -0
  461. package/dist/starters/preact/design-system/assets/glyphs/search.ads.ts +10 -0
  462. package/dist/starters/preact/design-system/assets/glyphs/search.svg +1 -0
  463. package/dist/starters/preact/design-system/assets/illustrations/journey.ads.ts +32 -0
  464. package/dist/starters/preact/design-system/assets/illustrations/journey.contrast.svg +6 -0
  465. package/dist/starters/preact/design-system/assets/illustrations/journey.dark.svg +13 -0
  466. package/dist/starters/preact/design-system/assets/illustrations/journey.light.svg +13 -0
  467. package/dist/starters/preact/design-system/assets/logos/harbor-pay.ads.ts +17 -0
  468. package/dist/starters/preact/design-system/assets/logos/harbor-pay.dark.svg +10 -0
  469. package/dist/starters/preact/design-system/assets/logos/harbor-pay.light.svg +10 -0
  470. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.ads.ts +15 -0
  471. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.dark.svg +9 -0
  472. package/dist/starters/preact/design-system/assets/logos/lumen-cloud.light.svg +9 -0
  473. package/dist/starters/preact/design-system/assets/status/error.svg +1 -0
  474. package/dist/starters/preact/design-system/assets/status/outcomes.ads.ts +31 -0
  475. package/dist/starters/preact/design-system/assets/status/status.ads.ts +16 -0
  476. package/dist/starters/preact/design-system/assets/status/success.svg +1 -0
  477. package/dist/starters/preact/design-system/assets/status/sync-status.ads.ts +14 -0
  478. package/dist/starters/preact/design-system/assets/status/sync-status.svg +7 -0
  479. package/dist/starters/preact/design-system/assets/status/warning.svg +1 -0
  480. package/dist/starters/preact/design-system/components/Actions/Button/Button.ads.scenario.tsx +12 -0
  481. package/dist/starters/preact/design-system/components/Actions/Button/Button.tsx +198 -0
  482. package/dist/starters/preact/design-system/components/Actions/IconButton/IconButton.tsx +95 -0
  483. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +22 -0
  484. package/dist/starters/preact/design-system/components/Actions/ToggleTile/ToggleTile.tsx +60 -0
  485. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +24 -0
  486. package/dist/starters/preact/design-system/components/Containers/Disclosure/Disclosure.tsx +50 -0
  487. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +8 -0
  488. package/dist/starters/preact/design-system/components/Content/Artwork/Artwork.tsx +110 -0
  489. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +25 -0
  490. package/dist/starters/preact/design-system/components/Content/BarChart/BarChart.tsx +72 -0
  491. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +8 -0
  492. package/dist/starters/preact/design-system/components/Content/GuideGrid/GuideGrid.tsx +43 -0
  493. package/dist/starters/preact/design-system/components/Content/Icon/Icon.ads.scenario.tsx +21 -0
  494. package/dist/starters/preact/design-system/components/Content/Icon/Icon.tsx +41 -0
  495. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/arrow.tsx +10 -0
  496. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/close.tsx +10 -0
  497. package/dist/starters/preact/design-system/components/Content/Icon/glyphs/search.tsx +10 -0
  498. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.fixture.ts +9 -0
  499. package/dist/starters/preact/design-system/components/Content/Image/Image.ads.scenario.tsx +12 -0
  500. package/dist/starters/preact/design-system/components/Content/Image/Image.tsx +83 -0
  501. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +27 -0
  502. package/dist/starters/preact/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +46 -0
  503. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +17 -0
  504. package/dist/starters/preact/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +41 -0
  505. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +20 -0
  506. package/dist/starters/preact/design-system/components/Content/StatusIcon/StatusIcon.tsx +37 -0
  507. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +24 -0
  508. package/dist/starters/preact/design-system/components/Forms/TextField/TextField.tsx +173 -0
  509. package/dist/starters/preact/design-system/components/Identity/Identity.ads.scenario.tsx +13 -0
  510. package/dist/starters/preact/design-system/components/Identity/Identity.tsx +146 -0
  511. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +27 -0
  512. package/dist/starters/preact/design-system/components/Overlays/Menu/Menu.tsx +194 -0
  513. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +19 -0
  514. package/dist/starters/preact/design-system/components/Overlays/Popover/Popover.tsx +37 -0
  515. package/dist/starters/preact/design-system/controllers/FormField/FormField.ads.behavior.ts +70 -0
  516. package/dist/starters/preact/design-system/controllers/FormField/FormField.behavior.spec.ts +237 -0
  517. package/dist/starters/preact/design-system/controllers/FormField/FormField.ts +343 -0
  518. package/dist/starters/preact/design-system/controllers/FormField/useFormField.ts +70 -0
  519. package/dist/starters/preact/design-system/controllers/Palette/Palette.ts +165 -0
  520. package/dist/starters/preact/design-system/foundation.ads.ts +22 -0
  521. package/dist/starters/preact/design-system/index.ts +51 -0
  522. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +5 -0
  523. package/dist/starters/preact/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +22 -0
  524. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.fixture.ts +12 -0
  525. package/dist/starters/preact/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +21 -0
  526. package/dist/starters/preact/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +24 -0
  527. package/dist/starters/preact/design-system/mocks/Workspace/Media.ads.scenario.tsx +24 -0
  528. package/dist/starters/preact/design-system/mocks/Workspace/Stress.ads.scenario.tsx +36 -0
  529. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.fixture.ts +13 -0
  530. package/dist/starters/preact/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +27 -0
  531. package/dist/starters/preact/design-system/mocks/Workspace/media/ads.svg +1 -0
  532. package/dist/starters/preact/design-system/palette.generated.ts +188 -0
  533. package/dist/starters/preact/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +73 -0
  534. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +23 -0
  535. package/dist/starters/preact/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +94 -0
  536. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +21 -0
  537. package/dist/starters/preact/design-system/patterns/Forms/InviteMember/InviteMember.tsx +137 -0
  538. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +22 -0
  539. package/dist/starters/preact/design-system/patterns/Inspector/Inspector/Inspector.tsx +248 -0
  540. package/dist/starters/preact/design-system/patterns/Shell/Shell.ads.scenario.tsx +26 -0
  541. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +254 -261
  542. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +28 -0
  543. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/Workspace.tsx +105 -0
  544. package/dist/starters/preact/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +179 -0
  545. package/dist/starters/preact/design-system/profiles/Containers/containers.ads.ts +67 -0
  546. package/dist/starters/preact/design-system/profiles/Containers/frames.ads.ts +32 -0
  547. package/dist/starters/preact/design-system/profiles/Containers/geometry.ads.ts +30 -0
  548. package/dist/starters/preact/design-system/profiles/Containers/spacing.ads.ts +26 -0
  549. package/dist/starters/preact/design-system/profiles/Controls/controls.ads.ts +157 -0
  550. package/dist/starters/preact/design-system/profiles/Controls/frames.ads.ts +50 -0
  551. package/dist/starters/preact/design-system/profiles/Controls/spacing.ads.ts +29 -0
  552. package/dist/starters/preact/design-system/profiles/Focus/keyboard.ads.ts +13 -0
  553. package/dist/starters/preact/design-system/profiles/Identity/identity.ads.ts +25 -0
  554. package/dist/starters/preact/design-system/profiles/Identity/spacing.ads.ts +22 -0
  555. package/dist/starters/preact/design-system/profiles/Layout/grid.ads.ts +69 -0
  556. package/dist/starters/preact/design-system/profiles/Layout/inspector.ads.ts +146 -0
  557. package/dist/starters/preact/design-system/profiles/Layout/overlays.ads.ts +94 -0
  558. package/dist/starters/preact/design-system/profiles/Layout/regions.ads.ts +296 -0
  559. package/dist/starters/preact/design-system/profiles/Motion/feedback.ads.ts +92 -0
  560. package/dist/starters/preact/design-system/profiles/Surfaces/controls.ads.ts +142 -0
  561. package/dist/starters/preact/design-system/profiles/Surfaces/document.ads.ts +2 -0
  562. package/dist/starters/preact/design-system/profiles/Surfaces/materials.ads.ts +18 -0
  563. package/dist/starters/preact/design-system/profiles/Surfaces/surfaces.ads.ts +48 -0
  564. package/dist/starters/preact/design-system/profiles/Typography/details.ads.ts +19 -0
  565. package/dist/starters/preact/design-system/profiles/Typography/document.ads.ts +2 -0
  566. package/dist/starters/preact/design-system/profiles/Typography/headings.ads.ts +15 -0
  567. package/dist/starters/preact/design-system/profiles/Typography/text.ads.ts +73 -0
  568. package/dist/starters/preact/design-system/profiles/Visuals/artwork.ads.ts +46 -0
  569. package/dist/starters/preact/design-system/profiles/Visuals/charts.ads.ts +31 -0
  570. package/dist/starters/preact/design-system/profiles/Visuals/content.ads.ts +52 -0
  571. package/dist/starters/preact/design-system/profiles/Visuals/glyphs.ads.ts +35 -0
  572. package/dist/starters/preact/design-system/profiles/Visuals/identity.ads.ts +24 -0
  573. package/dist/starters/preact/design-system/tokens/Artwork/paint.ads.css +7 -0
  574. package/dist/starters/preact/design-system/tokens/Artwork/visual-size.ads.css +12 -0
  575. package/dist/starters/preact/design-system/tokens/Brand/paint.ads.css +7 -0
  576. package/dist/starters/preact/design-system/tokens/Charts/paint.ads.css +19 -0
  577. package/dist/starters/preact/design-system/tokens/Containers/border-width.ads.css +1 -0
  578. package/dist/starters/preact/design-system/tokens/Containers/content-gap.ads.css +5 -0
  579. package/dist/starters/preact/design-system/tokens/Containers/frame-inset.ads.css +6 -0
  580. package/dist/starters/preact/design-system/tokens/Containers/frame-size.ads.css +11 -0
  581. package/dist/starters/preact/design-system/tokens/Containers/radius.ads.css +1 -0
  582. package/dist/starters/preact/design-system/tokens/Controls/border-width.ads.css +4 -0
  583. package/dist/starters/preact/design-system/tokens/Controls/content-gap.ads.css +6 -0
  584. package/dist/starters/preact/design-system/tokens/Controls/control-min-size.ads.css +17 -0
  585. package/dist/starters/preact/design-system/tokens/Controls/frame-inset.ads.css +21 -0
  586. package/dist/starters/preact/design-system/tokens/Controls/radius.ads.css +1 -0
  587. package/dist/starters/preact/design-system/tokens/Controls/target-min-size.ads.css +2 -0
  588. package/dist/starters/preact/design-system/tokens/Controls/visual-size.ads.css +2 -0
  589. package/dist/starters/preact/design-system/tokens/Focus/border-width.ads.css +1 -0
  590. package/dist/starters/preact/design-system/tokens/Focus/focus-offset.ads.css +1 -0
  591. package/dist/starters/preact/design-system/tokens/Foundation/spacing.ads.css +20 -0
  592. package/dist/starters/preact/design-system/tokens/Grid/grid-gutter.ads.css +6 -0
  593. package/dist/starters/preact/design-system/tokens/Grid/layer.ads.css +2 -0
  594. package/dist/starters/preact/design-system/tokens/Grid/layout-size.ads.css +15 -0
  595. package/dist/starters/preact/design-system/tokens/Grid/spacing.ads.css +12 -0
  596. package/dist/starters/preact/design-system/tokens/Grid/track-count.ads.css +1 -0
  597. package/dist/starters/preact/design-system/tokens/Identity/content-gap.ads.css +6 -0
  598. package/dist/starters/preact/design-system/tokens/Identity/visual-size.ads.css +1 -0
  599. package/dist/starters/preact/design-system/tokens/Motion/duration.ads.css +6 -0
  600. package/dist/starters/preact/design-system/tokens/Motion/easing.ads.css +5 -0
  601. package/dist/starters/preact/design-system/tokens/Motion/motion-angle.ads.css +1 -0
  602. package/dist/starters/preact/design-system/tokens/Motion/motion-distance.ads.css +2 -0
  603. package/dist/starters/preact/design-system/tokens/Motion/motion-scale.ads.css +9 -0
  604. package/dist/starters/preact/design-system/tokens/Surfaces/blur.ads.css +2 -0
  605. package/dist/starters/preact/design-system/tokens/Surfaces/gradient.ads.css +2 -0
  606. package/dist/starters/preact/design-system/tokens/Surfaces/opacity.ads.css +2 -0
  607. package/dist/starters/preact/design-system/tokens/Surfaces/paint.ads.css +58 -0
  608. package/dist/starters/preact/design-system/tokens/Surfaces/shadow.ads.css +20 -0
  609. package/dist/starters/preact/design-system/tokens/Typography/font-family.ads.css +1 -0
  610. package/dist/starters/preact/design-system/tokens/Typography/font-features.ads.css +1 -0
  611. package/dist/starters/preact/design-system/tokens/Typography/font-size.ads.css +9 -0
  612. package/dist/starters/preact/design-system/tokens/Typography/font-stretch.ads.css +1 -0
  613. package/dist/starters/preact/design-system/tokens/Typography/font-variations.ads.css +1 -0
  614. package/dist/starters/preact/design-system/tokens/Typography/font-weight.ads.css +1 -0
  615. package/dist/starters/preact/design-system/tokens/Typography/letter-spacing.ads.css +1 -0
  616. package/dist/starters/preact/design-system/tokens/Typography/line-height.ads.css +11 -0
  617. package/dist/starters/preact/design-system/tokens/Typography/word-spacing.ads.css +1 -0
  618. package/dist/starters/preact/starter.json +11 -0
  619. package/dist/starters/react/design-system/assets/avatars/avatar.ads.ts +10 -0
  620. package/dist/starters/react/design-system/assets/avatars/member.svg +1 -0
  621. package/dist/starters/react/design-system/assets/brand/emblem.ads.ts +18 -0
  622. package/dist/starters/react/design-system/assets/brand/emblem.svg +4 -0
  623. package/dist/starters/react/design-system/assets/brand/iris-emblem.ads.ts +14 -0
  624. package/dist/starters/react/design-system/assets/brand/iris-emblem.svg +4 -0
  625. package/dist/starters/react/design-system/assets/brand/mark.ads.ts +14 -0
  626. package/dist/starters/react/design-system/assets/brand/mark.svg +1 -0
  627. package/dist/starters/react/design-system/assets/glyphs/arrow.ads.ts +14 -0
  628. package/dist/starters/react/design-system/assets/glyphs/arrow.svg +1 -0
  629. package/dist/starters/react/design-system/assets/glyphs/chevron-20.svg +1 -0
  630. package/dist/starters/react/design-system/assets/glyphs/chevron-24.svg +1 -0
  631. package/dist/starters/react/design-system/assets/glyphs/chevron.ads.ts +20 -0
  632. package/dist/starters/react/design-system/assets/glyphs/close.ads.ts +13 -0
  633. package/dist/starters/react/design-system/assets/glyphs/close.svg +1 -1
  634. package/dist/starters/react/design-system/assets/glyphs/favorite.ads.ts +23 -0
  635. package/dist/starters/react/design-system/assets/glyphs/favorite.normal.svg +1 -0
  636. package/dist/starters/react/design-system/assets/glyphs/favorite.selected.svg +1 -0
  637. package/dist/starters/react/design-system/assets/glyphs/search.ads.ts +10 -0
  638. package/dist/starters/react/design-system/assets/glyphs/search.svg +1 -1
  639. package/dist/starters/react/design-system/assets/illustrations/journey.ads.ts +32 -0
  640. package/dist/starters/react/design-system/assets/illustrations/journey.contrast.svg +6 -0
  641. package/dist/starters/react/design-system/assets/illustrations/journey.dark.svg +13 -0
  642. package/dist/starters/react/design-system/assets/illustrations/journey.light.svg +13 -0
  643. package/dist/starters/react/design-system/assets/logos/harbor-pay.ads.ts +17 -0
  644. package/dist/starters/react/design-system/assets/logos/harbor-pay.dark.svg +10 -0
  645. package/dist/starters/react/design-system/assets/logos/harbor-pay.light.svg +10 -0
  646. package/dist/starters/react/design-system/assets/logos/lumen-cloud.ads.ts +15 -0
  647. package/dist/starters/react/design-system/assets/logos/lumen-cloud.dark.svg +9 -0
  648. package/dist/starters/react/design-system/assets/logos/lumen-cloud.light.svg +9 -0
  649. package/dist/starters/react/design-system/assets/status/error.svg +1 -0
  650. package/dist/starters/react/design-system/assets/status/outcomes.ads.ts +31 -0
  651. package/dist/starters/react/design-system/assets/status/status.ads.ts +16 -0
  652. package/dist/starters/react/design-system/assets/status/success.svg +1 -0
  653. package/dist/starters/react/design-system/assets/status/sync-status.ads.ts +14 -0
  654. package/dist/starters/react/design-system/assets/status/sync-status.svg +7 -0
  655. package/dist/starters/react/design-system/assets/status/warning.svg +1 -0
  656. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.scenario.tsx +11 -12
  657. package/dist/starters/react/design-system/components/Actions/Button/Button.tsx +187 -45
  658. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +83 -48
  659. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.ads.scenario.tsx +22 -0
  660. package/dist/starters/react/design-system/components/Actions/ToggleTile/ToggleTile.tsx +60 -0
  661. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.ads.scenario.tsx +24 -0
  662. package/dist/starters/react/design-system/components/Containers/Disclosure/Disclosure.tsx +50 -0
  663. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.ads.scenario.tsx +8 -0
  664. package/dist/starters/react/design-system/components/Content/Artwork/Artwork.tsx +110 -0
  665. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.ads.scenario.tsx +25 -0
  666. package/dist/starters/react/design-system/components/Content/BarChart/BarChart.tsx +72 -0
  667. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.ads.scenario.tsx +8 -0
  668. package/dist/starters/react/design-system/components/Content/GuideGrid/GuideGrid.tsx +43 -0
  669. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.scenario.tsx +21 -16
  670. package/dist/starters/react/design-system/components/Content/Icon/Icon.tsx +32 -33
  671. package/dist/starters/react/design-system/components/Content/Icon/glyphs/arrow.tsx +10 -0
  672. package/dist/starters/react/design-system/components/Content/Icon/glyphs/close.tsx +10 -0
  673. package/dist/starters/react/design-system/components/Content/Icon/glyphs/search.tsx +10 -0
  674. package/dist/starters/react/design-system/components/Content/Image/Image.ads.fixture.ts +9 -2
  675. package/dist/starters/react/design-system/components/Content/Image/Image.ads.scenario.tsx +10 -11
  676. package/dist/starters/react/design-system/components/Content/Image/Image.tsx +74 -42
  677. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.ads.scenario.tsx +27 -0
  678. package/dist/starters/react/design-system/components/Content/InspectedGlyph/InspectedGlyph.tsx +46 -0
  679. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.ads.scenario.tsx +17 -0
  680. package/dist/starters/react/design-system/components/Content/PartnerLogo/PartnerLogo.tsx +41 -0
  681. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.ads.scenario.tsx +20 -0
  682. package/dist/starters/react/design-system/components/Content/StatusIcon/StatusIcon.tsx +37 -0
  683. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +23 -12
  684. package/dist/starters/react/design-system/components/Forms/TextField/TextField.tsx +161 -49
  685. package/dist/starters/react/design-system/components/Identity/Identity.ads.scenario.tsx +13 -0
  686. package/dist/starters/react/design-system/components/Identity/Identity.tsx +146 -0
  687. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.ads.scenario.tsx +27 -0
  688. package/dist/starters/react/design-system/components/Overlays/Menu/Menu.tsx +194 -0
  689. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.ads.scenario.tsx +19 -0
  690. package/dist/starters/react/design-system/components/Overlays/Popover/Popover.tsx +37 -0
  691. package/dist/starters/react/design-system/controllers/FormField/FormField.ads.behavior.ts +70 -0
  692. package/dist/starters/react/design-system/controllers/FormField/FormField.behavior.spec.ts +237 -0
  693. package/dist/starters/react/design-system/controllers/FormField/FormField.ts +343 -0
  694. package/dist/starters/react/design-system/controllers/FormField/useFormField.ts +70 -0
  695. package/dist/starters/react/design-system/controllers/Palette/Palette.ts +5 -4
  696. package/dist/starters/react/design-system/foundation.ads.ts +22 -0
  697. package/dist/starters/react/design-system/index.ts +51 -12
  698. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.fixture.ts +5 -0
  699. package/dist/starters/react/design-system/mocks/ConstructionProofs/ConstructionProofs.ads.scenario.tsx +22 -0
  700. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.fixture.ts +12 -0
  701. package/dist/starters/react/design-system/mocks/Inspector/Inspector.ads.scenario.tsx +21 -0
  702. package/dist/starters/react/design-system/mocks/Workspace/Layouts.ads.scenario.tsx +24 -0
  703. package/dist/starters/react/design-system/mocks/Workspace/Media.ads.scenario.tsx +24 -0
  704. package/dist/starters/react/design-system/mocks/Workspace/Stress.ads.scenario.tsx +36 -0
  705. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.fixture.ts +13 -0
  706. package/dist/starters/react/design-system/mocks/Workspace/Workspace.ads.scenario.tsx +27 -0
  707. package/dist/starters/react/design-system/mocks/Workspace/media/ads.svg +1 -0
  708. package/dist/starters/react/design-system/palette.generated.ts +188 -0
  709. package/dist/starters/react/design-system/patterns/ArtworkCatalogue/ArtworkCatalogue/ArtworkCatalogue.tsx +73 -0
  710. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.ads.scenario.tsx +23 -0
  711. package/dist/starters/react/design-system/patterns/ConstructionWorkbench/ConstructionWorkbench/ConstructionWorkbench.tsx +94 -0
  712. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.ads.scenario.tsx +21 -0
  713. package/dist/starters/react/design-system/patterns/Forms/InviteMember/InviteMember.tsx +137 -0
  714. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.ads.scenario.tsx +22 -0
  715. package/dist/starters/react/design-system/patterns/Inspector/Inspector/Inspector.tsx +248 -0
  716. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +26 -21
  717. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +255 -261
  718. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.ads.scenario.tsx +28 -0
  719. package/dist/starters/react/design-system/patterns/Workspace/Workspace/Workspace.tsx +105 -0
  720. package/dist/starters/react/design-system/patterns/Workspace/Workspace/WorkspacePanels.tsx +179 -0
  721. package/dist/starters/react/design-system/profiles/Containers/containers.ads.ts +67 -0
  722. package/dist/starters/react/design-system/profiles/Containers/frames.ads.ts +32 -0
  723. package/dist/starters/react/design-system/profiles/Containers/geometry.ads.ts +30 -0
  724. package/dist/starters/react/design-system/profiles/Containers/spacing.ads.ts +26 -0
  725. package/dist/starters/react/design-system/profiles/Controls/controls.ads.ts +157 -0
  726. package/dist/starters/react/design-system/profiles/Controls/frames.ads.ts +50 -0
  727. package/dist/starters/react/design-system/profiles/Controls/spacing.ads.ts +29 -0
  728. package/dist/starters/react/design-system/profiles/Focus/keyboard.ads.ts +13 -0
  729. package/dist/starters/react/design-system/profiles/Identity/identity.ads.ts +25 -0
  730. package/dist/starters/react/design-system/profiles/Identity/spacing.ads.ts +22 -0
  731. package/dist/starters/react/design-system/profiles/Layout/grid.ads.ts +69 -0
  732. package/dist/starters/react/design-system/profiles/Layout/inspector.ads.ts +146 -0
  733. package/dist/starters/react/design-system/profiles/Layout/overlays.ads.ts +94 -0
  734. package/dist/starters/react/design-system/profiles/Layout/regions.ads.ts +296 -0
  735. package/dist/starters/react/design-system/profiles/Motion/feedback.ads.ts +92 -0
  736. package/dist/starters/react/design-system/profiles/Surfaces/controls.ads.ts +142 -0
  737. package/dist/starters/react/design-system/profiles/Surfaces/document.ads.ts +2 -0
  738. package/dist/starters/react/design-system/profiles/Surfaces/materials.ads.ts +18 -0
  739. package/dist/starters/react/design-system/profiles/Surfaces/surfaces.ads.ts +48 -0
  740. package/dist/starters/react/design-system/profiles/Typography/details.ads.ts +19 -0
  741. package/dist/starters/react/design-system/profiles/Typography/document.ads.ts +2 -0
  742. package/dist/starters/react/design-system/profiles/Typography/headings.ads.ts +15 -0
  743. package/dist/starters/react/design-system/profiles/Typography/text.ads.ts +73 -0
  744. package/dist/starters/react/design-system/profiles/Visuals/artwork.ads.ts +46 -0
  745. package/dist/starters/react/design-system/profiles/Visuals/charts.ads.ts +31 -0
  746. package/dist/starters/react/design-system/profiles/Visuals/content.ads.ts +52 -0
  747. package/dist/starters/react/design-system/profiles/Visuals/glyphs.ads.ts +35 -0
  748. package/dist/starters/react/design-system/profiles/Visuals/identity.ads.ts +24 -0
  749. package/dist/starters/react/design-system/tokens/Artwork/paint.ads.css +7 -0
  750. package/dist/starters/react/design-system/tokens/Artwork/visual-size.ads.css +12 -0
  751. package/dist/starters/react/design-system/tokens/Brand/paint.ads.css +7 -0
  752. package/dist/starters/react/design-system/tokens/Charts/paint.ads.css +19 -0
  753. package/dist/starters/react/design-system/tokens/Containers/border-width.ads.css +1 -0
  754. package/dist/starters/react/design-system/tokens/Containers/content-gap.ads.css +5 -0
  755. package/dist/starters/react/design-system/tokens/Containers/frame-inset.ads.css +6 -0
  756. package/dist/starters/react/design-system/tokens/Containers/frame-size.ads.css +11 -0
  757. package/dist/starters/react/design-system/tokens/Containers/radius.ads.css +1 -0
  758. package/dist/starters/react/design-system/tokens/Controls/border-width.ads.css +4 -0
  759. package/dist/starters/react/design-system/tokens/Controls/content-gap.ads.css +6 -0
  760. package/dist/starters/react/design-system/tokens/Controls/control-min-size.ads.css +17 -0
  761. package/dist/starters/react/design-system/tokens/Controls/frame-inset.ads.css +21 -0
  762. package/dist/starters/react/design-system/tokens/Controls/radius.ads.css +1 -0
  763. package/dist/starters/react/design-system/tokens/Controls/target-min-size.ads.css +2 -0
  764. package/dist/starters/react/design-system/tokens/Controls/visual-size.ads.css +2 -0
  765. package/dist/starters/react/design-system/tokens/Focus/border-width.ads.css +1 -0
  766. package/dist/starters/react/design-system/tokens/Focus/focus-offset.ads.css +1 -0
  767. package/dist/starters/react/design-system/tokens/Foundation/spacing.ads.css +20 -0
  768. package/dist/starters/react/design-system/tokens/Grid/grid-gutter.ads.css +6 -0
  769. package/dist/starters/react/design-system/tokens/Grid/layer.ads.css +2 -0
  770. package/dist/starters/react/design-system/tokens/Grid/layout-size.ads.css +15 -0
  771. package/dist/starters/react/design-system/tokens/Grid/spacing.ads.css +12 -0
  772. package/dist/starters/react/design-system/tokens/Grid/track-count.ads.css +1 -0
  773. package/dist/starters/react/design-system/tokens/Identity/content-gap.ads.css +6 -0
  774. package/dist/starters/react/design-system/tokens/Identity/visual-size.ads.css +1 -0
  775. package/dist/starters/react/design-system/tokens/Motion/duration.ads.css +6 -0
  776. package/dist/starters/react/design-system/tokens/Motion/easing.ads.css +5 -0
  777. package/dist/starters/react/design-system/tokens/Motion/motion-angle.ads.css +1 -0
  778. package/dist/starters/react/design-system/tokens/Motion/motion-distance.ads.css +2 -0
  779. package/dist/starters/react/design-system/tokens/Motion/motion-scale.ads.css +9 -0
  780. package/dist/starters/react/design-system/tokens/Surfaces/blur.ads.css +2 -0
  781. package/dist/starters/react/design-system/tokens/Surfaces/gradient.ads.css +2 -0
  782. package/dist/starters/react/design-system/tokens/Surfaces/opacity.ads.css +2 -0
  783. package/dist/starters/react/design-system/tokens/Surfaces/paint.ads.css +58 -0
  784. package/dist/starters/react/design-system/tokens/Surfaces/shadow.ads.css +20 -0
  785. package/dist/starters/react/design-system/tokens/Typography/font-family.ads.css +1 -0
  786. package/dist/starters/react/design-system/tokens/Typography/font-features.ads.css +1 -0
  787. package/dist/starters/react/design-system/tokens/Typography/font-size.ads.css +9 -0
  788. package/dist/starters/react/design-system/tokens/Typography/font-stretch.ads.css +1 -0
  789. package/dist/starters/react/design-system/tokens/Typography/font-variations.ads.css +1 -0
  790. package/dist/starters/react/design-system/tokens/Typography/font-weight.ads.css +1 -0
  791. package/dist/starters/react/design-system/tokens/Typography/letter-spacing.ads.css +1 -0
  792. package/dist/starters/react/design-system/tokens/Typography/line-height.ads.css +11 -0
  793. package/dist/starters/react/design-system/tokens/Typography/word-spacing.ads.css +1 -0
  794. package/dist/starters/react/starter.json +11 -0
  795. package/dist/state-conditions.d.mts +51 -0
  796. package/dist/state-conditions.mjs +67 -0
  797. package/dist/static-values.mjs +94 -0
  798. package/dist/surface-contrast.mjs +194 -0
  799. package/dist/target-size.mjs +177 -0
  800. package/dist/task-cache.mjs +142 -136
  801. package/dist/task-worker.mjs +18 -18
  802. package/dist/test-boundaries.mjs +50 -189
  803. package/dist/token-checks.mjs +21 -0
  804. package/dist/token-dtcg.mjs +135 -0
  805. package/dist/token-expression.mjs +19 -0
  806. package/dist/token-inventory.mjs +146 -0
  807. package/dist/token-operations.mjs +37 -0
  808. package/dist/token-overlap.mjs +29 -0
  809. package/dist/token-provenance.mjs +260 -0
  810. package/dist/token-references.mjs +71 -0
  811. package/dist/token-registrations.mjs +116 -0
  812. package/dist/token-resolution.mjs +38 -0
  813. package/dist/token-sections.mjs +123 -0
  814. package/dist/token-shapes.mjs +121 -0
  815. package/dist/token-sheet-check.mjs +54 -0
  816. package/dist/token-type-check.mjs +89 -0
  817. package/dist/token-view-facts.mjs +62 -0
  818. package/dist/tsconfig.declarations.json +24 -0
  819. package/dist/types/css-tree.d.ts +45 -0
  820. package/dist/ui-framework.mjs +34 -34
  821. package/dist/units.mjs +186 -226
  822. package/dist/unknown.d.mts +9 -0
  823. package/dist/unknown.mjs +13 -0
  824. package/dist/validation-checks.mjs +62 -71
  825. package/dist/validation-inputs.mjs +209 -279
  826. package/dist/validation.mjs +132 -159
  827. package/dist/verification/browser.d.mts +21 -25
  828. package/dist/verification/browser.mjs +281 -124
  829. package/dist/verification/browser.page.d.mts +22 -0
  830. package/dist/verification/browser.page.mjs +19 -0
  831. package/dist/verification/paint-audit.page.d.mts +55 -0
  832. package/dist/verification/paint-audit.page.mjs +144 -0
  833. package/dist/verification/playwright-reporter.mjs +160 -0
  834. package/dist/verification/preview-startup.d.mts +51 -0
  835. package/dist/verification/preview-startup.mjs +76 -0
  836. package/dist/verification/request.d.mts +28 -0
  837. package/dist/verification/request.mjs +30 -0
  838. package/dist/verification/unit-preload.mjs +37 -0
  839. package/dist/verification.mjs +574 -607
  840. package/docs/ADS.md +562 -565
  841. package/docs/ARCHITECTURE.md +1857 -1383
  842. package/docs/ASSETS.md +416 -0
  843. package/docs/BEHAVIORS.md +339 -370
  844. package/docs/CACHING.md +365 -154
  845. package/docs/CHANGELOG.md +137 -21
  846. package/docs/COMPARISON.md +21 -26
  847. package/docs/DESIGN-REFERENCES.md +39 -26
  848. package/docs/GUIDE.md +2306 -1294
  849. package/docs/LANGUAGE.md +893 -0
  850. package/docs/LOWERING.md +168 -0
  851. package/docs/MCP.md +1461 -1179
  852. package/docs/MOTION.md +265 -0
  853. package/docs/PROFILE-KINDS.md +390 -0
  854. package/docs/PROFILES.md +176 -0
  855. package/docs/RULES.md +559 -0
  856. package/docs/STARTER.md +167 -0
  857. package/docs/TOKEN-ROLES.md +375 -0
  858. package/docs/benchmarks/README.md +26 -27
  859. package/package.json +59 -45
  860. package/dist/a11y.mjs +0 -187
  861. package/dist/assets.mjs +0 -159
  862. package/dist/atomic-composition.mjs +0 -337
  863. package/dist/atomic-trace.mjs +0 -162
  864. package/dist/behavior-libraries.mjs +0 -174
  865. package/dist/behaviors.mjs +0 -306
  866. package/dist/brand-assets.mjs +0 -458
  867. package/dist/brands.mjs +0 -141
  868. package/dist/component-contrast.mjs +0 -256
  869. package/dist/construction-styles.cjs +0 -10
  870. package/dist/contracts/foundation.json +0 -211
  871. package/dist/contracts/tokens.json +0 -52
  872. package/dist/contracts.d.mts +0 -30
  873. package/dist/contrast-composition.mjs +0 -80
  874. package/dist/contrast-styles.mjs +0 -88
  875. package/dist/control-padding.mjs +0 -113
  876. package/dist/css-values.mjs +0 -27
  877. package/dist/declarative-flow.mjs +0 -244
  878. package/dist/design-values.mjs +0 -173
  879. package/dist/font-rules.mjs +0 -108
  880. package/dist/fonts-generated.mjs +0 -112
  881. package/dist/foundation-views.mjs +0 -242
  882. package/dist/foundation.mjs +0 -154
  883. package/dist/generated-entries.mjs +0 -198
  884. package/dist/html.mjs +0 -30
  885. package/dist/icons.mjs +0 -154
  886. package/dist/image-attributes.mjs +0 -187
  887. package/dist/image-size.mjs +0 -28
  888. package/dist/layers.mjs +0 -461
  889. package/dist/layout-widths.mjs +0 -332
  890. package/dist/linaria/atomic-css.cjs +0 -2
  891. package/dist/linaria/atomic-styled.cjs +0 -2
  892. package/dist/linaria/preserve-values.cjs +0 -58
  893. package/dist/linaria/spatial-inputs.cjs +0 -56
  894. package/dist/linaria.d.mts +0 -1
  895. package/dist/linaria.mjs +0 -9
  896. package/dist/lockup-composition.mjs +0 -44
  897. package/dist/lockup-model.cjs +0 -64
  898. package/dist/paint-contracts.mjs +0 -216
  899. package/dist/pictograms.mjs +0 -52
  900. package/dist/public-api.mjs +0 -121
  901. package/dist/public-props.mjs +0 -91
  902. package/dist/render-audit/axe-run.mjs +0 -17
  903. package/dist/render-audit/first-render.mjs +0 -40
  904. package/dist/render-audit/image-shape.mjs +0 -46
  905. package/dist/render-audit/layout-overflow.mjs +0 -167
  906. package/dist/render-audit/layout-shift.mjs +0 -32
  907. package/dist/render-audit/non-text-contrast.mjs +0 -151
  908. package/dist/render-audit/pictograms.mjs +0 -88
  909. package/dist/render-color-probe.mjs +0 -202
  910. package/dist/render-composition.mjs +0 -186
  911. package/dist/runtime-contracts.mjs +0 -506
  912. package/dist/scenario-program.mjs +0 -19
  913. package/dist/scenario-selectors.mjs +0 -237
  914. package/dist/scenario-slots.mjs +0 -217
  915. package/dist/scenario-trace.mjs +0 -314
  916. package/dist/scenarios-vite.d.mts +0 -2
  917. package/dist/scenarios-vite.mjs +0 -2
  918. package/dist/scenarios.mjs +0 -616
  919. package/dist/selector-match.mjs +0 -94
  920. package/dist/showcase/comparison.js +0 -48
  921. package/dist/showcase/connection.js +0 -10
  922. package/dist/showcase/draft-navigation.js +0 -59
  923. package/dist/showcase/foundation-view.css +0 -58
  924. package/dist/showcase/foundation-view.mjs +0 -255
  925. package/dist/showcase/guide-controls.ads.review.mjs +0 -32
  926. package/dist/showcase/http-connection.js +0 -86
  927. package/dist/showcase/http-preview.js +0 -81
  928. package/dist/showcase/icons.js +0 -2
  929. package/dist/showcase/navigation.js +0 -13
  930. package/dist/showcase/pictogram-view.mjs +0 -53
  931. package/dist/showcase/preview-frame.ads.review.css +0 -46
  932. package/dist/showcase/preview-frame.ads.review.d.mts +0 -11
  933. package/dist/showcase/preview-frame.ads.review.mjs +0 -22
  934. package/dist/showcase/preview-state.js +0 -11
  935. package/dist/showcase/refresh-scheduler.js +0 -23
  936. package/dist/showcase/resource-reader.js +0 -37
  937. package/dist/showcase-coverage.mjs +0 -139
  938. package/dist/source-symbols.mjs +0 -4
  939. package/dist/spatial-composition.mjs +0 -322
  940. package/dist/spatial-contexts.cjs +0 -56
  941. package/dist/spatial-css.cjs +0 -351
  942. package/dist/spatial-inputs.cjs +0 -80
  943. package/dist/spatial-model.cjs +0 -322
  944. package/dist/spatial.mjs +0 -21
  945. package/dist/stage-timing.cjs +0 -21
  946. package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +0 -105
  947. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +0 -7
  948. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +0 -10
  949. package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +0 -8
  950. package/dist/starters/preact/ds.config.json +0 -37
  951. package/dist/starters/preact/package.json +0 -35
  952. package/dist/starters/preact/src/vite-env.d.ts +0 -7
  953. package/dist/starters/preact/tsconfig.json +0 -35
  954. package/dist/starters/preact/vite.config.ts +0 -23
  955. package/dist/starters/react/ADS.md +0 -286
  956. package/dist/starters/react/README.md +0 -184
  957. package/dist/starters/react/biome.css.json +0 -21
  958. package/dist/starters/react/design-system/assets/brand/README.md +0 -41
  959. package/dist/starters/react/design-system/assets/brand/app-icon.svg +0 -4
  960. package/dist/starters/react/design-system/assets/brand/logo.dark.svg +0 -6
  961. package/dist/starters/react/design-system/assets/brand/logo.svg +0 -6
  962. package/dist/starters/react/design-system/assets/glyphs/README.md +0 -15
  963. package/dist/starters/react/design-system/assets/glyphs/aliases.json +0 -1
  964. package/dist/starters/react/design-system/assets/glyphs/check.svg +0 -1
  965. package/dist/starters/react/design-system/assets/glyphs/chevron-down.svg +0 -1
  966. package/dist/starters/react/design-system/assets/glyphs/chevron-right.svg +0 -1
  967. package/dist/starters/react/design-system/assets/glyphs/external-link.svg +0 -1
  968. package/dist/starters/react/design-system/assets/glyphs/info.svg +0 -1
  969. package/dist/starters/react/design-system/assets/glyphs/menu.svg +0 -1
  970. package/dist/starters/react/design-system/assets/glyphs/plus.svg +0 -1
  971. package/dist/starters/react/design-system/assets/glyphs/warning.svg +0 -1
  972. package/dist/starters/react/design-system/assets/pictograms/catalog.ads.json +0 -13
  973. package/dist/starters/react/design-system/assets/pictograms/journey.dark.svg +0 -7
  974. package/dist/starters/react/design-system/assets/pictograms/journey.svg +0 -7
  975. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.exports.ts +0 -1
  976. package/dist/starters/react/design-system/components/Actions/Button/Button.ads.fixture.ts +0 -1
  977. package/dist/starters/react/design-system/components/Actions/Button/README.md +0 -12
  978. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.exports.ts +0 -1
  979. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.fixture.ts +0 -9
  980. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.scenario.tsx +0 -16
  981. package/dist/starters/react/design-system/components/Actions/IconButton/README.md +0 -17
  982. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.exports.ts +0 -1
  983. package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.fixture.ts +0 -6
  984. package/dist/starters/react/design-system/components/Content/Icon/README.md +0 -17
  985. package/dist/starters/react/design-system/components/Content/Icon/glyphs.ts +0 -17
  986. package/dist/starters/react/design-system/components/Content/Image/Image.ads.exports.ts +0 -1
  987. package/dist/starters/react/design-system/components/Content/Image/README.md +0 -20
  988. package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.exports.ts +0 -1
  989. package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.fixture.ts +0 -1
  990. package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.scenario.tsx +0 -12
  991. package/dist/starters/react/design-system/components/Content/Logo/Logo.tsx +0 -35
  992. package/dist/starters/react/design-system/components/Content/Logo/README.md +0 -12
  993. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.exports.ts +0 -1
  994. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.fixture.ts +0 -1
  995. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.scenario.tsx +0 -7
  996. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.tsx +0 -26
  997. package/dist/starters/react/design-system/components/Forms/TextField/README.md +0 -14
  998. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.exports.ts +0 -1
  999. package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.fixture.ts +0 -6
  1000. package/dist/starters/react/design-system/composition/Search/SearchPage/README.md +0 -4
  1001. package/dist/starters/react/design-system/composition/Search/SearchPage/SearchPage.ads.fixture.ts +0 -7
  1002. package/dist/starters/react/design-system/composition/Search/SearchPage/SearchPage.ads.scenario.tsx +0 -16
  1003. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +0 -5
  1004. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +0 -13
  1005. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +0 -22
  1006. package/dist/starters/react/design-system/controllers/Palette/Palette.ads.exports.ts +0 -1
  1007. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +0 -1
  1008. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +0 -7
  1009. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +0 -15
  1010. package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +0 -105
  1011. package/dist/starters/react/design-system/patterns/Conversation/README.md +0 -9
  1012. package/dist/starters/react/design-system/patterns/Search/SearchBar/README.md +0 -12
  1013. package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.exports.ts +0 -1
  1014. package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.fixture.ts +0 -1
  1015. package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.scenario.tsx +0 -11
  1016. package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.tsx +0 -41
  1017. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +0 -5
  1018. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +0 -21
  1019. package/dist/starters/react/design-system/patterns/Shell/README.md +0 -43
  1020. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +0 -1
  1021. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +0 -5
  1022. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +0 -1
  1023. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +0 -7
  1024. package/dist/starters/react/design-system/review/index.ads.review.ts +0 -4
  1025. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +0 -1
  1026. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +0 -6
  1027. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +0 -1
  1028. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +0 -10
  1029. package/dist/starters/react/design-system/showcase/mcp/main.ads.mount.tsx +0 -10
  1030. package/dist/starters/react/design-system/styles.css +0 -7
  1031. package/dist/starters/react/design-system/tokens/base.css +0 -36
  1032. package/dist/starters/react/design-system/tokens/catalog.ads.json +0 -1221
  1033. package/dist/starters/react/design-system/tokens/colors.css +0 -215
  1034. package/dist/starters/react/design-system/tokens/elevation.css +0 -53
  1035. package/dist/starters/react/design-system/tokens/spacing.css +0 -87
  1036. package/dist/starters/react/design-system/tokens/spatial.ads.json +0 -70
  1037. package/dist/starters/react/design-system/tokens/themes.generated.css +0 -142
  1038. package/dist/starters/react/design-system/tokens/themes.generated.ts +0 -402
  1039. package/dist/starters/react/design-system/tokens/typography.css +0 -31
  1040. package/dist/starters/react/ds.config.json +0 -37
  1041. package/dist/starters/react/gitignore.template +0 -8
  1042. package/dist/starters/react/package.json +0 -39
  1043. package/dist/starters/react/scripts/build-mcp-previews.mjs +0 -3
  1044. package/dist/starters/react/src/vite-env.d.ts +0 -7
  1045. package/dist/starters/react/tsconfig.build.json +0 -20
  1046. package/dist/starters/react/tsconfig.json +0 -34
  1047. package/dist/starters/react/vite.config.ts +0 -23
  1048. package/dist/style-boundaries.mjs +0 -106
  1049. package/dist/style-token-rules.mjs +0 -51
  1050. package/dist/themes-generated.mjs +0 -161
  1051. package/dist/themes-watch.mjs +0 -83
  1052. package/dist/themes.mjs +0 -360
  1053. package/dist/token-export.mjs +0 -94
  1054. package/dist/token-origins.mjs +0 -24
  1055. package/dist/token-policy.mjs +0 -26
  1056. package/dist/token-quality.mjs +0 -149
  1057. package/dist/token-samples.mjs +0 -19
  1058. package/dist/tokens.mjs +0 -194
  1059. package/dist/unit-contracts.mjs +0 -396
  1060. package/dist/usage.mjs +0 -184
  1061. package/dist/verification/playwright-reporter.cjs +0 -87
  1062. package/docs/CONTRACTS.md +0 -285
  1063. package/docs/HTTP-SHOWCASE-POC.md +0 -397
  1064. package/docs/SPATIAL-CHECKS.md +0 -69
  1065. package/docs/benchmarks/http-showcase-optimized.json +0 -1879
  1066. package/docs/benchmarks/http-showcase-profile.json +0 -308
  1067. package/docs/benchmarks/http-showcase.json +0 -3069
  1068. /package/dist/{starters/react/design-system/assets/fonts/.gitkeep → analysis/semantic.mjs} +0 -0
  1069. /package/dist/{starters/react/design-system/controllers/.gitkeep → lowering-model.mjs} +0 -0
  1070. /package/dist/showcase/{favicon.svg → ui/favicon-scavmehf.svg} +0 -0
package/docs/RULES.md ADDED
@@ -0,0 +1,559 @@
1
+ # ADS rules
2
+
3
+ <!-- Generated by scripts/sync-rule-reference.mjs from src/ads-errors.mts and src/finding-rules.mts. Do not edit: run `bun run sync:rule-reference`. -->
4
+
5
+ Every rule ADS reports, under its rule group: 394 rules in 18 groups. A finding names its rule as a code,
6
+ `<domain>/<kind>`; the `check/<rule>` codes are the rules `ads check`, `ads validate`, the render audit and acceptance
7
+ report by their plain name (`check/a11y-reflow` is the finding `a11y-reflow`).
8
+
9
+ Severity: an **error** blocks `ads check`, validation and acceptance; a **review** item is shown and never blocks,
10
+ because deciding it takes a person; an **info** note records a limit of the analysis.
11
+
12
+ Fix findings in group order: earlier groups are often the cause of later ones. The same catalogue is served to agents as
13
+ `ads://guides/errors` (this index) and `ads://guides/errors/<group>` (one group); the guides a rule names are the
14
+ `ads://guides/<topic>` resources, the files under `skills/ads-designer/references/`.
15
+
16
+ | Order | Group | Rules | Kind | What it means | How to fix |
17
+ | --- | --- | --- | --- | --- | --- |
18
+ | 1 | [syntax](#syntax) | 11 | violated | The source does not parse or type-check. | Fix these first and accept again: analysis needs a valid program, and later errors may be consequences. |
19
+ | 2 | [unresolved-reference](#unresolved-reference) | 36 | violated | The source names something that does not exist in this revision. | Correct the name from the existing candidates. Declare a new one only when it is genuinely new design. |
20
+ | 3 | [boundary](#boundary) | 30 | violated | Code reaches across an ownership or production/development boundary. | Move the code to its owner or pass the value through public props. Do not add an exception or widen the boundary. |
21
+ | 4 | [design-bypass](#design-bypass) | 19 | violated | Styling or design values are supplied outside the design language. | Take the value from a profile, token or recipe instead of writing it in place. |
22
+ | 5 | [structure-mismatch](#structure-mismatch) | 42 | violated | Rendered markup does not match what its declaration promises. | Make the markup match the declaration: each declared part, cell and binding exactly once, in the declared order. Change the declaration only if it is wrong. |
23
+ | 6 | [accessibility-semantics](#accessibility-semantics) | 33 | violated | Owned markup or motion lacks required accessible semantics: a text alternative, an accessible name, keyboard access or reduced motion. | Add the missing semantics in the owning component (alt, aria-label, a native control, a reduced-motion value); do not suppress the check. |
24
+ | 7 | [project-files](#project-files) | 5 | violated | A required project file or declaration is missing, empty, undocumented or unused. | Add or complete the file the rule names (README, license, theme or brand values), or remove what nothing uses. |
25
+ | 8 | [wrong-value](#wrong-value) | 62 | violated | A value has the wrong kind, role or range for where it is used. | Choose one of the allowed values the error lists. |
26
+ | 9 | [conflict](#conflict) | 34 | violated | Two definitions claim the same thing, or a definition depends on itself. | Keep exactly one source of truth and remove or derive the other. |
27
+ | 10 | [unanalyzable](#unanalyzable) | 42 | unprovable | ADS cannot prove the rule holds; the design itself may be fine. | Rewrite into a form ADS can follow (literal unions, const records, typed props, JSX) without changing rendered behavior. |
28
+ | 11 | [unsupported](#unsupported) | 14 | unprovable | The construct is valid design that ADS does not support yet. | Use a supported alternative. If none fits, report the gap rather than working around the checks. |
29
+ | 12 | [rendered-check](#rendered-check) | 12 | violated | The rendered result breaks an accessibility, layout, contrast or performance requirement. | Inspect the failing scenario in its audit result or capture, then fix the owning style or markup; do not change the scenario to hide it. |
30
+ | 13 | [behavior-failed](#behavior-failed) | 4 | violated | A registered behavior guarantee failed or could not run. | Read the failing run with ads_results and ads_investigate, then fix the owner's behavior; keep the guarantee unless it is wrong. |
31
+ | 14 | [evidence-missing](#evidence-missing) | 9 | rerun | Required evidence is absent or belongs to another revision. | Run the named check (ads_validate, ads_accept dryRun or the preview build) for the current revision; do not edit source to satisfy it. |
32
+ | 15 | [run-interrupted](#run-interrupted) | 12 | rerun | The run did not complete: it was cancelled, busy, or its inputs changed while it ran. | Wait for the other run or the edits to finish, then run again with the current revision. |
33
+ | 16 | [after-apply](#after-apply) | 7 | rerun | Source was published, but a follow-up step after it failed. | Do not accept the change again. Perform the named follow-up (rebuild the preview, regenerate assets, clean up the draft) and check the result. |
34
+ | 17 | [ads-defect](#ads-defect) | 16 | ads-defect | ADS produced inconsistent output; the project source is not at fault. | Stop. Do not rewrite source to avoid it; report it with the owner and the failing revision. |
35
+ | 18 | [environment](#environment) | 6 | environment | The installed tooling does not match what ADS requires. | Reinstall the project's dependencies so ADS's pinned versions are used; do not change source. |
36
+
37
+ Kind: **violated**, the source breaks the rule; **unprovable**, ADS cannot prove the rule holds, so rewrite into a form it
38
+ can follow; **rerun**, nothing is wrong with source, the run was interrupted or its evidence is missing or stale;
39
+ **ads-defect** and **environment**, not a source problem.
40
+
41
+ ## syntax
42
+
43
+ The source does not parse or type-check. Fix these first and accept again: analysis needs a valid program, and later errors may be consequences.
44
+
45
+ | Rule | Severity | What it requires | Repair | Guides |
46
+ | --- | --- | --- | --- | --- |
47
+ | `check/behavior-contract-declaration` | error | An owner's behaviour registration (`<Owner>.ads.behavior.ts`) default-exports one call of the `behavior` macro, imported from `@reqvire-org/ads/behavior` with { type: "macro" }, whose argument is a closed literal { subjects, guarantees, checks }. | Write the registration as `export default behavior({ subjects, guarantees, checks })` with literal values, and fix the field the finding names. | `ads://guides/behaviors` |
48
+ | `check/draft-preview` | error | A draft scenario preview must compile from the draft's source before it can be reviewed. | Read the compiler message in the diagnostic, fix the draft source it names with ads_update_draft, and show the draft again. | `ads://guides/drafts`, `ads://guides/scenarios` |
49
+ | `check/mutation-check` | error | Every configured project check command (acceptance.scripts, and validation.scripts in ads_validate) exits 0 on the candidate. | Read the command output in the diagnostic and fix what it reports, then accept or validate the new revision. | `ads://guides/validation`, `ads://guides/drafts` |
50
+ | `check/mutation-patch` | error | A draft patch is one well-formed Git unified diff (text hunks, or git diff --binary blocks with full blob hashes), given as exactly one of patch or patchFile, within the size limits; renames and mode changes are unsupported. | Regenerate the patch with `git diff` (`--binary` for binary assets) against canonical a/ b/ paths, and pass it once as patch or as a .patch/.diff file under .ds/patches/. | `ads://guides/drafts` |
51
+ | `check/mutation-syntax` | error | Proposed JSON source must be valid JSON, and configuration files valid JSON/JSONC. | Fix the JSON syntax of the named file in the draft. | `ads://guides/drafts` |
52
+ | `check/preview-build-failed` | error | Every registered scenario's production preview builds. | Fix the compile diagnostics in the finding's details, then validate again. | `ads://guides/validation`, `ads://guides/runtimes` |
53
+ | `check/scenario-source` | error | Every scenario file is part of the analyzed program and parses. | Fix the scenario file's syntax, or make sure it is a TypeScript/JavaScript module inside the design system. | `ads://guides/scenarios` |
54
+ | `extraction/css-syntax` | error | A construction's CSS parses as valid CSS. | Fix the CSS the construction produces at the reported position. | `ads://guides/atomic-styles` |
55
+ | `foundation/css-syntax` | error | Every token sheet parses as CSS. | Fix the CSS syntax at the reported position. | `ads://guides/tokens` |
56
+ | `owner/typescript-diagnostics` | error | Owner and scenario source type-checks; analysis needs a type-correct program. | Fix the TypeScript errors in the design system's source. | `ads://guides/validation` |
57
+ | `registration/css-invalid` | error | Token CSS parses as valid CSS. | Fix the CSS syntax at the reported position. | `ads://guides/tokens` |
58
+
59
+ ## unresolved-reference
60
+
61
+ The source names something that does not exist in this revision. Correct the name from the existing candidates. Declare a new one only when it is genuinely new design.
62
+
63
+ | Rule | Severity | What it requires | Repair | Guides |
64
+ | --- | --- | --- | --- | --- |
65
+ | `assets/set-alias-target` | error | A glyph set's alias names one of the set's members, as written in members. | Point the alias at a member, or add the asset to members. | `ads://guides/pictograms` |
66
+ | `assets/set-member-unknown` | error | A glyph set's members are declared assets, named by name or alias. | Correct the member's name, or declare the asset with asset({ ... }) first. | `ads://guides/pictograms` |
67
+ | `check/behavior-selection` | error | A behavior verification selection names only owner units and check IDs that are registered. | Discover the exact owner/check IDs with ads_behaviors and request only those. | `ads://guides/behaviors` |
68
+ | `check/behavior-subject-unknown` | error | Every behaviour subject resolves in its own owner: `api` names a public export the barrel takes from the owner, and `source` a production file of the owner (with `symbol` an export of it), so a rename fails the check instead of dropping a guarantee. | Point the subject at the owner's current export or runtime file, or remove the subject and the guarantees that name it. | `ads://guides/behaviors` |
69
+ | `check/delete-target-unknown` | error | An ads_delete target names a declared identity of its kind: a token sheet's custom property, a profile, asset, glyph-set or font family name, or a component or pattern owner path. | Read ads_tokens, ads_catalog or ads_units for the declared identities and name one of them (an asset by its declared name, not an alias). | `ads://guides/drafts`, `ads://guides/tokens` |
70
+ | `check/project-structure` | error | ds.config.json's dsDir names an existing directory holding the public barrel (index.ts) and foundation.ads.ts. | Bootstrap the design system with `ads init`, or correct dsDir in ds.config.json and add the public barrel and foundation.ads.ts. | `ads://guides/runtimes` |
71
+ | `check/scenario-covers` | error | A scenario's covers is a nonempty static array, and every entry names a public UI export of the design system. | List the public UI exports the scenario renders in covers, by their exported names. | `ads://guides/scenarios` |
72
+ | `check/scenario-exercise-api` | error | Each exercises entry names a public behavioral API: a hook, controller, context provider or other callable or constructible export of the public barrel. | Name a public behavioral export in exercises (check the barrel's exports first), or remove the entry; rendered UI belongs in covers. | `ads://guides/scenarios`, `ads://guides/behaviors` |
73
+ | `check/source-unavailable` | error | Checked modules import only analysis inputs of this project, not files in assets.generatedPaths, nested projects, drafts or project metadata. | Import the source module instead, or remove the folder from assets.generatedPaths if it is source. | |
74
+ | `choice/absent-property` | error | A design record is read only at properties it defines for every choice. | Add the property to the record for every choice, or read it with optional chaining where absence is intended. | `ads://guides/recipes` |
75
+ | `choice/part-unknown` | error | A part is used only if the recipe spec declares it. | Declare the part in the recipe spec, or use one of the parts it already declares. | `ads://guides/recipes` |
76
+ | `choice/recipe-access-unsupported` | error | Recipe output is selected only through the variants and parts its spec declares. | Select recipe output only through the variants and parts its spec declares. | `ads://guides/recipes` |
77
+ | `construction/condition-unknown` | error | A part's `at` names a condition of the spatial profile its nearest recipe selects. | Select a spatial profile (a composite's `spatialProfile`) that declares the condition, or name one it declares. | `ads://guides/recipes`, `ads://guides/layout` |
78
+ | `construction/layer-tier-unknown` | error | A modal sheet's `modalBelow` names a breakpoint tier of the spatial profile its recipe selects. | Select the spatial profile whose tiers the owner's layout uses (a composite's `spatialProfile`), and name one of its breakpoints. | `ads://guides/recipes`, `ads://guides/layout` |
79
+ | `construction/overlay-layer-missing` | error | A grid cell that covers other cells stacks by its spatial profile's `overlay-layer`. | Declare `overlayLayer` (a layer token) on the spatial profile the grid selects. | `ads://guides/layout` |
80
+ | `construction/profile-field-missing` | error | A construction reads only fields its profile defines. | Add the field to the profile, or reference a profile that defines it. | `ads://guides/recipes` |
81
+ | `construction/rule-paint-missing` | error | One-sided frame rules are painted by the element's surface `border-color`. | Give the element a surface whose profile sets `borderColor`. | `ads://guides/recipes` |
82
+ | `construction/rule-width-missing` | error | One-sided frame rules take their width from the frame profile's `border-width`. | Give the recipe's frame profile a `borderWidth` (a border-width token), or remove `rules`. | `ads://guides/recipes` |
83
+ | `contexts/brand-undeclared` | error | Every brand a token sheet ([data-brand="<name>"]) names is declared in foundation.ads.ts brands. | Correct the brand name, or declare the brand in foundation.ads.ts brands (the first brand is the default, on :root). | `ads://guides/tokens`, `ads://guides/branding` |
84
+ | `contexts/theme-undeclared` | error | Every theme a token sheet ([data-theme="<name>"]) or an asset variant (theme) names is declared in foundation.ads.ts themes. | Correct the theme name, or declare the theme in foundation.ads.ts themes with its scheme. | `ads://guides/tokens` |
85
+ | `discovery/export-unresolved` | error | Every re-export in the public barrel resolves to a declaration. | Fix the exported name or path, or remove the stale re-export. | `ads://guides/contracts` |
86
+ | `foundation/profile-field-unknown` | error | A profile declares only fields its kind has: a kind's token fields and policy fields, a composite's typed slots (textProfile, frameProfile, …), a spatial clause's own fields. A misspelt field would otherwise be accepted and silently never read. | Correct the field's name to one the kind has, or move the value to a profile of the kind that owns it. | `ads://guides/recipes`, `ads://guides/tokens` |
87
+ | `mock/helper-missing` | error | A mock's relative import is a captured script of the revision (a fixture or helper) or its own media. | Correct the path, or add the helper beside the mock. | `ads://guides/scenarios` |
88
+ | `registration/role-unknown` | error | Token files use only the declared token roles. | Use a declared token role. | `ads://guides/tokens` |
89
+ | `registration/token-undefined` | error | An @property registration registers a defined token. | Define the token, or remove the registration. | `ads://guides/tokens` |
90
+ | `source/asset-unknown` | error | Artwork is used only through assets the design system declares. | Use an existing asset name, or register the artwork as a new asset. | `ads://guides/branding`, `ads://guides/pictograms` |
91
+ | `source/dependency-unresolved` | error | Every name imported from the public barrel resolves to an exported declaration. | Export the component from the public barrel, or fix the imported name. | `ads://guides/contracts` |
92
+ | `source/glyph-set-state` | error | A set binding's state is declared by every member of the set: the runtime name selects a drawing, never a missing one. | Bind the set without a state, or give every member a drawing for that state. | `ads://guides/pictograms` |
93
+ | `source/glyph-set-unknown` | error | A set binding names a glyph set declared with glyphSet() in a file under assets/. | Use a declared set's name, or declare the set with glyphSet({ name, title, members }) in an assets/**/*.ads.ts file. | `ads://guides/pictograms` |
94
+ | `source/measured-undeclared` | error | `recipe.measured.set` writes only the measured values the recipe declares, called directly with an object literal; `recipe.measured` is not passed on. | Declare the value in the recipe's `measured` clause (a closed geometry property), or remove it from the call. | `ads://guides/recipes` |
95
+ | `source/module-unresolved` | error | Every local import resolves to a file of this revision. | Fix the import path or add the missing file to the design system. | `ads://guides/layers` |
96
+ | `source/paint-undeclared` | error | `recipe.paints.set` writes only the runtime paints the recipe declares, called directly with an object literal; `recipe.paints` is not passed on. | Declare the paint in the recipe's `paints` clause (a closed paint property and its paint tokens), or remove it from the call. | `ads://guides/recipes` |
97
+ | `source/recipe-macro-unknown` | error | Only the macros the recipe module exports may be used. | Use only the macros the recipe module exports. | `ads://guides/recipes` |
98
+ | `source/theme-unknown` | error | A construction refers only to themes the foundation declares. | Use a declared theme name, or declare the theme first. | `ads://guides/tokens` |
99
+ | `source/worker-module-missing` | error | A worker entry names a module of this revision inside the design system. | Point `new Worker(new URL(…, import.meta.url))` at an existing module inside the design system. | `ads://guides/runtimes` |
100
+ | `token-css/token-missing` | error | Every token referenced through var() is defined in the shared foundation. A token that only some themes or brands define is referenced with a var() fallback; a fallback does not excuse a token no context defines. | Fix a mistyped reference, or define the token in the foundation; for a token only some themes or brands define, add a var() fallback or define it for the others. | `ads://guides/tokens` |
101
+
102
+ ## boundary
103
+
104
+ Code reaches across an ownership or production/development boundary. Move the code to its owner or pass the value through public props. Do not add an exception or widen the boundary.
105
+
106
+ | Rule | Severity | What it requires | Repair | Guides |
107
+ | --- | --- | --- | --- | --- |
108
+ | `check/behavior-contract-owner` | error | A behaviour registration sits in the folder of the component, pattern or shared controller it registers, and an owner has one. | Move the registration into its owner's folder, or merge a second registration into the first. | `ads://guides/behaviors` |
109
+ | `check/behavior-spec-import` | error | A registered behaviour spec imports its test API from what ADS provides: unit specs node:test and node:assert, browser and strict specs @reqvire-org/ads/browser-test. ADS runs every spec with its own Bun and its own Playwright, so the project installs no test framework. | Import test and assertions from node:test and node:assert (unit specs) or from @reqvire-org/ads/browser-test (browser and strict specs) instead of bun:test or @playwright/test. | `ads://guides/behaviors` |
110
+ | `check/check-side-effect` | error | Project check commands only check: they never rewrite source files. | Configure checks without write or fix modes (for example a formatter's --check instead of --write). | `ads://guides/validation`, `ads://guides/drafts` |
111
+ | `check/generated-modified` | error | The design system's emitted output folder (compile.outDir) holds exactly the files its ads-contract.json records, each with its recorded sha256: ADS owns the folder, and its files are never edited by hand. | Run `ads emit` to regenerate the output (`ads emit --force` discards hand edits and removes foreign files); make the change in the design-system source instead. | `ads://guides/layers` |
112
+ | `check/import-leaves-design-system` | error | Every import in the design-system folder (tests excepted, type-only imports included) resolves inside that folder or to an installed package; application source is never a dependency. | Move the imported module into the design-system folder, or pass the value (application data, stores, routing, services) in through a public prop. | `ads://guides/layers` |
113
+ | `check/mock-ownership` | error | A mock (mocks/) is a mock of the application's screens. Like an application, it uses only what the design system exports: it renders public components and patterns from @ds with mock data and local state, and carries no design of its own. It is never exported. | Fix the problem the finding's code names at the reported position; its message carries that code's repair hint. | `ads://guides/scenarios`, `ads://guides/layers` |
114
+ | `check/mutation-path` | error | Mutation paths are canonical project-relative paths through ordinary directories to unlinked regular files, outside hidden, dependency and generated locations. | Target the canonical source path of the owned file, and edit the source of generated output instead of the output itself. | `ads://guides/drafts` |
115
+ | `check/mutation-policy` | error | Source outside the configuration unit carries no lint or typecheck suppression directives (eslint/oxlint-disable, biome-ignore, @ts-ignore, @ts-nocheck, @ts-expect-error); reviewed exceptions belong in the configuration unit. | Remove the suppression directive and fix the reported problem, or configure a reviewed exception through the configuration unit. | |
116
+ | `check/mutation-unit` | error | A mutation targets one ADS owner unit and may only change, create or delete files that unit owns; it cannot capture peer units' files or leave the selected unit unestablished. | Pick the owner ID from ads_units and put each owner's files in its own draft or transaction entry. | `ads://guides/drafts`, `ads://guides/layers` |
117
+ | `check/package-dependency-undeclared` | error | The design package's package.json declares what its emitted output needs: every package the output imports at runtime in dependencies or peerDependencies (peers for what the application must share: the framework, headless libraries holding context), and every package needed only for types in some field. Applications install the design package and get exactly what it declares. | Declare the package the message names in the design package's package.json: dependencies, or peerDependencies (with the same package in devDependencies for authoring) when the application must share one copy. | `ads://guides/workflows` |
118
+ | `check/scenario-location` | error | Scenarios live beside what they preview, under components/, patterns/ or mocks/. | Move the scenario into the folder of the owner or mock it previews. | `ads://guides/scenarios`, `ads://guides/layers` |
119
+ | `check/scenario-markup` | error | A scenario file renders public owners, the scenario kit and its own small components only. ADS draws the page: an HTML or SVG element, a `style` attribute or a component a development file declares (a fixture's or a helper's) is layout nothing checks. | Move text into `title`, `description` and each specimen's `title` and `note`; choose the specimen's `arrangement` and `width`; use the kit (Container, Placeholder, Anchor, EventLog from "@reqvire-org/ads/showcase") where the subject needs a sized parent, a stand-in, an overlay's control or a callback's output. | `ads://guides/scenarios` |
120
+ | `check/source-symlink` | error | Validation inputs never resolve through a symlink, so drafts and accepted source stay inside the fenced project boundary. | Replace the symlink with a real file inside the design system. | `ads://guides/drafts`, `ads://guides/validation` |
121
+ | `check/test-ownership` | error | A design-system test (a `*.test.*` or `*.spec.*` file, or one under a test folder) sits in the folder of the component, pattern or shared controller it tests; it is a test wherever it lives, never a mock. | Move the test into the folder of the owner it tests, or out of the design system when it tests the application. | `ads://guides/behaviors` |
122
+ | `check/test-private-import` | error | A design-system test imports its own owner's files and the public barrel, nothing else of the design system: a peer is tested through its public API. | Import the peer's public export from the public alias (the barrel), or move the test to the owner whose files it imports. | `ads://guides/behaviors` |
123
+ | `choice/text-content-read` | error | Application text is data: design may depend on whether text is present, never on what it says. | Select design from a typed prop (variant, size, state), never from the text the component displays. | `ads://guides/layers` |
124
+ | `discovery/owner-cycle` | error | Owners form an acyclic dependency graph. | Move the shared part into a lower owner both can import, or pass it through props. | `ads://guides/layers` |
125
+ | `extraction/preparation-rejected` | error | Registrations (@property, @layer order) live in token CSS, not in element styling. | Move the registration out of element styling into token CSS. | `ads://guides/atomic-styles`, `ads://guides/tokens` |
126
+ | `mock/design-import` | error | A mock reaches the design system through its public entry (`@ds`), as an application does: a relative import leads only to its own captured helpers and media under `mocks/`, and it imports none of ADS's authoring macros. | Import the owner from `@ds`; move fixture data into a captured `*.ads.fixture.ts` helper and media under the mock's `media/` folder. | `ads://guides/scenarios`, `ads://guides/layers` |
127
+ | `mock/re-export` | error | A mock re-exports nothing: it is a mock of the application's screens, never a module of the design system. | Import what the mock renders and remove the re-export. | `ads://guides/scenarios` |
128
+ | `source/authoring-import` | error | Emitted output runs without ADS; production modules do not import ADS. | Import authoring helpers only in development files, or use the compiled output. | `ads://guides/layers`, `ads://guides/runtimes` |
129
+ | `source/controller-markup` | error | A shared controller (controllers/) renders no markup: its consumers' components render, and the controller supplies state, effects and measurements. | Render the element in the component or pattern that uses the controller; a controller may return state, callbacks and refs, or render a context provider around its children. | `ads://guides/behaviors`, `ads://guides/layers` |
130
+ | `source/controller-recipe` | error | A shared controller (controllers/) owns behaviour, not design: it authors no recipe. Recipes belong to the components and patterns that consume it. | Move the recipe into the component or pattern that renders with this controller, and pass the controller's state to it through props. | `ads://guides/behaviors`, `ads://guides/layers` |
131
+ | `source/controller-ui-import` | error | A shared controller (controllers/) imports no component or pattern at runtime: UI depends on controllers, never the reverse. Type-only imports are allowed. | Invert the dependency: let the component or pattern import the controller, pass what the controller needs as arguments, or use `import type` when only the types are read. | `ads://guides/behaviors`, `ads://guides/layers` |
132
+ | `source/dependency-not-emitted` | error | An owner depends only on public owners that are emitted with it. | Make the dependency a public owner of the design system, or remove the dependency. | `ads://guides/layers`, `ads://guides/contracts` |
133
+ | `source/development-import` | error | Production code never imports development files; scenarios, fixtures, mocks and tests may import production code, not the reverse. | Remove the import and move what production needs into a production module. | `ads://guides/layers`, `ads://guides/scenarios` |
134
+ | `source/foreign-interior` | error | An owner styles only its own elements; another owner's interior is changed through its public props. | Style the child through its public props (variants, parts it exposes), not by classing its interior. | `ads://guides/layers`, `ads://guides/contracts` |
135
+ | `source/framework-mismatch` | error | A design system's modules use the project's framework only: a Preact project imports no React package (`react`, `react-dom`), and a React project no Preact package. | Import the project's framework instead (Preact: `preact`, `preact/hooks`, `ComponentChildren`; React: `react`, `ReactNode`), or change `framework` in ds.config.json. | `ads://guides/runtimes` |
136
+ | `source/import-leaves-design-system` | error | The design system is closed: its modules import only design-system files and declared packages. | Move the dependency into the design system, or receive the data or behavior through props from the application. | `ads://guides/layers` |
137
+ | `source/plain-markup` | error | A module that authors no recipe renders only design-system owners; markup belongs to owners. | Render design-system owners here, or make this module an owner that styles its markup with a recipe. | `ads://guides/recipes`, `ads://guides/layers` |
138
+
139
+ ## design-bypass
140
+
141
+ Styling or design values are supplied outside the design language. Take the value from a profile, token or recipe instead of writing it in place.
142
+
143
+ | Rule | Severity | What it requires | Repair | Guides |
144
+ | --- | --- | --- | --- | --- |
145
+ | `construction/spatial-token-expected` | error | Spatial values come from spatial tokens, not literal lengths. | Use a spatial token from the design foundation. | `ads://guides/layout`, `ads://guides/tokens` |
146
+ | `mock/component-outside-pattern` | error | A pattern arranges the screen and a component fills a pattern: in a mock, a public component appears only as a pattern's child or in the value of a pattern's prop. | Render it inside the pattern that arranges this screen (as its child or in a slot prop); if no pattern does, add one. A surface that stands alone on a screen, such as a dialog, is a pattern. | `ads://guides/scenarios`, `ads://guides/layers` |
147
+ | `mock/design-prop` | error | A mock supplies no design through props: no `style`, `className`, `css` or `dangerouslySetInnerHTML`. | Remove the prop; choose the treatment through the owner's own finite props. | `ads://guides/scenarios` |
148
+ | `mock/hidden-definition` | error | A mock hides no design definitions in strings: no recipe or profile directives and no custom-property references. | Remove the definition; design belongs in owners, profiles and token sheets. | `ads://guides/scenarios`, `ads://guides/tokens` |
149
+ | `mock/imperative-design` | error | A mock writes no styles and creates no DOM imperatively. | Remove the imperative write; render owners with props. | `ads://guides/scenarios` |
150
+ | `mock/local-markup` | error | A mock's JSX renders what it imports from the design system (`@ds`), components and patterns alike: no native elements or local components laying out or wrapping them. | Render public owners directly; an arrangement the screen needs belongs in a pattern. | `ads://guides/scenarios`, `ads://guides/layout` |
151
+ | `rejection/profile-value-required` | error | Owner design comes from a profile, not from literals or tokens written in place. | Take the value from a profile field. | `ads://guides/recipes`, `ads://guides/tokens` |
152
+ | `source/class-expression-incomplete` | error | A className is built only from recipe outputs, at most one placement and declared asset bindings. | Remove free class strings and conditions; express the styling in the recipe. | `ads://guides/recipes`, `ads://guides/atomic-styles` |
153
+ | `source/css-in-js-import` | error | Styling exists only in owners, and owners style only through their recipes: no design-system file imports a CSS-in-JS package. | Remove the import and move the styling into a recipe in an owner. | `ads://guides/recipes`, `ads://guides/layers` |
154
+ | `source/glyph-reference-read` | error | An owner reads a received glyph reference only for its drawing (`.source` in a reference-bound part) or passes it whole to a public component: a reference never selects CSS. | Remove the read; choose treatments with the owner's own finite props, not with the glyph. | `ads://guides/pictograms` |
155
+ | `source/inspected-svg-inline` | error | An inspected-SVG part is empty in JSX: the owner inserts the element ADS's sanitizer produced, never markup, children or `dangerouslySetInnerHTML`. | Render the part empty and insert the sanitized `<svg>` (from `sanitizeInspectedSvg` of `@reqvire-org/ads/inspection`) in a layout effect. | `ads://guides/recipes`, `ads://guides/pictograms` |
156
+ | `source/inspected-svg-parsed` | error | An owner showing the inspected project's SVG never parses markup itself: ADS's sanitizer is the one reviewed parser. | Take the sanitized element as a prop (the host sanitizes with `sanitizeInspectedSvg`) and insert it; remove the parsing call. | `ads://guides/recipes`, `ads://guides/pictograms` |
157
+ | `source/owner-style-write` | error | An owner styles only through its recipe: runtime geometry goes through the recipe's declared `measured` values, never a direct DOM style write (`style`, `setProperty`, `classList`, `setAttribute("style")`). | Declare the value in the recipe's `measured` clause and write it with `recipe.measured.set(element, { … })`; any other styling belongs in the recipe. | `ads://guides/recipes`, `ads://guides/layout` |
158
+ | `source/owner-stylesheet-import` | error | An owner styles only through its recipes: it imports no stylesheet, whose rules would style outside the recipes ADS checks and emits. | Remove the import and express the styling in the owner's recipe through profiles. | `ads://guides/recipes`, `ads://guides/layers` |
159
+ | `source/plain-style-attribute` | error | Styling exists only in owners: a module that authors no recipe sets no `className`, `class`, `style` or `css` on what it renders. | Move the styling into a recipe in an owner, and render that owner here. | `ads://guides/recipes`, `ads://guides/layers` |
160
+ | `source/plain-style-write` | error | Styling exists only in owners: a module that authors no recipe writes no styling through the DOM. | Move the styling into a recipe in an owner, and select it through that owner's props. | `ads://guides/recipes`, `ads://guides/layers` |
161
+ | `source/plain-stylesheet-import` | error | Styling exists only in owners: a module that authors no recipe imports no stylesheet. | Remove the import and move the styling into a recipe in an owner. | `ads://guides/recipes`, `ads://guides/layers` |
162
+ | `source/raw-style` | error | Owned elements are styled only through their recipe; inline style and css attributes bypass design evidence. | Move the styling into the owner's recipe. | `ads://guides/recipes`, `ads://guides/tokens` |
163
+ | `source/style-element` | error | Styling exists only in owners: a scenario renders no `<style>` element. | Remove it, and choose the owner's appearance through its props; styling belongs to the owner's recipe. | `ads://guides/recipes`, `ads://guides/scenarios` |
164
+
165
+ ## structure-mismatch
166
+
167
+ Rendered markup does not match what its declaration promises. Make the markup match the declaration: each declared part, cell and binding exactly once, in the declared order. Change the declaration only if it is wrong.
168
+
169
+ | Rule | Severity | What it requires | Repair | Guides |
170
+ | --- | --- | --- | --- | --- |
171
+ | `check/behavior-contract-guarantee` | error | Every guarantee has a unique id and a description, and references at least one subject and one check its registration declares. | Use a unique id, describe the guarantee, and reference only declared subject and check ids. | `ads://guides/behaviors` |
172
+ | `check/delete-target-invalid` | error | An ads_delete target id is a well-formed identity of its kind (a token starts with --; an owner path is folder/Name). | Write the id as the identity is declared, for example --radius-control or Actions/Button. | `ads://guides/drafts` |
173
+ | `check/scenario-coverage` | error | Every renderable public UI export has a colocated, registered component or pattern scenario with a specimen that renders it (a mock covers nothing); related parts may share one scenario. | Add the export to the covers of a colocated scenario that renders it, or create an <Owner>.ads.scenario.tsx with a fixture that renders it. | `ads://guides/scenarios` |
174
+ | `check/scenario-entry` | error | A scenario file exports data and subjects only (`scenario`); it has no default export. ADS draws the page and mounts each specimen's `render`. | Remove the default export; move what it rendered into `specimens`, each with a title, an arrangement and a `render` that returns the owners. | `ads://guides/scenarios` |
175
+ | `check/scenario-exercise` | error | Each API in a scenario's exercises is used by the code the scenario mounts: called, constructed or rendered (a context provider) in a specimen's `render` or an adapter it reaches, event handlers included. | Call the exercised hook or function, construct the controller or render the provider in a specimen's `render` or a rendered adapter, or remove the entry from exercises. | `ads://guides/scenarios`, `ads://guides/behaviors` |
176
+ | `check/scenario-render` | error | Each public UI name in a scenario's covers is rendered from a specimen's `render`, directly or through a traced parent whose fixture props select that child; imports, unused JSX and unknown conditional paths do not count. | Render the covered public part in the scenario (or pass fixture props that make its parent render it), or remove it from covers if the scenario does not demonstrate it. | `ads://guides/scenarios` |
177
+ | `check/scenario-specimens` | error | A scenario lists what it shows in `specimens`: a nonempty array literal of object literals, each with a `render` function and optional static `title` and `note`, an `arrangement` (stack, row, tiles) and a `width` (content, full, small, medium). | Write `specimens: [{ title: "…", arrangement: "row", render: () => <Owner /> }]`, with each field in its documented form. | `ads://guides/scenarios` |
178
+ | `check/token-selector-invalid` | error | Token sheets declare tokens only in token contexts: :root, :root[data-theme="<name>"], :root[data-brand="<name>"] or both, directly or inside @media, @supports or @layer. A rule under any other selector forms no context: its values would be left out of every check and emitted as written. | Move the declaration into a :root, theme or brand rule (under @media or @supports for a condition); style a selector in a recipe instead. | `ads://guides/tokens` |
179
+ | `check/token-sheet-property` | error | Token sheets declare tokens only: custom properties (--name). A declaration of an ordinary CSS property (`:root { color: red }`) is no token, belongs to no role and styles outside every recipe; ADS does not read it as a token. | Remove the declaration. Style an element through its recipe, and the document through foundation({ text, surface }); a value meant to be shared is a token (--name) of its role. | `ads://guides/tokens` |
180
+ | `choice/no-reachable-choice` | error | Every styled selection renders in at least one reachable state. | Check the conditions guarding the element; remove dead branches or the unreachable styling. | `ads://guides/recipes` |
181
+ | `construction/artwork-binding-missing` | error | An artwork construction binds its visual part to a declared asset. | Bind the visual part to a declared asset. | `ads://guides/branding`, `ads://guides/pictograms` |
182
+ | `construction/content-missing` | error | A control renders text or artwork in every reachable choice, so it is never empty. | Give every choice a text part or an artwork part. | `ads://guides/recipes`, `ads://guides/accessibility` |
183
+ | `construction/cover-box-missing` | error | A cropped image (a visual part whose visual profile declares `fit: "cover"`) fills a box of its own: it is a top-level part of a region whose frame declares a `ratio` or whose frame profile fixes its `blockSize`. The frame has the shape; the image is cropped inside it. | Declare `frame: { ratio: "16 / 9" }` (a ratio the spatial profile permits) on the recipe whose top-level visual part crops, or use a visual profile with `fit: "contain"`. | `ads://guides/recipes`, `ads://guides/layout` |
184
+ | `construction/extent-row-hugs` | error | An inline row is as wide as its content unless its recipe declares `extent: "container"`; a part can fill only a row that takes its container's width. | Declare `extent: "container"` on the row's recipe so it takes its container's width, or remove the part's `extent`. | `ads://guides/recipes`, `ads://guides/layout` |
185
+ | `construction/layered-parts-missing` | error | A layered arrangement stacks at least two declared parts in one area. | Declare each layer as a part of the layered element, or use another layout. | `ads://guides/recipes`, `ads://guides/layout` |
186
+ | `construction/measured-placement-missing` | error | A popover with `placement: "measured"` is anchored by the owner: its root declares at least one measured inset or `translate`. | Declare the measured position on the recipe root (`measured: { x: { type: "length", property: "inset-inline-start" }, y: { … "inset-block-start" } }`), or pin the popover to a viewport `corner`. | `ads://guides/recipes` |
187
+ | `construction/parts-visual-repeated` | error | A construction declares at most one visual part. | Declare a single visual part. | `ads://guides/recipes` |
188
+ | `construction/reserve-without-text` | error | `reserveLines` reserves lines of the part's own text profile, so the part has one. | Make the part a text part (with a text slot or `text` profile), or remove `reserveLines`. | `ads://guides/recipes` |
189
+ | `construction/snap-without-scroll` | error | Scroll snap is declared by the arrangement of the element that scrolls on the snap axis (`overflow: "scroll-inline"` for inline, `"scroll-block"` for block, `"scroll-both"` for both); its children, which it places, snap. Elsewhere it has no effect. | Make the element scroll on the snap axis with `overflow` (`scroll-inline`, `scroll-block` or `scroll-both`), or move `snap` to the arrangement of the element that scrolls. | `ads://guides/recipes`, `ads://guides/layout` |
190
+ | `review/measured-unused` | review | A measured value the recipe declares is written by the owner (`recipe.measured.set`): an unused declaration is a stale permission. | Set it with `recipe.measured.set(element, { … })` where the owner measures it, or remove the declaration. | `ads://guides/recipes` |
191
+ | `review/paint-unused` | review | A runtime paint the recipe declares is written by the owner (`recipe.paints.set`): an unused declaration is a stale permission. | Set it with `recipe.paints.set(element, { … })` where the owner reads its data, or remove the declaration. | `ads://guides/recipes` |
192
+ | `source/align-rows-mismatch` | error | A grid aligns only the rows a public component exposes, in the order it exposes them. | Align only the rows the component exposes, in its order, or expose the rows from the component. | `ads://guides/layout` |
193
+ | `source/artwork-mismatch` | error | A visual part renders the drawing its binding selects. | Render the drawing selected by the binding; do not swap in another asset or literal markup. | `ads://guides/branding`, `ads://guides/pictograms` |
194
+ | `source/artwork-source-undeclared` | error | Inline artwork renders its bound drawing's SVG through a single `dangerouslySetInnerHTML.__html`. | Render the bound drawing's SVG text with a single `__html` property on the visual part. | `ads://guides/branding`, `ads://guides/pictograms` |
195
+ | `source/cell-missing-or-repeated` | error | Each declared grid cell renders exactly once. | Render each declared grid cell exactly once. | `ads://guides/layout` |
196
+ | `source/data-theme-mismatch` | error | An element's data-theme matches the theme its construction declares. | Set data-theme to the theme the construction declares. | `ads://guides/tokens` |
197
+ | `source/glyph-source-form` | error | A set-bound part renders `dangerouslySetInnerHTML={{ __html: recipe.assets.<part>.source[name] }}`; a reference-bound part renders `{{ __html: glyph.source }}` of the glyph reference it receives. | Render the bound drawing in that exact form; select nothing else with the name or the reference. | `ads://guides/pictograms` |
198
+ | `source/grid-container-missing` | error | A grid in container context (`context: "container"`) responds to the nearest `ads-region` size container, so an owned ancestor in the same owner starts one: a region framed `container: "region"` (a container is element-owned, never a cell's). Without one its tier rules never match and only the smallest tier applies, wherever the component is placed. | Frame an owned ancestor of the grid with `frame: { container: "region" }` (a wrapper whose width is the region the grid should follow), or use `context: "viewport"`. A container a consumer renders around the component, or one inside a public component it is passed to, does not count. | `ads://guides/recipes`, `ads://guides/layout` |
199
+ | `source/intrinsic-alt-missing` | error | Every image states its text alternative; decorative images state it as empty. | Set `alt` to the text alternative, or `alt=""` when the image is decorative. | `ads://guides/branding`, `ads://guides/accessibility` |
200
+ | `source/intrinsic-image-count` | error | An image visual part contains exactly one <img>. | Render exactly one <img> child in the part. | `ads://guides/branding` |
201
+ | `source/intrinsic-src-missing` | error | The image of a visual part takes its src from the bound asset. | Set `src` from the bound asset. | `ads://guides/branding` |
202
+ | `source/layer-element-mismatch` | error | A top-layer root renders the element its layer variant opens: a modal sheet is a `<dialog>`, an anchored popover carries the declared `popover` attribute value. | Render the recipe's root on a `<dialog>` (modal sheet) or give it the declared `popover` attribute (anchored popover). | `ads://guides/recipes` |
203
+ | `source/layer-in-grid-cell` | error | A top-layer root is not a grid cell: whenever it is open it leaves the grid for the top layer. | Render the layer root as an uncelled child (or outside the grid), and keep an in-track alternative as its own cell. | `ads://guides/recipes`, `ads://guides/layout` |
204
+ | `source/markers-shared` | error | One element carries one part or cell marker; distinct markers are lowered as distinct elements. | Use one element per declared part or cell; wrap to separate them. | `ads://guides/recipes`, `ads://guides/layout` |
205
+ | `source/part-element-mismatch` | error | A region or part that declares a native element renders that element (an input of the declared type), and a vector part is an SVG shape directly under an owned `<svg>`. | Render the declared element for this part, or declare the element it actually renders. | `ads://guides/recipes` |
206
+ | `source/part-missing-or-repeated` | error | Each declared part renders exactly once per choice; optional parts are declared as not required. | Render the part exactly once per choice, or mark it as not required in the spec. | `ads://guides/recipes` |
207
+ | `source/part-selector-unresolved` | error | Every declared part is rendered by an element carrying the part's marker. | Mark the element that renders the part with the part's declared selector. | `ads://guides/recipes`, `ads://guides/contracts` |
208
+ | `source/placement-repeated` | error | An element has at most one placement. | Give each element exactly one placement; combine positions into one placement value. | `ads://guides/layout` |
209
+ | `source/placement-without-root` | error | A placement positions a styled root; an element with a placement also carries its own recipe styling. | Add the element's recipe output beside its placement, or move the placement to the styled root. | `ads://guides/layout` |
210
+ | `source/pseudo-host-unsupported` | error | A part treats only pseudo-elements its element has: `::placeholder` belongs to `<input>` and `<textarea>`. | Move the pseudo treatment to the part that renders the input or textarea, or render that element for this part. | `ads://guides/recipes` |
211
+ | `source/summary-outside-details` | error | A declared summary is the first child of a `<details>` element: elsewhere it has no disclosure semantics. | Render the summary inside the owner's `<details>`, or declare another element. | `ads://guides/recipes`, `ads://guides/accessibility` |
212
+ | `source/visual-binding-count` | error | A construction has one visual part, and it binds exactly one declared asset. | Bind exactly one declared asset to the visual part. | `ads://guides/branding`, `ads://guides/pictograms` |
213
+
214
+ ## accessibility-semantics
215
+
216
+ Owned markup or motion lacks required accessible semantics: a text alternative, an accessible name, keyboard access or reduced motion. Add the missing semantics in the owning component (alt, aria-label, a native control, a reduced-motion value); do not suppress the check.
217
+
218
+ | Rule | Severity | What it requires | Repair | Guides |
219
+ | --- | --- | --- | --- | --- |
220
+ | `check/a11y-icon-label` | error | A control whose only content is artwork has an accessible name through aria-label, aria-labelledby or title (WCAG 2.2 4.1.2), exact over the owner's reachable choices: in every choice where a control construction renders no text part, its root has a non-empty one of them. | Add aria-label naming the action to the control's root in the choices that render only artwork. | `ads://guides/accessibility` |
221
+ | `check/a11y-image-alt` | error | Every <img> an owner renders has an alt attribute: meaningful text, or alt="" when decorative (WCAG 2.2 1.1.1). | Add alt text to the <img>, or alt="" if it is purely decorative. | `ads://guides/accessibility` |
222
+ | `check/a11y-keyboard` | review | An onClick on a non-interactive element (div, span, li, img and similar) without role and tabIndex cannot be reached or used from the keyboard (WCAG 2.2 2.1.1), unless a delegated or wrapping control handles it. Composite-widget items and backdrops whose handler reads currentTarget are exempt. | Use a <button> for the action, or add role, tabIndex and a key handler to the element. | `ads://guides/accessibility` |
223
+ | `check/component-contrast` | error | Text meets WCAG 2.2 AA (4.5:1, or 3:1 where its text profile is provably large) against the backdrop it is rendered on: the nearest opaque background of the elements and owners around it, across files, with translucent backgrounds and known gradients composited, in every theme, brand and condition context. A public component is also placed by applications on the document surface foundation.ads.ts declares. | Choose a surface for the text whose colour contrasts with the surface it is rendered on, render the component on another surface, use large text where 3:1 suffices, or adjust the token in the named context. | `ads://guides/accessibility`, `ads://guides/tokens` |
224
+ | `check/surface-contrast` | error | A surface profile that sets both color and background meets WCAG 2.2 AA for text, 4.5:1, in every context (theme, brand, brand under theme and condition); its background-image gradient stops count as backgrounds. A profile does not say whether its colour paints only non-text UI, so 3:1 is never assumed. | Adjust the colour or background token's value in the named context (or point the profile at a pair that contrasts), keeping the pair at 4.5:1 or more. | `ads://guides/accessibility`, `ads://guides/tokens` |
225
+ | `construction/accessibility-declaration-unmet` | error | An `accessibility` declaration is verified where ADS can: `"boundary-on-interaction"` needs a hover treatment of the control part whose border, drawn at the frame's width, reaches 3:1 against the surroundings in every context (the focus outline is held to 3:1 as always); `"visible-label"` needs a programmatically associated, rendered label (checked by the render audit). | Make the declared identification real (a hover border at 3:1, a visible associated label), or remove the declaration and give the control a 3:1 boundary or fill. | `ads://guides/recipes`, `ads://guides/accessibility` |
226
+ | `construction/inactive-surface-active` | error | A surface profile declaring `state: "inactive"` paints a disabled control: it has no contrast minimum (WCAG 2.2 1.4.3 exempts inactive components), so a construction selects it only under an inactive owner state (`:disabled`, `[aria-disabled="true"]`), never at rest or under another state. | Select it under `&:disabled` or `&[aria-disabled="true"]`, or use a surface without `state: "inactive"` (which is held to the contrast minimum). | `ads://guides/recipes`, `ads://guides/accessibility` |
227
+ | `construction/non-text-contrast-insufficient` | error | A control part inside a known surface keeps its boundary and focus visible (WCAG 2.2 1.4.11): where its own background does not reach 3:1 against the enclosing background, its border colour (base and each owner state) does; its focus outline colour reaches 3:1 against what it sits on (the enclosing background outside the box, its own inside), in every theme, brand and condition. | Choose a border or focus colour token that reaches 3:1 against the surrounding background in that context, or give the control a background that does. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
228
+ | `construction/paint-contrast-insufficient` | error | Every declared value of a runtime paint keeps its contrast against the background the construction knows, in every theme, brand and owner state: a `color` paint 4.5:1 (3:1 for provably large text, WCAG 2.2 1.4.3); a `fill`, `stroke` or `border-color` paint, and a `background-color` paint against its enclosing background, 3:1 (1.4.11); text on a painted background its text minimum. The set is finite, so one failing value fails whichever value data selects. | Adjust that token's value in the failing context, remove it from the paint's values, or place the element on a background it contrasts with. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
229
+ | `construction/placeholder-contrast-insufficient` | error | Placeholder text has at least 4.5:1 contrast against its part's background in every theme, brand and state (WCAG 1.4.3). | Choose a placeholder surface whose colour token contrasts enough with the part's background in that context, or adjust the token's value there. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
230
+ | `construction/state-contrast-insufficient` | error | An element's owner states keep its text readable: where a state's colour meets a background from another surface profile (a colour-only state over the base fill, a state fill under the base colour), the pair has at least 4.5:1 contrast in every theme, brand and condition, or 3:1 where the element's text profile makes its text large there (at least 24px, or 18.66px at weight 700); a state that holds only while the element is inactive (:disabled, [aria-disabled="true"]) has no minimum (WCAG 2.2 1.4.3). | Treat the state with a surface that sets both its colour and background, or choose colour and background tokens that contrast in that context. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
231
+ | `construction/target-area-overlap` | error | The enlarged hit areas of neighbouring targets in a stack or inline arrangement do not overlap across their gap in any context: a press there would reach two targets (WCAG 2.2 2.5.8). | Widen the arrangement's gap to at least the hit areas' reach beyond the two boxes, or reduce the min-target sizes. | `ads://guides/recipes`, `ads://guides/accessibility` |
232
+ | `construction/target-size-below-minimum` | error | Every control construction and `frame: "control"` part is a pointer target of at least 24 × 24 CSS px in every theme, brand and condition (WCAG 2.2 2.5.8), computed from its lowered box: min block = max(min-block-size, content + 2 (inset + border)), inline = 2 (padding-inline + border) + content; an enlarged hit area (min-target-inline-size, min-target-block-size) counts. Relative lengths are evaluated at the 16px reference root. | Raise the frame profile's min-block-size, padding-inline or the visual size in that context, or give the frame a min-target-inline-size / min-target-block-size hit area of at least 24px. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
233
+ | `review/accessibility-declaration-unnecessary` | review | An `accessibility` declaration covers a control that cannot pass 3:1; on a control whose boundary or fill already passes it is stale. | Remove the declaration. | `ads://guides/recipes`, `ads://guides/accessibility` |
234
+ | `review/autocomplete-missing` | review | A text control whose name, id or type says what it collects states its autofill token (`autoComplete`, WCAG 1.3.5), so autofill and password managers fill it correctly; `autoComplete="off"` states that it must not be filled. ADS suggests the token from the literal attribute values, a heuristic. | Set `autoComplete` to the field's HTML autofill token (the message suggests one), or `"off"` when it must not be filled; on a public component, pass it through its `autoComplete` prop. Ignore this note when the suggestion is wrong. | `ads://guides/forms`, `ads://guides/accessibility` |
235
+ | `review/boundary-identified-otherwise` | review | A text-entry control whose boundary is below 3:1 (WCAG 1.4.11) passes only with a human-approved `accessibility` declaration saying how it is identified otherwise; every such control is listed on every run, never silently. | Keep it only if a person approved it and the design still matches the reason. Otherwise make the control pass (a 3:1 fill, or one 3:1 border side such as a soft field's underline) and remove the declaration. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/forms` |
236
+ | `review/click-without-keyboard` | review | An `onClick` on a non-interactive element (div, span, li, img and similar) without a role and `tabIndex` cannot be reached or used from the keyboard (WCAG 2.2 2.1.1), unless a delegated or wrapping control handles it. Items of composite widgets (option, menuitem, tab, row, gridcell, …) and backdrops whose handler reads `currentTarget` are exempt. | Use a <button> for the action, or give the element a role, tabIndex and a key handler; when a wrapping control already handles it, leave it. | `ads://guides/accessibility` |
237
+ | `review/marker-none-unlabelled` | review | A summary without its disclosure marker shows its open state another way: artwork that changes with the owner's open state. | Render a chevron (a visual part or a public Icon) chosen by the controlled open state, or keep the native marker. | `ads://guides/recipes`, `ads://guides/accessibility` |
238
+ | `review/non-text-contrast-unresolved` | review | A control part's border and focus contrast against its surroundings is proven from tokens; a translucent background, an unresolved colour or an offset ADS cannot evaluate is reviewed, never passed. | Check the rendered boundary and focus indicator by hand (ads audit), or use opaque colour tokens for the control and its surroundings. | `ads://guides/recipes`, `ads://guides/accessibility` |
239
+ | `review/paint-contrast-unresolved` | review | A runtime paint's contrast over its declared values is proven from tokens against the background the construction knows; an element painting on its parent's background, a translucent background or an unresolved colour is reviewed, never passed. | Give the element (or the root it sits in) a surface with an opaque background colour token, or check the rendered paints in every context by hand (ads audit). | `ads://guides/recipes`, `ads://guides/accessibility` |
240
+ | `review/scroll-unreachable` | review | A scroll container is reachable by keyboard: it or content inside it is focusable. Some browsers (Safari) do not focus a scroller on their own. | Give the scroll container `tabIndex={0}` and an accessible name when its content holds nothing focusable; ignore this note when public components inside it are focusable. | `ads://guides/recipes`, `ads://guides/accessibility` |
241
+ | `review/state-contrast-unresolved` | review | An element's owner states pair colours and backgrounds whose contrast ADS proves from tokens; a translucent or unresolvable pair is reviewed, never passed. | Check the state's rendered contrast by hand (ads audit), or give the state an opaque surface that sets both colour and background. | `ads://guides/recipes`, `ads://guides/accessibility` |
242
+ | `review/touch-action-unhandled` | review | `touchAction: "none"` hands every touch gesture on the element to the owner: its markup handles pointer or touch events (`onPointerDown`, `onTouchStart`, …), or the element cannot be scrolled, zoomed or used on a touch screen. | Handle the gesture on the element (`onPointerDown` with `setPointerCapture`, then `onPointerMove`/`onPointerUp`), use `pan-x` or `pan-y` to keep scrolling on the other axis, or remove `touchAction`; ignore this note when a declared behaviour library attaches the listeners. | `ads://guides/recipes`, `ads://guides/accessibility` |
243
+ | `review/truncated-text-unnamed` | review | Truncated or clamped text keeps its full text available to sighted readers: a `title` with the same text, an expand control or the full content elsewhere (assistive technology reads the full text already). Analysis sees only a `title`. | Set `title` on the truncated element to its full text; when an expand control or the full content elsewhere shows it, the note can be dismissed after review. | `ads://guides/recipes`, `ads://guides/accessibility` |
244
+ | `review/user-select-text` | review | `userSelect: "none"` belongs on handles and grips, which show no text: on an element that shows text (a text part or treatment, or text parts inside it) users cannot select or copy that text. | Move `userSelect: "none"` to the handle or grip part that starts the drag, or remove it; ignore this note when the text is a label of the handle itself. | `ads://guides/recipes`, `ads://guides/accessibility` |
245
+ | `source/clamp-on-control` | error | A clamp (`lines`) cuts text off for sighted readers: never on a control or a form label (a button, label, legend, summary, select, option or text field) or on text inside one, whose text says what the control does. | Let the control's text wrap (remove `lines` and `wrap: "truncate"`), shorten the text, or clamp a description outside the control. | `ads://guides/recipes`, `ads://guides/accessibility` |
246
+ | `source/control-name-missing` | error | A control without a text part in some reachable choice is named on its root by a non-empty `aria-label`, `aria-labelledby` or `title` in that choice (WCAG 2.2 4.1.2). Application text counts as a name, as it counts as content in a text part. | Set `aria-label` (or `aria-labelledby`) on the control's root to its name in every choice that renders only artwork, for example from the label prop the visible text would show. | `ads://guides/recipes`, `ads://guides/accessibility` |
247
+ | `source/form-state-colour-only` | error | A field's error state (`[data-user-invalid]`, `[data-invalid]`, `[aria-invalid="true"]`) and its autofill state (`[data-autofill]`) are not shown by colour alone (WCAG 1.4.1): some element's treatment under the state adds a cue that is not a hue: an edge or ring (`boxShadow`), a pattern (`backgroundImage`) or a border that appears (`borderStyle: "solid"`). | Give the state's surface a ring or edge (`boxShadow` with an inset ring token, such as the starter's `--shadow-invalid`) on the control, or another non-hue cue; colour changes may stay beside it. | `ads://guides/forms`, `ads://guides/recipes`, `ads://guides/accessibility` |
248
+ | `source/image-alt-missing` | error | Every `<img>` an owner renders states its text alternative (WCAG 2.2 1.1.1): content media and any other image, as artwork images do; decorative images state it as empty. | Set `alt` to the text alternative (for content media, a prop the caller fills), or `alt=""` when the image is decorative. | `ads://guides/accessibility` |
249
+ | `source/layer-name-missing` | error | A dialog, and a popover with `role="dialog"`, has an accessible name from `aria-label` or `aria-labelledby`. | Label the layer root with `aria-labelledby` (its visible title's id) or `aria-label`. | `ads://guides/recipes`, `ads://guides/accessibility` |
250
+ | `source/layer-open-attribute` | error | A modal sheet is opened with `showModal()`, never rendered with `open`: an `open` attribute gives a non-modal dialog and a server render the client cannot make modal. | Render the dialog closed and open it with `showModal()` from an effect or handler; mirror the native state in owner state. | `ads://guides/recipes`, `ads://guides/accessibility` |
251
+ | `source/pointer-transparent-interactive` | error | `pointerEvents: "none"` is for decorative overlays: never on a focusable element, and only on markup hidden from assistive technology (`aria-hidden`) or free of interactive content. | Remove `pointerEvents` from the interactive element, or move it to a decorative `aria-hidden` overlay. | `ads://guides/recipes`, `ads://guides/accessibility` |
252
+ | `source/pressed-state-mismatch` | error | A toggle's state is exposed as drawn (WCAG 2.2 4.1.2): where a choice pairs `aria-pressed` with artwork that declares a `selected` state, a pressed toggle draws the selected drawing and an unpressed one does not. | Pair the choice's aria-pressed with the drawing that shows it: the selected state when pressed, another state when not. | `ads://guides/accessibility`, `ads://guides/pictograms` |
253
+
254
+ ## project-files
255
+
256
+ A required project file or declaration is missing, empty, undocumented or unused. Add or complete the file the rule names (README, license, theme or brand values), or remove what nothing uses.
257
+
258
+ | Rule | Severity | What it requires | Repair | Guides |
259
+ | --- | --- | --- | --- | --- |
260
+ | `check/asset-unused` | error | A design system declares only artwork it uses, like code: every asset is bound by an owner (by name, or as a member of a bound glyph set), exported through a glyph reference (`glyph()` in an emitted module) or drawn as the application icon (foundation({ appIcon }), its maskable drawing and its exports), and every glyph set is bound by an owner. | Bind the asset in an owner's recipe or export a glyph reference for it from the public barrel; otherwise delete its declaration and drawings. | `ads://guides/pictograms`, `ads://guides/branding` |
261
+ | `check/brand-undefined` | error | Every non-default brand foundation.ads.ts declares sets at least one token value under [data-brand="<name>"]. | Give the brand token values under :root[data-brand="<name>"] in a token sheet, or remove it from foundation.ads.ts brands. | `ads://guides/tokens`, `ads://guides/branding` |
262
+ | `check/font-unused` | review | A declared font is used where a font-family role token names it first (in some context), and each face of a used family is one a text profile selects: its weight in some context, in style normal. Faces covering 400 or 700, and italic faces, count as used, since browsers draw plain, bold and emphasized text with them. | Name the family first in a font-family token, or select the face's weight from a text profile; otherwise remove the declaration or the face and its file, so nothing downloads it. | `ads://guides/performance`, `ads://guides/tokens` |
263
+ | `check/theme-undefined` | error | Every non-default theme foundation.ads.ts declares is defined: a token sheet sets values under [data-theme="<name>"], or an asset variant draws it. | Give the theme token values under :root[data-theme="<name>"] in a token sheet (or an asset variant with theme "<name>"), or remove it from foundation.ads.ts themes. | `ads://guides/tokens` |
264
+ | `contexts/declaration-missing` | error | A design system declares its foundation, themes and brands included, in foundation.ads.ts. | Add foundation.ads.ts. Declare themes ({ name, scheme: "light" \| "dark" }) and brands ({ name }) in foundation.ads.ts's foundation({ ... }); the first of each is the default (the :root values). | `ads://guides/tokens` |
265
+
266
+ ## wrong-value
267
+
268
+ A value has the wrong kind, role or range for where it is used. Choose one of the allowed values the error lists.
269
+
270
+ | Rule | Severity | What it requires | Repair | Guides |
271
+ | --- | --- | --- | --- | --- |
272
+ | `assets/set-member-paint` | error | Glyph set members are foreground artwork (paint "foreground"): the owner's text colour paints every member alike. | Bind slot or intrinsic artwork by name in its own recipe; keep the set to foreground glyphs. | `ads://guides/pictograms` |
273
+ | `check/a11y-focus` | error | Focus stays visible (WCAG 2.2 2.4.7, 1.4.11). Every focus profile's width resolves to at least 2 CSS px in every context (theme, brand, brand under theme and condition; relative widths at the 16px reference root), and the document's default indicator (foundation({ focus }), which foundation.css paints on every :focus-visible element a construction does not style) has 3:1 contrast with the document surface's background in every context. | Raise the focus profile's width token to 2px or more, or choose a focus colour token that reaches 3:1 on the document surface in the named context. | `ads://guides/accessibility` |
274
+ | `check/a11y-target-size` | error | Pointer targets are at least 24 × 24 CSS px (WCAG 2.2 2.5.8): every control construction and every frame: "control" part, computed from its lowered box in every theme, brand and condition (relative lengths at the 16px reference root), its enlarged hit area included; neighbouring hit areas in a stack or inline arrangement do not overlap. | Raise the frame profile's min-block-size, padding-inline or visual size in that context, or declare a min-target-inline-size / min-target-block-size hit area of at least 24px; widen the gap between overlapping hit areas. | `ads://guides/accessibility` |
275
+ | `check/a11y-text-resize` | error | Text follows the reader's font size (WCAG 2.2 1.4.4): every font-size token, and every line-height token that is a length, resolves in every context to rem or em (or a calc(), min(), max() or clamp() containing them); a unitless line-height multiplier already scales. | Rewrite the named token in rem (px / 16) or em; for a line height, a unitless multiplier also works. | `ads://guides/accessibility` |
276
+ | `check/app-icon-asset` | error | The asset foundation({ appIcon }) names is declared, has paint "intrinsic" (browsers, launchers and app stores cannot read CSS variables), is one scalable drawing and has a square viewBox; appIcon.background is a paint-role token that resolves to an opaque colour in the default theme and brand. | Name a declared intrinsic asset with a square viewBox (centre the artwork in it), and give background an opaque paint token. | `ads://guides/branding`, `ads://guides/pictograms` |
277
+ | `check/app-icon-export` | error | Each appIcon export writes an .svg copy, a .png (size, or width and height), an .ico (sizes up to 256) or an .icns (sizes 16, 32, 64, 128, 256, 512, 1024) of a declared intrinsic asset, at a path inside the output folder that ADS does not write itself and no other export writes; sizes are 16–2048 px, and a background is an opaque paint-role token. | Fix the entry's file, sizing, asset or background as the message says. | `ads://guides/branding`, `ads://guides/pictograms` |
278
+ | `check/app-icon-maskable` | error | A maskable icon survives a launcher's crop: a padded master (maskable.padding, 0–0.4) has a background to fill its corners and draws only inside the safe zone, the central circle of 80% of the icon's width (W3C Web App Manifest); a separate maskable drawing (maskable.asset) is a declared intrinsic, square asset, opaque to its edges. | Increase maskable.padding and add appIcon.background, or declare a full-bleed drawing for maskable.asset. | `ads://guides/branding`, `ads://guides/pictograms` |
279
+ | `check/behavior-contract-check` | error | Each check names a spec of its owner (a development-only test file in the owner's folder), a case tagged `@ads:<case>` in one of its test titles, a built-in profile (unit, browser, or strict for React) and, optionally, a registered scenario; ADS runs every check itself, with no project command. | Fix the check field the finding names: the owner's spec file, a tagged case, a built-in profile name (unit, browser, strict) or a scenario id. | `ads://guides/behaviors` |
280
+ | `check/font-budget` | error | Every font file a font() declaration lists stays within assets.fontBudgetKb (default 150 KB, rounded up to whole KiB): a heavier file delays the text that waits for it. | Use WOFF2 and subset the face to the script the page uses (other scripts in their own faces), or raise assets.fontBudgetKb in ds.config.json. | `ads://guides/performance` |
281
+ | `check/font-display` | review | A font's display keeps text visible and consistent while it loads: "block" hides text until the face arrives, and "optional" lets the browser keep the fallback per file, so one page can mix the face and the fallback. | Use display "swap" (or "fallback") unless the page deliberately trades the face for speed. | `ads://guides/performance` |
282
+ | `check/font-format` | review | Font files are WOFF2, the smallest format every current browser reads; WOFF, TrueType and OpenType files are reviewed. | Convert the file to WOFF2 and point the face's source at it. | `ads://guides/performance` |
283
+ | `check/font-weight-missing` | error | A text profile whose font-family token names a declared font first draws only weights that font has: in every context, some upright face covers the profile's font-weight (a range covers what it spans). The document text profile without a weight draws at 400. | Add a face for the weight (or a variable face whose weight range spans it), or point the profile's font-weight at a weight the font has. | `ads://guides/performance`, `ads://guides/tokens` |
284
+ | `check/mutation-batch` | error | A transaction contains 2 to the unit limit of distinct owner patches without a top-level unit/patch, one patch per unit, each owner giving files or a patch but not both, and at most the file limit of distinct files. | Combine each owner's changes into one entry, list each file once, and split oversized changes into separate drafts. | `ads://guides/drafts` |
285
+ | `check/mutation-content` | error | Each proposed file stays within the 16 MiB mutation size limit, and text source and documentation are valid UTF-8 without NUL bytes. | Shrink or split the file, or re-encode the text as UTF-8 without NUL bytes. | `ads://guides/drafts` |
286
+ | `check/mutation-range` | error | A bounded file read uses a non-negative character offset within the file and a limit between 1 and 12000. | Pass an offset no larger than the file length (follow nextOffset) and a limit from 1 to 12000. | `ads://guides/drafts` |
287
+ | `check/owner-analysis` | error | The design system passes owner analysis: its design inputs (role token sheets, profiles, asset declarations) read, every owner its public barrel reaches type-checks, analyzes, lowers and compiles, and every owner's token CSS resolves. | Fix the failure the finding's code names at the reported position; its message carries that code's repair hint. | `ads://guides/recipes`, `ads://guides/tokens` |
288
+ | `check/project-check` | error | acceptance.scripts and validation.scripts name existing package.json scripts, run through a declared npm or bun packageManager, and never call ads validate recursively. | Correct the script names in ds.config.json, declare packageManager as npm or bun, and list only leaf scripts that do not run ads validate. | `ads://guides/validation` |
289
+ | `check/scenario-covers-role` | error | covers names rendered UI only: a public behavioral API (a hook, controller, context provider or other callable) belongs in exercises. | Move the behavioral API from covers to exercises. | `ads://guides/scenarios`, `ads://guides/behaviors` |
290
+ | `check/scenario-field` | error | A scenario uses only the known fields (id, title, description, covers, exercises, frame, states, specimens, captureTargets), with a nonempty title, exercises as an array, frame from its closed list and states as at most 12 uniquely named prop sets. | Fix or remove the metadata field the `entry` detail names, using its documented static form. | `ads://guides/scenarios`, `ads://guides/captures` |
291
+ | `check/spatial-context-unsupported` | error | A spatial profile's breakpoint widths, column counts and named condition bounds are compiled into media queries and track lists, so they hold one value: no theme, brand or condition context may give such a token another value than the base context. | Keep the token's base value in every context (move the override to a token the grid reads live: a margin, gutter, maximum width or fixed track), or declare another spatial profile for the other grid. | `ads://guides/layout`, `ads://guides/tokens` |
292
+ | `check/spatial-profile-invalid` | error | Every declared spatial profile, selected by an owner or not, reads through the grid algebra: its units, scale, ratios, maximum width, breakpoints, margins and gutters are valid in the base context and in every theme, brand and condition context that changes a token it reads. | Fix the profile field or token value the message names (in the named context), or delete a profile nothing needs. | `ads://guides/layout`, `ads://guides/tokens` |
293
+ | `check/svg-attribute` | error | SVG that Preact renders spells presentation attributes as SVG names them (stroke-width), not React-style camelCase (strokeWidth): Preact sets an attribute under the name it is given, so a camelCase one styles nothing. | Rename the attribute to its hyphenated SVG form. | `ads://guides/runtimes` |
294
+ | `check/token-provenance` | error | Every authored token reference obeys the one-way role routes and its operation or composite position: a matching CSS type alone does not authorize a derivation. A token's own numeric value is role-checked inside any function; a colour, shadow or gradient reads references only in the forms ADS lists, because the position decides the role there. | Use a token of the position's permitted role, derive a named geometric decision from spacing, or author a shared literal in its role sheet. Use ads-half-border() only for a border-derived grid gutter; keep line-height independent of font-size. Inside a colour, shadow or gradient use a listed form; one ADS does not list is added by an ADS release, not worked around. | `ads://guides/tokens` |
295
+ | `check/token-type` | error | Every token resolves, in every context (the base, each theme, each brand, each brand under each theme, and under each condition), to a value of its role sheet's shape (paint is a color, spacing a nonnegative length, duration a nonnegative time, …). | Give the token (or the alias it resolves through) a value of its role's shape in the named context, or move it to the sheet of the role it really is. | `ads://guides/tokens` |
296
+ | `construction/backdrop-surface-unsupported` | error | A modal sheet's backdrop surface sets exactly one field, its background paint. | Paint the backdrop with a background-only surface profile (a scrim). | `ads://guides/recipes` |
297
+ | `construction/drawn-height-below-minimum` | error | Artwork is never drawn below the minimum height its asset declares. | Increase the size token used for the artwork, or choose an asset whose minimum fits. | `ads://guides/branding`, `ads://guides/pictograms` |
298
+ | `construction/grid-context-invalid` | error | A grid's algebra holds in every theme, brand and condition context, like contrast and target size: a context that changes a margin, gutter, maximum width or fixed track the grid reads must still leave content width, fluid space and cells wider than their gutter insets at every breakpoint. | Change the named context's token value so the grid fits there too, or the grid's columns, bound or placement. | `ads://guides/layout`, `ads://guides/tokens` |
299
+ | `construction/layer-clearance-unbounded` | error | A layer clears a block-start region by a fixed length: `clear-block-start` resolves to a px, rem or em layout size. | Give the cleared region a fixed block size token and clear by it, or declare `clear: "none"` and let the panel cover that region. | `ads://guides/recipes`, `ads://guides/tokens` |
300
+ | `construction/paint-transition-redundant` | error | A paint transition names only channels that change: each differs between the element's base surface and at least one of its state surfaces. | Remove the channel from `paintTransition.channels`, or give a state surface a different value for it. | `ads://guides/recipes` |
301
+ | `construction/paint-unsupported` | error | Artwork is painted only through channels its asset declares. | Use a paint channel the asset declares, or declare the channel on the asset. | `ads://guides/pictograms`, `ads://guides/contracts` |
302
+ | `construction/paint-value-role` | error | A runtime paint's values (and its fallback) are paint-role tokens: never a raw colour, a URL or a token of another role. | Declare the colour as a token in a `paint.ads.css` sheet (with its theme and brand values) and list that token. | `ads://guides/recipes`, `ads://guides/tokens` |
303
+ | `construction/profile-field-unsupported` | error | A profile field holds a value the construction can lower. | Use a value this construction can lower. | `ads://guides/recipes` |
304
+ | `construction/profile-kind` | error | A construction references a profile of the kind its field requires. | Reference a profile of the required kind. | `ads://guides/recipes` |
305
+ | `construction/pseudo-surface-unsupported` | error | A pseudo-element surface sets exactly one field, its text colour: backgrounds, borders and effects of a placeholder are not supported. | Treat the pseudo-element with a colour-only surface profile (for example one with just `color`). | `ads://guides/recipes` |
306
+ | `construction/spatial-bound-unit` | error | A breakpoint or named condition bound is a media or container query bound and is authored in rem or em, which follow the reader's text size; ADS writes it as authored and never converts px. | Write the token in rem (divide the px value by 16). | `ads://guides/layout`, `ads://guides/tokens` |
307
+ | `construction/vector-surface-unsupported` | error | A vector part's surface sets exactly one field, its stroke `color`. | Give the vector part a colour-only surface profile. | `ads://guides/recipes`, `ads://guides/pictograms` |
308
+ | `contexts/declaration-rejected` | error | foundation.ads.ts is one literal foundation() declaration the design language accepts. | Correct the foundation declaration as the message describes. | `ads://guides/tokens`, `ads://guides/recipes` |
309
+ | `contexts/list-invalid` | error | foundation() declares 1–8 themes, each { name, scheme } with a unique lowercase name and scheme "light" or "dark", and optionally up to 8 brands, each { name } with a unique lowercase name; followSystemTheme and sections are `true` or omitted. | Correct the field the message names. Declare themes ({ name, scheme: "light" \| "dark" }) and brands ({ name }) in foundation.ads.ts's foundation({ ... }); the first of each is the default (the :root values). | `ads://guides/tokens`, `ads://guides/branding` |
310
+ | `foundation/declaration-rejected` | error | Foundation declarations stay within the design language; the model's message names the rule. | Correct the declaration as the message describes. | `ads://guides/tokens`, `ads://guides/recipes` |
311
+ | `foundation/document-profile-kind` | error | foundation.ads.ts's text names a text profile, its surface a surface profile and its focus a focus profile: they style the document and its default focus indicator. | Name a profile of the field's kind in foundation({ text, surface, focus }), or declare one with profile({ kind }). | `ads://guides/tokens`, `ads://guides/recipes` |
312
+ | `foundation/profile-rejected` | error | Profiles stay within the design language; the model's message names the rule. | Correct the profile as the message describes. | `ads://guides/recipes` |
313
+ | `foundation/token-role` | error | A profile field references only tokens whose role its kind admits. | Reference a token of an admitted role, or register the token under the right role. | `ads://guides/tokens`, `ads://guides/recipes` |
314
+ | `lowering/motion` | error | Motion is lowered from the motion profile fields the construction binds. | Check the motion profile fields the construction binds; report it if they are valid. | `ads://guides/performance`, `ads://guides/recipes` |
315
+ | `lowering/paint` | error | A visual part binds only the paint channels its slot assets declare. | Check the asset's paint slots and the channels the part binds. | `ads://guides/pictograms`, `ads://guides/contracts` |
316
+ | `registration/definition-out-of-bounds` | error | A token's definition lies within its role's bounds. | Choose a value within the role's range. | `ads://guides/tokens` |
317
+ | `registration/initial-out-of-bounds` | error | A registration's initial value lies within its role's bounds. | Choose an initial value within the role's range. | `ads://guides/tokens` |
318
+ | `registration/not-inherited` | error | Registered design tokens inherit, so themes and brands cascade to descendants. | Set `inherits: true`. | `ads://guides/tokens` |
319
+ | `registration/role-not-registrable` | error | Only tokens of roles with a typed CSS syntax are registered with @property. | Remove the @property registration for this token. | `ads://guides/tokens`, `ads://guides/atomic-styles` |
320
+ | `registration/syntax-outside-role` | error | A registration's syntax is one its token's role admits. | Use the syntax the token's role admits. | `ads://guides/tokens` |
321
+ | `rejection/invalid-design` | error | Declarations stay within the design language the model defines; its message names the rule. | Follow the rule the message names. | `ads://guides/recipes` |
322
+ | `review/balance-on-paragraph` | review | `wrap: "balance"` evens out the line lengths of headings and short titles (browsers balance only a few lines); a paragraph is body text, whose breaks `wrap: "pretty"` improves. Analysis reads the rendered element, not the text's length. | Use `wrap: "pretty"` for body text, or render the heading as a heading element (`<h1>`–`<h6>`); a short title kept in a paragraph can keep balance after review. | `ads://guides/recipes` |
323
+ | `review/context-section-inactive` | review | Without `foundation({ sections: true })` only the document root selects a theme or brand: a `data-theme` or `data-brand` set on design-system markup switches no tokens there (a construction root's data-theme that selects its themed artwork is exempt). | Declare `sections: true` in foundation.ads.ts to make nested theme and brand sections switch tokens, or remove the attribute. | `ads://guides/recipes`, `ads://guides/tokens` |
324
+ | `review/press-scale-large-surface` | review | A press scale is relative: the same factor moves a large element much further than a small one. A container root (`frame: "container"`, a card or tile surface) presses by a surface-class factor of at least 0.98 (about 1–2px per side on a 300px card) in every context, or not at all. | Select a surface-class press profile (factor at least 0.98, such as `press-surface`) through the composite's motion slot, or declare no press scale on the root; ignore this note when a stronger press on this surface is deliberate. | `ads://guides/recipes` |
325
+ | `source/autofill-layout-shift` | error | The autofill state changes paint only: the browser fills while the user reads, so its treatment never moves content. Under `[data-autofill]` no `borderStyle` normalization (a border's width appears or disappears) and no press `scale`; show autofill with a ring (`boxShadow`), which takes no space. | Remove the layout change from the autofill treatment and indicate autofill with a surface whose `boxShadow` draws an inset ring. | `ads://guides/forms`, `ads://guides/recipes` |
326
+ | `source/combine-needs-recipes` | error | combine composes recipes only. | Pass combine only values created by `recipe()`. | `ads://guides/recipes` |
327
+ | `source/frame-exceeds-region` | error | A grid cell's frames fit the region its grid gives it: where the grid algebra bounds the cell at the lower edge of a tier (its span less its gutter insets), the fixed inline size (an `inline-size` its `max-inline-size` does not cap to the region, or a `min-inline-size`) of the cell's own frame, or of a frame deeper inside it less the insets of the owned elements between, is no wider, in every theme, brand and condition context. A tile of a fixed tiling grid is never wider than its tile size. | Span the cell over more tracks at that tier (or widen the tile), give the frame a smaller fixed size or cap it to its region (`max-inline-size` of 100%, `min(100%, …)`), reduce the insets around it, or place it where it fits. | `ads://guides/recipes`, `ads://guides/layout` |
328
+ | `source/glyph-ineligible` | error | A glyph reference carries one foreground drawing: its asset has paint "foreground" and exactly one drawing (no state, size or theme variants). | Bind the asset by name in a recipe (optical, state and themed drawings are selected there), or give it one foreground drawing. | `ads://guides/pictograms` |
329
+ | `source/glyph-set-key` | error | A set binding's drawing is looked up by a key typed as a finite union of the set's names (`typeof set.names[number]`). | Type the key as `typeof set.names[number]` (import the set's declaration with `import type`), or add the names to the set. | `ads://guides/pictograms` |
330
+ | `spec/accessibility-declaration-invalid` | error | A text-entry control's `accessibility` declaration names how it is identified other than by a 3:1 boundary (WCAG 1.4.11) with a closed `boundary` kind, `"visible-label"` or `"boundary-on-interaction"`, and a concrete `reason` of 20–300 characters. Placeholder text, a soft fill below 3:1 and a free-form design choice are not identification. | First make the control pass (a 3:1 fill, or one 3:1 border side such as a soft field's underline). Only with the user's explicit approval, declare a supported boundary kind and a concrete reason. | `ads://guides/recipes`, `ads://guides/accessibility` |
331
+ | `spec/condition-unsupported` | error | A `when` condition selects a state of the owner's root: `&` followed by interaction or form pseudo-classes (:hover, :active, :focus, :focus-visible, :focus-within, :disabled, :enabled, :checked, :indeterminate), `[aria-*]`, `[data-*]` or `[open]` attributes with an optional quoted value, each optionally inside :not(). Pseudo-elements, combinators, classes and other selectors are not states. | Write the condition as owner states only. Style a pseudo-element with the part's `pseudo` treatment (for example `pseudo: { placeholder: { surface } }`), and a child through its own part. | `ads://guides/recipes` |
332
+ | `spec/field-unsupported` | error | A spec uses only the fields its construction kind defines; unknown fields are rejected, never ignored. | Remove the field or move it to the construction kind that supports it. | `ads://guides/recipes` |
333
+ | `spec/value-invalid` | error | Each spec field has a defined value form. | Change the value to the expected form. | `ads://guides/recipes` |
334
+
335
+ ## conflict
336
+
337
+ Two definitions claim the same thing, or a definition depends on itself. Keep exactly one source of truth and remove or derive the other.
338
+
339
+ | Rule | Severity | What it requires | Repair | Guides |
340
+ | --- | --- | --- | --- | --- |
341
+ | `assets/name-duplicate` | error | Asset names, asset aliases and glyph-set names share one namespace: each is declared once in the design system. | Rename one of the declarations, or remove the repeated alias. | `ads://guides/pictograms`, `ads://guides/branding` |
342
+ | `assets/set-alias-conflict` | error | A glyph set's alias does not reuse a global asset name or alias for a different drawing. | Choose another alias, or point it at the asset the global name already means. | `ads://guides/pictograms` |
343
+ | `assets/set-grid-mixed` | error | Glyph set members share one grid: one sizing, and at every size the same viewBox, optical center and minimum drawn height, so the set's construction does not depend on which member is drawn. | Redraw the member on the set's viewBox and optical center, or keep it out of the set and bind it by name. | `ads://guides/pictograms` |
344
+ | `assets/set-member-repeated` | error | A glyph set lists each asset once; an alias of a member is a set alias, not a second member. | Remove the repeated member; add the extra name to the set's aliases instead. | `ads://guides/pictograms` |
345
+ | `check/delete-draft-conflict` | error | ads_delete does not change a file or owner an open draft holds. | Accept or drop the named draft first, then retry the deletion. | `ads://guides/drafts` |
346
+ | `check/delete-referenced` | error | A deletion leaves no surviving reference to a deleted identity in the design inputs: token aliases, composed or bound profiles, glyph-set members, the foundation's document profiles and font-family tokens. References between targets of the same request do not count. | Change the referring declaration first, or name it in the same request; ADS never deletes dependents on its own. | `ads://guides/drafts`, `ads://guides/tokens` |
347
+ | `check/delete-target-duplicate` | error | An ads_delete request names each identity once. | Remove the repeated target from the request. | `ads://guides/drafts` |
348
+ | `check/scenario-identity` | error | Every scenario has one stable identity: a safe id inside its own folder, and no duplicate ids. | Give the scenario an id inside its own folder that no other scenario uses, or omit id to use the identity its path gives it. | `ads://guides/scenarios`, `ads://guides/review` |
349
+ | `check/token-overlap-review` | review | Tokens of one role with identical definitions in every theme, brand and condition scope are reviewed as possible duplicates of one design decision. | If they express the same decision, reuse one token or alias one to the other; otherwise keep both distinct roles. | `ads://guides/tokens` |
350
+ | `check/token-role-duplicate` | error | A token has one role, the file name of its sheet: every declaration of it, its :root default and each theme or brand override, is in that one role sheet. | Move the declaration to the sheet that first declares the token (its role), or rename one of the two tokens if they are different decisions. | `ads://guides/tokens` |
351
+ | `choice/cyclic` | error | A design value is defined from constants, profiles or recipes, never from itself. | Break the cycle: define the value from constants, a profile or a recipe, not from another value that refers back to it. | `ads://guides/recipes` |
352
+ | `construction/condition-hides-required` | error | A required part renders in every choice and every viewport; only an optional part may be hidden under a condition. | Declare the part `required: false`, or keep it visible under the condition. | `ads://guides/recipes` |
353
+ | `construction/element-normalization-conflict` | error | A declared native element's normalization (an iframe's border, a list's markers) is not also set by its frame, surface or text. | Remove that field from the element's frame or surface (an iframe takes no border; frame its wrapper instead). | `ads://guides/recipes` |
354
+ | `construction/extent-conflict` | error | Each property of an element has one provider: fill, scrolling, truncation, reserved lines and a frame never write the same property differently. | Keep one of the two constructs on this element, or move one to a wrapping part (a scrolling container around truncated text, say). | `ads://guides/recipes`, `ads://guides/layout` |
355
+ | `construction/frame-field-conflict` | error | A frame profile sets its insets once: `padding` on every side, or `padding-inline` and `padding-block` per axis, never both. | Keep `padding` for equal insets, or replace it with `paddingInline` and `paddingBlock` for asymmetric ones. | `ads://guides/recipes` |
356
+ | `construction/layer-frame-position` | error | A top-layer root is placed by its layer clause alone: its frame and normalization write no position, inset, margin or z-index. | Remove that field from the root's frame or normalization; the layer clause places the root and resets its margin. | `ads://guides/recipes` |
357
+ | `construction/layer-root-padding` | error | A modal sheet dismissed by a backdrop press has no padding on its root: a press whose target is the dialog itself must lie outside its content. | Move the padding to an owned child of the sheet (a body or bar element with its own frame), or declare `backdrop.dismiss: "none"`. | `ads://guides/recipes` |
358
+ | `construction/measured-profile-conflict` | error | A measured property is not also supplied by the element's profiles: profiles keep owning the frame's sizes, padding, typography and alignment. | Remove the field from the frame profile the element selects (or select one without it), or measure a different property; the profile value can become the measured value's `fallback`. | `ads://guides/recipes` |
359
+ | `construction/paint-profile-conflict` | error | A runtime paint's property is not also supplied by the element's surface treatments (its base surface or an owner state's): profiles keep owning their paints. | Use a surface without that field on the element (a background-only surface under a `color` paint, say), or paint a different property. | `ads://guides/recipes` |
360
+ | `construction/profile-provider-conflict` | error | Each profile field has one provider; input order never picks a winner. | Supply the field once: remove the explicit treatment or the slot provider. | `ads://guides/recipes` |
361
+ | `fonts/family-duplicate` | error | Each font family is declared once in the design system, by one font() declaration; family names compare as CSS compares them (ASCII case-insensitively), and two families never share an emitted folder (fonts/<slug>). | Declare every face of the family in one font() declaration, or rename one family. | `ads://guides/performance` |
362
+ | `foundation/profile-argument-default` | error | A profile's slot reference selects only choices that differ from the referenced profile's defaults: the plain name already selects every default. | Remove the redundant selection (reference the profile by its plain name when no other choice remains). | `ads://guides/recipes` |
363
+ | `foundation/profile-duplicate` | error | Profile names are unique across the foundation. | Give each profile a unique name, or merge the declarations. | `ads://guides/recipes` |
364
+ | `registration/alias-definition` | error | A registered token is defined by a concrete value, not as an alias of another token. | Define it with a concrete value, or remove the registration. | `ads://guides/tokens` |
365
+ | `registration/anonymous-layer` | error | Token CSS uses named layers; each anonymous layer is a distinct layer. | Name the @layer, or remove it. | `ads://guides/tokens`, `ads://guides/atomic-styles` |
366
+ | `registration/definition-mismatch` | error | A registered token's :root definition equals its registered initial value. | Make the :root definition and the @property initial-value equal. | `ads://guides/tokens` |
367
+ | `registration/duplicate` | error | A token is registered once. | Keep one registration. | `ads://guides/tokens` |
368
+ | `registration/not-beside-token` | error | A token is registered in the file that defines it, so the definition and its registration change together. | Move the registration into the file that defines the token. | `ads://guides/tokens` |
369
+ | `rejection/redundant-design-declaration` | error | A declaration states only what its default or input does not already provide. | Remove the declaration. | `ads://guides/recipes` |
370
+ | `source/glyph-grid-mixed` | error | Every asset a reference binding can receive shares one grid (viewBox, optical center and minimum drawn height), so one construction draws them all. | Draw the glyphs on one viewBox with one optical center, or accept them through separate props or owners. | `ads://guides/pictograms` |
371
+ | `source/layer-modal-context` | error | A modal sheet's `modalQuery` is a viewport media query, so the owner's layout swaps at viewport tiers too: no grid of the same owner responds to a container. | Use `context: "viewport"` for the owner's grids, or keep the sheet modal at every size (no `modalBelow`). | `ads://guides/recipes`, `ads://guides/layout` |
372
+ | `source/local-name-collision` | error | Names of the form compiledClassN are reserved for ADS's emitted output. | Rename the local identifier. | `ads://guides/recipes` |
373
+ | `source/recipe-redundant` | error | A recipe states only what its selected profile does not already supply: no explicit selection of a choice's default option, no binding of the profile a composite slot already supplies (by name or an equivalent profile; `{ slot: "text" }` on a text part), no gap that is the arrangement's default content gap, and no `when` state selecting the element's base surface. A declaration is redundant only when it is in every reachable choice. | Remove the declaration and use the profile's default; to change the treatment, select a different option, profile or field. | `ads://guides/recipes` |
374
+ | `token-css/token-cyclic` | error | Token definitions do not refer back to themselves through var(), in the base, any theme, any brand or any brand under a theme; a cycle makes every property in it invalid, so the browser silently uses initial values. | Point one token in the cycle at a value or a token outside it; a var() fallback does not break a cycle. | `ads://guides/tokens` |
375
+
376
+ ## unanalyzable
377
+
378
+ ADS cannot prove the rule holds; the design itself may be fine. Rewrite into a form ADS can follow (literal unions, const records, typed props, JSX) without changing rendered behavior.
379
+
380
+ | Rule | Severity | What it requires | Repair | Guides |
381
+ | --- | --- | --- | --- | --- |
382
+ | `check/a11y-focus-unresolved` | review | A focus profile's width and the default indicator's contrast are proven from tokens; a width ADS cannot evaluate in px (a percentage, a viewport unit, em) or a contrast pair it cannot resolve (a translucent surface, a background image that is not a gradient of known colours) is reviewed, never treated as passing. | Use a px or rem width token and an opaque document background, or check the rendered indicator by hand in the named context. | `ads://guides/accessibility` |
383
+ | `check/a11y-target-size-unresolved` | review | A target's size is proven from tokens in every context; a value ADS cannot evaluate in px, an inline extent that reaches 24px only with its label's width (text is data), or hit-area spacing a label's width decides, is reviewed, never treated as passing. | Size the frame (or its hit area) to 24px without counting the label, or check the rendered target in that context. | `ads://guides/accessibility` |
384
+ | `check/component-contrast-unresolved` | review | Composed text contrast is proven from the owners' facts and tokens: the text's colour and backdrop resolve along its elements and owners. What cannot be (a wrapper component ADS does not analyze, a user-agent colour or fill, an out-of-flow element without its own backdrop, opacity, an image that is not a gradient of known colours, a data-theme subtree, an expression that may be text, an analysis limit) is reviewed, never treated as passing. | Give the element or its renderer an opaque surface whose colour ADS can read, or cover the placement with a scenario so the render audit measures it. | `ads://guides/accessibility` |
385
+ | `check/delete-inputs-unreadable` | error | ads_delete resolves its targets against design inputs that read; a revision whose token sheets, profiles or assets do not read cannot be planned. | Run ads check, fix its first error, then retry the deletion. | `ads://guides/drafts`, `ads://guides/validation` |
386
+ | `check/owner-analysis-review` | review | What owner analysis cannot prove is shown for review, never blocking: a scroll container's keyboard path, a summary without its marker, truncated text's full text. | Read the note's code and repair hint; change the owner when the note applies, otherwise leave it. | `ads://guides/recipes`, `ads://guides/accessibility` |
387
+ | `check/scenario-exercise-review` | review | An exercised API that the mounted code only passes on or reads, without a call ADS can trace, is not shown to run; and one whose type (or what calling it returns) is any, unknown or generic cannot be told apart from rendered UI. ADS never guesses either way. | Call it in a specimen's `render` or a rendered adapter, give it a declared type (a hook's or function's return type, the framework's element type for a component), or verify it in a registered behavior check. | `ads://guides/behaviors` |
388
+ | `check/scenario-metadata` | error | A scenario's exported `scenario` metadata is a static literal ADS can read; until it is, coverage for its owner is not established. | Write `export const scenario = { … }` as a literal (no calls, spreads or computed values). | `ads://guides/scenarios` |
389
+ | `check/surface-contrast-unresolved` | review | A surface profile's text contrast is proven from tokens: its colour and background resolve to colours, the background is opaque, its opacity is 1 and any background image is a gradient of known colours. Otherwise the pair is reviewed, never treated as passing. | Use an opaque background token (and no element opacity) for text surfaces, or check the rendered contrast by hand with in the named context. | `ads://guides/accessibility`, `ads://guides/tokens` |
390
+ | `check/token-type-unresolved` | review | A token's value shape is proven statically in every context; a value ADS cannot read (calc() mixing units for a bounded role, an unknown function, currentColor, a context-only token unavailable here) is reviewed, never treated as checked. A nowhere-declared reference instead has the primary token-css/token-missing error. | Prefer a literal of the role's shape or an alias of one; when the expression is deliberate, check its value by hand in the named context. | `ads://guides/tokens` |
391
+ | `choice/binding-not-immutable` | error | Design is selected from const bindings, component props or the element of a `.map` over a literal array. | Use a const declaration initialized in place, a component prop, or the element of a `.map` over a literal array. | `ads://guides/recipes` |
392
+ | `choice/binding-written` | error | Values that select design are immutable after declaration, so one declaration describes every use. | Declare it with const and derive new values into new bindings instead of reassigning. | `ads://guides/recipes` |
393
+ | `choice/branch-limit` | error | Choice analysis is bounded; a selection must stay small enough to be checked completely. | Replace deep conditional chains with one lookup over a const record keyed by the selecting value. | `ads://guides/recipes` |
394
+ | `choice/construction-limit` | error | An owner lowers a bounded number of distinct constructions. | Collapse equivalent combinations, or move independent variation into separate parts so constructions do not multiply. | `ads://guides/recipes`, `ads://guides/performance` |
395
+ | `choice/domain-not-finite` | error | Design is selected from a finite set of choices ADS can enumerate, so every rendered combination can be checked. | Type the selecting prop or variable as a literal union (or a const record key) so every choice can be enumerated. | `ads://guides/recipes`, `ads://guides/atomic-styles` |
396
+ | `choice/evidence-not-local` | error | Design evidence comes from the owner's source or the design system's own modules. | Bring the value into the owner's source as a const or prop, or import it from the design system's own modules. | `ads://guides/recipes`, `ads://guides/layers` |
397
+ | `choice/key-not-literal` | error | Design records are indexed by literal or finite union-typed keys. | Index design records with a literal union-typed value (for example a variant prop), not an arbitrary string. | `ads://guides/recipes` |
398
+ | `choice/property-unresolved` | error | Design values resolve to literals or const references inside the design system. | Make the property a literal or a const reference ADS can follow within the design system. | `ads://guides/recipes` |
399
+ | `choice/record-escapes` | error | Design records stay local: passing one to a call could mutate it outside analysis. | Pass the selected value, not the record, or freeze the record with `as const` and read it locally. | `ads://guides/recipes` |
400
+ | `choice/record-unsupported` | error | Design records are plain object literals with literal keys, so their values are visible to analysis. | Write design records as plain object literals with literal keys and values; no spreads, getters or computed keys. | `ads://guides/recipes` |
401
+ | `choice/unresolved` | error | Design values resolve to closed values ADS can trace through the source. | Simplify the expression to literals, const records and typed props that ADS can follow. | `ads://guides/recipes` |
402
+ | `choice/work-limit` | error | Choice analysis is bounded; a selection must stay small enough to be checked completely. | Reduce how many independent axes combine in one class expression; split the selection into smaller recipes or parts. | `ads://guides/recipes` |
403
+ | `construction/drawn-height-unevaluable` | error | Artwork size resolves to a fixed length at the reference root, so its minimum drawn height can be checked. | Size the artwork with tokens that resolve to fixed lengths at the reference root. | `ads://guides/branding`, `ads://guides/pictograms` |
404
+ | `construction/placeholder-contrast-unresolved` | error | Placeholder contrast is proven from tokens: the placeholder colour and the part's own background resolve to opaque colours in every theme, brand and state. | Give the part a surface with an opaque background colour token, and a placeholder colour that resolves to a colour token in every context. | `ads://guides/recipes`, `ads://guides/accessibility`, `ads://guides/tokens` |
405
+ | `discovery/export-star` | error | The public barrel names each public owner; `export *` hides which owners are public. | Replace `export *` with named re-exports of each public owner. | `ads://guides/contracts` |
406
+ | `mock/dynamic-dependency` | error | A mock's code is static: no `import()`, `require`, `eval`, `Function` or tagged templates. | Import statically and pass plain values as props. | `ads://guides/scenarios` |
407
+ | `mock/spread-props` | error | A mock passes explicit props: a spread could carry design ADS cannot see. | Pass each prop explicitly. | `ads://guides/scenarios` |
408
+ | `review/frame-region-unresolved` | review | A grid cell's or tile's fixed-size frames are proven to fit their region from the grid algebra; where it cannot bound the region (inherited tracks, a placement outside a named condition above its bound, a tile narrower than its tile size, a public component in the way) or a size or inset is not a length ADS evaluates, the frame is reviewed, never passed. A public component placed as a cell or tile is reviewed too: its frame is its own owner's, which the placing owner does not see. | Check the cell at narrow widths (ads audit renders the overflow check), or cap the frame to its region with a `max-inline-size` of 100%. | `ads://guides/recipes`, `ads://guides/layout` |
409
+ | `review/pressed-state-unresolved` | review | A toggle drawing selectable artwork exposes its state through `aria-pressed`; when its value is not a finite value analysis can pair with the drawn state (WCAG 2.2 4.1.2), the agreement is reviewed, never assumed. | Choose aria-pressed and the drawing in one choice table entry (a boolean or "true"/"false"), or check by hand that the drawing follows the pressed state. | `ads://guides/accessibility` |
410
+ | `review/target-area-overlap-unresolved` | review | Whether neighbouring hit areas overlap is proven from tokens; when a label's width (data) or a value ADS cannot evaluate decides it, it is reviewed, never passed. | Widen the gap to cover the hit areas' full reach, or check the rendered spacing by hand. | `ads://guides/recipes`, `ads://guides/accessibility` |
411
+ | `review/target-size-unresolved` | review | A control's target size is proven from tokens in every context; a value ADS cannot evaluate in px (a percentage, a viewport unit), or an inline extent that reaches 24px only with its label's width (text is data), is reviewed, never passed. | Give the frame a min-block-size and padding (or a min-target-inline-size hit area) that reach 24px without the label, or check the rendered target in that context (ads audit runs axe target-size). | `ads://guides/recipes`, `ads://guides/accessibility` |
412
+ | `source/declaration-not-split` | error | Each design binding has its own const statement, so ADS can replace it in emitted output. | Declare each design binding in its own `const` statement. | `ads://guides/recipes` |
413
+ | `source/glyph-call-not-literal` | error | `glyph()` takes one asset name as a string literal and `glyphSet()` one literal declaration, so compilation can inline them. | Write the asset name (or the set declaration) literally. | `ads://guides/pictograms` |
414
+ | `source/glyph-reference-type` | error | A reference-bound part renders a value typed as a glyph reference with finite names (`Glyph<"close" \| "search">` from @reqvire-org/ads/asset), so analysis knows every drawing it can receive. | Type the prop as `Glyph<Names>` with a literal union of the asset names (or aliases) the owner accepts. | `ads://guides/pictograms` |
415
+ | `source/helper-markup` | error | Styled markup is written in the owner's JSX or a `.map` callback, where ADS can match it to its declaration. | Inline the markup in the owner's JSX, or render it with `.map(item => <… />)` over a literal array. | `ads://guides/recipes`, `ads://guides/atomic-styles` |
416
+ | `source/import-unanalyzable` | error | Dynamic imports use literal specifiers so every dependency can be reported. | Use a string literal in `import()`. | `ads://guides/layers` |
417
+ | `source/loop-markup` | error | Repeated styled markup is rendered with `.map` in JSX, not built in loop statements. | Render repeated elements with `.map(…)` in JSX instead of a for/while loop. | `ads://guides/recipes` |
418
+ | `source/paint-value-untyped` | error | A value written by `recipe.paints.set` has the declared paint's literal union type (or a part of it): a `string`, `any` or wider type could name a paint the recipe does not declare, so its contrast is not proven. | Type the data's paint with the recipe's union (`(typeof chart)["paints"]["series"]`), or map the data's own keys to declared tokens through a typed record. | `ads://guides/recipes`, `ads://guides/tokens` |
419
+ | `source/placement-statement` | error | Placements are applied in the JSX the component returns. | Apply placements in the returned JSX, not in earlier statements. | `ads://guides/layout` |
420
+ | `source/public-import-unnamed` | error | Public components are imported by name from the public barrel. | Import public components by name. | `ads://guides/contracts` |
421
+ | `source/recipe-import-unnamed` | error | Recipe macros are imported by name so ADS can identify each macro call. | Import recipe macros by name: `import { recipe } from "…"`; no default or namespace import. | `ads://guides/recipes` |
422
+ | `source/recipe-spec-not-literal` | error | A recipe's spec is one static object literal; it is the construction's identity and must be known at build time. | Pass `recipe()` exactly one object literal whose values are static JSON (no calls or runtime values). | `ads://guides/recipes` |
423
+ | `source/spread-attribute` | error | Owned elements receive attributes explicitly; a spread could carry styling analysis cannot see. The one exception is `{...recipe.measured.props({ … })}`: the recipe's own measured values as a style, typed and checked like its setter. | Pass attributes explicitly. Public components accept extra props through their own typed props interface. | `ads://guides/contracts` |
424
+
425
+ ## unsupported
426
+
427
+ The construct is valid design that ADS does not support yet. Use a supported alternative. If none fits, report the gap rather than working around the checks.
428
+
429
+ | Rule | Severity | What it requires | Repair | Guides |
430
+ | --- | --- | --- | --- | --- |
431
+ | `check/delete-declaration-unsupported` | error | ADS removes a declaration by its own export statement; one statement declaring several macros cannot be partly removed. | Give the declaration its own export statement (through a draft), then retry the deletion. | `ads://guides/drafts` |
432
+ | `check/mutation-snapshot` | error | A guarded mutation copies its relevant inputs into a bounded, symlink-free candidate snapshot; inputs beyond the file/byte allowance cannot be validated. | Reduce what the validation inputs reach (remove large or unrelated paths from validation.inputs, keep generated runtime output small and free of symlinks), then accept again. | `ads://guides/validation` |
433
+ | `construction/cover-asset-unsupported` | error | Only application images and intrinsic artwork crop (`fit: "cover"`), around the image's own focal point (an asset's `opticalCenter`). A glyph or paint-slot asset (a logo) is never cropped. | Bind it to a visual profile with `fit: "contain"`. | `ads://guides/recipes` |
434
+ | `construction/extent-parent-unsupported` | error | A part fills its parent's main axis only in a `stack` or `inline` arrangement; a layered part already fills its area, and grids place cells. | Arrange the parent as a stack or inline, or remove `extent` (use grid rows `fill` for a grid cell). | `ads://guides/recipes`, `ads://guides/layout` |
435
+ | `construction/measured-property-unsupported` | error | A measured value sets one geometry property of its type's closed list: a `length` a logical inset or box size (inline/block size and their min/max) on a region root or top-level part, a `transform` `translate`, a `size-track` one track of a grid's own `grid-template-columns`/`-rows`. An `intrinsic-size` sets `inline-size` on a contained application image (`fit: "contain"`). A `position` sets `object-position` on a cropped application image (a visual part whose visual profile declares `fit: "cover"`). Padding, margin, gap, typography, borders, radius and paint are design values; a top-layer root is positioned by measured values only with `placement: "measured"`. | Measure a property of the closed list (`inset-*`, `inline-size`, `block-size` and their min/max, `translate`, a grid track that exists in every tier); declare `placement: "measured"` for an element-anchored popover; move design values to profiles. | `ads://guides/recipes`, `ads://guides/layout` |
436
+ | `construction/paint-property-unsupported` | error | A runtime paint sets one property of the closed paint list (`fill`, `stroke`, `color`, `background-color`, `border-color`), once per element: backgrounds as images, gradients, outlines and shadows are design values. | Paint `fill`, `stroke`, `color`, `background-color` or `border-color`, one paint per property and element; keep other paint values in surface profiles. | `ads://guides/recipes`, `ads://guides/tokens` |
437
+ | `construction/paint-transition-effect-unsupported` | error | An element that transitions paints has only paint surfaces: a gradient image or blur would change without interpolating while its paints transition. | Use solid paint surfaces on a transitioned element, or remove its paint transition. | `ads://guides/recipes` |
438
+ | `construction/spatial-clause-unsupported` | error | Layouts are expressed with the supported spatial clauses. | Express the layout with the supported spatial clauses. | `ads://guides/layout` |
439
+ | `lowering/tree-unsupported` | error | Owner styling uses CSS constructs ADS can lower. | Rewrite the construct with supported styling, or report the missing support. | `ads://guides/atomic-styles` |
440
+ | `registration/wrapper-unsupported` | error | @property registrations sit at the top level or inside @media, @supports or @layer. | Move the registration to the top level. | `ads://guides/tokens`, `ads://guides/atomic-styles` |
441
+ | `spec/accessibility-declaration-unsupported` | error | An `accessibility` declaration is allowed only on a text-entry control part (`frame: "control"`): buttons, links, tabs, icon-only controls, checkboxes, radios, switches and sliders are identified by their content or need their own 3:1 boundary. | Remove the declaration, and give the control a 3:1 boundary or fill. | `ads://guides/recipes`, `ads://guides/accessibility` |
442
+ | `spec/parts-unsupported` | error | A construction kind supports a fixed set of part shapes. | Declare only the parts this construction kind supports. | `ads://guides/recipes` |
443
+ | `token-css/fold-unsupported` | error | Only invariant px lengths fold by a grid quantum. | Use px lengths that are multiples of the quantum, or express the size as a spatial token. | `ads://guides/layout`, `ads://guides/tokens` |
444
+ | `token-css/quantum-context-dependent` | error | Grid quanta are invariant lengths so lengths can be folded at build time. | Define the grid quantum as an invariant length (px) at :root. | `ads://guides/layout`, `ads://guides/tokens` |
445
+
446
+ ## rendered-check
447
+
448
+ The rendered result breaks an accessibility, layout, contrast or performance requirement. Inspect the failing scenario in its audit result or capture, then fix the owning style or markup; do not change the scenario to hide it.
449
+
450
+ | Rule | Severity | What it requires | Repair | Guides |
451
+ | --- | --- | --- | --- | --- |
452
+ | `check/a11y-axe` | error | A rendered component, pattern or mock scenario passes axe-core's WCAG A/AA rules in every declared brand and theme. The finding names the axe rule, the WCAG criteria, the failing elements and the rule's help link. | Fix the failing element's markup, name or colors in the component or pattern that renders it (for color-contrast, change the token pair in its owner), not in the scenario. | `ads://guides/accessibility` |
453
+ | `check/a11y-boundary-declared` | review | A text-entry control whose boundary is below 3:1 passes WCAG 1.4.11 only with a human-approved `accessibility` declaration on its recipe part (visible-label or boundary-on-interaction); the render audit lists every such control on every run, in each theme and brand it renders in, with screenshots at rest and focused, so the judgement is made on what users see. Its focus outline, icons, state indicators and text contrast are checked as usual. | Check the screenshots (.ds/audit-evidence) still match the declared reason; otherwise make the control pass (a 3:1 fill, or one 3:1 border side such as a soft field's underline) and remove the declaration. | `ads://guides/accessibility`, `ads://guides/forms` |
454
+ | `check/a11y-incomplete` | info | An axe-core rule could not decide the rendered result on its own (for example text contrast over a gradient or image), so the criterion is unverified rather than failed. | Check the named elements by hand in the scenario's capture or showcase preview, and fix the owning style only if it actually fails the criterion. | `ads://guides/accessibility`, `ads://guides/validation` |
455
+ | `check/a11y-non-text-contrast` | error | Enabled, visible controls have 3:1 non-text contrast (WCAG 1.4.11) in every brand and theme: a border that is a control's only boundary against the surrounding background, an icon-only control's icon against the control's background, and a focus outline against the surrounding background. | Paint the failing boundary, icon or focus outline with a token that reaches 3:1 (for example --border-strong for field borders, a text or -fg token for icons, --border-focus for outlines) in the owning component's styles. | `ads://guides/accessibility` |
456
+ | `check/a11y-reflow` | error | A rendered scenario reflows at a 320 px viewport (1280 px at 400%, WCAG 2.2 1.4.10): nothing overflows horizontally that does not at the audited widths, and nothing is cut off, spills, overlaps or clips a focus outline that does not at the widest width. | Make the named element fluid below 390 px: replace a fixed or minimum width with min(100%, ...), let rows wrap, and let boxes grow with their text. | `ads://guides/accessibility`, `ads://guides/layout` |
457
+ | `check/a11y-text-scale` | error | A rendered scenario keeps its content with text at 200% (WCAG 2.2 1.4.4): with the root font size doubled at the 390, 768 and 1280 px viewports, and zoomed to 200% of the widest (a 640 px viewport), no text or control is cut off, no content spills past a box whose block size is held, no items overlap past a reserved track, no control or its focus outline is clipped, and nothing overflows horizontally that does not at rest. | Let the named box grow with its text: replace a fixed height, max-height or px track with min-block-size, auto, minmax(<size>, auto) or a rem/lh length, keep room for the focus outline, and make widths fluid. | `ads://guides/accessibility`, `ads://guides/layout` |
458
+ | `check/a11y-text-spacing-override` | error | A rendered scenario keeps its content under WCAG 2.2 1.4.12 text spacing (line height 1.5, letter spacing 0.12em, word spacing 0.16em, 2em after paragraphs, applied as the reader's stylesheet) at the 390, 768 and 1280 px viewports: nothing is cut off, spills, overlaps, clips a focus outline or overflows that does not at rest. | Do not hold a text box to the height or width of its designed spacing: use min-block-size or auto instead of a fixed height or line-sized track, and let lines wrap. | `ads://guides/accessibility`, `ads://guides/layout` |
459
+ | `check/img-shape` | error | An image renders at the shape it declares (its width/height attributes or aspect-ratio); a rendered box of another shape crops or stretches it. | Add height: auto so the declared attributes keep the proportions, or for a deliberate crop set object-fit in a box of its own with no aspect-ratio. | `ads://guides/performance` |
460
+ | `check/layout-overflow` | error | A rendered scenario does not overflow horizontally at the 390, 768 and 1280 px viewports: the page does not scroll sideways, no content reaches past the viewport, and no text or control is cut off by overflow: hidden or clip (a cropped image, artwork or decorative aria-hidden layer under a clip is not cut content). | Make the named element fluid (%, fr, min-width: 0 on flex/grid children, or a span of its owner's grid tracks instead of a fixed width, with a container-context grid where it must follow its region; cap a fixed frame with max-inline-size: 100%), let text wrap or truncate with text-overflow: ellipsis, or put it in an overflow-x: auto scroller. | `ads://guides/tokens`, `ads://guides/layout` |
461
+ | `check/layout-overflow-narrow` | review | A component or pattern scenario fits a 240 px container (a narrow side pane) without its content reaching past the container. | Make the element fluid (%, fr, min(100%, ...)), wrap it or scroll it with overflow-x: auto. | `ads://guides/tokens`, `ads://guides/layout` |
462
+ | `check/layout-shift` | error | A rendered scenario's cumulative layout shift stays at or below the Core Web Vitals threshold of 0.1 in every brand and theme. | Give images and media width and height (or aspect-ratio), reserve space for late content, and load the fonts the first text uses early in the owning component. | `ads://guides/performance` |
463
+ | `check/render-audit` | error | Every selected scenario renders and is audited in every brand and theme; a scenario that still fails after its retries is a failure, never a pass. | Read the cause and fix the scenario's owning source so it renders and stays ready; do not change the scenario to avoid the audit. | `ads://guides/accessibility`, `ads://guides/validation` |
464
+
465
+ ## behavior-failed
466
+
467
+ A registered behavior guarantee failed or could not run. Read the failing run with ads_results and ads_investigate, then fix the owner's behavior; keep the guarantee unless it is wrong.
468
+
469
+ | Rule | Severity | What it requires | Repair | Guides |
470
+ | --- | --- | --- | --- | --- |
471
+ | `check/behavior-check` | error | Draft acceptance requires every registered behavior check of the draft owners to pass on the candidate revision; a failed, skipped or incomplete check rejects the draft. | Inspect the named unit#check with ads_results and ads_investigate, fix the owner's behavior in the draft and accept the new revision. | `ads://guides/behaviors`, `ads://guides/drafts`, `ads://guides/evidence` |
472
+ | `check/behavior-runner` | error | A registered behavior runner profile must exit cleanly and leave a complete report for every selected check; a crash, timeout, suite error or incomplete report grants no pass. | Read the runner output and profile in the diagnostic, fix the failing suite setup or test (or raise the profile timeoutMs if the work is legitimately longer), then rerun. | `ads://guides/behaviors`, `ads://guides/evidence` |
473
+ | `check/behavior-verification` | error | Behavior verification must complete and record its evidence; an unexpected error while preparing, running or persisting the checks fails the whole verification. | Read the error message; if it names oversized evidence remove obsolete generated evidence, otherwise fix the reported setup problem and rerun the verification. | `ads://guides/behaviors`, `ads://guides/evidence` |
474
+ | `check/validation-behavior` | error | Validation passes only when every registered behavior check it reaches passes. | Inspect the recorded outcomes with ads_results and ads_investigate, fix the failing owner's behavior and validate again. | `ads://guides/validation`, `ads://guides/behaviors` |
475
+
476
+ ## evidence-missing
477
+
478
+ Required evidence is absent or belongs to another revision. Run the named check (ads_validate, ads_accept dryRun or the preview build) for the current revision; do not edit source to satisfy it.
479
+
480
+ | Rule | Severity | What it requires | Repair | Guides |
481
+ | --- | --- | --- | --- | --- |
482
+ | `check/execution-inputs` | error | A run's result counts only when ADS can confirm, after the run, that its validation inputs still match the captured revision; failing to re-read them leaves the result unestablished. | Fix the error the message names (usually an unreadable configuration or input path), then rerun against current source. | `ads://guides/validation` |
483
+ | `check/generated-stale` | info | The emitted output folder's ads-contract.json records the source revision it was emitted from; while that is not the design system's current revision, the output is out of date. Never blocking: with compile.emitOnAccept false it is intended until the next emit. | Run `ads emit` to refresh the output folder from the current source. | `ads://guides/layers` |
484
+ | `check/owner-analysis-blocked` | info | An owner whose analysis needs another owner's public rows (a grid's alignRows on that owner's component) is analyzed only after that owner analyzes: rows of a failed owner are unknown, so ADS does not guess them. | Fix the owner-analysis error of the owner the finding names in blockedBy and check again; the blocked owner is then analyzed. Do not change the blocked owner for this note. | `ads://guides/validation` |
485
+ | `check/palette-generated` | error | foundation.ads.ts declares the generated palette module (`palette: true`) exactly when the design system keeps palette.generated.ts, and a declared module matches what ADS derives from the token sheets' paint tokens and the declared themes and brands; it is never edited by hand. | Run `ads sync` to create or regenerate a declared module (editing directly), or accept the change through a draft, which does it in the candidate; for a module present without the declaration, add `palette: true` to the foundation or delete the file. Change the token sheets or foundation.ads.ts, never the module. | `ads://guides/tokens` |
486
+ | `check/render-audit-nothing-measured` | review | A render assigned overlay or control targets measures at least one of them; when every attempt to open or hover failed (gone, timeout, detached, failed), that render's interactive states are unverified. | Make the scenario's controls stable while it renders (no unmounting, covering or re-rendering of triggers) and run the audit again. | `ads://guides/accessibility` |
487
+ | `check/render-audit-skipped` | info | The audit opens overlays and hovers/focuses controls to measure their states; targets it could not reach are listed by reason, and their states are unmeasured rather than passed. | Usually none; if a target matters, make it reachable in the scenario (an aria-haspopup trigger that opens a dialog/menu/listbox and closes on Escape, a page that settles within 5 s) or split a scenario that exceeds the 3-overlay/6-control limit. | `ads://guides/accessibility` |
488
+ | `check/test-registration` | error | A behaviour spec (a `*.behavior.spec.*` file, or a test file tagging a case `@ads:<case>`) is named by its owner's behaviour registration: ADS runs a spec's cases only as registered checks. | Register the spec's cases as checks in the owner's <Owner>.ads.behavior.ts, or remove the spec (or its @ads: tags). | `ads://guides/behaviors` |
489
+ | `check/validation-inputs` | error | A validation result is current only when ADS can re-read its inputs after the run and match the captured revision; failing to read them leaves the result unestablished. | Fix the error the message names (usually configuration or a declared validation.inputs path), then validate again. | `ads://guides/validation` |
490
+ | `check/validation-previews` | error | Validation requires a current verified production preview for every registered scenario; a successful build command alone is not enough. | Wait for the named scenario's preview to become current (ads_status.build), then validate again. | `ads://guides/validation`, `ads://guides/runtimes` |
491
+
492
+ ## run-interrupted
493
+
494
+ The run did not complete: it was cancelled, busy, or its inputs changed while it ran. Wait for the other run or the edits to finish, then run again with the current revision.
495
+
496
+ | Rule | Severity | What it requires | Repair | Guides |
497
+ | --- | --- | --- | --- | --- |
498
+ | `check/behavior-busy` | error | Only one registered behavior verification runs at a time per verification controller; a second request is refused while one is active. | Wait for the running behavior verification to finish (see ads_status), then request the run again. | `ads://guides/behaviors`, `ads://guides/validation` |
499
+ | `check/check-timeout` | error | Each project check command finishes within its time budget. | Run again; if the command is slow by nature, raise mcp.mutationCheckTimeoutMs, or speed the command up. | `ads://guides/validation`, `ads://guides/drafts` |
500
+ | `check/delete-revision-changed` | error | A deletion's planned files are the captured bytes it was planned from. | Retry the deletion; the source changed while it was planned. | `ads://guides/drafts` |
501
+ | `check/delete-stale-revision` | error | ads_delete publishes only at the source revision its targets were inspected at; a different revision before or during its checks refuses it without writing anything. | Read ads_status.sourceRevision again, review the targets against the current source and retry. | `ads://guides/drafts` |
502
+ | `check/execution-cancelled` | error | A validation, acceptance or guarded application whose owning request was cancelled, disconnected or stopped does not establish a result. | Run the same validation or acceptance again once the cancelling condition has cleared. | `ads://guides/validation` |
503
+ | `check/execution-interrupted` | error | A run abandoned by an ADS restart is recorded as interrupted and is never resumed or treated as a pass. | Start the validation or acceptance again; the interrupted run left no baseline or acceptance behind. | `ads://guides/validation` |
504
+ | `check/mutation-busy` | error | Only one guarded mutation validates at a time; a second mutation is refused while another is running. | Wait for the running mutation to finish (see ads_status), then accept again. | `ads://guides/drafts` |
505
+ | `check/mutation-cancelled` | error | A cancelled mutation or analysis stops before publishing anything; its checks establish no result. | Run the acceptance or check again when it is no longer being cancelled. | `ads://guides/drafts`, `ads://guides/validation` |
506
+ | `check/mutation-conflict` | error | Accepted source and the declared validation inputs must not change between preparing a mutation and applying it; a change rejects the mutation without writing anything. | Read the current source, regenerate the patch or draft revision against it, and accept again. | `ads://guides/drafts`, `ads://guides/validation` |
507
+ | `check/source-changed-during-run` | error | Relevant project source must stay unchanged while a validation or acceptance runs; an external edit to a fenced input stops the run and rejects its result. | Finish or coordinate the direct edits listed in the diagnostic's sourceChange files, then rerun against the current source. | `ads://guides/validation` |
508
+ | `check/validation-cancelled` | error | A cancelled validation establishes no result and advances no baseline. | Run ads_validate again when it is no longer being cancelled. | `ads://guides/validation` |
509
+ | `check/validation-stale` | error | Validation evidence belongs only to the source revision it started on; if project inputs changed during the run, the result is rejected. | Let the edits finish, then rerun ads_validate against the current source. | `ads://guides/validation` |
510
+
511
+ ## after-apply
512
+
513
+ Source was published, but a follow-up step after it failed. Do not accept the change again. Perform the named follow-up (rebuild the preview, regenerate assets, clean up the draft) and check the result.
514
+
515
+ | Rule | Severity | What it requires | Repair | Guides |
516
+ | --- | --- | --- | --- | --- |
517
+ | `check/draft-cleanup` | error | After an accepted draft's source is applied, ADS removes the draft's manifest and workspace; a failure leaves the accepted source in place but the draft directory needs recovery. | Do not re-apply the change; check ads_drafts for the leftover draft, drop it with ads_drop_draft if it still appears, and report the error if cleanup keeps failing. | `ads://guides/drafts` |
518
+ | `check/draft-dependency` | error | After a draft is accepted, ADS rebases every dependent draft onto the accepted bytes and removes the dependency; a failure leaves that dependent draft's manifest needing recovery. | Open the named dependent draft with ads_drafts/ads_show_draft, confirm its baseline against the newly accepted source and recreate it if its manifest is unusable. | `ads://guides/drafts` |
519
+ | `check/draft-event` | error | Each accepted draft records an acceptance event; when event storage fails after source was applied, the source change stands but the event log needs recovery. | Treat the acceptance as applied, verify the accepted source with ads_status, and report the event-storage error. | `ads://guides/drafts` |
520
+ | `check/mutation-capture` | error | After source is applied, ADS promotes the pending candidate captures to the new accepted revision; a promotion failure leaves source applied but capture state needing recovery. | Treat the source as applied, re-capture the affected targets with ads_capture, and report the promotion error. | `ads://guides/captures` |
521
+ | `check/mutation-notification` | error | After source is applied, ADS refreshes and re-warms the managed previews; a refresh failure leaves the change applied but the previews possibly not current. | Recheck ads_status.build and reopen the scenario; wait for a current verified preview before reviewing. | `ads://guides/runtimes`, `ads://guides/drafts` |
522
+ | `check/mutation-preview-cache` | error | After source is applied, ADS tries to reuse the candidate's compiled previews; when that fails the previews are rebuilt in the background instead. | No source change is needed; wait for ads_status.build to report current previews before reviewing. | `ads://guides/runtimes` |
523
+ | `check/mutation-preview-tree` | error | After source is applied, ADS copies the candidate's preview tree into the project's, so the project previews the accepted revision at once; it skips the copy when the project's tree already holds a later capture or the design system changed again. | No source change is needed; the project's emitter emits the current revision. Wait for ads_status.build to report current previews before reviewing. | `ads://guides/runtimes` |
524
+
525
+ ## ads-defect
526
+
527
+ ADS produced inconsistent output; the project source is not at fault. Stop. Do not rewrite source to avoid it; report it with the owner and the failing revision.
528
+
529
+ | Rule | Severity | What it requires | Repair | Guides |
530
+ | --- | --- | --- | --- | --- |
531
+ | `check/execution-error` | error | An execution (validation, acceptance or guarded application) must report its own diagnostics; an uncaught error from the work is reported as a failed run. | Read the message and code; if it names a project condition fix that and rerun, otherwise report it with the run ID instead of changing source. | `ads://guides/validation`, `ads://guides/evidence` |
532
+ | `check/mutation-error` | error | A guarded mutation reports its failures as diagnostics; an unexpected error during preparation, checking or application rejects the mutation without publishing source. | Read the message and failure boundary; fix a named project condition and accept again, otherwise report it with the draft revision instead of rewriting source. | `ads://guides/drafts`, `ads://guides/evidence` |
533
+ | `check/render-audit-error` | error | The render audit runner completes once it starts. | Run again; if it fails the same way, report it with the message and the revision. | `ads://guides/validation`, `ads://guides/evidence` |
534
+ | `check/validation-baseline` | error | A successful full validation publishes its baseline to .ds/validation-baseline.json (or a deferred .ds acceptance/validation baseline); if the write fails the run is reported as failed. | Check that the project's .ds directory is writable, then rerun the validation; report the error if it names an invalid baseline target. | `ads://guides/validation` |
535
+ | `check/validation-execution` | error | Each validation stage reports its own diagnostics; an uncaught error in a stage stops the validation and fails it. | Read the message; fix a named project condition (for example a preview build or configuration error) and validate again, otherwise report it with the run ID. | `ads://guides/validation` |
536
+ | `compile/construction-conflict` | error | One construction identity lowers to the same CSS in every owner. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
537
+ | `compile/keyframes-missing` | error | Every keyframes a construction references is emitted with it. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
538
+ | `compile/keyframes-unreferenced` | error | A construction retains only keyframes it uses. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
539
+ | `compile/origin-missing` | error | Every compiled construction keeps its source origin. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
540
+ | `extraction/invalid-output` | error | CSS processor output is well formed. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
541
+ | `extraction/processor-threw` | error | The CSS processor completes for valid construction CSS. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
542
+ | `extraction/unexpected-host-request` | error | The CSS processor uses only the capabilities ADS's adapter provides. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
543
+ | `lowering/emission` | error | Lowering writes every declaration through ADS's emission boundary. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
544
+ | `lowering/hidden` | error | ADS guards native `hidden` on owned elements it styles. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
545
+ | `lowering/normalization` | error | Lowered CSS normalizes to one canonical form. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
546
+ | `lowering/tiers-unavailable` | error | Every lowered property has a priority tier. | Report it with the owner, the failing revision and this message. | `ads://guides/evidence` |
547
+
548
+ ## environment
549
+
550
+ The installed tooling does not match what ADS requires. Reinstall the project's dependencies so ADS's pinned versions are used; do not change source.
551
+
552
+ | Rule | Severity | What it requires | Repair | Guides |
553
+ | --- | --- | --- | --- | --- |
554
+ | `check/dependencies-missing` | error | Guarded mutations run with the project's dependencies installed. | Install the project's dependencies (its package manager's install command) and retry. | `ads://guides/drafts` |
555
+ | `check/render-audit-unavailable` | error | The render audit runs in ADS's own Playwright browser, which ADS installs on first need. | Let ADS install its browser (it does on first need; the message names the install command if that failed, e.g. offline) or select an installed Chrome with mcp.capture.channel, and run again; acceptance.audit: false turns the audit off for draft acceptance only. | `ads://guides/validation`, `ads://guides/accessibility` |
556
+ | `runtime/identity-unavailable` | error | ADS runs only with its pinned CSS processor version. | Reinstall ADS so its bundled CSS processor is intact (in an ADS source checkout, reinstall its dependencies). | `ads://guides/runtimes` |
557
+ | `runtime/missing-getter` | error | ADS runs only with its pinned CSS processor version. | Reinstall ADS so its bundled CSS processor is intact (in an ADS source checkout, reinstall its dependencies). | `ads://guides/runtimes` |
558
+ | `runtime/missing-method` | error | ADS runs only with its pinned CSS processor version. | Reinstall ADS so its bundled CSS processor is intact (in an ADS source checkout, reinstall its dependencies). | `ads://guides/runtimes` |
559
+ | `runtime/not-a-class` | error | ADS runs only with its pinned CSS processor version. | Reinstall ADS so its bundled CSS processor is intact (in an ADS source checkout, reinstall its dependencies). | `ads://guides/runtimes` |