@reqvire-org/ads 0.3.42 → 0.3.44

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 (131) hide show
  1. package/README.md +11 -5
  2. package/dist/assets.mjs +48 -2
  3. package/dist/bootstrap-ds/ADS.md +2 -1
  4. package/dist/bootstrap-ds/README.md +25 -14
  5. package/dist/bootstrap-ds/design-system/assets/brand/README.md +26 -19
  6. package/dist/bootstrap-ds/design-system/assets/brand/app-icon.svg +4 -0
  7. package/dist/bootstrap-ds/design-system/assets/brand/logo.dark.svg +6 -0
  8. package/dist/bootstrap-ds/design-system/assets/brand/logo.svg +6 -0
  9. package/dist/bootstrap-ds/design-system/components/Actions/Button/Button.ads.fixture.ts +1 -0
  10. package/dist/bootstrap-ds/design-system/components/Actions/Button/Button.ads.scenario.tsx +13 -0
  11. package/dist/bootstrap-ds/design-system/components/Actions/Button/Button.tsx +49 -0
  12. package/dist/bootstrap-ds/design-system/components/Actions/Button/README.md +12 -0
  13. package/dist/bootstrap-ds/design-system/components/Content/Logo/Logo.ads.fixture.ts +1 -0
  14. package/dist/bootstrap-ds/design-system/components/Content/Logo/Logo.ads.scenario.tsx +12 -0
  15. package/dist/bootstrap-ds/design-system/components/Content/Logo/Logo.tsx +41 -0
  16. package/dist/bootstrap-ds/design-system/components/Content/Logo/README.md +10 -0
  17. package/dist/bootstrap-ds/design-system/components/Forms/TextField/README.md +14 -0
  18. package/dist/bootstrap-ds/design-system/components/Forms/TextField/TextField.ads.fixture.ts +6 -0
  19. package/dist/bootstrap-ds/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +13 -0
  20. package/dist/bootstrap-ds/design-system/components/Forms/TextField/TextField.tsx +57 -0
  21. package/dist/bootstrap-ds/design-system/composition/Search/SearchPage/README.md +4 -0
  22. package/dist/bootstrap-ds/design-system/composition/Search/SearchPage/SearchPage.ads.fixture.ts +7 -0
  23. package/dist/bootstrap-ds/design-system/composition/Search/SearchPage/SearchPage.ads.scenario.tsx +16 -0
  24. package/dist/bootstrap-ds/design-system/index.ts +5 -1
  25. package/dist/bootstrap-ds/design-system/patterns/Search/SearchBar/README.md +12 -0
  26. package/dist/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.ads.fixture.ts +1 -0
  27. package/dist/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.ads.scenario.tsx +11 -0
  28. package/dist/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.tsx +41 -0
  29. package/dist/bootstrap-ds/design-system/review/brand-preview/BrandPreview.tsx +115 -0
  30. package/dist/bootstrap-ds/design-system/review/demo-frame/DemoFrame.tsx +29 -0
  31. package/dist/bootstrap-ds/design-system/review/index.ts +3 -0
  32. package/dist/bootstrap-ds/design-system/review/screen-frame/ScreenFrame.tsx +34 -0
  33. package/dist/bootstrap-ds/design-system/review/token-preview/TokenPreview.tsx +107 -19
  34. package/dist/bootstrap-ds/design-system/tokens/Brand.ads.fixture.ts +12 -0
  35. package/dist/bootstrap-ds/design-system/tokens/Brand.ads.scenario.tsx +4 -0
  36. package/dist/bootstrap-ds/design-system/tokens/Color.ads.fixture.ts +18 -0
  37. package/dist/bootstrap-ds/design-system/tokens/{Foundation.ads.scenario.tsx → Color.ads.scenario.tsx} +1 -1
  38. package/dist/{skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Foundation.ads.fixture.ts → bootstrap-ds/design-system/tokens/SpaceTypeMotion.ads.fixture.ts} +1 -13
  39. package/dist/bootstrap-ds/design-system/tokens/SpaceTypeMotion.ads.scenario.tsx +4 -0
  40. package/dist/bootstrap-ds/ds.config.json +2 -1
  41. package/dist/bootstrap-ds-preact/design-system/review/demo-frame/DemoFrame.tsx +29 -0
  42. package/dist/bootstrap-ds-preact/design-system/review/screen-frame/ScreenFrame.tsx +34 -0
  43. package/dist/bootstrap-ds-preact/design-system/review/token-preview/TokenPreview.tsx +119 -0
  44. package/dist/bootstrap-ds-preact/design-system/showcase/mcp/main.tsx +6 -0
  45. package/dist/bootstrap-ds-preact/ds.config.json +20 -0
  46. package/dist/bootstrap-ds-preact/package.json +38 -0
  47. package/dist/bootstrap-ds-preact/src/vite-env.d.ts +7 -0
  48. package/dist/bootstrap-ds-preact/tsconfig.json +36 -0
  49. package/dist/bootstrap-ds-preact/vite.config.ts +23 -0
  50. package/dist/brand-assets.mjs +136 -3
  51. package/dist/check.mjs +4 -2
  52. package/dist/config.mjs +49 -1
  53. package/dist/init.mjs +16 -7
  54. package/dist/mcp/preview-widget.bundle.js +1 -1
  55. package/dist/mcp/project-widget.bundle.js +1 -1
  56. package/dist/mcp/server.mjs +5 -2
  57. package/dist/mcp/showcase-host.mjs +5 -1
  58. package/dist/preview-builder.mjs +8 -2
  59. package/dist/preview-bun.mjs +4 -2
  60. package/dist/preview-resources.mjs +1 -1
  61. package/dist/scenarios.mjs +11 -4
  62. package/dist/skills/ads-break-ui/SKILL.md +2 -2
  63. package/dist/skills/ads-designer/SKILL.md +42 -19
  64. package/dist/skills/ads-designer/assets/bootstrap-ds/ADS.md +2 -1
  65. package/dist/skills/ads-designer/assets/bootstrap-ds/README.md +25 -14
  66. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/brand/README.md +26 -19
  67. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/brand/app-icon.svg +4 -0
  68. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/brand/logo.dark.svg +6 -0
  69. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/assets/brand/logo.svg +6 -0
  70. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Actions/Button/Button.ads.fixture.ts +1 -0
  71. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Actions/Button/Button.ads.scenario.tsx +13 -0
  72. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Actions/Button/Button.tsx +49 -0
  73. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Actions/Button/README.md +12 -0
  74. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Content/Logo/Logo.ads.fixture.ts +1 -0
  75. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Content/Logo/Logo.ads.scenario.tsx +12 -0
  76. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Content/Logo/Logo.tsx +41 -0
  77. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Content/Logo/README.md +10 -0
  78. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Forms/TextField/README.md +14 -0
  79. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Forms/TextField/TextField.ads.fixture.ts +6 -0
  80. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Forms/TextField/TextField.ads.scenario.tsx +13 -0
  81. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/Forms/TextField/TextField.tsx +57 -0
  82. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/composition/Search/SearchPage/README.md +4 -0
  83. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/composition/Search/SearchPage/SearchPage.ads.fixture.ts +7 -0
  84. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/composition/Search/SearchPage/SearchPage.ads.scenario.tsx +16 -0
  85. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/index.ts +5 -1
  86. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/Search/SearchBar/README.md +12 -0
  87. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.ads.fixture.ts +1 -0
  88. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.ads.scenario.tsx +11 -0
  89. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/Search/SearchBar/SearchBar.tsx +41 -0
  90. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/review/brand-preview/BrandPreview.tsx +115 -0
  91. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/review/demo-frame/DemoFrame.tsx +29 -0
  92. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/review/index.ts +3 -0
  93. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/review/screen-frame/ScreenFrame.tsx +34 -0
  94. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/review/token-preview/TokenPreview.tsx +107 -19
  95. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Brand.ads.fixture.ts +12 -0
  96. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Brand.ads.scenario.tsx +4 -0
  97. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/Color.ads.fixture.ts +18 -0
  98. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/{Foundation.ads.scenario.tsx → Color.ads.scenario.tsx} +1 -1
  99. package/dist/{bootstrap-ds/design-system/tokens/Foundation.ads.fixture.ts → skills/ads-designer/assets/bootstrap-ds/design-system/tokens/SpaceTypeMotion.ads.fixture.ts} +1 -13
  100. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/tokens/SpaceTypeMotion.ads.scenario.tsx +4 -0
  101. package/dist/skills/ads-designer/assets/bootstrap-ds/ds.config.json +2 -1
  102. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/design-system/review/demo-frame/DemoFrame.tsx +29 -0
  103. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/design-system/review/screen-frame/ScreenFrame.tsx +34 -0
  104. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/design-system/review/token-preview/TokenPreview.tsx +119 -0
  105. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/design-system/showcase/mcp/main.tsx +6 -0
  106. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/ds.config.json +20 -0
  107. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/package.json +38 -0
  108. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/src/vite-env.d.ts +7 -0
  109. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/tsconfig.json +36 -0
  110. package/dist/skills/ads-designer/assets/bootstrap-ds-preact/vite.config.ts +23 -0
  111. package/dist/skills/ads-designer/references/branding.md +89 -0
  112. package/dist/skills/ads-designer/references/cli.md +1 -1
  113. package/dist/skills/ads-designer/references/design-craft.md +1 -1
  114. package/dist/skills/ads-import/SKILL.md +2 -2
  115. package/dist/skills/ads-import/references/branding.md +10 -3
  116. package/dist/skills/ads-import/references/cli.md +1 -1
  117. package/dist/skills/ads-motion/SKILL.md +2 -2
  118. package/dist/skills/ads-port/SKILL.md +3 -3
  119. package/dist/skills/ads-port/references/cli.md +1 -1
  120. package/dist/token-fixtures.mjs +2 -2
  121. package/docs/ADS.md +12 -9
  122. package/docs/ARCHITECTURE.md +3 -2
  123. package/docs/CHANGELOG.md +56 -12
  124. package/docs/GUIDE.md +57 -15
  125. package/package.json +1 -1
  126. package/dist/bootstrap-ds/design-system/components/.gitkeep +0 -0
  127. package/dist/bootstrap-ds/design-system/composition/.gitkeep +0 -0
  128. package/dist/bootstrap-ds/design-system/patterns/.gitkeep +0 -0
  129. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/components/.gitkeep +0 -0
  130. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/composition/.gitkeep +0 -0
  131. package/dist/skills/ads-designer/assets/bootstrap-ds/design-system/patterns/.gitkeep +0 -0
package/docs/CHANGELOG.md CHANGED
@@ -1,34 +1,78 @@
1
1
  # Changelog
2
2
 
3
- ## 0.3.42
3
+ ## 0.3.44
4
4
 
5
5
  <!-- ads-local-tests:start -->
6
- Local verification: **624/624 passed** with `ADS_TEST_BUN=1 npm test`.
7
- Tested commit: `b85bcac055ff420b612b94961b177377c5f0dd16`; Node v24.13.0, Bun 1.4.1.
8
- Completed 2026-10-26T17:07:50.019Z (754 seconds).
6
+ Local verification: **633/633 passed** with `ADS_TEST_BUN=1 npm test`.
7
+ Tested commit: `25adabb839e2bdf081047489f991b8bbe346a0ca`; Node v24.13.0, Bun 1.4.1.
8
+ Completed 2026-10-29T20:12:16.640Z (1076 seconds).
9
9
 
10
10
  <!-- ads-local-test-proof
11
11
  {
12
12
  "schema": 1,
13
- "version": "0.3.42",
14
- "commit": "b85bcac055ff420b612b94961b177377c5f0dd16",
15
- "sourceSha256": "a3ac8b5ef580cb6793968b91c6a68a33f286194e39ab7def682b4642a71cde74",
13
+ "version": "0.3.44",
14
+ "commit": "25adabb839e2bdf081047489f991b8bbe346a0ca",
15
+ "sourceSha256": "c55def6d682c9663ae3452b30d13730cf5601325b63f02877e794f58401d91a8",
16
16
  "command": "ADS_TEST_BUN=1 npm test",
17
17
  "result": "pass",
18
- "tests": 624,
19
- "pass": 624,
18
+ "tests": 633,
19
+ "pass": 633,
20
20
  "fail": 0,
21
21
  "cancelled": 0,
22
22
  "skipped": 0,
23
23
  "node": "v24.13.0",
24
24
  "bun": "1.4.1",
25
- "completedAt": "2026-10-26T17:07:50.019Z",
26
- "durationMs": 754350,
27
- "logSha256": "18afde78bb91bacea61cc80ff8e15cd49b66f775a2f3998c91cf3b1522388600"
25
+ "completedAt": "2026-10-29T20:12:16.640Z",
26
+ "durationMs": 1076386,
27
+ "logSha256": "054231c8182cca1fa2ad782d15be708f5f8bf109754dfe45c459dbefc47ddc94"
28
28
  }
29
29
  -->
30
30
  <!-- ads-local-tests:end -->
31
31
 
32
+ - Committed brand targets: `assets.targets` renders SVG masters from
33
+ `assets/brand/` to project paths as SVG copies, PNGs (square or width × height,
34
+ optional background), ICO and ICNS files, for native launchers, tray icons and
35
+ upload exports. `ads assets` re-renders only what changed and records each output
36
+ in the committed `assets/generated.json`; `ads check` fails (`brand-output-stale`)
37
+ on missing, hand-edited or outdated outputs by comparing hashes, without rendering.
38
+ - Glyph sets: `assets.glyphs` turns a folder of UI icon SVGs (and `aliases.json`)
39
+ into one typed module with default root attributes, kept fresh the same way.
40
+ - Brand checks warn about artwork that is undescribed in `assets/brand/README.md`,
41
+ unlicensed, missing from a brand preview or unused.
42
+ - Brand previews: a token-folder scenario marked `brand: true` previews artwork
43
+ without token samples and is not audited as tokens. Previews may import the ADS's
44
+ own `assets/` files. Scenario metadata reads `true`/`false` literals.
45
+ - Fix the Bun preview compiler giving a `?raw` import the URL of the same file when
46
+ another preview imports it with `?url` (a brand preview and a component reading
47
+ the SVG's geometry).
48
+ - The starter has placeholder brand artwork (a logo with its `logo.dark.svg`
49
+ variant and an app icon set as `assets.iconSource`), a `Logo` component that
50
+ switches artwork by theme, and a Brand preview rendered by the review
51
+ `BrandPreview`. The branding guide is served as `ads://guides/branding`.
52
+
53
+ ## 0.3.43
54
+
55
+ - The starter is a base to build on: two token groups (Color; Space, type &
56
+ motion) shown as tiles with live values, `Button` and `TextField` in two
57
+ component groups, a `SearchBar` pattern and a `SearchPage` composition, with
58
+ review `DemoFrame` and `ScreenFrame` renderers. Init copies the token groups and
59
+ keeps section folders' placeholders only while they are empty.
60
+ - Ship the starter for Preact as well as React: `bootstrap-ds-preact/`
61
+ replaces the React starter's package, compiler settings, scenario mount, token
62
+ preview hooks and scenario types when copied over `bootstrap-ds/`. The
63
+ `ads-designer` skill bundles both and bootstraps the project's framework instead
64
+ of porting React files by hand.
65
+ - `ads init --framework` writes that framework's token preview and scenario mount
66
+ from its starter.
67
+ - Fix Vite preview builds failing for every view once a growing warm-up graph
68
+ reused a module whose transform generates a stylesheet (Linaria's virtual
69
+ `.wyw-in-js.css`): such cached modules are transformed again in the new graph.
70
+ - A showcase whose port is taken names the likely owner (another showcase or the
71
+ project's ADS MCP) and how to resolve it. Skills and the starter guide keep
72
+ `dev:showcase` and the MCP on different ports.
73
+
74
+ ## 0.3.42
75
+
32
76
  - Use pinned internal Turbo for deterministic architecture batch tasks, with
33
77
  local caching enabled by default, fresh/off/shared-directory controls and
34
78
  opt-in remote caching. Preserve policy script/test execution, source fences,
package/docs/GUIDE.md CHANGED
@@ -86,8 +86,8 @@ Current source checking supports `.js`, `.jsx`, `.ts`, `.tsx`, their module
86
86
  variants, `.css`, and imported Linaria `css` and `styled` templates. JSX style/type checks
87
87
  support React and native Preact, including imported factory aliases and
88
88
  DOM/CSS types. Scenario discovery, coverage, ownership checks and MCP delivery
89
- apply to both. The empty application starter uses React; this checkout’s working
90
- example uses native Preact 11 with TypeScript and Linaria. ADS adds neither runtime
89
+ apply to both. The empty application starter comes for React and for Preact; this
90
+ checkout’s working example uses native Preact 11 with TypeScript and Linaria. ADS adds neither runtime
91
91
  to a receiving application and never silently aliases React to Preact.
92
92
 
93
93
  Vue/Svelte single-file components and HTML templates are not parsed by these
@@ -126,7 +126,7 @@ project's existing build:
126
126
  result. Static source checks do not establish complete extraction or
127
127
  unused-style removal.
128
128
 
129
- The [empty starter's dependencies](https://github.com/reqvire-org/ads/blob/main/bootstrap-ds/package.json),
129
+ The [starter's dependencies](https://github.com/reqvire-org/ads/blob/main/bootstrap-ds/package.json),
130
130
  [entry build](https://github.com/reqvire-org/ads/blob/main/bootstrap-ds/vite.config.ts),
131
131
  and [preview compiler](https://github.com/reqvire-org/ads/blob/main/bootstrap-ds/scripts/build-mcp-previews.mjs)
132
132
  provide the React/Vite setup. Merge the needed integration into an existing
@@ -161,17 +161,17 @@ namespace is also recognized by guards. See the [Preact upgrade guide](https://p
161
161
 
162
162
  The [working example](https://github.com/reqvire-org/ads/tree/main/design-system)
163
163
  and its [compiler adapter](https://github.com/reqvire-org/ads/blob/main/scripts/build-mcp-previews.mjs)
164
- show the native setup. When converting the copied React starter to Preact,
165
- update its runtime dependencies, JSX settings, framework transform, mount adapter,
166
- and existing `framework` field together. Change the existing foundation scenario's
167
- hooks to `preact/hooks`; init preserves copied source. Then run `ads init` using
168
- the saved choice. For a Preact app without a saved framework, run
164
+ show the native setup. A new Preact project starts from the Preact starter:
165
+ `bootstrap-ds/` with `bootstrap-ds-preact/` copied over it, which replaces the
166
+ runtime dependencies, JSX settings, framework transform, mount adapter, token
167
+ preview hooks, scenario types and `framework` field together. Then run `ads init`
168
+ using the saved choice. For a Preact app without a saved framework, run
169
169
  `ads init --framework preact`; newly generated foundation scenarios use native
170
170
  hooks. Init preserves the application's compiler, dependencies and mount adapter.
171
171
 
172
172
  ### CSS correctness in the example and starter
173
173
 
174
- The example and empty starter use Biome only for CSS, configured in
174
+ The example and starter use Biome only for CSS, configured in
175
175
  `biome.css.json`. Parsing rejects malformed CSS and invalid hex colors, including
176
176
  token values. Explicit lint rules reject duplicate font names and selectors;
177
177
  the starter also rejects duplicate properties. Formatting is disabled. ADS directly checks architecture, token usage and
@@ -197,12 +197,13 @@ For a Bun-managed project, use
197
197
  and `bun --bun run build`. Node is unnecessary. No archive or directory argument is needed for a published
198
198
  release. `init` requires an existing project; it does not create an application.
199
199
  For starting from zero, the `ads-designer` skill carries a standalone empty
200
- React/TypeScript/Linaria application scaffold. Copy that first, then run `init`
200
+ TypeScript/Linaria application scaffold for React (`bootstrap-ds/`) and Preact
201
+ (`bootstrap-ds-preact/` copied over it). Copy that first, then run `init`
201
202
  inside it when a tool distribution is available.
202
203
 
203
204
  Choose `--framework react` or `--framework preact` when the project has no saved
204
205
  framework. Init persists it as `framework` in `ds.config.json`. Subsequent runs
205
- reuse the saved value, and the copied React starter already declares React.
206
+ reuse the saved value, and each copied starter already declares its framework.
206
207
  There is no implicit framework detection or default for initialization.
207
208
 
208
209
  A conflicting flag stops init before writes. Init also checks available
@@ -497,7 +498,7 @@ or direct component imports are used by this client.
497
498
 
498
499
  The project owns implementations, colocated scenarios/fixtures, foundation
499
500
  CSS and a framework mount adapter. ADS supplies its native Bun preview compiler.
500
- The empty starter and init provide the mount under `design-system/showcase/mcp/`.
501
+ The starter and init provide the mount under `design-system/showcase/mcp/`.
501
502
  Configure the framework and preview manifest; no Vite preview script is required:
502
503
 
503
504
  ```json
@@ -573,8 +574,9 @@ are collapsible and sorted alphabetically within each layer. Existing flat
573
574
  projects continue to work without moving files. Tokens retain their categories.
574
575
 
575
576
  Token scenarios live beside foundation CSS under the configured token directory.
576
- The starter includes `tokens/Foundation.ads.scenario.tsx` and its local fixture for
577
- a project-owned token review renderer. Keep its presentation in development-only `review/`:
577
+ The starter groups its tokens in `tokens/Color.ads.scenario.tsx` and
578
+ `tokens/SpaceTypeMotion.ads.scenario.tsx`, each with its local fixture, for a
579
+ project-owned token review renderer. Keep its presentation in development-only `review/`:
578
580
 
579
581
  ```tsx
580
582
  import { TokenSamples } from "@ds/review";
@@ -637,7 +639,16 @@ custom styling; the frame pattern uses `--ux-*`. Branding never assigns
637
639
  component state variables.
638
640
 
639
641
  Keep original SVG artwork and a usage/credits/license README in
640
- `design-system/assets/brand/`, and font files in `assets/fonts/`. Font declarations
642
+ `design-system/assets/brand/`, and font files in `assets/fonts/`. `ads check` warns
643
+ when artwork is undescribed in that README (`brand-readme`), the README states no
644
+ license (`brand-license`), artwork is missing from a brand scenario
645
+ (`brand-preview`), or nothing uses it (`brand-unused`). Name a dark-theme variant
646
+ `<name>.dark.svg`; the component showing it renders both and hides one with a
647
+ `:root[data-theme="dark"] &` selector. A token-folder scenario marked `brand: true`
648
+ (the starter's `tokens/Brand.ads.scenario.tsx` with the review `BrandPreview`)
649
+ previews every artwork in the current theme and the app icon at its sizes; it has
650
+ no token samples. The [branding guide](../skills/ads-designer/references/branding.md)
651
+ (`ads://guides/branding`) covers the whole flow. Font declarations
641
652
  belong in optional `tokens/fonts.css`, imported first. The foundation entry is
642
653
  import-only: fonts (when present), colors, typography, spacing, elevation, base.
643
654
  Fixed artwork colors and geometry are permitted inside SVG assets; they do not
@@ -675,6 +686,37 @@ resolver. With no `iconSource`, it succeeds without writing. All images render
675
686
  before generated files are replaced, so invalid artwork leaves prior outputs
676
687
  intact. Sources, duplicate output mounts, and symlinked write paths are checked.
677
688
 
689
+ ### Committed targets and glyph sets
690
+
691
+ Native launchers, tray icons and upload exports must exist without running ADS, so
692
+ they are committed. `assets.targets` lists them; each renders one master from
693
+ `assets/brand/` to a project path, the extension choosing the format:
694
+
695
+ ```json
696
+ { "assets": { "targets": [
697
+ { "from": "assets/brand/app-icon.svg", "to": "app/icons/icon.svg" },
698
+ { "from": "assets/brand/app-icon.svg", "to": "app/icons/128x128.png", "size": 128 },
699
+ { "from": "assets/brand/banner.svg", "to": "exports/banner.png", "width": 1200, "height": 630 },
700
+ { "from": "assets/brand/app-icon.svg", "to": "exports/upload.png", "size": 1024, "background": "#FFFFFF" },
701
+ { "from": "assets/brand/app-icon.svg", "to": "app/icons/icon.ico", "sizes": [16, 32, 48, 256] },
702
+ { "from": "assets/brand/app-icon.svg", "to": "app/icons/icon.icns", "sizes": [16, 32, 64, 128, 256, 512, 1024] }
703
+ ] } }
704
+ ```
705
+
706
+ `.svg` copies the master; `.png` renders one `size` or a `width` × `height`
707
+ (other shapes are centred); `.ico` and `.icns` bundle `sizes`; `background` fills
708
+ transparency. `ads assets` re-renders only targets whose master or settings changed
709
+ and records every output's master hash, settings and output hash in the committed
710
+ `assets/generated.json`. `ads check` fails (`brand-output-stale`) when an output is
711
+ missing, edited by hand, or out of date, by comparing those hashes; it renders
712
+ nothing. Commit outputs and the manifest together.
713
+
714
+ `assets.glyphs` turns a folder of UI icon SVGs into one typed module:
715
+ `{ "source": "assets/glyphs", "output": "components/Content/Icon/glyphs.ts",
716
+ "attributes": { "fill": "none", "stroke": "currentColor" } }`. Each SVG becomes
717
+ `glyphs[name]` with missing root attributes added; `aliases.json` beside them
718
+ becomes `glyphAliases`. `ads assets` writes it and `ads check` fails when it is stale.
719
+
678
720
  Initialized builds run:
679
721
 
680
722
  ```text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reqvire-org/ads",
3
- "version": "0.3.42",
3
+ "version": "0.3.44",
4
4
  "type": "module",
5
5
  "description": "A design system your agent can see and shape. Your components. Your look. Your code.",
6
6
  "repository": {
File without changes