@reqvire-org/ads 0.3.53 → 0.4.2

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