@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.
- package/README.md +114 -94
- package/dist/a11y.mjs +108 -29
- package/dist/analysis/compiler-options.mjs +13 -0
- package/dist/analysis/context.mjs +46 -0
- package/dist/analysis/file-tree.mjs +52 -0
- package/dist/analysis/helpers.mjs +140 -0
- package/dist/analysis/impact.mjs +20 -0
- package/dist/analysis/inputs.mjs +15 -0
- package/dist/analysis/native-adapter.mjs +180 -0
- package/dist/analysis/native-project.mjs +323 -0
- package/dist/analysis/queries.mjs +133 -0
- package/dist/analysis/service.mjs +146 -0
- package/dist/analysis/standalone.mjs +57 -0
- package/dist/analysis/syntax.mjs +164 -0
- package/dist/analysis/worker.mjs +182 -0
- package/dist/assets.mjs +6 -6
- package/dist/atomic-composition.mjs +191 -70
- package/dist/atomic-trace.mjs +120 -50
- package/dist/behavior-libraries.mjs +106 -37
- package/dist/behaviors.mjs +222 -79
- package/dist/boundaries.mjs +137 -40
- package/dist/brand-assets.mjs +219 -47
- package/dist/brands.mjs +86 -27
- package/dist/bun-compiler.mjs +34 -13
- package/dist/bun-worker.mjs +7 -5
- package/dist/capture/worker.mjs +15 -4
- package/dist/capture-store.mjs +4 -2
- package/dist/capture.mjs +17 -14
- package/dist/check-service.mjs +66 -0
- package/dist/check.mjs +756 -196
- package/dist/cli.mjs +203 -100
- package/dist/color-values.mjs +21 -21
- package/dist/component-contrast.mjs +2 -2
- package/dist/config.mjs +308 -163
- package/dist/construction-styles.cjs +10 -0
- package/dist/contracts.d.mts +9 -0
- package/dist/control-padding.mjs +45 -25
- package/dist/css-values.mjs +3 -2
- package/dist/declarative-flow.mjs +209 -109
- package/dist/design-values.mjs +136 -51
- package/dist/development-runtime.mjs +4 -6
- package/dist/draft-boundary.mjs +11 -6
- package/dist/evidence.mjs +1 -1
- package/dist/finding-rules.mjs +7 -5
- package/dist/font-rules.mjs +2 -2
- package/dist/fonts-generated.mjs +4 -2
- package/dist/foundation-views.mjs +238 -0
- package/dist/foundation.mjs +63 -39
- package/dist/generated-entries.mjs +198 -0
- package/dist/icons.mjs +80 -33
- package/dist/image-attributes.mjs +109 -36
- package/dist/image-size.mjs +1 -1
- package/dist/index.mjs +0 -2
- package/dist/init.mjs +128 -68
- package/dist/investigations.mjs +2 -2
- package/dist/layers.mjs +300 -127
- package/dist/layout-widths.mjs +180 -85
- package/dist/linaria/preserve-values.cjs +7 -0
- package/dist/linaria/spatial-inputs.cjs +56 -0
- package/dist/lockup-composition.mjs +44 -0
- package/dist/lockup-model.cjs +64 -0
- package/dist/mcp/THIRD_PARTY_NOTICES.md +51 -1
- package/dist/mcp/apps.mjs +4 -30
- package/dist/mcp/behavior-pages.mjs +72 -24
- package/dist/mcp/build-status.mjs +257 -64
- package/dist/mcp/catalog.mjs +91 -26
- package/dist/mcp/context.mjs +17 -18
- package/dist/mcp/draft-discovery.mjs +44 -21
- package/dist/mcp/drafts.mjs +978 -343
- package/dist/mcp/execution-coordinator.mjs +417 -167
- package/dist/mcp/execution-results.mjs +7 -7
- package/dist/mcp/mutations.mjs +701 -219
- package/dist/mcp/preview-watch.mjs +465 -161
- package/dist/mcp/preview-widget.bundle.js +44 -50
- package/dist/mcp/prompts.mjs +6 -6
- package/dist/mcp/result-pages.mjs +1 -1
- package/dist/mcp/sandbox-host.mjs +1 -1
- package/dist/mcp/server.mjs +2436 -570
- package/dist/mcp/showcase-host.mjs +176 -39
- package/dist/mcp/skills.mjs +1 -1
- package/dist/mcp/text-diff.mjs +29 -10
- package/dist/paint-contracts.mjs +174 -81
- package/dist/palette-generated.mjs +2 -2
- package/dist/preview-bun.mjs +493 -187
- package/dist/preview-failure.mjs +1 -1
- package/dist/preview-files.mjs +13 -13
- package/dist/preview-imports.mjs +104 -55
- package/dist/preview-inputs.mjs +2 -2
- package/dist/preview-requests.mjs +24 -0
- package/dist/preview-resources.mjs +288 -147
- package/dist/preview-scope.mjs +5 -4
- package/dist/program-cache.mjs +10 -0
- package/dist/project-documents.mjs +1 -1
- package/dist/public-api.mjs +70 -31
- package/dist/public-props.mjs +39 -22
- package/dist/{browser-audit → render-audit}/axe-run.mjs +3 -3
- package/dist/{browser-audit → render-audit}/image-shape.mjs +2 -2
- package/dist/{browser-audit → render-audit}/layout-overflow.mjs +86 -23
- package/dist/{browser-audit → render-audit}/non-text-contrast.mjs +86 -27
- package/dist/{browser-audit → render-audit}/render-states.mjs +208 -52
- package/dist/{browser-audit → render-audit}/worker.mjs +86 -30
- package/dist/render-audit.mjs +828 -0
- package/dist/render-color-probe.mjs +96 -42
- package/dist/resource-limits.mjs +229 -97
- package/dist/runtime-contracts.mjs +467 -185
- package/dist/scenario-groups.mjs +22 -10
- package/dist/scenario-inspector.mjs +6 -43
- package/dist/scenario-program.mjs +8 -25
- package/dist/scenario-registry.mjs +72 -30
- package/dist/scenario-selectors.mjs +161 -64
- package/dist/scenario-slots.mjs +149 -56
- package/dist/scenario-trace.mjs +215 -109
- package/dist/scenarios-compiler.mjs +768 -359
- package/dist/scenarios-vite.d.mts +1 -3
- package/dist/scenarios-vite.mjs +2 -81
- package/dist/scenarios.mjs +424 -159
- package/dist/selector-match.mjs +2 -2
- package/dist/showcase/client.bundle.js +57 -56
- package/dist/showcase/draft-navigation.js +18 -0
- package/dist/showcase/favicon.ico +0 -0
- package/dist/showcase/favicon.svg +1 -0
- package/dist/showcase/foundation-view.css +55 -0
- package/dist/showcase/foundation-view.mjs +252 -0
- package/dist/showcase/guide-controls.ads.review.mjs +32 -0
- package/dist/showcase/icons.js +1 -145
- package/dist/showcase/index.html +3 -31
- package/dist/showcase/preview-frame.ads.review.css +46 -0
- package/dist/showcase/preview-frame.ads.review.d.mts +11 -0
- package/dist/showcase/preview-frame.ads.review.mjs +22 -0
- package/dist/showcase/preview-state.js +0 -9
- package/dist/showcase/refresh-scheduler.js +23 -0
- package/dist/showcase/style.css +5 -47
- package/dist/showcase/ui/ui.css +1353 -0
- package/dist/showcase/ui/ui.js +1062 -0
- package/dist/showcase-coverage.mjs +58 -37
- package/dist/skills/README.md +24 -23
- package/dist/skills/ads-designer/README.md +8 -2
- package/dist/skills/ads-designer/SKILL.md +152 -144
- package/dist/skills/ads-designer/references/accessibility.md +14 -11
- package/dist/skills/ads-designer/references/atomic-styles.md +4 -4
- package/dist/skills/ads-designer/references/behaviors.md +34 -30
- package/dist/skills/ads-designer/references/branding.md +98 -10
- package/dist/skills/ads-designer/references/captures.md +31 -31
- package/dist/skills/ads-designer/references/cli.md +21 -20
- package/dist/skills/ads-designer/references/contracts.md +63 -29
- package/dist/skills/ads-designer/references/design-data.md +49 -52
- package/dist/skills/ads-designer/references/drafts.md +71 -52
- package/dist/skills/ads-designer/references/evidence.md +1 -5
- package/dist/skills/ads-designer/references/guarded-editing.md +58 -51
- package/dist/skills/ads-designer/references/layers.md +1 -1
- package/dist/skills/ads-designer/references/layout.md +347 -0
- package/dist/skills/ads-designer/references/mobile.md +2 -1
- package/dist/skills/{ads-motion/references/performance.md → ads-designer/references/motion-performance.md} +5 -1
- package/dist/skills/{ads-motion/references/build.md → ads-designer/references/motion.md} +73 -5
- package/dist/skills/ads-designer/references/performance.md +3 -2
- package/dist/skills/ads-designer/references/review.md +42 -38
- package/dist/skills/ads-designer/references/runtimes.md +33 -30
- package/dist/skills/ads-designer/references/scenarios.md +17 -19
- package/dist/skills/{ads-break-ui/references/catalog.md → ads-designer/references/stress-catalog.md} +3 -1
- package/dist/skills/ads-designer/references/stress-test.md +68 -0
- package/dist/skills/ads-designer/references/validation.md +83 -71
- package/dist/skills/ads-designer/references/workflows.md +19 -37
- package/dist/skills/ads-import/SKILL.md +43 -328
- package/dist/skills/ads-import/references/atomic-styles.md +4 -4
- package/dist/skills/ads-import/references/behaviors.md +34 -30
- package/dist/skills/ads-import/references/branding.md +5 -5
- package/dist/skills/ads-import/references/captures.md +31 -31
- package/dist/skills/ads-import/references/cli.md +21 -20
- package/dist/skills/ads-import/references/compatibility.md +1 -1
- package/dist/skills/ads-import/references/contracts.md +63 -29
- package/dist/skills/ads-import/references/design-data.md +49 -52
- package/dist/skills/ads-import/references/drafts.md +71 -52
- package/dist/skills/ads-import/references/evidence.md +1 -5
- package/dist/skills/ads-import/references/guarded-editing.md +58 -51
- package/dist/skills/ads-import/references/implementation.md +2 -1
- package/dist/skills/ads-import/references/layers.md +1 -1
- package/dist/skills/ads-import/references/layout.md +347 -0
- package/dist/skills/ads-import/references/review.md +42 -38
- package/dist/skills/ads-import/references/runtimes.md +33 -30
- package/dist/skills/ads-import/references/scenarios.md +17 -19
- package/dist/skills/ads-import/references/tokens.md +3 -3
- package/dist/skills/ads-import/references/validation.md +83 -71
- package/dist/skills/ads-import/references/workflows.md +19 -37
- package/dist/skills/ads-migrate/SKILL.md +56 -0
- package/dist/skills/ads-migrate/references/0.4.1-to-0.4.2.md +602 -0
- package/dist/skills/ads-port/SKILL.md +54 -346
- package/dist/skills/ads-port/references/atomic-styles.md +4 -4
- package/dist/skills/ads-port/references/behaviors.md +34 -30
- package/dist/skills/ads-port/references/captures.md +31 -31
- package/dist/skills/ads-port/references/cli.md +21 -20
- package/dist/skills/ads-port/references/contracts.md +63 -29
- package/dist/skills/ads-port/references/design-data.md +49 -52
- package/dist/skills/ads-port/references/drafts.md +71 -52
- package/dist/skills/ads-port/references/evidence.md +1 -5
- package/dist/skills/ads-port/references/guarded-editing.md +58 -51
- package/dist/skills/ads-port/references/layers.md +1 -1
- package/dist/skills/ads-port/references/layout.md +347 -0
- package/dist/skills/ads-port/references/lint-and-docs.md +8 -11
- package/dist/skills/ads-port/references/native-implementation.md +8 -7
- package/dist/skills/ads-port/references/review.md +42 -38
- package/dist/skills/ads-port/references/runtimes.md +33 -30
- package/dist/skills/ads-port/references/scenarios.md +17 -19
- package/dist/skills/ads-port/references/validation.md +83 -71
- package/dist/skills/ads-port/references/workflows.md +19 -37
- package/dist/source-symbols.mjs +1 -8
- package/dist/source-values.mjs +266 -128
- package/dist/spatial-composition.mjs +322 -0
- package/dist/spatial-contexts.cjs +56 -0
- package/dist/spatial-css.cjs +351 -0
- package/dist/spatial-inputs.cjs +80 -0
- package/dist/spatial-metadata.mjs +18 -0
- package/dist/spatial-model.cjs +322 -0
- package/dist/spatial.mjs +21 -0
- package/dist/stage-timing.cjs +20 -0
- package/dist/starters/preact/design-system/patterns/Conversation/Conversation.tsx +105 -0
- package/dist/starters/preact/design-system/patterns/Shell/Shell.tsx +275 -0
- package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
- package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
- package/dist/starters/preact/design-system/showcase/mcp/main.ads.mount.tsx +8 -0
- package/dist/starters/preact/ds.config.json +24 -19
- package/dist/starters/preact/package.json +4 -8
- package/dist/starters/preact/tsconfig.json +4 -5
- package/dist/starters/preact/vite.config.ts +3 -3
- package/dist/starters/react/ADS.md +42 -47
- package/dist/starters/react/README.md +54 -52
- package/dist/starters/react/design-system/components/Actions/Button/Button.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Actions/IconButton/IconButton.tsx +18 -2
- package/dist/starters/react/design-system/components/Actions/IconButton/README.md +3 -0
- package/dist/starters/react/design-system/components/Content/Icon/Icon.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Content/Image/Image.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Content/Logo/Logo.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/components/Forms/TextField/TextField.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/README.md +5 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.fixture.ts +13 -0
- package/dist/starters/react/design-system/composition/Workspace/WorkspacePage/WorkspacePage.ads.scenario.tsx +22 -0
- package/dist/starters/react/design-system/controllers/Palette/Palette.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/index.ts +5 -8
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.fixture.ts +7 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.ads.scenario.tsx +15 -0
- package/dist/starters/react/design-system/patterns/Conversation/Conversation.tsx +105 -0
- package/dist/starters/react/design-system/patterns/Conversation/README.md +9 -0
- package/dist/starters/react/design-system/patterns/Search/SearchBar/SearchBar.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.fixture.ts +5 -0
- package/dist/starters/react/design-system/patterns/Shell/Floating.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/patterns/Shell/README.md +43 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.fixture.ts +5 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.ads.scenario.tsx +21 -0
- package/dist/starters/react/design-system/patterns/Shell/Shell.tsx +274 -0
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.ads.review.tsx +7 -0
- package/dist/starters/react/design-system/review/index.ads.review.ts +4 -0
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/review/region-block/RegionBlock.ads.review.tsx +6 -0
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.exports.ts +1 -0
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.ads.review.tsx +10 -0
- package/dist/starters/react/design-system/showcase/mcp/{main.tsx → main.ads.mount.tsx} +4 -2
- package/dist/starters/react/design-system/styles.css +1 -0
- package/dist/starters/react/design-system/tokens/catalog.ads.json +1221 -0
- package/dist/starters/react/design-system/tokens/colors.css +1 -1
- package/dist/starters/react/design-system/tokens/spacing.css +22 -32
- package/dist/starters/react/design-system/tokens/spatial.ads.json +70 -0
- package/dist/starters/react/design-system/tokens/themes.generated.ts +1 -1
- package/dist/starters/react/ds.config.json +24 -19
- package/dist/starters/react/package.json +2 -6
- package/dist/starters/react/tsconfig.json +2 -3
- package/dist/starters/react/vite.config.ts +3 -3
- package/dist/style-boundaries.mjs +73 -27
- package/dist/task-cache.mjs +173 -72
- package/dist/task-worker.mjs +22 -11
- package/dist/test-boundaries.mjs +133 -60
- package/dist/themes-generated.mjs +1 -1
- package/dist/themes-watch.mjs +60 -19
- package/dist/themes.mjs +176 -73
- package/dist/token-export.mjs +39 -14
- package/dist/token-policy.mjs +6 -3
- package/dist/token-quality.mjs +6 -6
- package/dist/token-samples.mjs +16 -5
- package/dist/tokens.mjs +71 -26
- package/dist/ui-framework.mjs +16 -14
- package/dist/unit-contracts.mjs +270 -89
- package/dist/units.mjs +215 -180
- package/dist/usage.mjs +138 -38
- package/dist/validation-checks.mjs +121 -38
- package/dist/validation-inputs.mjs +187 -78
- package/dist/validation.mjs +268 -102
- package/dist/verification/browser.mjs +27 -5
- package/dist/verification.mjs +711 -187
- package/docs/ADS.md +100 -89
- package/docs/ARCHITECTURE.md +353 -159
- package/docs/BEHAVIORS.md +33 -28
- package/docs/CACHING.md +55 -11
- package/docs/CHANGELOG.md +358 -17
- package/docs/COMPARISON.md +1 -1
- package/docs/CONTRACTS.md +22 -29
- package/docs/DESIGN-REFERENCES.md +40 -0
- package/docs/GUIDE.md +313 -292
- package/docs/MCP.md +261 -439
- package/docs/SPATIAL-CHECKS.md +69 -0
- package/docs/benchmarks/README.md +39 -0
- package/package.json +42 -34
- package/dist/browser-audit.mjs +0 -424
- package/dist/contract-migration.mjs +0 -110
- package/dist/create.mjs +0 -48
- package/dist/lint-config.mjs +0 -48
- package/dist/mcp/draft-exports.mjs +0 -40
- package/dist/mcp/edit-preparation.mjs +0 -115
- package/dist/mcp/project-widget.bundle.js +0 -114
- package/dist/mcp/reports.mjs +0 -101
- package/dist/mcp/widget.bundle.js +0 -147
- package/dist/oxlint.mjs +0 -88
- package/dist/preview-builder.mjs +0 -133
- package/dist/preview-workers.mjs +0 -184
- package/dist/showcase.mjs +0 -77
- package/dist/skills/ads-break-ui/LICENSE.upstream +0 -21
- package/dist/skills/ads-break-ui/README.md +0 -16
- package/dist/skills/ads-break-ui/SKILL.md +0 -415
- package/dist/skills/ads-break-ui/agents/openai.yaml +0 -4
- package/dist/skills/ads-break-ui/references/atomic-styles.md +0 -293
- package/dist/skills/ads-break-ui/references/behaviors.md +0 -411
- package/dist/skills/ads-break-ui/references/captures.md +0 -160
- package/dist/skills/ads-break-ui/references/contracts.md +0 -284
- package/dist/skills/ads-break-ui/references/design-data.md +0 -354
- package/dist/skills/ads-break-ui/references/drafts.md +0 -178
- package/dist/skills/ads-break-ui/references/evidence.md +0 -128
- package/dist/skills/ads-break-ui/references/guarded-editing.md +0 -154
- package/dist/skills/ads-break-ui/references/layers.md +0 -145
- package/dist/skills/ads-break-ui/references/reporting.md +0 -101
- package/dist/skills/ads-break-ui/references/review.md +0 -96
- package/dist/skills/ads-break-ui/references/runtimes.md +0 -203
- package/dist/skills/ads-break-ui/references/scenarios.md +0 -246
- package/dist/skills/ads-break-ui/references/validation.md +0 -162
- package/dist/skills/ads-break-ui/references/verification.md +0 -58
- package/dist/skills/ads-break-ui/references/workflows.md +0 -83
- package/dist/skills/ads-designer/references/reporting.md +0 -101
- package/dist/skills/ads-import/references/reporting.md +0 -101
- package/dist/skills/ads-motion/LICENSE.upstream +0 -21
- package/dist/skills/ads-motion/README.md +0 -22
- package/dist/skills/ads-motion/SKILL.md +0 -388
- package/dist/skills/ads-motion/agents/openai.yaml +0 -4
- package/dist/skills/ads-motion/references/atomic-styles.md +0 -293
- package/dist/skills/ads-motion/references/audit.md +0 -44
- package/dist/skills/ads-motion/references/behaviors.md +0 -411
- package/dist/skills/ads-motion/references/captures.md +0 -160
- package/dist/skills/ads-motion/references/contracts.md +0 -284
- package/dist/skills/ads-motion/references/design-data.md +0 -354
- package/dist/skills/ads-motion/references/drafts.md +0 -178
- package/dist/skills/ads-motion/references/evidence.md +0 -128
- package/dist/skills/ads-motion/references/guarded-editing.md +0 -154
- package/dist/skills/ads-motion/references/layers.md +0 -145
- package/dist/skills/ads-motion/references/motion-review.md +0 -35
- package/dist/skills/ads-motion/references/reporting.md +0 -101
- package/dist/skills/ads-motion/references/review.md +0 -96
- package/dist/skills/ads-motion/references/runtimes.md +0 -203
- package/dist/skills/ads-motion/references/scenarios.md +0 -246
- package/dist/skills/ads-motion/references/validation.md +0 -162
- package/dist/skills/ads-motion/references/verification.md +0 -39
- package/dist/skills/ads-motion/references/workflows.md +0 -83
- package/dist/skills/ads-port/references/reporting.md +0 -101
- package/dist/starters/preact/design-system/components/Layout/Grid/Grid.tsx +0 -76
- package/dist/starters/preact/design-system/review/demo-frame/DemoFrame.tsx +0 -29
- package/dist/starters/preact/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
- package/dist/starters/preact/design-system/review/token-preview/TokenPreview.tsx +0 -137
- package/dist/starters/preact/design-system/showcase/mcp/main.tsx +0 -6
- package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/brand/Icons/AppIcon/AppIcon.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.fixture.ts +0 -7
- package/dist/starters/react/design-system/brand/Identity/Logo/Logo.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.fixture.ts +0 -12
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.ads.scenario.tsx +0 -17
- package/dist/starters/react/design-system/components/Layout/Grid/Grid.tsx +0 -75
- package/dist/starters/react/design-system/components/Layout/Grid/README.md +0 -21
- package/dist/starters/react/design-system/review/brand-preview/BrandPreview.tsx +0 -112
- package/dist/starters/react/design-system/review/demo-frame/DemoFrame.tsx +0 -29
- package/dist/starters/react/design-system/review/grid-cell/GridCell.tsx +0 -18
- package/dist/starters/react/design-system/review/index.ts +0 -5
- package/dist/starters/react/design-system/review/screen-frame/ScreenFrame.tsx +0 -34
- package/dist/starters/react/design-system/review/token-preview/TokenPreview.tsx +0 -137
- package/dist/starters/react/design-system/showcase/mcp/index.html +0 -1
- package/dist/starters/react/design-system/tokens/Color.ads.fixture.ts +0 -124
- package/dist/starters/react/design-system/tokens/Color.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Layout.ads.fixture.ts +0 -39
- package/dist/starters/react/design-system/tokens/Layout.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Motion.ads.fixture.ts +0 -18
- package/dist/starters/react/design-system/tokens/Motion.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Shape.ads.fixture.ts +0 -30
- package/dist/starters/react/design-system/tokens/Shape.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Space.ads.fixture.ts +0 -37
- package/dist/starters/react/design-system/tokens/Space.ads.scenario.tsx +0 -4
- package/dist/starters/react/design-system/tokens/Type.ads.fixture.ts +0 -29
- package/dist/starters/react/design-system/tokens/Type.ads.scenario.tsx +0 -4
- package/dist/starters/react/package-lock.json +0 -4707
- package/dist/token-fixtures.mjs +0 -30
- package/docs/benchmarks/bun-previews.md +0 -91
- package/docs/benchmarks/preview-memory.md +0 -147
- package/docs/benchmarks/turbo-poc.md +0 -284
- package/docs/plans/execution-coordination.md +0 -57
- /package/dist/{browser-audit → render-audit}/first-render.mjs +0 -0
- /package/dist/{browser-audit → render-audit}/layout-shift.mjs +0 -0
package/docs/BEHAVIORS.md
CHANGED
|
@@ -19,7 +19,8 @@ or assume a renderer/library supplied by an MCP host. The framework field select
|
|
|
19
19
|
compilation/mounting; controller checks also validate runtime imports. Type-only
|
|
20
20
|
UI references are allowed, but shared controllers cannot import component/pattern
|
|
21
21
|
runtime implementations. Keep business data in application adapters. Measured
|
|
22
|
-
style writes retain exact
|
|
22
|
+
style writes retain the exact properties declared in the owner contract's
|
|
23
|
+
`styles.writes`; they do not allow
|
|
23
24
|
shared-token overrides or an extra styling layer.
|
|
24
25
|
These gates inspect supported direct imports, markup and style boundaries.
|
|
25
26
|
External package internals and delegated DOM behavior still require source,
|
|
@@ -28,7 +29,7 @@ build and browser review; declaring a dependency does not prove it is headless.
|
|
|
28
29
|
Register owner behavior in `<Owner>.ads.contract.ts` with actual API and
|
|
29
30
|
implementation references. The
|
|
30
31
|
[contract reference](CONTRACTS.md) covers static authoring, `.ads.behavior.spec.ts`,
|
|
31
|
-
declarative `exercises
|
|
32
|
+
declarative `exercises` and required browser checks.
|
|
32
33
|
A contract declaration alone is not passing evidence. Use
|
|
33
34
|
`auditBehaviorPaints(frame)` after relevant binding updates to repeat the current
|
|
34
35
|
App's generic paint audit, in addition to assertions for the named guarantee.
|
|
@@ -36,7 +37,7 @@ App's generic paint audit, in addition to assertions for the named guarantee.
|
|
|
36
37
|
## Development boundary
|
|
37
38
|
|
|
38
39
|
Production includes real components, controllers, tokens and compiled styles.
|
|
39
|
-
Scenarios and fixtures are included only in previews.
|
|
40
|
+
Scenarios and fixtures are included only in previews. Owner contracts and test
|
|
40
41
|
files are development/tooling inputs. Runtime imports and public re-exports of
|
|
41
42
|
those inputs are rejected, including dynamic imports and aliases.
|
|
42
43
|
|
|
@@ -152,7 +153,7 @@ command. For a project with an installed Playwright test runner:
|
|
|
152
153
|
}
|
|
153
154
|
```
|
|
154
155
|
|
|
155
|
-
Here `runtime` uses the
|
|
156
|
+
Here `runtime` uses the Bun that runs ADS, and the
|
|
156
157
|
project supplies the installed Playwright entry. Explicit executable commands
|
|
157
158
|
retain their meaning. A Bun package-script profile can use `command: "bun"`
|
|
158
159
|
with `args: ["--bun", "run", "test:behavior", "--"]`. The Playwright
|
|
@@ -210,11 +211,11 @@ after a failure, does not establish the cause. Preserve the draft and original
|
|
|
210
211
|
diagnostic; do not change a component API, reference example or verification
|
|
211
212
|
policy to compensate for a resource-loading failure.
|
|
212
213
|
|
|
213
|
-
The reporter atomically publishes partial snapshots at test start/end. While
|
|
214
|
-
run is active, `ads_status.
|
|
215
|
-
elapsed time, completed/active/pending counts,
|
|
216
|
-
case identities/timings.
|
|
217
|
-
`ads_status.mutations.progress`. Clients requesting MCP progress receive updates
|
|
214
|
+
The reporter atomically publishes partial snapshots at test start/end. While an
|
|
215
|
+
`ads_validate` run is active, `ads_status.validation.progress` (stage `behavior`)
|
|
216
|
+
exposes the profile, runner budget, elapsed time, completed/active/pending counts,
|
|
217
|
+
worker count when available and case identities/timings. Draft acceptance exposes
|
|
218
|
+
the same data at `ads_status.mutations.progress`. Clients requesting MCP progress receive updates
|
|
218
219
|
and a heartbeat during the runner phase; client-side request timeouts still apply.
|
|
219
220
|
`durationMs` records completed case execution, including attempts, separately from
|
|
220
221
|
the suite's wall time. Parallel case durations can sum to more than wall time.
|
|
@@ -313,9 +314,10 @@ General listings return counts and short API/guarantee/scenario summaries. Exact
|
|
|
313
314
|
owner requests return the registered details; source reads remain available for
|
|
314
315
|
bounded inspection of large contracts. No full guide or test body is injected
|
|
315
316
|
into discovery results.
|
|
316
|
-
|
|
317
|
+
Over MCP, behavior tests run inside the two gates: `ads_accept` runs the draft
|
|
318
|
+
owners' own tests and `ads_validate` every test its change set reaches. Read
|
|
317
319
|
`ads://project/behaviors` for current evidence or `ads://guides/behaviors` for this
|
|
318
|
-
guide. CLI
|
|
320
|
+
guide. To run one unit's checks from the CLI or CI:
|
|
319
321
|
|
|
320
322
|
```sh
|
|
321
323
|
ads behaviors . --json
|
|
@@ -364,8 +366,11 @@ and retains dependencies with declared side effects. This narrowing requires a
|
|
|
364
366
|
package `sideEffects:false` or a supported simple `sideEffects` glob array; preserve
|
|
365
367
|
CSS/global effects in that policy. Unknown policies/patterns, wildcard exports and
|
|
366
368
|
computed imports remain conservative. Barrel source changes still invalidate
|
|
367
|
-
dependents.
|
|
368
|
-
|
|
369
|
+
dependents. Native snapshots reuse unchanged ASTs and semantic queries across
|
|
370
|
+
inspections; request facts and dependency digests are scoped to captured inputs.
|
|
371
|
+
Later runs verify current source/configuration before reusing results. A saved
|
|
372
|
+
dependency graph includes previous consumers so removing an import cannot hide
|
|
373
|
+
an affected owner; missing evidence widens selection conservatively.
|
|
369
374
|
|
|
370
375
|
Test selection is at owner-contract granularity: when a registered check's input
|
|
371
376
|
dependencies intersect changed files, that owner is selected and its registered
|
|
@@ -374,30 +379,30 @@ scripts still run as configured; ordinary live preview does not automatically ru
|
|
|
374
379
|
browser checks and release validation runs the full suite. Persistent Bun
|
|
375
380
|
compilation and retained preview state do not imply per-test-case execution caches.
|
|
376
381
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
dry-run
|
|
382
|
-
|
|
383
|
-
`
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
`
|
|
387
|
-
|
|
388
|
-
for current source and has no draft argument.
|
|
382
|
+
Draft acceptance and guarded mutations run the draft owners' own registered
|
|
383
|
+
behavior contracts after `ads check` and `acceptance.scripts`, before writing
|
|
384
|
+
source, unless `acceptance.behavior` is false. `ads_validate` always runs every
|
|
385
|
+
contract its change set reaches, including the consumers of a changed shared
|
|
386
|
+
controller, selected conservatively. Rejected and dry-run acceptances publish no
|
|
387
|
+
source changes. Verification output stays under `.ds/`. To check a draft, call
|
|
388
|
+
`ads_accept({id, revision, dryRun:true})`. This checks the candidate, including the
|
|
389
|
+
owners' behavior contracts and their browser preview, rendered through the
|
|
390
|
+
ADS-managed preview compiler. Candidate evidence is not persisted as passing evidence
|
|
391
|
+
for live source. `ads verify` runs checks for current source and has no draft
|
|
392
|
+
argument.
|
|
389
393
|
|
|
390
394
|
## Packaging and performance
|
|
391
395
|
|
|
392
396
|
Controllers follow normal component/scenario imports into the project's compiled
|
|
393
|
-
resource graph. Their framework dependencies are bundled by
|
|
397
|
+
resource graph. Their framework dependencies are bundled by ADS's Bun preview compiler
|
|
394
398
|
and served through MCP resources inside the App iframe; external hosts install
|
|
395
399
|
nothing. The selected scenario loads its dependency closure. Shared modules are
|
|
396
400
|
cached within that App instance, and each separately opened App has its own runtime.
|
|
397
401
|
|
|
398
402
|
Keep ESM modules and explicit imports. Avoid an eagerly imported controller
|
|
399
|
-
registry.
|
|
400
|
-
side effects, global CSS and dynamic
|
|
403
|
+
registry. Production tree shaking and shared chunks follow the application's
|
|
404
|
+
bundler; previews use Bun. Class methods, side effects, global CSS and dynamic
|
|
405
|
+
maps can retain extra code. Inspect emitted
|
|
401
406
|
resources instead of assuming a controller produces a minimal bundle.
|
|
402
407
|
|
|
403
408
|
Development-only `review/<Owner>` units may register the same guarantee/check
|
package/docs/CACHING.md
CHANGED
|
@@ -1,12 +1,31 @@
|
|
|
1
1
|
# Batch task caching
|
|
2
2
|
|
|
3
|
-
ADS uses its pinned Turborepo dependency internally for architecture batch tasks
|
|
4
|
-
Projects do not install Turbo, create `turbo.json`, or choose
|
|
5
|
-
Local caching is enabled out of the box for `ads check` and the
|
|
6
|
-
|
|
7
|
-
The
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
ADS uses its pinned Turborepo dependency internally for architecture batch tasks
|
|
4
|
+
run by the CLI and CI. Projects do not install Turbo, create `turbo.json`, or choose
|
|
5
|
+
between backends. Local caching is enabled out of the box for `ads check` and the
|
|
6
|
+
source-check stage of `ads validate`. A task miss runs the asynchronous native
|
|
7
|
+
analysis service. The exported `checkProject` function is also asynchronous;
|
|
8
|
+
direct library calls use the same `NativeProject` implementation and must be
|
|
9
|
+
awaited.
|
|
10
|
+
|
|
11
|
+
The MCP server, interactive preview compiler and registered draft revisions use
|
|
12
|
+
`check-service.mjs` for warm checks. It serializes requests and retains a bounded
|
|
13
|
+
set of successful reports by the same input key used by the batch task.
|
|
14
|
+
`analysis/service.mjs` sends work to a Bun child process over asynchronous IPC;
|
|
15
|
+
that host owns native TypeScript compiler sessions and immutable live/draft
|
|
16
|
+
snapshots. Changed source updates those snapshots while unchanged ASTs and
|
|
17
|
+
eligible semantic queries are reused. `program-cache.mjs` delegates program
|
|
18
|
+
acquisition to this shared context rather than owning another compiler.
|
|
19
|
+
|
|
20
|
+
A matching report skips repeated rule execution; failing reports are not
|
|
21
|
+
remembered. A changed input key requires a new check. Draft acceptance registers
|
|
22
|
+
its candidate as a branch of the live project and promotes the checked revision
|
|
23
|
+
after publication. A dry run can reuse matching architecture evidence, but it
|
|
24
|
+
never publishes source. Browser audit reuse has its own candidate-revision and
|
|
25
|
+
scenario-selection checks and is separate from native analysis reuse.
|
|
26
|
+
|
|
27
|
+
For batch tasks ADS invokes the already-installed Turbo platform binary
|
|
28
|
+
directly. It never runs Turbo's automatic
|
|
10
29
|
repair installer; a missing binary reports `ADS_TASK_RUNTIME_MISSING` and asks
|
|
11
30
|
for dependency reinstallation with optional platform packages enabled.
|
|
12
31
|
|
|
@@ -24,23 +43,46 @@ successful acceptance, baseline, run ID, lock or live build status. Each policy
|
|
|
24
43
|
invocation establishes its own freshness and result. The existing coordinator
|
|
25
44
|
retains execution ownership, cancellation and cleanup.
|
|
26
45
|
|
|
46
|
+
## In-memory ownership
|
|
47
|
+
|
|
48
|
+
| Cache | Lifetime and invalidation |
|
|
49
|
+
| --- | --- |
|
|
50
|
+
| Request facts (`memoFact`) | One captured input revision/request; concurrent callers share pending work |
|
|
51
|
+
| Immutable program/tree facts (`memoProgram`) and native query results | Reused only with their owning immutable program/tree; rejected queries are evicted |
|
|
52
|
+
| Native project and draft snapshots | Project session with bounded revisions/programs; source/import/configuration changes update the snapshot |
|
|
53
|
+
| Relocated draft ASTs | Owned by that draft; releasing it drops the wrapper cache without changing sibling/live paths |
|
|
54
|
+
| Successful warm reports | Bounded by count and keyed to the complete task inputs; `fresh` bypasses report reuse |
|
|
55
|
+
| Turbo task artifacts | Persisted successful source reports under the task key; no live compiler handles or acceptance state |
|
|
56
|
+
|
|
57
|
+
Source text comes from the captured revision during rule execution. Input
|
|
58
|
+
boundaries still read and compare current bytes: same-size or preserved-mtime
|
|
59
|
+
edits are changes. Dependency selection uses shared ASTs and before/current
|
|
60
|
+
import closures; a cached parse alone cannot establish a passing check or render.
|
|
61
|
+
See [analysis ownership and rule helpers](ARCHITECTURE.md#semantic-analysis).
|
|
62
|
+
|
|
27
63
|
## Controls
|
|
28
64
|
|
|
29
65
|
| Control | Behavior |
|
|
30
66
|
| --- | --- |
|
|
31
67
|
| Default | Local `.ds/task-cache`; remote cache disabled |
|
|
32
68
|
| `ads check --fresh`, `ads validate --fresh` | Bypass task-cache reads; refresh successful cached outputs |
|
|
33
|
-
| MCP `
|
|
69
|
+
| MCP `ads_validate`, `ads_accept`: `fresh:true` | Same override for the operation's source checks |
|
|
34
70
|
| `ADS_CACHE=off` | Disable task-cache reads/writes; keep the same runner |
|
|
35
71
|
| `ADS_CACHE_DIR=/absolute/path` | Relocate or share the local artifact store |
|
|
36
72
|
| `ADS_REMOTE_CACHE=1` | Opt into remote caching with standard Turbo provider settings |
|
|
37
73
|
|
|
74
|
+
These environment variables control persisted batch-task caching. They do not
|
|
75
|
+
disable warm reports or native snapshot/query reuse. Use `fresh` to bypass
|
|
76
|
+
successful source-report reuse in either check path.
|
|
77
|
+
|
|
38
78
|
Read-only projects and unwritable/full cache stores run through the same Turbo
|
|
39
79
|
runner uncached in an isolated temporary workspace, reporting the fallback reason.
|
|
40
80
|
`ADS_CACHE=off` also avoids creating a project cache directory.
|
|
41
81
|
|
|
42
|
-
Fresh
|
|
43
|
-
|
|
82
|
+
Fresh bypasses successful source-report reuse in both the batch task cache and
|
|
83
|
+
warm checks. Native snapshots and immutable AST/query facts remain reusable;
|
|
84
|
+
fresh does not restart the compiler, force unchanged Bun modules to recompile
|
|
85
|
+
or change the selected test policy. `ads_status.taskCache` reports
|
|
44
86
|
settings. Source reports include key, hit/miss/fresh/disabled status and elapsed
|
|
45
87
|
time. Execution replies include compact cache status; `ads_results` check records
|
|
46
88
|
retain details.
|
|
@@ -84,7 +126,9 @@ not the entire `.ds` directory and its run-specific state. Alternatively set
|
|
|
84
126
|
`TURBO_API`. Managed or self-hosted storage is a project choice. Tasks execute on
|
|
85
127
|
the caller's machine or CI runner on a miss.
|
|
86
128
|
|
|
87
|
-
|
|
129
|
+
Use the [current analysis benchmark](../scripts/benchmarks/analysis/README.md)
|
|
130
|
+
for serial check/selection/acceptance measurements and regression gates. It does
|
|
131
|
+
not measure cross-process Turbo hits or browser rendering. See also Turbo's
|
|
88
132
|
[GitHub Actions guide](https://turborepo.dev/docs/guides/ci-vendors/github-actions)
|
|
89
133
|
and [cache controls](https://turborepo.dev/docs/reference/run#--cache-options).
|
|
90
134
|
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1,34 +1,375 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Test and release verification always start unit, integration and browser groups
|
|
6
|
+
together after one shared build. Each group retains its worker settings; the
|
|
7
|
+
overlap-mode setting is removed.
|
|
8
|
+
- Spatial checks protect generated geometry through composed selector branches,
|
|
9
|
+
attributes, escaped/cased properties and keyframes. Unknown attribute values
|
|
10
|
+
cannot certify cell ownership or hide a possible override. Draft rejection and
|
|
11
|
+
repaired publication use the same checks; focused benchmarks cover these paths.
|
|
12
|
+
|
|
13
|
+
- ADS's showcase has one popover surface, the new `Popover` component: chrome background, square
|
|
14
|
+
corners, a chrome border and a light shadow. The layout-guides menu and the preview-status
|
|
15
|
+
popover both render inside it.
|
|
16
|
+
- The preview-status popover is readable: a title with the problem count, one entry per
|
|
17
|
+
diagnostic (location, rule, first sentence, the rest under "Why and how to fix"), and a footer
|
|
18
|
+
with background progress and an outlined Retry preview (`ToolbarButton variant="outlined"`).
|
|
19
|
+
Only the problem list scrolls. The host renders the same structure (`PreviewMessageContent`).
|
|
20
|
+
|
|
21
|
+
- Tokens → Grid system adds Units and scale (fine and mini unit, each scale step at its real
|
|
22
|
+
width in mini units), Grid roles (each role the spatial definition names, its `var()` chain to
|
|
23
|
+
the primitive and its measured value) and hybrid, docked-panel and floating-panel examples
|
|
24
|
+
compiled from `@ads-layout`. Everything follows the project's own spatial definition and token
|
|
25
|
+
names.
|
|
26
|
+
- In Tokens → Grid system, each token in a role's chain (and in the breakpoint table's margins)
|
|
27
|
+
is a link: it opens the token page that shows it and highlights the token.
|
|
28
|
+
|
|
29
|
+
- MCP serves the tokens as W3C Design Tokens JSON at `ads://project/tokens/dtcg` (template
|
|
30
|
+
`ads://project/tokens/dtcg{?theme,brand}`): the same export as `ads tokens --format dtcg`,
|
|
31
|
+
updated with the token sheets. `ads_tokens` returns its address as `dtcgUri`.
|
|
32
|
+
|
|
33
|
+
## 0.4.2
|
|
4
34
|
|
|
5
35
|
<!-- ads-local-tests:start -->
|
|
6
|
-
Local verification: **
|
|
7
|
-
Tested commit: `
|
|
8
|
-
Completed 2026-11-
|
|
36
|
+
Local verification: **799/799 passed** with `bun run test`.
|
|
37
|
+
Tested commit: `c2ecb91194b3ecab7d0a010e361548df03e73cce`; Bun 1.4.4.
|
|
38
|
+
Completed 2026-11-06T16:27:21.331Z (502 seconds).
|
|
9
39
|
|
|
10
40
|
<!-- ads-local-test-proof
|
|
11
41
|
{
|
|
12
|
-
"schema":
|
|
13
|
-
"version": "0.
|
|
14
|
-
"commit": "
|
|
15
|
-
"sourceSha256": "
|
|
16
|
-
"command": "
|
|
42
|
+
"schema": 3,
|
|
43
|
+
"version": "0.4.2",
|
|
44
|
+
"commit": "c2ecb91194b3ecab7d0a010e361548df03e73cce",
|
|
45
|
+
"sourceSha256": "7281971700ccfdfcd7869a733cc426160f51209b8b4de3eef1ebcbeecd5b6347",
|
|
46
|
+
"command": "bun run test",
|
|
17
47
|
"result": "pass",
|
|
18
|
-
"tests":
|
|
19
|
-
"pass":
|
|
48
|
+
"tests": 799,
|
|
49
|
+
"pass": 799,
|
|
20
50
|
"fail": 0,
|
|
21
|
-
"cancelled": 0,
|
|
22
51
|
"skipped": 0,
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
52
|
+
"groups": [
|
|
53
|
+
{
|
|
54
|
+
"name": "unit",
|
|
55
|
+
"tests": 73,
|
|
56
|
+
"pass": 73,
|
|
57
|
+
"fail": 0,
|
|
58
|
+
"skipped": 0,
|
|
59
|
+
"reportSha256": "84828dc13b9225c9aaea6d5589bc8bca1fed9a7ba0c07a3179b2548dbc410104"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "integration",
|
|
63
|
+
"tests": 586,
|
|
64
|
+
"pass": 586,
|
|
65
|
+
"fail": 0,
|
|
66
|
+
"skipped": 0,
|
|
67
|
+
"reportSha256": "4473e231cd8ebe36354d49f77152fa07cdb50167a5d69d81974aec72bdebe7f9"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "browser",
|
|
71
|
+
"tests": 140,
|
|
72
|
+
"pass": 140,
|
|
73
|
+
"fail": 0,
|
|
74
|
+
"skipped": 0,
|
|
75
|
+
"reportSha256": "c06f9e59587927e97e919860041af3dde1ca32df44d8db196c1ca0e19797ddbf"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"testOverrides": {
|
|
79
|
+
"ADS_BROWSER_WORKERS": "6"
|
|
80
|
+
},
|
|
81
|
+
"bun": "1.4.4",
|
|
82
|
+
"completedAt": "2026-11-06T16:27:21.331Z",
|
|
83
|
+
"durationMs": 502311,
|
|
84
|
+
"logSha256": "06ccc42a9795f8dac7ca9ff0c862702ea53ff7eeaea2a0e561db189a87d9c439"
|
|
28
85
|
}
|
|
29
86
|
-->
|
|
30
87
|
<!-- ads-local-tests:end -->
|
|
31
88
|
|
|
89
|
+
- ADS runs on Bun with one asynchronous native TypeScript analysis engine. Checks,
|
|
90
|
+
contract discovery, change selection and draft acceptance share captured inputs,
|
|
91
|
+
ASTs and cached facts; draft branches retain isolation and exact-byte publication.
|
|
92
|
+
Consuming projects keep their own compiler and application runtime.
|
|
93
|
+
- Compiler parking and shutdown share their pending cleanup, so shutdown waits
|
|
94
|
+
for owned processes to stop. Missing check targets return structured
|
|
95
|
+
`project-structure` findings without starting analysis. The showcase navigation
|
|
96
|
+
again collapses automatically at phone widths.
|
|
97
|
+
- Analysis benchmarks record one latest result per branch, covering source checks,
|
|
98
|
+
acceptance, imported contracts, spatial changes and branch construction checks.
|
|
99
|
+
The sampled RSS growth allowance is 35% after an unchanged-engine rerun exceeded
|
|
100
|
+
the previous 25% allowance; timing limits and hard memory caps are unchanged.
|
|
101
|
+
|
|
102
|
+
- Opt-in `@ads-lockup` declares an artwork/text relationship and its size token.
|
|
103
|
+
Checks, draft acceptance, previews and Linaria builds share its CSS construction;
|
|
104
|
+
`lockup-construction` rejects invalid hooks and conflicting size, proportion,
|
|
105
|
+
alignment or text-trimming styles. The showcase header uses it. Artwork geometry
|
|
106
|
+
stays project-owned; the control does not enforce square logos or painted-edge equality.
|
|
107
|
+
|
|
108
|
+
- Layout pattern scenarios show labelled, tinted regions instead of sample content: the preview
|
|
109
|
+
frame provides a shared `placeholder` block (`previewFrameClasses("placeholder", "placeholder-blue")`,
|
|
110
|
+
also mint, lavender and warm), used by the starter's new `RegionBlock` review helper for the Shell
|
|
111
|
+
scenarios and by ADS's own Workspace shell scenario. Shell panels are columns whose content fills
|
|
112
|
+
the panel's height.
|
|
113
|
+
|
|
114
|
+
- The starter's light page background (`--bg-canvas`) is now `slate-1`, effectively white, instead of
|
|
115
|
+
the pale blue-grey `slate-2`, so staged subjects stand out from the showcase surface.
|
|
116
|
+
|
|
117
|
+
- Token views follow the folder model of components and patterns: each catalogue group is a
|
|
118
|
+
sidebar group with one page per kind of token (`tokens/<Group>/<section>`, such as
|
|
119
|
+
Typography → Line heights), in a fixed order; a group with one kind, and `Layout`, stay a
|
|
120
|
+
single `tokens/<Group>` view. Sections come from each token's sample property, classified
|
|
121
|
+
once on the server. Token samples and brand artwork are staged like component subjects. Token view ids change; see the
|
|
122
|
+
0.4.1 → 0.4.2 migration guide.
|
|
123
|
+
- Brand assets are one row each on the showcase grid (`@ads-layout`): the clean master, its
|
|
124
|
+
construction grid (without centre axes; the icon magnifier keeps them) and actual sizes sit
|
|
125
|
+
on the same tracks in every row.
|
|
126
|
+
- The Brand view draws masters at one 64px height and the favicon sizes (16, 32, 48 px) at
|
|
127
|
+
true size; the 180–512 px home-screen icons are named instead of drawn.
|
|
128
|
+
- ADS has a new mark, "Eye in the grid": coloured masters and a logo with the "Agentic
|
|
129
|
+
Design System" tagline for the repository, app icons and favicons, and a greyscale
|
|
130
|
+
`BrandMark` for the showcase header, which stays neutral beside the inspected design. The
|
|
131
|
+
showcase page now serves its favicons.
|
|
132
|
+
|
|
133
|
+
- Showcase previews mark the scenario's subject: what its `covers` names stays on the
|
|
134
|
+
project's own canvas, in a box around it, while framing (specimen layouts, review helpers,
|
|
135
|
+
scenario markup) sits on the showcase panes' surface, so the main view and the side panes
|
|
136
|
+
share one background in every theme. Nothing is drawn over the subject or the framing.
|
|
137
|
+
A subject paired only with text (an icon beside its label) is staged with that text, and a
|
|
138
|
+
scenario that renders only its subject (a full-page shell) fills the frame edge to edge. Scenario discovery records each
|
|
139
|
+
scenario's subject owners (`subjects`) and the preview manifest carries them; no project
|
|
140
|
+
changes are needed. Composition previews fill the frame edge to edge.
|
|
141
|
+
- ADS's own showcase design system adds `SpecimenTable` for side-by-side comparisons; the
|
|
142
|
+
Preview indicators page uses it, and scenarios that centred themselves in a `page`
|
|
143
|
+
frame now use the specimen layout like the rest.
|
|
144
|
+
- Showcase fixes: the Icons tab no longer stays blank after the preview slot was replaced
|
|
145
|
+
(the catalogue renders into its own host); layout guides are clipped against the layout
|
|
146
|
+
viewport, so a page scrollbar no longer cuts them short at the right edge; the mini-unit
|
|
147
|
+
ruler draws crisp one-device-pixel lines at any display scaling, with stronger 16px major
|
|
148
|
+
lines and a fainter 8px lattice. The showcase header's tabs and actions fill the bar, so
|
|
149
|
+
their bounds sit on the grid.
|
|
150
|
+
- ads-import and ads-port keep only their own workflow (about 240 and 200 lines, from 500
|
|
151
|
+
and 460). Shared ADS rules are a short "Ground rules" section linking the synced
|
|
152
|
+
references, instead of copied ads-designer text that drifted out of date.
|
|
153
|
+
- Remove the `ads_prepare_token_samples` MCP tool and the `brand-preview` rule. Token
|
|
154
|
+
sample bindings are data in `tokens/catalog.ads.json`, edited in a `tokens` draft; the
|
|
155
|
+
Brand view shows every artwork in `assets/brand/` itself, now including subfolders such
|
|
156
|
+
as `pictograms/`.
|
|
157
|
+
- Guidance now matches tool-owned foundation views: skills, guides, starter docs and MCP
|
|
158
|
+
instructions describe the Tokens and Brand views ADS renders from the token sheets,
|
|
159
|
+
`tokens/catalog.ads.json` (now documented, with its `foundation-catalog` errors) and
|
|
160
|
+
`assets/brand/`, instead of project token scenarios, `TokenSamples`/`BrandPreview`
|
|
161
|
+
renderers and the removed `brand-preview` check. Also corrected: generated barrel and
|
|
162
|
+
styles entry (declare exports in `<Owner>.ads.exports.ts`; never edit the entries),
|
|
163
|
+
`ads verify --unit`, the review severity of `layout-overflow-narrow`,
|
|
164
|
+
`usage.notifications` enforcement, and `preloadFonts()` from the public entry.
|
|
165
|
+
- Merge the ads-break-ui and ads-motion skills into ads-designer as references
|
|
166
|
+
(`stress-test.md`, `stress-catalog.md`, `motion.md`, `motion-performance.md`), keeping
|
|
167
|
+
their upstream credits and MIT notice. The two skills, their prompts and their copied
|
|
168
|
+
references are removed; install `ads-designer` for motion and stress-testing work.
|
|
169
|
+
- Fix: `@ads-layout` breakpoint tiers compile to exclusive ranges
|
|
170
|
+
(`(width >= 42rem) and (width < 66rem)`). Open-ended tiers could both match, and
|
|
171
|
+
atomic CSS does not keep rule order, so a smaller tier's placement could win at a
|
|
172
|
+
larger width (for example a docked panel staying in its overlay position).
|
|
173
|
+
- Spatial placement: cells take `end` lines (instead of `span`), `start: auto`, `row` /
|
|
174
|
+
`row-span`, and per-breakpoint `visible: false` (compiled to bounded range queries);
|
|
175
|
+
layouts take `rows` (`auto` / `fill`) and `align: start | center | end` for capped
|
|
176
|
+
regions. Overlays keep their row band. `grid-construction` and `grid-definition`
|
|
177
|
+
diagnostics link to the new `ads://guides/layout` guide (ads-designer
|
|
178
|
+
`references/layout.md`), whose examples are compiled in the test suite. Parsed spatial
|
|
179
|
+
definitions are reused by content across style templates in the build and preview.
|
|
180
|
+
- The starter `Shell` places its header in the grid (shared column keylines) and adds a
|
|
181
|
+
backdrop wherever a panel covers the main region.
|
|
182
|
+
- Spatial layouts gain region support: `context: container` applies the shared
|
|
183
|
+
breakpoints to the nearest region container; `@ads-cell` takes `container: region`
|
|
184
|
+
and per-breakpoint `overlay: start | end`; hybrid layouts take `fixed-end` and vary
|
|
185
|
+
their fixed tracks with `@ads-at`. Tracks emitted by `@ads-layout` are no longer
|
|
186
|
+
judged again by `layout-fixed-width`. The preview frame adds a `region` layout.
|
|
187
|
+
- The starter adds a `Shell` pattern (rail/panel navigation, docked or floating aside)
|
|
188
|
+
and a Workspace composition; `Conversation` now responds to its region's width
|
|
189
|
+
(`context: container`). `IconButton` takes `id`, `expanded` and `controls` for
|
|
190
|
+
disclosure toggles. The starter `tsconfig.json` no longer uses `baseUrl`, which
|
|
191
|
+
TypeScript 7 removed.
|
|
192
|
+
- The showcase host's header and navigation regions use `@ads-layout`: navigation is
|
|
193
|
+
fluid (5/12) below `md` and a fixed side pane from `md`, and the preview area is a
|
|
194
|
+
region container.
|
|
195
|
+
- Replace the `draftImportGuard()` export with `developmentImportGuard()`; update
|
|
196
|
+
application build imports and calls. The guard rejects drafts, marked development
|
|
197
|
+
scripts/styles and preview tooling. There is no compatibility alias.
|
|
198
|
+
- Reject the undocumented `.ads.fixtures.*` role; use `.ads.fixture.*` consistently
|
|
199
|
+
with scenario discovery. Remove duplicate starter/playground scripts:
|
|
200
|
+
`build:mcp-previews` → `build:showcase`, `preview`/`preview:showcase` →
|
|
201
|
+
`dev:showcase`, and repository `test:tool` → `test`.
|
|
202
|
+
- Add `ads-migrate` for existing design-system upgrades, with a short common workflow
|
|
203
|
+
and a 0.4.1 → 0.4.2 guide for source, configuration and preview changes.
|
|
204
|
+
- Use one authored starter in `starters/shared/`; generate native React/Preact import,
|
|
205
|
+
type and build differences, keeping only small mount adapters per framework.
|
|
206
|
+
- Serve an initialized Preact starter as the repository playground. Remove the
|
|
207
|
+
duplicated root design system; retain a small starter-based lazy-loading fixture
|
|
208
|
+
for compiler regression tests.
|
|
209
|
+
- Move generic preview framing into the showcase client. Mark project review
|
|
210
|
+
implementations/styles and mounts with `.ads.*`, and reject them in production
|
|
211
|
+
imports and bundler output. Review-only geometry does not enter shared token counts.
|
|
212
|
+
- Preserve starter asset configuration on first initialization so the Icons grid and
|
|
213
|
+
brand asset generation work in the shipped starter.
|
|
214
|
+
- Scope layout alignment guides to Patterns and Composition. Draw the project's
|
|
215
|
+
token grid inside each rendered example, following its bounds, resizing and
|
|
216
|
+
scrolling; keep the control out of Tokens, Icons and individual Components.
|
|
217
|
+
- Remove obsolete project-owned showcase page requirements and unused HTML mount pages.
|
|
218
|
+
|
|
219
|
+
## 0.4.1
|
|
220
|
+
|
|
221
|
+
- Two gates run one pipeline, `ads check` → project scripts → behavior tests →
|
|
222
|
+
render audit:
|
|
223
|
+
- `ads_accept` checks one draft: `ads check`, `acceptance.scripts`, and the
|
|
224
|
+
draft owners' own behavior tests and render audit. It no longer runs the
|
|
225
|
+
tests or audit of other owners the change reaches; `ads_validate` does.
|
|
226
|
+
- `ads_validate` / `ads validate` checks everything (`scope:"all"`) or what
|
|
227
|
+
changed since the last successful full run (`scope:"changed"`, or
|
|
228
|
+
`--changed`): `ads check`, `acceptance.scripts` then `validation.scripts`,
|
|
229
|
+
and every behavior test and render audit the change set reaches. `"changed"`
|
|
230
|
+
now narrows the render audit too. It writes nothing.
|
|
231
|
+
- Configuration is `"acceptance": { "scripts": [], "behavior": true, "audit": true }`
|
|
232
|
+
and `"validation": { "scripts": [], "inputs": [] }`; list each script once, since
|
|
233
|
+
`ads validate` runs both lists. `checks`, `behaviorChecks` and `browserAudit` are
|
|
234
|
+
unknown fields.
|
|
235
|
+
- The validation policy is gone: `ads_validate` loses `policy`, `ads validate`
|
|
236
|
+
loses `--policy`, and `.ds/acceptance-baseline.json` is no longer written.
|
|
237
|
+
- `ads_check` and `ads_verify` are removed from MCP. The architecture check stays
|
|
238
|
+
readable as `ads://project/checks`; the CLI keeps `ads check` and `ads verify`.
|
|
239
|
+
- "Browser audit" is now "render audit": the check is `render-audit`, and the
|
|
240
|
+
rules are `render-audit`, `render-audit-skipped` and
|
|
241
|
+
`render-audit-nothing-measured`.
|
|
242
|
+
- The execution lock no longer reports an estimated remaining time.
|
|
243
|
+
- `ads_status.validation.progress` is compacted like other progress, and
|
|
244
|
+
`ads_status.policies` is now `gates`.
|
|
245
|
+
- Script files named by `acceptance.scripts` and `validation.scripts` belong to the
|
|
246
|
+
configuration unit and are copied into acceptance candidates.
|
|
247
|
+
- The Vite preview compiler is removed: `createVitePreviewBuilder`,
|
|
248
|
+
`previewEntriesPlugin`, `scenarioRegistryPlugin` and `inlineScenarioHtml` are gone.
|
|
249
|
+
ADS previews compile with Bun only. `@reqvire-org/ads/scenarios/vite` keeps
|
|
250
|
+
`draftImportGuard()` for application Vite/Rollup builds.
|
|
251
|
+
- Previews always compile into one shared resource graph. The per-scenario HTML mode
|
|
252
|
+
(no `mcp.previewManifest`), its nested scenario widget (`ui://ads/scenario`), the
|
|
253
|
+
fallback token inspector (`ui://ads/tokens`) and `mcp.apps` pages are removed.
|
|
254
|
+
`mcp.previewManifest` and `mcp.apps` are removed: ADS publishes the graph to
|
|
255
|
+
`.ds/preview/manifest.json`. `?category=` showcase links are no longer accepted;
|
|
256
|
+
use `?scenario=`. `ads_show_tokens` takes `id` instead of `category`.
|
|
257
|
+
- ADS's own Bun compiler is the only preview compiler: the MCP server runs it, and
|
|
258
|
+
`ads validate` and draft acceptance use it. `mcp.previewWatch` is removed, with its
|
|
259
|
+
external-builder (`false`) and custom-command modes, and so are the
|
|
260
|
+
`@reqvire-org/ads/scenarios/compiler`, `@reqvire-org/ads/scenarios/bun` and
|
|
261
|
+
`@reqvire-org/ads/mcp/build` exports. `ads_status.previewWatch` is now
|
|
262
|
+
`ads_status.compiler`. `ads compile` still builds previews from the command line.
|
|
263
|
+
- An unknown configuration field is an error that names it; removed fields no longer
|
|
264
|
+
carry a message pointing to their replacement.
|
|
265
|
+
- Both MCP transports serve the same protocol versions: `2026-07-28` and the
|
|
266
|
+
2025-era versions (`2024-10-07` to `2025-11-25`). HTTP now serves 2025-era
|
|
267
|
+
clients too, over the sessionful Streamable HTTP transport with its notification
|
|
268
|
+
stream, as stdio already did. A client gets what its protocol version defines.
|
|
269
|
+
- ADS's tools run on Bun only: the CLI and MCP server require Bun, and the Node
|
|
270
|
+
fallbacks in runtime detection, cache keys and the check worker are removed. A
|
|
271
|
+
project may still be a Node project: what it imports from ADS in its own build,
|
|
272
|
+
lint or Playwright specs (`linaria`, `scenarios/vite`, `verification`, `oxlint`,
|
|
273
|
+
`tokens`) works under Node. ADS's own tests run with `bun test`, four files at a
|
|
274
|
+
time, and the release proof reads its JUnit report. Two test categories prove
|
|
275
|
+
both kinds of project: `node-project` (an npm project runs `npx … ads init`,
|
|
276
|
+
`ads check` and its builds, and the exports load under Node) and `bun-project`
|
|
277
|
+
(a Bun project with no Node runs `bunx … ads init`, its builds, MCP and gates).
|
|
278
|
+
- Source changes are announced to MCP clients (resource-list and subscribed-resource
|
|
279
|
+
notifications) whenever no build is running. Before, ADS held them while any
|
|
280
|
+
preview was pending, so with on-demand builds an edit could go unannounced until
|
|
281
|
+
someone opened a preview. The HTTP host also sends an event stream's headers
|
|
282
|
+
at once, so a 2025-era session's notification stream opens before it has data.
|
|
283
|
+
- A preview build error from the Bun compiler names the file and line again; newer Bun
|
|
284
|
+
reported only "Bundle failed".
|
|
285
|
+
- The `data-access` rule no longer rejects network stubs in tests, such as a behavior
|
|
286
|
+
spec that injects transport failures.
|
|
287
|
+
- The design system's layout inside `dsDir` is fixed: `index.ts`, `review/index.ads.review.ts`,
|
|
288
|
+
`styles.css` and `tokens/`, imported as `@ds` and `@ds/review`. `publicAlias`,
|
|
289
|
+
`publicEntry`, `reviewEntry`, `stylesEntry` and `tokenDir` are no longer
|
|
290
|
+
configuration fields; `sourceDir` and `dsDir` stay.
|
|
291
|
+
- The Oxlint adapter is removed: the `oxlint` field, `ads lint-config`, the
|
|
292
|
+
`@reqvire-org/ads/oxlint` export and the generated `.ds/oxlintrc.json`. A project's
|
|
293
|
+
own linter runs through its own scripts; ADS's checks run in `ads check`.
|
|
294
|
+
- `mcp.showcaseUrl` is no longer a configuration field. `ads_status.showcaseUrl` and
|
|
295
|
+
the preview tools report the URL and port of the showcase the MCP server is running,
|
|
296
|
+
and nothing without one (`--no-showcase`); `--port` fixes the port.
|
|
297
|
+
- `ads init` no longer recognizes the old `ds …` script names.
|
|
298
|
+
- `ads create` is removed; ADS always sets up inside an existing project with `ads init`.
|
|
299
|
+
`ads init --include-starter` adds the starter's example design system, Vite and
|
|
300
|
+
TypeScript setup, scripts and development dependencies the project lacks, never
|
|
301
|
+
replacing a project file or writing a lockfile. The starter's npm lockfile is gone.
|
|
302
|
+
- A `token-name` error says what fits the layer where it appears: in `tokens/` a shared
|
|
303
|
+
name with a contract prefix (and the prefix the bad name hints at, such as `--bg-<role>`),
|
|
304
|
+
in a component `--ds-*` customization, in a pattern `--ux-*`, in the showcase
|
|
305
|
+
`--showcase-*`. Token names are still ADS's fixed contract.
|
|
306
|
+
- `ads init` reads the package manager only from the project: `packageManager` in
|
|
307
|
+
`package.json`, else its lockfile. A project that declares neither gets an error
|
|
308
|
+
naming what to add. `--package-manager` and the guess from the launcher (`npx`/`bunx`)
|
|
309
|
+
are removed.
|
|
310
|
+
- `ads_report_bug` and `ads_request_feature` are removed, with their `.ds/reports/`
|
|
311
|
+
store, `ads_status.reports`, `ads://guides/reporting` and the skills' reporting
|
|
312
|
+
reference.
|
|
313
|
+
- `ads_skills` and `ads_read_skill` are listed only on 2025-era connections, which
|
|
314
|
+
have no native skills; `2026-07-28` clients use `skills/list`, `skills/get` and
|
|
315
|
+
skill resources.
|
|
316
|
+
- `ads_show_tokens` is removed. Token scenarios open with `ads_show_scenario` like
|
|
317
|
+
every other scenario; `ads_scenarios({kind: "tokens"})` lists them. The showcase and
|
|
318
|
+
the MCP explorer use `ads_show_scenario` for token previews too.
|
|
319
|
+
- The starters' `lint` script is the Biome CSS check only; Oxlint is no longer a
|
|
320
|
+
starter dependency.
|
|
321
|
+
|
|
322
|
+
## 0.4.0
|
|
323
|
+
|
|
324
|
+
- `mcp.previewBuildTimeoutMs` sets how long a preview waits for its build,
|
|
325
|
+
including the first build after the MCP server starts (1000–3600000 ms). The
|
|
326
|
+
default rises from 30 seconds to 5 minutes, so slower computers finish the
|
|
327
|
+
first build.
|
|
328
|
+
- Only `.ads.`-marked development files are recognized. Unmarked
|
|
329
|
+
`Scenario.tsx`, `*.scenario.*`, `*.fixture.*`, `behavior.json` and
|
|
330
|
+
`*.scenario-adapter.*` files are no longer read; behavior is declared in
|
|
331
|
+
`<Owner>.ads.contract.ts`.
|
|
332
|
+
- Drafts are the only MCP editing route: `ads_apply_patch`, `ads_apply_transaction`
|
|
333
|
+
and `ads_prepare_patch` are removed, and only `ads_accept` of an exact draft
|
|
334
|
+
revision writes accepted source. `ads_update_draft` takes a Git diff
|
|
335
|
+
(`patch`/`patchFile`) applied exactly to the draft. `ads_accept` takes `dryRun:true`.
|
|
336
|
+
`ads_prepare_token_samples` writes into a draft. Contract migration is removed.
|
|
337
|
+
- An owner is in at most one open draft, so concurrent clients edit different owners.
|
|
338
|
+
Drafts carry only their owners' files. `refresh` and three-way merging are removed:
|
|
339
|
+
a baseline conflict means the draft is dropped and recreated.
|
|
340
|
+
- Shared entries are generated. Each owner declares its public names in
|
|
341
|
+
`<Owner>.ads.exports.ts`; ADS writes the public barrel and review entry from them and
|
|
342
|
+
the styles entry from the token sheets, and `ads check` reports a stale or
|
|
343
|
+
hand-edited one (`generated-entry`). `ads init` stops before writing anything when it
|
|
344
|
+
finds a hand-written entry and says to move its exports into owners' exports files.
|
|
345
|
+
The generated barrel names each export directly from its source, so a product build
|
|
346
|
+
never includes an exports file, and it re-exports the generated font preloads
|
|
347
|
+
(`preloadFonts()` and the tag/header helpers) once `ads assets` has written
|
|
348
|
+
`tokens/fonts.preload.generated.ts`. ADS deletes an empty `.gitkeep` itself when
|
|
349
|
+
accepted source is added beneath it.
|
|
350
|
+
- Style permissions move from `ds.config.json` into the owner contract:
|
|
351
|
+
`styles.writes`, `styles.inline` and `customization` replace
|
|
352
|
+
`boundaries.styleWrites`, `inlineStyleFiles` and `boundaries.componentVariables`,
|
|
353
|
+
which are no longer accepted. Contracts are allowed for showcase owners. Application
|
|
354
|
+
code has no owner contract, so it gets no inline-style exception: measured geometry
|
|
355
|
+
belongs in a design-system owner that declares it.
|
|
356
|
+
- One runtime and one compiler per project. Draft previews are views of their
|
|
357
|
+
workspaces, compiled by the project's compiler process (viewed draft first) and
|
|
358
|
+
served by its showcase, alone at `/draft/<id>/`; no draft starts a server, port or
|
|
359
|
+
compiler. Acceptance checks and renders in the reviewed workspace. Other drafts
|
|
360
|
+
resync in the background. A custom compiler passes `runScenarioCompiler` a function of
|
|
361
|
+
the root, so the same process builds each draft with its own builder.
|
|
362
|
+
- `acceptance.browserAudit` is `"owners"` (default: the draft owners' own scenarios),
|
|
363
|
+
`"affected"` or `false`; the full audit of everything affected runs as a stage with
|
|
364
|
+
`ads_validate`. A dry run's check and audit are remembered for accepting the same
|
|
365
|
+
revision. `mcp.auditPages` (1–16, default 4) sets how many pages render at once.
|
|
366
|
+
- Faster checks: per-file facts are computed once in `ads check`, TypeScript programs
|
|
367
|
+
and parsed sources are reused across checks, the MCP server and compiler check in a
|
|
368
|
+
warm worker that remembers passing reports, and the scenario inspector stays warm
|
|
369
|
+
while previews are in use.
|
|
370
|
+
|
|
371
|
+
## 0.3.53
|
|
372
|
+
|
|
32
373
|
- **Run `ads assets` once after upgrading.** The generated font module changed, so `ads check` fails it as
|
|
33
374
|
stale (`themes-generated`) until then.
|
|
34
375
|
- **`assets.preloadFonts` names the fonts to preload.** An array of `{ family, weight }` replaces the
|
package/docs/COMPARISON.md
CHANGED
|
@@ -26,7 +26,7 @@ built-in workflows. "Custom setup" means additional project tooling or integrati
|
|
|
26
26
|
| **Agent access** | Varies; MUI provides documentation MCP. [Docs](https://mui.com/material-ui/getting-started/mcp/) | MCP registry browsing, search and installation. [Docs](https://ui.shadcn.com/docs/mcp) | MCP access to the actual project's APIs, tokens, source, rendered UI, diagnostics and verification |
|
|
27
27
|
| **Enforced shared design values** | Theme APIs and conventions; additional enforcement requires setup | Theme variables and conventions; additional enforcement requires setup | Guards enforce shared design-value ownership and token references |
|
|
28
28
|
| **Enforced architectural boundaries** | Custom setup | Custom setup | Checks dependency direction, public APIs, style ownership and application/development separation |
|
|
29
|
-
| **Guarded agent edits** | Project editing and CI workflow | Source editing plus project checks | Owner-scoped Git patches
|
|
29
|
+
| **Guarded agent edits** | Project editing and CI workflow | Source editing plus project checks | Owner-scoped drafts (file contents or Git patches), one open draft per owner, validated before acceptance. [Contract](MCP.md#guarded-editing) |
|
|
30
30
|
| **Behavior contracts and evidence** | Custom project integration | Custom project integration | Registered guarantees, configured checks and current execution evidence |
|
|
31
31
|
| **Current/candidate screenshots through MCP** | Custom integration | Custom integration | On-demand captures and visual comparison during patch dry runs |
|
|
32
32
|
| **Import compatibility and adaptation** | Project-managed integration | Registry delivery followed by project adaptation | Agent-led destination assessment and adaptation, followed by destination guards and verification |
|