@reqvire-org/ads 0.4.0 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (410) hide show
  1. package/README.md +115 -87
  2. package/dist/a11y.mjs +133 -48
  3. package/dist/analysis/compiler-options.mjs +13 -0
  4. package/dist/analysis/context.mjs +46 -0
  5. package/dist/analysis/file-tree.mjs +52 -0
  6. package/dist/analysis/helpers.mjs +142 -0
  7. package/dist/analysis/impact.mjs +20 -0
  8. package/dist/analysis/inputs.mjs +22 -0
  9. package/dist/analysis/module-resolvers.mjs +46 -0
  10. package/dist/analysis/native-adapter.mjs +180 -0
  11. package/dist/analysis/native-project.mjs +323 -0
  12. package/dist/analysis/queries.mjs +133 -0
  13. package/dist/analysis/service.mjs +153 -0
  14. package/dist/analysis/standalone.mjs +57 -0
  15. package/dist/analysis/syntax.mjs +179 -0
  16. package/dist/analysis/worker.mjs +182 -0
  17. package/dist/assets.mjs +6 -6
  18. package/dist/atomic-composition.mjs +191 -70
  19. package/dist/atomic-trace.mjs +120 -50
  20. package/dist/behavior-libraries.mjs +106 -37
  21. package/dist/behaviors.mjs +219 -77
  22. package/dist/boundaries.mjs +140 -41
  23. package/dist/brand-assets.mjs +219 -47
  24. package/dist/brands.mjs +86 -27
  25. package/dist/bun-compiler.mjs +28 -14
  26. package/dist/bun-worker.mjs +7 -5
  27. package/dist/capture/worker.mjs +15 -4
  28. package/dist/capture-store.mjs +4 -2
  29. package/dist/capture.mjs +17 -14
  30. package/dist/check-service.mjs +44 -58
  31. package/dist/check.mjs +754 -188
  32. package/dist/cli.mjs +200 -99
  33. package/dist/color-values.mjs +21 -21
  34. package/dist/component-contrast.mjs +127 -9
  35. package/dist/config.mjs +303 -135
  36. package/dist/construction-styles.cjs +10 -0
  37. package/dist/contrast-composition.mjs +134 -0
  38. package/dist/control-padding.mjs +45 -25
  39. package/dist/css-values.mjs +3 -2
  40. package/dist/declarative-flow.mjs +209 -109
  41. package/dist/design-values.mjs +136 -51
  42. package/dist/development-runtime.mjs +4 -6
  43. package/dist/draft-boundary.mjs +11 -6
  44. package/dist/evidence.mjs +1 -1
  45. package/dist/finding-rules.mjs +9 -5
  46. package/dist/font-rules.mjs +22 -17
  47. package/dist/fonts-generated.mjs +23 -16
  48. package/dist/foundation-views.mjs +242 -0
  49. package/dist/foundation.mjs +63 -39
  50. package/dist/generated-entries.mjs +101 -34
  51. package/dist/icons.mjs +79 -32
  52. package/dist/image-attributes.mjs +143 -66
  53. package/dist/image-size.mjs +1 -1
  54. package/dist/index.mjs +0 -2
  55. package/dist/init.mjs +122 -41
  56. package/dist/investigations.mjs +2 -2
  57. package/dist/layers.mjs +298 -129
  58. package/dist/layout-widths.mjs +180 -85
  59. package/dist/linaria/preserve-values.cjs +7 -0
  60. package/dist/linaria/spatial-inputs.cjs +56 -0
  61. package/dist/lockup-composition.mjs +44 -0
  62. package/dist/lockup-model.cjs +64 -0
  63. package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
  64. package/dist/mcp/apps.mjs +4 -30
  65. package/dist/mcp/behavior-pages.mjs +72 -24
  66. package/dist/mcp/build-status.mjs +257 -64
  67. package/dist/mcp/catalog.mjs +90 -26
  68. package/dist/mcp/context.mjs +17 -18
  69. package/dist/mcp/draft-discovery.mjs +44 -21
  70. package/dist/mcp/drafts.mjs +903 -281
  71. package/dist/mcp/execution-coordinator.mjs +417 -167
  72. package/dist/mcp/execution-results.mjs +7 -7
  73. package/dist/mcp/mutations.mjs +673 -234
  74. package/dist/mcp/preview-watch.mjs +448 -170
  75. package/dist/mcp/preview-widget.bundle.js +44 -50
  76. package/dist/mcp/prompts.mjs +5 -5
  77. package/dist/mcp/result-pages.mjs +1 -1
  78. package/dist/mcp/sandbox-host.mjs +1 -1
  79. package/dist/mcp/server.mjs +2409 -577
  80. package/dist/mcp/showcase-host.mjs +165 -41
  81. package/dist/mcp/skills.mjs +1 -1
  82. package/dist/mcp/text-diff.mjs +29 -10
  83. package/dist/paint-contracts.mjs +174 -81
  84. package/dist/palette-generated.mjs +2 -2
  85. package/dist/pictogram-model.mjs +59 -0
  86. package/dist/pictograms.mjs +52 -0
  87. package/dist/preview-bun.mjs +494 -187
  88. package/dist/preview-failure.mjs +1 -1
  89. package/dist/preview-files.mjs +13 -13
  90. package/dist/preview-imports.mjs +104 -55
  91. package/dist/preview-inputs.mjs +2 -2
  92. package/dist/preview-requests.mjs +24 -0
  93. package/dist/preview-resources.mjs +288 -147
  94. package/dist/preview-scope.mjs +5 -4
  95. package/dist/program-cache.mjs +8 -34
  96. package/dist/project-documents.mjs +1 -1
  97. package/dist/public-api.mjs +69 -31
  98. package/dist/public-props.mjs +39 -22
  99. package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
  100. package/dist/{browser-audit → render-audit}/image-shape.mjs +15 -5
  101. package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
  102. package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
  103. package/dist/render-audit/pictograms.mjs +88 -0
  104. package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
  105. package/dist/{browser-audit → render-audit}/worker.mjs +98 -30
  106. package/dist/render-audit.mjs +838 -0
  107. package/dist/render-color-probe.mjs +96 -42
  108. package/dist/render-composition.mjs +164 -0
  109. package/dist/resource-limits.mjs +229 -97
  110. package/dist/runtime-contracts.mjs +467 -185
  111. package/dist/scenario-groups.mjs +22 -10
  112. package/dist/scenario-inspector.mjs +6 -43
  113. package/dist/scenario-program.mjs +8 -25
  114. package/dist/scenario-registry.mjs +72 -30
  115. package/dist/scenario-selectors.mjs +161 -64
  116. package/dist/scenario-slots.mjs +149 -56
  117. package/dist/scenario-trace.mjs +215 -109
  118. package/dist/scenarios-compiler.mjs +719 -378
  119. package/dist/scenarios-vite.d.mts +1 -3
  120. package/dist/scenarios-vite.mjs +2 -81
  121. package/dist/scenarios.mjs +421 -157
  122. package/dist/selector-match.mjs +2 -2
  123. package/dist/showcase/client.bundle.js +57 -56
  124. package/dist/showcase/draft-navigation.js +21 -3
  125. package/dist/showcase/favicon.ico +0 -0
  126. package/dist/showcase/favicon.svg +1 -0
  127. package/dist/showcase/foundation-view.css +58 -0
  128. package/dist/showcase/foundation-view.mjs +255 -0
  129. package/dist/showcase/guide-controls.ads.review.mjs +32 -0
  130. package/dist/showcase/icons.js +1 -145
  131. package/dist/showcase/index.html +3 -31
  132. package/dist/showcase/pictogram-view.mjs +53 -0
  133. package/dist/showcase/preview-frame.ads.review.css +46 -0
  134. package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
  135. package/dist/showcase/preview-frame.ads.review.mjs +22 -0
  136. package/dist/showcase/preview-state.js +0 -9
  137. package/dist/showcase/refresh-scheduler.js +23 -0
  138. package/dist/showcase/style.css +5 -47
  139. package/dist/showcase/ui/ui.css +1353 -0
  140. package/dist/showcase/ui/ui.js +1064 -0
  141. package/dist/showcase-coverage.mjs +58 -37
  142. package/dist/skills/README.md +24 -23
  143. package/dist/skills/ads-designer/README.md +8 -2
  144. package/dist/skills/ads-designer/SKILL.md +143 -120
  145. package/dist/skills/ads-designer/references/accessibility.md +78 -15
  146. package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
  147. package/dist/skills/ads-designer/references/behaviors.md +30 -27
  148. package/dist/skills/ads-designer/references/branding.md +101 -24
  149. package/dist/skills/ads-designer/references/captures.md +25 -0
  150. package/dist/skills/ads-designer/references/cli.md +21 -24
  151. package/dist/skills/ads-designer/references/contracts.md +7 -6
  152. package/dist/skills/ads-designer/references/design-data.md +49 -52
  153. package/dist/skills/ads-designer/references/drafts.md +20 -17
  154. package/dist/skills/ads-designer/references/evidence.md +1 -5
  155. package/dist/skills/ads-designer/references/guarded-editing.md +14 -18
  156. package/dist/skills/ads-designer/references/layers.md +1 -1
  157. package/dist/skills/ads-designer/references/layout.md +347 -0
  158. package/dist/skills/ads-designer/references/mobile.md +2 -1
  159. package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
  160. package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
  161. package/dist/skills/ads-designer/references/performance.md +3 -2
  162. package/dist/skills/ads-designer/references/pictograms.md +131 -0
  163. package/dist/skills/ads-designer/references/review.md +37 -34
  164. package/dist/skills/ads-designer/references/runtimes.md +33 -30
  165. package/dist/skills/ads-designer/references/scenarios.md +16 -18
  166. package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
  167. package/dist/skills/ads-designer/references/stress-test.md +68 -0
  168. package/dist/skills/ads-designer/references/validation.md +83 -75
  169. package/dist/skills/ads-designer/references/workflows.md +8 -33
  170. package/dist/skills/ads-import/SKILL.md +43 -325
  171. package/dist/skills/ads-import/references/atomic-styles.md +4 -4
  172. package/dist/skills/ads-import/references/behaviors.md +30 -27
  173. package/dist/skills/ads-import/references/branding.md +5 -5
  174. package/dist/skills/ads-import/references/captures.md +25 -0
  175. package/dist/skills/ads-import/references/cli.md +21 -24
  176. package/dist/skills/ads-import/references/compatibility.md +1 -1
  177. package/dist/skills/ads-import/references/contracts.md +7 -6
  178. package/dist/skills/ads-import/references/design-data.md +49 -52
  179. package/dist/skills/ads-import/references/drafts.md +20 -17
  180. package/dist/skills/ads-import/references/evidence.md +1 -5
  181. package/dist/skills/ads-import/references/guarded-editing.md +14 -18
  182. package/dist/skills/ads-import/references/implementation.md +2 -1
  183. package/dist/skills/ads-import/references/layers.md +1 -1
  184. package/dist/skills/ads-import/references/layout.md +347 -0
  185. package/dist/skills/ads-import/references/review.md +37 -34
  186. package/dist/skills/ads-import/references/runtimes.md +33 -30
  187. package/dist/skills/ads-import/references/scenarios.md +16 -18
  188. package/dist/skills/ads-import/references/tokens.md +3 -3
  189. package/dist/skills/ads-import/references/validation.md +83 -75
  190. package/dist/skills/ads-import/references/workflows.md +8 -33
  191. package/dist/skills/ads-migrate/SKILL.md +56 -0
  192. package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
  193. package/dist/skills/ads-port/SKILL.md +58 -344
  194. package/dist/skills/ads-port/references/atomic-styles.md +4 -4
  195. package/dist/skills/ads-port/references/behaviors.md +30 -27
  196. package/dist/skills/ads-port/references/captures.md +25 -0
  197. package/dist/skills/ads-port/references/cli.md +21 -24
  198. package/dist/skills/ads-port/references/contracts.md +7 -6
  199. package/dist/skills/ads-port/references/design-data.md +49 -52
  200. package/dist/skills/ads-port/references/drafts.md +20 -17
  201. package/dist/skills/ads-port/references/evidence.md +1 -5
  202. package/dist/skills/ads-port/references/guarded-editing.md +14 -18
  203. package/dist/skills/ads-port/references/layers.md +1 -1
  204. package/dist/skills/ads-port/references/layout.md +347 -0
  205. package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
  206. package/dist/skills/ads-port/references/native-implementation.md +2 -1
  207. package/dist/skills/ads-port/references/review.md +37 -34
  208. package/dist/skills/ads-port/references/runtimes.md +33 -30
  209. package/dist/skills/ads-port/references/scenarios.md +16 -18
  210. package/dist/skills/ads-port/references/validation.md +83 -75
  211. package/dist/skills/ads-port/references/workflows.md +8 -33
  212. package/dist/source-symbols.mjs +1 -8
  213. package/dist/source-values.mjs +270 -129
  214. package/dist/spatial-composition.mjs +322 -0
  215. package/dist/spatial-contexts.cjs +56 -0
  216. package/dist/spatial-css.cjs +351 -0
  217. package/dist/spatial-inputs.cjs +80 -0
  218. package/dist/spatial-metadata.mjs +18 -0
  219. package/dist/spatial-model.cjs +322 -0
  220. package/dist/spatial.mjs +21 -0
  221. package/dist/stage-timing.cjs +20 -0
  222. package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
  223. package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
  224. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  225. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  226. package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
  227. package/dist/starters/preact/ds.config.json +25 -6
  228. package/dist/starters/preact/package.json +4 -8
  229. package/dist/starters/preact/tsconfig.json +4 -5
  230. package/dist/starters/preact/vite.config.ts +3 -3
  231. package/dist/starters/react/ADS.md +42 -47
  232. package/dist/starters/react/README.md +47 -49
  233. package/dist/starters/react/design-system/assets/pictograms/catalog.ads.json +13 -0
  234. package/dist/starters/react/design-system/assets/pictograms/journey.dark.svg +7 -0
  235. package/dist/starters/react/design-system/assets/pictograms/journey.svg +7 -0
  236. package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
  237. package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
  238. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.exports.ts +1 -0
  239. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.fixture.ts +1 -0
  240. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.ads.scenario.tsx +7 -0
  241. package/dist/starters/react/design-system/components/Content/Pictogram/Pictogram.tsx +26 -0
  242. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
  243. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
  244. package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
  245. package/dist/starters/react/design-system/index.ts +2 -1
  246. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
  247. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
  248. package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
  249. package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
  250. package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
  251. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
  252. package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
  253. package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
  254. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
  255. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
  256. package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
  257. package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
  258. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -1
  259. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
  260. package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
  261. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
  262. package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
  263. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -1
  264. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
  265. package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
  266. package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
  267. package/dist/starters/react/design-system/tokens/colors.css +1 -1
  268. package/dist/starters/react/design-system/tokens/spacing.css +22 -32
  269. package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
  270. package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
  271. package/dist/starters/react/ds.config.json +25 -6
  272. package/dist/starters/react/package.json +2 -6
  273. package/dist/starters/react/tsconfig.json +2 -3
  274. package/dist/starters/react/vite.config.ts +3 -3
  275. package/dist/style-boundaries.mjs +70 -25
  276. package/dist/task-cache.mjs +173 -72
  277. package/dist/task-worker.mjs +22 -11
  278. package/dist/test-boundaries.mjs +132 -59
  279. package/dist/themes-generated.mjs +1 -1
  280. package/dist/themes-watch.mjs +57 -22
  281. package/dist/themes.mjs +176 -73
  282. package/dist/token-export.mjs +39 -14
  283. package/dist/token-policy.mjs +6 -3
  284. package/dist/token-quality.mjs +6 -6
  285. package/dist/token-samples.mjs +16 -5
  286. package/dist/tokens.mjs +71 -26
  287. package/dist/ui-framework.mjs +16 -14
  288. package/dist/unit-contracts.mjs +251 -104
  289. package/dist/units.mjs +209 -99
  290. package/dist/usage.mjs +138 -38
  291. package/dist/validation-checks.mjs +115 -38
  292. package/dist/validation-inputs.mjs +191 -78
  293. package/dist/validation.mjs +268 -102
  294. package/dist/verification/browser.mjs +27 -5
  295. package/dist/verification.mjs +711 -187
  296. package/docs/ADS.md +96 -80
  297. package/docs/ARCHITECTURE.md +368 -137
  298. package/docs/BEHAVIORS.md +29 -25
  299. package/docs/CACHING.md +77 -17
  300. package/docs/CHANGELOG.md +332 -17
  301. package/docs/CONTRACTS.md +12 -4
  302. package/docs/DESIGN-REFERENCES.md +40 -0
  303. package/docs/GUIDE.md +300 -263
  304. package/docs/MCP.md +187 -324
  305. package/docs/SPATIAL-CHECKS.md +69 -0
  306. package/docs/benchmarks/README.md +39 -0
  307. package/package.json +43 -34
  308. package/dist/browser-audit.mjs +0 -429
  309. package/dist/create.mjs +0 -48
  310. package/dist/lint-config.mjs +0 -50
  311. package/dist/mcp/project-widget.bundle.js +0 -114
  312. package/dist/mcp/reports.mjs +0 -101
  313. package/dist/mcp/widget.bundle.js +0 -147
  314. package/dist/oxlint.mjs +0 -89
  315. package/dist/preview-builder.mjs +0 -133
  316. package/dist/preview-workers.mjs +0 -184
  317. package/dist/showcase.mjs +0 -77
  318. package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
  319. package/dist/skills/ads-break-ui/README.md +0 -16
  320. package/dist/skills/ads-break-ui/SKILL.md +0 -412
  321. package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
  322. package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
  323. package/dist/skills/ads-break-ui/references/behaviors.md +0 -412
  324. package/dist/skills/ads-break-ui/references/captures.md +0 -135
  325. package/dist/skills/ads-break-ui/references/contracts.md +0 -317
  326. package/dist/skills/ads-break-ui/references/design-data.md +0 -354
  327. package/dist/skills/ads-break-ui/references/drafts.md +0 -194
  328. package/dist/skills/ads-break-ui/references/evidence.md +0 -128
  329. package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -165
  330. package/dist/skills/ads-break-ui/references/layers.md +0 -145
  331. package/dist/skills/ads-break-ui/references/reporting.md +0 -101
  332. package/dist/skills/ads-break-ui/references/review.md +0 -97
  333. package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
  334. package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
  335. package/dist/skills/ads-break-ui/references/validation.md +0 -166
  336. package/dist/skills/ads-break-ui/references/verification.md +0 -58
  337. package/dist/skills/ads-break-ui/references/workflows.md +0 -90
  338. package/dist/skills/ads-designer/references/reporting.md +0 -101
  339. package/dist/skills/ads-import/references/reporting.md +0 -101
  340. package/dist/skills/ads-motion/LICENSE.upstream +0 -21
  341. package/dist/skills/ads-motion/README.md +0 -22
  342. package/dist/skills/ads-motion/SKILL.md +0 -385
  343. package/dist/skills/ads-motion/agents/openai.yaml +0 -4
  344. package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
  345. package/dist/skills/ads-motion/references/audit.md +0 -44
  346. package/dist/skills/ads-motion/references/behaviors.md +0 -412
  347. package/dist/skills/ads-motion/references/captures.md +0 -135
  348. package/dist/skills/ads-motion/references/contracts.md +0 -317
  349. package/dist/skills/ads-motion/references/design-data.md +0 -354
  350. package/dist/skills/ads-motion/references/drafts.md +0 -194
  351. package/dist/skills/ads-motion/references/evidence.md +0 -128
  352. package/dist/skills/ads-motion/references/guarded-editing.md +0 -165
  353. package/dist/skills/ads-motion/references/layers.md +0 -145
  354. package/dist/skills/ads-motion/references/motion-review.md +0 -35
  355. package/dist/skills/ads-motion/references/reporting.md +0 -101
  356. package/dist/skills/ads-motion/references/review.md +0 -97
  357. package/dist/skills/ads-motion/references/runtimes.md +0 -203
  358. package/dist/skills/ads-motion/references/scenarios.md +0 -246
  359. package/dist/skills/ads-motion/references/validation.md +0 -166
  360. package/dist/skills/ads-motion/references/verification.md +0 -39
  361. package/dist/skills/ads-motion/references/workflows.md +0 -90
  362. package/dist/skills/ads-port/references/reporting.md +0 -101
  363. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  364. package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
  365. package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  366. package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  367. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  368. package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
  369. package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
  370. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
  371. package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
  372. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
  373. package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
  374. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.contract.ts +0 -6
  375. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.exports.ts +0 -1
  376. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
  377. package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
  378. package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
  379. package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
  380. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.ads.exports.ts +0 -1
  381. package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
  382. package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
  383. package/dist/starters/react/design-system/review/grid-cell/GridCell.ads.exports.ts +0 -1
  384. package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
  385. package/dist/starters/react/design-system/review/index.ts +0 -6
  386. package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
  387. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.contract.ts +0 -6
  388. package/dist/starters/react/design-system/review/token-preview/TokenPreview.ads.exports.ts +0 -1
  389. package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
  390. package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
  391. package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
  392. package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
  393. package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
  394. package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
  395. package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
  396. package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
  397. package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
  398. package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
  399. package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
  400. package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
  401. package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
  402. package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
  403. package/dist/starters/react/package-lock.json +0 -4707
  404. package/dist/token-fixtures.mjs +0 -30
  405. package/docs/benchmarks/bun-previews.md +0 -91
  406. package/docs/benchmarks/preview-memory.md +0 -147
  407. package/docs/benchmarks/turbo-poc.md +0 -284
  408. package/docs/plans/execution-coordination.md +0 -57
  409. /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
  410. /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
@@ -1,412 +0,0 @@
1
- ---
2
- name: ads-break-ui
3
- description: Stress-test a project's local design-system components or patterns with extreme realistic content, empty and failure states, narrow containers, and accessibility settings. Build development fixtures, report layout failures, and fix them when requested.
4
- ---
5
-
6
- ## Choose the editing workflow
7
-
8
- Read [direct editing and MCP-only editing](references/workflows.md) and use the
9
- route matching the user's instructions and your actual source access:
10
-
11
- - **Direct code access:** edit owned files with the normal editor; use MCP for
12
- discovery, preview, captures and validation. Ordinary source edits do not
13
- require a tracked draft or `ads_accept`, even when MCP mutations are enabled.
14
- - **MCP-only access:** use source/draft mutation tools, rendered review and
15
- exact-revision acceptance. Follow [tracked drafts](references/drafts.md).
16
- Without mutation tools or another source channel, editing is unavailable.
17
-
18
- Direct editors can also choose tracked drafts for isolation and comparison.
19
- When using drafts, do not report coherent design work complete before reviewing
20
- and accepting its required proposals. If blocked, report the exact unfinished
21
- draft/blocker; retain a proposal intentionally only when the user requests it.
22
- Auto mode means agent review, without an extra human approval step.
23
-
24
- Compiler ownership is independent: direct edits normally use ADS's managed
25
- compiler. `mcp.previewWatch: false` is the externally managed builder variant;
26
- MCP serves published previews and evidence without starting a compiler.
27
-
28
-
29
- For validation scope, full audits, and CLI/MCP parity, read
30
- [validation.md](references/validation.md).
31
-
32
- For Node/Bun setup, MCP launch, compiler workers and project resource budgets,
33
- read [runtimes.md](references/runtimes.md). Keep runtime choices, worker counts
34
- and memory limits in project configuration; verify real workloads under them.
35
-
36
- Exercise the real component through its public API. Accept an item name, screen,
37
- file, or local project path; discover the relevant exports and usage when the
38
- request already identifies the target.
39
-
40
- ## Check overflow
41
-
42
- Run `ads audit` on the stressed scenario. `layout-overflow` fails it when the page overflows
43
- horizontally, an element reaches past the viewport or content is clipped at 390, 768 or 1280
44
- px, or a set width above 96 px overflows a 240 px container. `overflow-x: auto` scrollers and
45
- `text-overflow: ellipsis` are exempt. Fix a failure with
46
- fluid widths (`%`, `fr`, a `--grid-span-N` token in a container query), `min-width: 0` on flex
47
- and grid children, and wrapping, not with `overflow: hidden`.
48
-
49
- ## Discover the target
50
-
51
- When ADS MCP is connected, `ads_status`/`ads_catalog` identify public UI, guides and
52
- addressable scenarios. Registered Apps use project-built fixtures; verify the
53
- actual interactive view, not merely HTML delivery. Use the normal showcase for
54
- unsupported Apps features or required viewport/keyboard tests. Resolve served
55
- skill references relative to this `SKILL.md` URI and load them lazily; reading
56
- instructions does not establish native activation.
57
- Use the returned `projectRoot` and `project.commands`; the connected ADS may be
58
- inside a different or nested repository. Inspect the selected public API, owning
59
- source/available guides and relevant tokens, then mount its discovered scenario.
60
- Metadata and source reads do not prove rendered behavior.
61
-
62
- For MCP-only guarded editing with `ads_status.mutations.enabled`, every source change
63
- goes through a draft: discover the owner with `ads_units`, create its draft with
64
- `ads_create_draft`, read relevant ranges with `ads_read_file`, edit the draft's files
65
- or send a Git unified diff with `ads_update_draft({id, revision, patch})`, review it
66
- with `ads_show_draft`, then `ads_accept` its exact revision (`dryRun: true` checks
67
- without writing). A unit includes its own implementation, scenarios and fixtures;
68
- imported peers remain separate. `tokens` is the token foundation unit. Unit
69
- discovery and file ownership are distinct from preview IDs. An owner is in at most
70
- one open draft; coupled owners share one draft, and a draft can depend on another
71
- owner's open draft. Every authored file has one owner: an owner declares its public
72
- names in `<Owner>.ads.exports.ts` and its style permissions (`styles.writes`,
73
- `styles.inline`, `customization`) in `<Owner>.ads.contract.ts`. The public barrel,
74
- review entry and styles entry are generated, so no draft edits them. Unused
75
- permissions fail the core checks; do not declare a permission without its
76
- implementation. Acceptance runs the mandatory ADS gates and the project's acceptance
77
- policy; registered tests run when `acceptance.behaviorChecks` is true. `ads_verify`
78
- checks current source and accepts no draft argument. Fix a failed acceptance in the
79
- draft; never bypass a rejection with direct source writes. Shared styles/helpers use `foundation`, root guides use
80
- `documentation`, and branding/fonts use their discovered `assets/*` unit.
81
- Intentional configuration, rule exceptions, registered guard code and compiler
82
- changes use `configuration`; validate the proposed settings and keep mandatory
83
- ADS gates. For binary/large assets, generate `git diff --binary --full-index` into
84
- `.ds/patches/<name>.patch` and send `patchFile` instead of inline `patch`, so bytes
85
- stay out of model context. Binary changes require Git. These tool instructions
86
- apply to the MCP editing route; direct editors use the workflow above and run
87
- the same required gates/checks.
88
- For owner drafts, token-sample reconciliation, coupled transactions and local
89
- shared Data ownership, read [guarded-editing.md](references/guarded-editing.md).
90
- For on-demand current/candidate screenshots and visual dry-run review, read
91
- [captures.md](references/captures.md).
92
- For a rejected patch, failed check or loading error, read
93
- [evidence and diagnosis](references/evidence.md); inspect the failing boundary
94
- then page needed `ads_results` sections using the returned result ID. Inspect
95
- one `ads_investigate({unit,check,runId})` summary before changing APIs or policy;
96
- load request/error/artifact details only when relevant.
97
-
98
-
99
- Review/demo layout belongs in development-only `review/`, exported through the
100
- separate `${publicAlias}/review` entry (normally `@ds/review`), never the production
101
- barrel. Product patterns are application UI. For ownership, migration, token
102
- renderers, build aliases or `review-import` / `review-contract` diagnostics, read
103
- [development review UI](references/review.md), also served as `ads://guides/review`.
104
-
105
- A component provides one cohesive UI capability; a pattern arranges capabilities
106
- into reusable structures or workflows. Components may compose components/controllers;
107
- layout patterns may arrange slots. Do not classify by component count. For shared
108
- website/MCP App use, owner selection, or `component-dependency`,
109
- `component-contract` or `component-style` diagnostics, read
110
- [layer responsibilities and contracts](references/layers.md), also served as
111
- `ads://guides/layers`. Preserve public APIs and documented non-state styling hooks.
112
-
113
- For folder-group navigation, parent/child `covers`, conditional-control review, reference comparisons,
114
- public style-helper use, native slot/selector composition, fragment navigation,
115
- or `scenario-render` / `showcase-control` / `showcase-class` findings, read [scenario contracts](references/scenarios.md). Its verification
116
- examples explain API visibility, reference baselines and state-transition checks.
117
- Traced parents can cover declared public children; verified public Linaria
118
- helpers do not grant custom scenario CSS.
119
-
120
- For atomic base/variant styling, helper/wrapper class composition, extracted
121
- custom-property arithmetic, typed `@property` registrations, or an
122
- `atomic-composition-review` / `atomic-composition-limit` finding, read
123
- [atomic style composition](references/atomic-styles.md). The same guide is served
124
- as `ads://guides/atomic-styles`. It explains shorthand/logical conflicts and
125
- matching-property fixes, plus the build resolver for preserving opaque custom
126
- properties through extraction. Check review items in the real `cx` composition and verify
127
- computed styles across affected sizes/states; retain intentional product behavior.
128
-
129
- Controllers are UI behavior owners: private helpers stay with their component or
130
- pattern; reusable controllers use discovered `controllers/<Name>` units. Use the
131
- project's configured framework and declared dependencies, or plain TypeScript,
132
- browser APIs and local helpers. MCP hosts supply no ad hoc runtime APIs. The
133
- framework setting selects compilation/mounting; controller checks also validate
134
- imports. For controller/behavior work, read
135
- [behaviors.md](references/behaviors.md), also served as `ads://guides/behaviors`. Discover registered guarantees
136
- with `ads_behaviors`; use `ads_verify` for selected real checks. Optional
137
- `exercises` links public behavioral APIs to scenarios; keep `covers` for rendered
138
- UI. Registration and demonstration are not passing evidence. `<Owner>.ads.contract.ts`,
139
- scenarios, fixtures and checks stay out of production exports/imports. Verify
140
- current results, including lifecycle setup/cleanup/setup and the actual browser
141
- profile when promised. React StrictMode needs a development harness; wrapping a
142
- production widget cannot replay development effects. Keep dynamic behavior and
143
- capabilities intact rather than rewriting them only for static coverage.
144
-
145
- Before trusting a preview after edits, check `ads_status.build` or
146
- `ads://project/build`. Fix build diagnostics in owned source; an older view or
147
- unreported freshness is not evidence of current code. Notifications may not
148
- reach the agent.
149
-
150
- Read `docs/ARCHITECTURE.md` when present (or the existing architecture guide), the project's ADS guide, public barrel, item README, existing showcase/test
151
- harness, and package scripts. ADS is tooling; the project owns components,
152
- patterns, and token values. An empty ADS has no components to stress-test. Report
153
- that gap rather than installing a UI library or importing a catalogue.
154
-
155
- Identify the actual layout constraints and supported input domain. Separate a
156
- component defect from invalid application data, missing application validation,
157
- or a caller violating the documented API. Never change production data or
158
- backend validation just to create a stress case.
159
-
160
- React and native Preact are supported. Preserve the target runtime in both
161
- production and scenario builds; never alias React to Preact just to shrink a
162
- preview. Native Preact uses its own JSX transform, hooks and DOM events (live
163
- text updates use `onInput`). Native SVG uses DOM names such as `stroke-width`,
164
- not React presentation aliases. Keep Linaria extraction and the same public APIs.
165
- `ads create` makes React or Preact projects; the tool repository's working
166
- example uses Preact. Neither is a component dependency of the receiving project.
167
-
168
- ## Choose the work
169
-
170
- - Default: create or reuse development fixtures, exercise them, and report.
171
- - `data only`: provide fixtures for the requested data shape without editing UI.
172
- - `+fix`, or a request to fix: implement relevant findings in their owning layer
173
- and rerun the failing cases. Existing authorization to fix is sufficient.
174
-
175
- Read [references/catalog.md](references/catalog.md) for the relevant categories;
176
- select plausible extremes rather than applying the whole catalogue to every
177
- control. Its failure notes are diagnostic prompts; the local API and domain
178
- contract determine the expected behavior. Use local data shapes and realistic locales.
179
- Keep baseline, worst-case,
180
- empty, and boundary cases distinct so the cause of a failure stays visible.
181
-
182
- ## Exercise and diagnose
183
-
184
- Use the project showcase as the shared review surface for agents and humans.
185
- Scenarios import the same public ADS components/patterns and foundation
186
- styles as the app. Use the built-in client and the project compiler.
187
- An isolated harness is useful for diagnosis; retain useful regression cases in
188
- the project showcase. A static HTML imitation cannot verify the component.
189
- Keep fixture switches and test data out of production runtime exports. If useful,
190
- let the development harness select a fixture through a query parameter so a
191
- failure is reproducible.
192
-
193
- Scenarios own sample data and example selection. Missing reusable UI belongs in the
194
- ADS implementation and public exports, not in a scenario-only control. The tool supplies the neutral client shell; reusable scenario review layouts
195
- are exported through the separate development-only review entry.
196
- Showcase/scenario files define no CSS, custom classes, or widget markup. Change
197
- the owning ADS frame pattern when a necessary layout is missing. Run shared ADS/project guards for its build and the app
198
- build, then give a full running URL or exact run command for human review.
199
-
200
- The showcase is a minimal shell plus an MCP client and Apps host, supplied by ADS
201
- tooling. It discovers Tokens/Components/Patterns/Composition entries through MCP
202
- tools and renders their scenarios in the preview App. Navigation, theme and
203
- pane/header visibility belong to the tool client. Do not create page files,
204
- copy its shell into the project or assemble a second catalogue/rendering pipeline.
205
-
206
- When MCP is connected, open the running URL from `ads_status`. Otherwise run the
207
- installed `ads showcase` or the project's `dev:showcase` script. Do not launch a
208
- second runtime/compiler for the same connected project. A configured project
209
- preview watcher publishes a shared graph on first demand and after source
210
- changes. The built-in client refreshes discovery and the active scenario in the
211
- same App after a successful build. Shared runtime, foundation CSS, fonts and
212
- selected scenario modules load through MCP
213
- resources inside the sandboxed App. Never inject project styles/runtime into
214
- the outer host. Keep the configured framework, compiler and mount/unmount adapter
215
- consistent; scenario teardown must release owned timers, portals and workers.
216
- The host shows errors and marks retained output as stale. Other hosts may need an
217
- explicit preview-tool invocation. Compilation remains project-owned and required
218
- for TSX/Linaria; it is automatic, not eliminated.
219
-
220
- Reusable review layouts belong in development-only `review/`, exported through
221
- the separate review entry, while scenario
222
- files define no CSS, custom classes or widget replicas. Keep real presentation in
223
- its component/pattern owner. The tooling shell's CSS is outside that project
224
- contract. Legacy custom showcase pages may be retained during migration; new
225
- projects require no TokensPage/ComponentsPage/PatternsPage/CompositionPage files.
226
-
227
- Colocate `<Owner>.ads.scenario.tsx` and `<Owner>.ads.fixture.ts` with tokens and
228
- each component/pattern. Put larger entries under `composition/<Name>/` with their
229
- own marked scenario and fixture. Export a default
230
- zero-input mountable view and literal metadata, for example
231
- `export const scenario = { title: "Button states", covers: ["Button"] };`.
232
- Import the real UI from the public ADS alias. Keep fixture inputs, simulated
233
- services and initial state/callback adapters beside the scenario. Empty fixtures
234
- are valid for an entry with no inputs. Extra development helpers use a
235
- `<Owner>.ads.helpers.ts` file, so guards
236
- recognize their role even beside runtime code. Never require a page, router or store to
237
- initialize the entry. Several contextual public parts may share one scenario.
238
-
239
- IDs derive from ADS-relative filenames: both `components/core/Button/Button.ads.scenario.tsx`
240
- and `components/core/Button.ads.scenario.tsx` identify `components/core/Button`.
241
- Use one form, no duplicate IDs or hand-maintained registry. Renames change IDs.
242
- The showcase and external hosts mount the same discovered entry. ADS owns Bun
243
- preview compilation and Linaria extraction independently of the application's
244
- bundler. Configure the ADS framework and preview manifest; keep the project-owned
245
- framework mount adapter and its cleanup. Use `ads compile` for standalone/CI
246
- preview builds. MCP discovers metadata without importing executable TSX. Read
247
- [Runtime and compiler setup](references/runtimes.md) when setting up or migrating
248
- the compiler.
249
- Use `ads_scenarios` (query/kind/limit) and `ads_show_scenario({id})` to open an exact
250
- entry. Check its build freshness; HTML delivery is not browser verification.
251
- If Apps or resource forwarding are unavailable, open that scenario in the real
252
- showcase, using the tool result's URL. Do not build a preview-only replica.
253
-
254
- For a production screen, find and render the application's public screen pattern.
255
- Its owner supplies structure, controls, layout and presentation. Scenario fixtures
256
- supply data/state/callbacks. Move shared presentation into a pattern if needed,
257
- preserving existing behavior and lazy imports, workers, caching and cancellation.
258
- Do not reassemble an alternative screen or substitute placeholder content.
259
- Screen reuse remains skill guidance, not a dedicated screen-parity lint.
260
-
261
- Resolve `scenario-contract`, `scenario-render` and `scenario-coverage` findings
262
- with meaningful entries. Every public renderable component and pattern needs an
263
- addressable scenario, including unused exports; types/constants/utilities do not.
264
- Only public render references reachable from the default entry count. Tests and
265
- unused imports/functions do not. Static reachability does not prove successful
266
- mounting, correct content, every branch/state or visual parity: open each affected
267
- entry independently and verify real behavior at narrow/wide sizes in both themes.
268
- The older `showcase-coverage` policy separately checks application references.
269
-
270
- Token previews use that same scenario pipeline. Colocate a token scenario and
271
- fixture under the configured token directory. Declare metadata
272
- `{ title: fixture.title, covers: ["TokenSamples"], samples: fixture.samples }`.
273
- The renderer name is project-owned; use its real public API. Each literal fixture
274
- sample declares `{ token, property, probe }`: a real token, the CSS property its
275
- sample demonstrates, and a valid test value different from that token's current
276
- value. Pass `samples` into the rendered development-only review renderer. Names, sample text,
277
- bindings and probes are fixture data; displayed values come from foundation CSS.
278
- There is no property catalogue, token-name mapping or probe palette in ADS.
279
- Every token needs sample coverage; fabricated tokens, missing bindings/probes,
280
- unused fixtures and value-only lists fail the static gates. `covers: []` is invalid.
281
- During App rendering, the browser checks sample markers `data-ads-token` and
282
- `data-ads-property`, validates CSS with its own `CSS.supports`, and temporarily
283
- probes each token to verify that the declared sample property responds. It restores
284
- values immediately. Missing, hidden, invalid or hardcoded samples produce a preview
285
- error instead of a successful review. These browser checks apply to the mounted
286
- scenario/theme, not every application state or pixel-level design quality.
287
- Keep styles in the project renderer; do not add inline-style exemptions to scenarios.
288
- Fix `token-scenario-reference`, `token-scenario-render` and `token-scenario-coverage`
289
- findings. Metadata and unused fixture fields do not count. Discover exact token IDs with `ads_scenarios({kind:"tokens"})`; mount them
290
- with `ads_show_scenario({id})` or `ads_show_tokens({category:id})`. With the shared
291
- resource compiler, omitting category opens the first project token scenario.
292
- Legacy compilers retain the generic definition inspector. Use `ads_tokens` for
293
- source definitions and values; inspecting definitions does not prove UI parity.
294
- The tool keeps the shared naming contract; sample templates and their token
295
- lists belong to the project.
296
-
297
- Development review helpers need no product catalogue scenario. A token scenario
298
- may name its review renderer in `covers`; ordinary component/pattern scenarios
299
- cover their production subjects. Keep review exports in the separate review entry.
300
- Remove redundant helper catalogue scenarios during migration. Product UI retains
301
- its real render-coverage requirement. Keep directory ownership anchored by its
302
- implementation entry (`index` or a file matching the directory name).
303
- Import colocated image/font fixtures so MCP serves them through asset resources.
304
- For a broken-image case, use a local failing fixture, rather than an external
305
- network failure or a domain-specific CSP exception. Production asset APIs remain
306
- unrestricted by this fixture guidance.
307
-
308
- Scenarios, colocated fixtures and helpers are development-only. Never export them
309
- from the runtime barrel or import them in production, including through aliases,
310
- re-exports or dynamic imports. They may not import application stores, routers,
311
- providers or HTTP clients. Live business data is application-owned; UI uses typed
312
- inputs or injected services/callbacks. Direct global fetch/XHR/WebSocket/EventSource
313
- is rejected; custom clients and computed access require review/project guards.
314
- Use local simulated services in fixtures. Tests may import fixtures; load real
315
- foundation CSS rather than assigning shared token values in JavaScript. Keep
316
- full-app integration harnesses and workflow coverage in application test support.
317
-
318
- Foundation CSS is checked, not an escape hatch. Value sheets define shared tokens
319
- on the document root (per-theme halves) or a brand's `[data-brand]`; `fonts.css`
320
- holds font-face metadata. `base.css` has three closed roles: root/body typography,
321
- canvas and theme defaults; limited native normalization; and global focus
322
- indicators/reduced-motion rules. Every selector
323
- branch, property and value must fit its role. Token-backed control skins, layout,
324
- interactive state rules and owner hooks are rejected even through `:where()`.
325
- Do not copy an unchecked upstream preflight or turn a component repair into a reset.
326
- Keep behavior and skin in their runtime owner. Put demo-only sizing and framing
327
- in a development-only review helper; add component props for a deliberate runtime
328
- API need. Preserve required capabilities while following ownership rules.
329
- Use tokens for absolute/font-relative lengths, including `ch`, `ex`, `cap`, `ic`
330
- and `lh`; calculations and fallback values follow the same rule. Structural
331
- angle units remain available for orientation, skew and spin. Put tunable visual
332
- angles in project tokens; static checks cannot infer that intent. Percentages,
333
- grid fractions and viewport/container relationships retain structural use.
334
- Browser review still verifies the effects.
335
-
336
- Invalid metadata and source failures keep the managed compiler alive for repairs.
337
- Read `ads_status.build` or `ads://project/build`, fix the owner, then wait for current
338
- successful output. If the builder exited, fix its command and invoke the preview
339
- again; ADS starts one fresh child without an MCP reconnect. Compiler-code changes
340
- also reload on the next preview invocation. Reconnect the client when upgrading
341
- the ADS server package itself. Persistent SSE/notification streams make
342
- `networkidle` unsuitable: wait for the App's current ready/error state instead.
343
-
344
-
345
-
346
-
347
- Run ADS's own gates directly with `ads check`; acceptance and validation do not
348
- require Oxlint. Register project-specific checks as explicit package scripts in
349
- `mcp.mutationChecks` / `validation.checks`, and behavior tests through ADS contracts.
350
- A project can use its own linter in those scripts when desired. Measured renderer properties and documented
351
- non-state hooks are declared in the owner's contract (`styles.writes`,
352
- `styles.inline`, `customization`); shared token writes and primitive state overrides
353
- cannot be allowed. When moving JSX inline geometry to imperative writes, change the
354
- source and its contract permissions together in the owner's draft. Remove obsolete
355
- `styles.inline` entries and unused `styles.writes` properties; do not broaden
356
- permissions to keep a change passing.
357
- Pointer-capture advisories call for review of cancellation, capture loss and
358
- teardown, including cleanup delegated to hooks. Verify actual cleanup in a browser;
359
- a locally present handler alone does not prove correctness.
360
- Add generic architectural protections to
361
- ADS core and keep domain/component-specific rules registered in project setup.
362
-
363
- Read [references/verification.md](references/verification.md) for viewport,
364
- interaction, and build checks. Inspect both the item alone and its real pattern
365
- or application container. A wide viewport can hide a narrow-sidebar defect.
366
-
367
- For each finding, give the triggering value/state, actual container conditions,
368
- visible failure, owning file/line, likely cause, and proposed fix. Distinguish:
369
-
370
- | Severity | Meaning |
371
- |----------|---------|
372
- | Broken | Content or an action is inaccessible, controls overlap, or layout cannot be used |
373
- | Ugly | The UI remains usable but spacing, wrapping, or alignment visibly fails |
374
- | Fragile | A demonstrated boundary leaves little room for plausible content changes |
375
-
376
- Report observed failures separately from untested risks. Include tested cases
377
- that passed when that helps define the coverage. Screenshots alone do not prove
378
- keyboard, focus, scrolling, or gesture behavior.
379
-
380
- ## Fix in the owner
381
-
382
- Components own reusable sizing, wrapping, state visuals, and interaction;
383
- patterns own reusable composition; the app owns data and domain constraints.
384
- Use typed variants and documented tokens. Do not dress component internals from
385
- showcase CSS or introduce raw visual constants outside token declarations.
386
-
387
- Choose wrapping, truncation, scrolling, or limits from the content's purpose.
388
- For example, a visually truncated identifier may need a way to retrieve its full
389
- value. Preserve documented states, accessibility, and source credits.
390
-
391
- Keep useful regression fixtures. Add tests for demonstrated behavior defects
392
- where they give lasting coverage. A project-specific static guard is appropriate only when it can establish a
393
- concrete public-API misuse; register it as an explicit project check and document
394
- accepted/rejected examples and false-positive limits. Layout quality remains a
395
- rendered check.
396
-
397
- Source credits and retained MIT terms: [README.md](README.md) and
398
- [LICENSE.upstream](LICENSE.upstream).
399
-
400
- For static owner contracts, `.ads.` development roles, typed paint/binding APIs,
401
- declarative parent graphs, constrained theme bindings, private visual subject roles,
402
- shared Data ownership and guarded migration, read
403
- [contracts.md](references/contracts.md) when the task touches those contracts.
404
-
405
- For a suspected ADS defect or missing capability after targeted investigation, read
406
- [reporting.md](references/reporting.md). Record actionable observations with
407
- `ads_report_bug` or `ads_request_feature`; preserve valid APIs and rejected drafts.
408
-
409
- For Data/UX/Skin boundaries, shared token reuse and private-value diagnostics, read
410
- [design-data.md](references/design-data.md). Components own mappings and mechanics,
411
- not independent token catalogues. Existing project font, text and spacing roles
412
- take precedence over divergent upstream constants during adaptation.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "ADS Break UI"
3
- short_description: "Stress-test local ADS components with realistic extremes"
4
- default_prompt: "Use $ads-break-ui to stress-test a component through this project’s real design-system API."