An open source design system that's fully customizable and agent ready
TypeScript
fix(vibe-tests): remove remaining 'xds' references (design-judge bug + eval data + prose) (#3436)
EJ Hammondbd8c3d304d90
diff --git a/internal/vibe-tests/.gitignore b/internal/vibe-tests/.gitignoreindex adb393f9cd..f55dd97408 100644--- a/internal/vibe-tests/.gitignore+++ b/internal/vibe-tests/.gitignore@@ -1,4 +1,4 @@-# XDS agent docs (generated)+# Astryx agent docs (generated).astryx-docs/AGENTS.md@@ -11,7 +11,7 @@ AGENTS.html.md# Generated skill doc (from CLI).generated/*-# Exception: XDS + Tailwind skill doc is committed (not auto-generated)+# Exception: Astryx + Tailwind skill doc is committed (not auto-generated)# Test results (generated)results/diff --git a/internal/vibe-tests/AdminPanel.tsx b/internal/vibe-tests/AdminPanel.tsxdeleted file mode 100644index b7711dbb49..0000000000--- a/internal/vibe-tests/AdminPanel.tsx+++ /dev/null@@ -1,225 +0,0 @@-// Copyright (c) Meta Platforms, Inc. and affiliates.--'use client';--import {useState} from 'react';-import {XDSTheme} from '@astryxdesign/core';-import {neutralTheme} from '@astryxdesign/theme/neutral';-import {XDSAppShell} from '@astryxdesign/core/AppShell';-import {XDSTopNav, XDSTopNavHeading} from '@astryxdesign/core/TopNav';-import {- XDSSideNav,- XDSSideNavCollapseButton,- XDSSideNavItem,- XDSSideNavSection,-} from '@astryxdesign/core/SideNav';-import {XDSLayout, XDSLayoutContent, XDSLayoutPanel} from '@astryxdesign/core/Layout';-import {XDSHeading} from '@astryxdesign/core/Text';-import {XDSText} from '@astryxdesign/core/Text';-import {XDSCard} from '@astryxdesign/core/Card';-import {XDSVStack, XDSHStack, XDSStackItem} from '@astryxdesign/core/Stack';-import {XDSBadge} from '@astryxdesign/core/Badge';-import {XDSButton} from '@astryxdesign/core/Button';-import {XDSDivider} from '@astryxdesign/core/Divider';-import {XDSMetadataList, XDSMetadataListItem} from '@astryxdesign/core/MetadataList';-import {XDSAvatar} from '@astryxdesign/core/Avatar';-import {XDSGrid} from '@astryxdesign/core/Grid';-import {XDSIcon} from '@astryxdesign/core/Icon';-import {XDSSection} from '@astryxdesign/core/Section';-import {- HomeIcon,- UsersIcon,- DocumentTextIcon,- ShieldCheckIcon,- ClipboardDocumentListIcon,- Cog6ToothIcon,- BellIcon,-} from '@heroicons/react/24/outline';--export default function AdminPanel() {- const [isSideNavCollapsed, setIsSideNavCollapsed] = useState(false);-- return (- <XDSTheme theme={neutralTheme}>- <XDSAppShell- topNav={- <XDSTopNav- label="Admin navigation"- heading={<XDSTopNavHeading heading="Admin Panel" />}- endContent={- <XDSHStack gap={2} vAlign="center">- <XDSButton- label="Notifications"- variant="ghost"- icon={<XDSIcon icon={BellIcon} color="inherit" />}- />- <XDSAvatar name="Admin User" size="medium" />- </XDSHStack>- }- />- }- sideNav={- <XDSSideNav collapsible footerIcons={<XDSSideNavCollapseButton />}>- <XDSSideNavSection title="Navigation" isHeaderHidden>- <XDSSideNavItem- label="Dashboard"- icon={HomeIcon}- isSelected- href="/admin"- />- <XDSSideNavItem- label="Users"- icon={UsersIcon}- href="/admin/users"- endContent={<XDSBadge label="128" variant="neutral" />}- />- <XDSSideNavItem- label="Content"- icon={DocumentTextIcon}- href="/admin/content"- />- </XDSSideNavSection>- <XDSSideNavSection title="Management">- <XDSSideNavItem- label="Roles & Permissions"- icon={ShieldCheckIcon}- href="/admin/roles"- />- <XDSSideNavItem- label="Audit Log"- icon={ClipboardDocumentListIcon}- href="/admin/audit"- />- </XDSSideNavSection>- <XDSSideNavSection title="System">- <XDSSideNavItem label="Settings" icon={Cog6ToothIcon} collapsible>- <XDSSideNavItem- label="General"- href="/admin/settings/general"- />- <XDSSideNavItem- label="Security"- href="/admin/settings/security"- />- <XDSSideNavItem- label="Integrations"- href="/admin/settings/integrations"- />- </XDSSideNavItem>- </XDSSideNavSection>- </XDSSideNav>- }- isSideNavCollapsed={isSideNavCollapsed}- onSideNavCollapsedChange={setIsSideNavCollapsed}>- <XDSLayout- content={- <XDSLayoutContent label="Admin dashboard">- <XDSSection padding={4}>- <XDSVStack gap={6}>- <XDSVStack gap={2}>- <XDSHeading level={1}>Dashboard</XDSHeading>- <XDSText type="body" color="secondary">- Overview of your admin panel activity.- </XDSText>- </XDSVStack>-- <XDSGrid columns={3} gap={4}>- <XDSCard padding={4}>- <XDSVStack gap={2}>- <XDSText type="label" color="secondary">- Total Users- </XDSText>- <XDSHeading level={2}>1,284</XDSHeading>- <XDSBadge label="+12% this month" variant="success" />- </XDSVStack>- </XDSCard>- <XDSCard padding={4}>- <XDSVStack gap={2}>- <XDSText type="label" color="secondary">- Active Sessions- </XDSText>- <XDSHeading level={2}>342</XDSHeading>- <XDSBadge label="Live" variant="info" />- </XDSVStack>- </XDSCard>- <XDSCard padding={4}>- <XDSVStack gap={2}>- <XDSText type="label" color="secondary">- Pending Reviews- </XDSText>- <XDSHeading level={2}>23</XDSHeading>- <XDSBadge label="Needs attention" variant="warning" />- </XDSVStack>- </XDSCard>- </XDSGrid>-- <XDSCard padding={4}>- <XDSVStack gap={4}>- <XDSHStack gap={2} vAlign="center">- <XDSStackItem size="fill">- <XDSHeading level={3}>Recent Activity</XDSHeading>- </XDSStackItem>- <XDSButton label="View all" variant="ghost" />- </XDSHStack>- <XDSDivider />- <XDSText type="body" color="secondary">- Activity feed content would appear here.- </XDSText>- </XDSVStack>- </XDSCard>- </XDSVStack>- </XDSSection>- </XDSLayoutContent>- }- end={- <XDSLayoutPanel hasDivider width={320} label="Detail panel">- <XDSSection padding={4}>- <XDSVStack gap={4}>- <XDSHeading level={3}>Details</XDSHeading>- <XDSDivider />-- <XDSHStack gap={3} vAlign="center">- <XDSAvatar name="Jane Smith" size="medium" />- <XDSVStack gap={1}>- <XDSText type="body" weight="semibold">- Jane Smith- </XDSText>- <XDSText type="supporting" color="secondary">- Administrator- </XDSText>- </XDSVStack>- </XDSHStack>-- <XDSMetadataList columns="single">- <XDSMetadataListItem label="Email">- </XDSMetadataListItem>- <XDSMetadataListItem label="Role">- <XDSBadge label="Admin" variant="blue" />- </XDSMetadataListItem>- <XDSMetadataListItem label="Status">- <XDSBadge label="Active" variant="success" />- </XDSMetadataListItem>- <XDSMetadataListItem label="Last Login">- 2 hours ago- </XDSMetadataListItem>- <XDSMetadataListItem label="Created">- Jan 15, 2024- </XDSMetadataListItem>- </XDSMetadataList>-- <XDSDivider />-- <XDSHStack gap={2}>- <XDSButton label="Edit User" variant="secondary" />- <XDSButton label="Suspend" variant="destructive" />- </XDSHStack>- </XDSVStack>- </XDSSection>- </XDSLayoutPanel>- }- />- </XDSAppShell>- </XDSTheme>- );-}diff --git a/internal/vibe-tests/README.md b/internal/vibe-tests/README.mdindex d3e8653eba..2ec472f72e 100644--- a/internal/vibe-tests/README.md+++ b/internal/vibe-tests/README.md@@ -1,4 +1,4 @@-# XDS Vibe Tests+# Astryx Vibe TestsStructured evaluations that compare how well LLMs generate UI code under different design system configurations. Same prompts, different systems, measurable outcomes.@@ -11,7 +11,7 @@ Prompts live in [`test-sets/default.json`](test-sets/default.json). Each prompt"id": "fwc-6","category": "feature-with-constraint","prompt": "Build a shipping method selector with three options: Standard (free, 5-7 days), Express ($9.99, 2-3 days), Overnight ($19.99, next day)",- "expectedComponents": ["XDSRadioList", "XDSCard"],+ "expectedComponents": ["RadioList", "Card"],"complexity": "simple"}```@@ -120,11 +120,11 @@ For evaluation fairness, check `universal-eval.ts`:## Known Accepted Asymmetries-These are intentional and documented; they slightly favor baseline, making XDS wins more credible:+These are intentional and documented; they slightly favor baseline, making Astryx wins more credible:-- **Efficiency:** Tailwind's single-line `className` gets a lower styling-ratio than XDS's multi-line `stylex.create` blocks, despite encoding more decisions+- **Efficiency:** Tailwind's single-line `className` gets a lower styling-ratio than Astryx's multi-line `stylex.create` blocks, despite encoding more decisions- **Maintainability:** Tailwind scale values (`p-4`, `text-sm`) count as semantic, which is generous compared to how raw `16px` is counted for HTML-- **XDS+Tailwind scoring:** The hybrid target counts styling decisions from both XDS props and Tailwind classes. This may inflate its decision count relative to pure XDS, but accurately reflects the code's actual styling surface area+- **Astryx+Tailwind scoring:** The hybrid target counts styling decisions from both Astryx props and Tailwind classes. This may inflate its decision count relative to pure Astryx, but accurately reflects the code's actual styling surface area## Directory Structurediff --git a/internal/vibe-tests/a11y-manifests/astryx.json b/internal/vibe-tests/a11y-manifests/astryx.jsonindex 924c78d1bc..6282c84d1a 100644--- a/internal/vibe-tests/a11y-manifests/astryx.json+++ b/internal/vibe-tests/a11y-manifests/astryx.json@@ -24,7 +24,7 @@"Use aria-pressed for toggle buttons"],"notes": [- "`XDSButtonVariant` type is derived from the `variants` StyleX object using `keyof typeof variants`",+ "`ButtonVariant` type is derived from the `variants` StyleX object using `keyof typeof variants`","Destructive variant uses `colorTokens.negative` for its focus outline color"]},@@ -73,7 +73,7 @@"Icon": {"component": "Icon","builtIn": [- "Theme Colors: Color variants mapped to XDS icon color tokens",+ "Theme Colors: Color variants mapped to Astryx icon color tokens","Accessible: Icons are hidden from screen readers by default (aria-hidden)"],"keyboard": [],@@ -110,7 +110,7 @@"Uses `useId` hook for accessible label-textarea association","Label is always rendered for accessibility; use `isLabelHidden` to hide visually","Hidden label uses CSS technique that remains accessible to screen readers",- "Wraps `XDSField` component for label, description, and optional/required handling",+ "Wraps `Field` component for label, description, and optional/required handling","Optional/Required text appears on the same line as the label","Label is required prop - component handles label association"]@@ -128,7 +128,7 @@"Uses `useId` hook for accessible label-input association","Label is always rendered for accessibility; use `isLabelHidden` to hide visually","Hidden label uses CSS technique that remains accessible to screen readers",- "Wraps `XDSField` component for label, description, and optional/required handling",+ "Wraps `Field` component for label, description, and optional/required handling","Optional/Required text appears on the same line as the label","Label is required prop - component handles label association"]@@ -136,7 +136,7 @@"theme": {"component": "theme","builtIn": [- "XDSTheme Provider: Wraps app to provide CSS variables"+ "Theme Provider: Wraps app to provide CSS variables"],"keyboard": [],"developerMust": [],diff --git a/internal/vibe-tests/a11y-manifests/astryx.md b/internal/vibe-tests/a11y-manifests/astryx.mdindex 26570c5e20..fc6622ff39 100644--- a/internal/vibe-tests/a11y-manifests/astryx.md+++ b/internal/vibe-tests/a11y-manifests/astryx.md@@ -23,7 +23,7 @@**Notes:**-- `XDSButtonVariant` type is derived from the `variants` StyleX object using `keyof typeof variants`+- `ButtonVariant` type is derived from the `variants` StyleX object using `keyof typeof variants`- Destructive variant uses `colorTokens.negative` for its focus outline color## CheckboxInput@@ -69,7 +69,7 @@**Built-in accessibility:**-- Theme Colors: Color variants mapped to XDS icon color tokens+- Theme Colors: Color variants mapped to Astryx icon color tokens- Accessible: Icons are hidden from screen readers by default (aria-hidden)**Notes:**@@ -103,7 +103,7 @@- Uses `useId` hook for accessible label-textarea association- Label is always rendered for accessibility; use `isLabelHidden` to hide visually- Hidden label uses CSS technique that remains accessible to screen readers-- Wraps `XDSField` component for label, description, and optional/required handling+- Wraps `Field` component for label, description, and optional/required handling- Optional/Required text appears on the same line as the label- Label is required prop - component handles label association@@ -120,7 +120,7 @@- Uses `useId` hook for accessible label-input association- Label is always rendered for accessibility; use `isLabelHidden` to hide visually- Hidden label uses CSS technique that remains accessible to screen readers-- Wraps `XDSField` component for label, description, and optional/required handling+- Wraps `Field` component for label, description, and optional/required handling- Optional/Required text appears on the same line as the label- Label is required prop - component handles label association@@ -128,4 +128,4 @@**Built-in accessibility:**-- XDSTheme Provider: Wraps app to provide CSS variables+- Theme Provider: Wraps app to provide CSS variablesdiff --git a/internal/vibe-tests/app/index.html b/internal/vibe-tests/app/index.htmlindex d313dbbb6f..65912843f1 100644--- a/internal/vibe-tests/app/index.html+++ b/internal/vibe-tests/app/index.html@@ -5,7 +5,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>XDS Vibe Tests</title>+ <title>Astryx Vibe Tests</title><style>#root {min-height: 100%;diff --git a/internal/vibe-tests/app/index.report.html b/internal/vibe-tests/app/index.report.htmlindex a0fe46813f..4e9584d704 100644--- a/internal/vibe-tests/app/index.report.html+++ b/internal/vibe-tests/app/index.report.html@@ -5,7 +5,7 @@<head><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0" />- <title>XDS Vibe Test Report</title>+ <title>Astryx Vibe Test Report</title><style>#root {min-height: 100%;diff --git a/internal/vibe-tests/app/src/main.report.tsx b/internal/vibe-tests/app/src/main.report.tsxindex 8551ab6cc5..df02fdff0d 100644--- a/internal/vibe-tests/app/src/main.report.tsx+++ b/internal/vibe-tests/app/src/main.report.tsx@@ -13,8 +13,8 @@ import {createRoot} from 'react-dom/client';* vite.config.report.ts.*/import '@astryxdesign/core/reset.css';-import 'xds-css';-import 'xds-theme-css';+import 'astryx-css';+import 'astryx-theme-css';const Report = lazy(() =>import('./report/Report').then(m => ({default: m.Report})),diff --git a/internal/vibe-tests/app/src/preview.tsx b/internal/vibe-tests/app/src/preview.tsxindex 4cebdd158a..507b08736a 100644--- a/internal/vibe-tests/app/src/preview.tsx+++ b/internal/vibe-tests/app/src/preview.tsx@@ -1,7 +1,7 @@// Copyright (c) Meta Platforms, Inc. and affiliates.import React, {Suspense, lazy} from 'react';-import {XDSTheme} from '@astryxdesign/core/theme';+import {Theme} from '@astryxdesign/core/theme';import {neutralTheme} from '@astryxdesign/theme/neutral';import '@astryxdesign/core/reset.css';import '../tailwind.css';@@ -24,10 +24,10 @@ export default function Preview({theme}: {theme: string}) {}return (- <XDSTheme theme={neutralTheme} mode={theme === 'dark' ? 'dark' : 'light'}>+ <Theme theme={neutralTheme} mode={theme === 'dark' ? 'dark' : 'light'}><Suspense fallback={<div>Loading...</div>}><Component /></Suspense>- </XDSTheme>+ </Theme>);}diff --git a/internal/vibe-tests/app/src/report/CompareView.tsx b/internal/vibe-tests/app/src/report/CompareView.tsxindex 7916726628..88aa9495f2 100644--- a/internal/vibe-tests/app/src/report/CompareView.tsx+++ b/internal/vibe-tests/app/src/report/CompareView.tsx@@ -111,7 +111,7 @@ function winnerLabel(w: string): string {case 'html':return 'HTML';case 'astryx-tailwind':- return 'XDS+TW';+ return 'Astryx+TW';default:return 'Tie';}@@ -296,7 +296,7 @@ function CostComparisonSection({? [{key: 'astryxTailwind' as const,- header: 'XDS+TW',+ header: 'Astryx+TW',renderCell: (row: CostRow) => (<Text type="body">{row.astryxTailwind ?? 'β'}</Text>),@@ -399,7 +399,7 @@ export function CompareView({comparison}: CompareViewProps) {? [{key: 'astryxTailwindScore' as const,- header: 'XDS+TW',+ header: 'Astryx+TW',renderCell: (row: DimRow) => (<Text type="body">{row.astryxTailwindScore != null@@ -515,7 +515,7 @@ export function CompareView({comparison}: CompareViewProps) {? [{key: 'astryxTailwindOverall' as const,- header: 'XDS+TW',+ header: 'Astryx+TW',renderCell: (row: CatRow) => (<Text type="body">{row.astryxTailwindOverall != null@@ -586,7 +586,7 @@ export function CompareView({comparison}: CompareViewProps) {<Card><div className="report-compare-winCard"><VStack gap={2}>- <Text type="label">XDS+TW Wins</Text>+ <Text type="label">Astryx+TW Wins</Text><Heading level={2}><span className="report-color-info">{astryxTailwindWins}diff --git a/internal/vibe-tests/app/src/report/PromptDetailCard.tsx b/internal/vibe-tests/app/src/report/PromptDetailCard.tsxindex 4d337d33a8..27f999c285 100644--- a/internal/vibe-tests/app/src/report/PromptDetailCard.tsx+++ b/internal/vibe-tests/app/src/report/PromptDetailCard.tsx@@ -191,7 +191,7 @@ export function PromptDetailCard({onClick={() =>window.open(previewUrls['astryx-tailwind'], '_blank')}- label="XDS+TW Preview"+ label="Astryx+TW Preview"/>)}{hasXdsCode && (@@ -223,7 +223,7 @@ export function PromptDetailCard({variant="ghost"size="sm"onClick={() => onViewCode('astryx-tailwind')}- label="XDS+TW Code"+ label="Astryx+TW Code"/>)}</div>@@ -244,7 +244,7 @@ export function PromptDetailCard({)}{htmlScore && <ScoreSummary label="HTML" score={htmlScore} />}{astryxTailwindScore && (- <ScoreSummary label="XDS+TW" score={astryxTailwindScore} />+ <ScoreSummary label="Astryx+TW" score={astryxTailwindScore} />)}</div>)}@@ -291,7 +291,7 @@ export function PromptDetailCard({<Divider /><div className="report-promptDetail-section"><div className="report-promptDetail-sectionLabel">- <Text type="label">XDS+TW Findings</Text>+ <Text type="label">Astryx+TW Findings</Text></div><Findings score={astryxTailwindScore} /></div>diff --git a/internal/vibe-tests/app/src/report/Report.tsx b/internal/vibe-tests/app/src/report/Report.tsxindex 9669b8b1a9..0c59a4050c 100644--- a/internal/vibe-tests/app/src/report/Report.tsx+++ b/internal/vibe-tests/app/src/report/Report.tsx@@ -258,10 +258,10 @@ export function Report() {)}{comparison?.astryxTailwind && (<ScoreCard- label="Overall Score vs XDS+TW"+ label="Overall Score vs Astryx+TW"score={universal.overall}compareScore={comparison.astryxTailwind.overall}- compareLabel="XDS+TW"+ compareLabel="Astryx+TW"/>)}@@ -296,7 +296,7 @@ export function Report() {'Astryx','Baseline',comparison.html ? 'HTML' : null,- comparison.astryxTailwind ? 'XDS+TW' : null,+ comparison.astryxTailwind ? 'Astryx+TW' : null,].filter(Boolean).join(' vs ')}{' '}diff --git a/internal/vibe-tests/app/vite.config.preview.ts b/internal/vibe-tests/app/vite.config.preview.tsindex 9f7820bf98..fe88bcf685 100644--- a/internal/vibe-tests/app/vite.config.preview.ts+++ b/internal/vibe-tests/app/vite.config.preview.ts@@ -12,7 +12,7 @@ const repoRoot = path.resolve(__dirname, '../../..');/*** Browser targets for lightningcss.* Prevents lowering native light-dark() into --lightningcss-light/--lightningcss-dark- * polyfill variables. XDS tokens use native light-dark() which is baseline 2024:+ * polyfill variables. Astryx tokens use native light-dark() which is baseline 2024:* Chrome 123+, Firefox 120+, Safari 17.5+** Must match the targets in apps/storybook/.storybook/main.ts@@ -26,8 +26,8 @@ const lightningcssTargets = {/*** Vite config for the preview app.*- * Supports BOTH StyleX (for XDS component internals) AND Tailwind- * (for consumer code in XDS+Tailwind results). XDS components use+ * Supports BOTH StyleX (for Astryx component internals) AND Tailwind+ * (for consumer code in Astryx+Tailwind results). Astryx components use* StyleX internally β handled by the StyleX plugin. Consumer code* uses Tailwind utility classes via className β handled by PostCSS.*/diff --git a/internal/vibe-tests/app/vite.config.report.ts b/internal/vibe-tests/app/vite.config.report.tsindex da65846a87..df2ae70dc7 100644--- a/internal/vibe-tests/app/vite.config.report.ts+++ b/internal/vibe-tests/app/vite.config.report.ts@@ -13,7 +13,7 @@ const repoRoot = path.resolve(__dirname, '../../..');* Vite config for building reports ONLY β no StyleX plugin required.** Reports use pre-compiled CSS from @astryxdesign/core/dist/astryx.css and- * @astryxdesign/theme-neutral/dist/theme.css. XDS component JS is loaded from+ * @astryxdesign/theme-neutral/dist/theme.css. Astryx component JS is loaded from* the built dist (which has stylex.create already compiled away by tsup).* Report-specific styles live in plain CSS (report.css).*@@ -24,7 +24,7 @@ const repoRoot = path.resolve(__dirname, '../../..');/*** Browser targets for lightningcss.* Prevents lowering native light-dark() into --lightningcss-light/--lightningcss-dark- * polyfill variables. XDS tokens use native light-dark() which is baseline 2024:+ * polyfill variables. Astryx tokens use native light-dark() which is baseline 2024:* Chrome 123+, Firefox 120+, Safari 17.5+** Must match the targets in apps/storybook/.storybook/main.ts@@ -64,11 +64,11 @@ export default defineConfig({alias: [// Pre-compiled CSS β no StyleX build needed{- find: 'xds-css',+ find: 'astryx-css',replacement: path.resolve(repoRoot, 'packages/core/dist/astryx.css'),},{- find: 'xds-theme-css',+ find: 'astryx-theme-css',replacement: path.resolve(repoRoot,'packages/themes/neutral/dist/theme.css',diff --git a/internal/vibe-tests/app/vite.config.ts b/internal/vibe-tests/app/vite.config.tsindex bf8b1c5c8b..468cbe7b4e 100644--- a/internal/vibe-tests/app/vite.config.ts+++ b/internal/vibe-tests/app/vite.config.ts@@ -13,7 +13,7 @@ const repoRoot = path.resolve(__dirname, '../../..');/*** Browser targets for lightningcss.* Prevents lowering native light-dark() into --lightningcss-light/--lightningcss-dark- * polyfill variables. XDS tokens use native light-dark() which is baseline 2024:+ * polyfill variables. Astryx tokens use native light-dark() which is baseline 2024:* Chrome 123+, Firefox 120+, Safari 17.5+** Must match the targets in apps/storybook/.storybook/main.tsdiff --git a/internal/vibe-tests/docs/job-taxonomy.md b/internal/vibe-tests/docs/job-taxonomy.mdindex a2a25413de..1e28d2360d 100644--- a/internal/vibe-tests/docs/job-taxonomy.md+++ b/internal/vibe-tests/docs/job-taxonomy.md@@ -8,7 +8,7 @@ When an LLM generates UI from a prompt, its output breaks down into distinct job| Source | Description || ------------------- | ------------------------------------------- |-| **AGENTS.md** | Component catalog and XDS guidance |+| **AGENTS.md** | Component catalog and Astryx guidance || **Design docs** | principles.md, tokens.md - styling patterns || **Component docs** | Button.md, TextInput.md, etc. || **Prompt overhead** | Task instructions and persona |@@ -17,8 +17,8 @@ When an LLM generates UI from a prompt, its output breaks down into distinct job| Job | Description | Typical % || ------------------------ | ------------------------------------------- | --------- |-| **Component Routing** | Import statements for XDS components | 3-10% |-| **Component Config** | Props and attributes on XDS components | 7-30% |+| **Component Routing** | Import statements for Astryx components | 3-10% |+| **Component Config** | Props and attributes on Astryx components | 7-30% || **Supplemental Styling** | StyleX blocks for layout/spacing gaps | 10-27% || **Content Authoring** | HTML structure, JSX elements, copy | 15-27% || **Business Logic** | useState, handlers, API calls, conditionals | 5-51% |@@ -28,11 +28,11 @@ When an LLM generates UI from a prompt, its output breaks down into distinct job### 1. Component Routing (~3-10% of output tokens)-**Import statements for XDS components**+**Import statements for Astryx components**```tsx-import {XDSTextInput} from '@astryxdesign/core/TextInput';-import {XDSButton} from '@astryxdesign/core/Button';+import {TextInput} from '@astryxdesign/core/TextInput';+import {Button} from '@astryxdesign/core/Button';```- Requires: Understanding component catalog, matching intent to components@@ -41,17 +41,17 @@ import {XDSButton} from '@astryxdesign/core/Button';### 2. Component Configuration (~7-30% of output tokens)-**Props and attributes on XDS components**+**Props and attributes on Astryx components**```tsx-<XDSTextInput+<TextInputlabel="Name"value={name}onChange={setName}isRequiredplaceholder="Enter your name"/>-<XDSButton variant="primary" disabled={!isFormValid}>+<Button variant="primary" disabled={!isFormValid}>```- Requires: Understanding component APIs, valid prop values@@ -196,7 +196,7 @@ The aggregate command shows a complete breakdown of token usage:### Input Token Categories-- **AGENTS.md**: Always read (~173 tokens) - component catalog and XDS guidance+- **AGENTS.md**: Always read (~173 tokens) - component catalog and Astryx guidance- **Design docs**: tokens.md (~897) and principles.md (~283) - styling patterns- **Component docs**: Varies by components used (300-2000 tokens each)- **Prompt overhead**: Task instructions and persona (~375 tokens)@@ -206,7 +206,7 @@ The aggregate command shows a complete breakdown of token usage:Analyzed from generated code by parsing:- Import statements β Component Routing-- XDS component JSX with props β Component Config+- Astryx component JSX with props β Component Config- `stylex.create()` blocks β Supplemental Styling- HTML elements and structure β Content Authoring- State hooks, handlers, logic β Business Logicdiff --git a/internal/vibe-tests/environments/project-astryx-tailwind/README.md b/internal/vibe-tests/environments/project-astryx-tailwind/README.mdindex 623ffbd7da..2e7e85bbe2 100644--- a/internal/vibe-tests/environments/project-astryx-tailwind/README.md+++ b/internal/vibe-tests/environments/project-astryx-tailwind/README.md@@ -1,6 +1,6 @@-# XDS + Tailwind CSS+# Astryx + Tailwind CSS-This project uses XDS components with Tailwind CSS. Use the CLI to look up component props and usage before writing code:+This project uses Astryx components with Tailwind CSS. Use the CLI to look up component props and usage before writing code:```bashnpx astryx component --list # list all available components@@ -11,7 +11,7 @@ npx astryx component IconButton # each component has its own entryComponents use:- Tailwind CSS utility classes for layout and custom styling-- XDS Tailwind bridge tokens (`bg-surface`, `text-primary`) for design tokens+- Astryx Tailwind bridge tokens (`bg-surface`, `text-primary`) for design tokens- React 19## Import Pattern@@ -19,24 +19,21 @@ Components use:Each component is imported from its own subpath:```tsx-import {XDSButton} from '@astryxdesign/core/Button';-import {XDSIconButton} from '@astryxdesign/core/IconButton';-import {XDSCard} from '@astryxdesign/core/Card';-import {XDSText, XDSHeading} from '@astryxdesign/core/Text';-import {- XDSToggleButton,- XDSToggleButtonGroup,-} from '@astryxdesign/core/ToggleButton';-import {XDSTheme} from '@astryxdesign/core/theme';+import {Button} from '@astryxdesign/core/Button';+import {IconButton} from '@astryxdesign/core/IconButton';+import {Card} from '@astryxdesign/core/Card';+import {Text, Heading} from '@astryxdesign/core/Text';+import {ToggleButton, ToggleButtonGroup} from '@astryxdesign/core/ToggleButton';+import {Theme} from '@astryxdesign/core/theme';```## Event Handlers-XDS is a React DOM library. Use standard React DOM event handler props such as+Astryx is a React DOM library. Use standard React DOM event handler props such as`onClick`, `onChange`, and `onKeyDown`. For button activation, use `onClick`:```tsx-<XDSButton label="Save" onClick={() => handleSave()} />+<Button label="Save" onClick={() => handleSave()} />```Do NOT use cross-platform activation props like `onPress` unless a componentdiff --git a/internal/vibe-tests/environments/project-astryx/README.md b/internal/vibe-tests/environments/project-astryx/README.mdindex a0f39a512a..69294639d2 100644--- a/internal/vibe-tests/environments/project-astryx/README.md+++ b/internal/vibe-tests/environments/project-astryx/README.md@@ -1,6 +1,6 @@# Astryx-This project uses Astryx (formerly XDS) components. Use the CLI to look up component props and usage before writing code:+This project uses Astryx components. Use the CLI to look up component props and usage before writing code:```bashnpx astryx component --list # list all available componentsdiff --git a/internal/vibe-tests/ideals/README.md b/internal/vibe-tests/ideals/README.mdindex b865bb9716..99d8665b2e 100644--- a/internal/vibe-tests/ideals/README.md+++ b/internal/vibe-tests/ideals/README.md@@ -24,7 +24,7 @@ Examples:- **Format:** PNG- **Viewport:** 1920Γ1200 (Figma export resolution)-- **Source:** Figma mockup or hand-built HTML, NOT generated by any of the 3 targets (XDS, baseline, HTML)+- **Source:** Figma mockup or hand-built HTML, NOT generated by any of the 3 targets (Astryx, baseline, HTML)- **Review:** At least one designer should review the ideal before committing## Current Ideals@@ -32,6 +32,7 @@ Examples:55 prompt IDs covered (62 images total). See [issue #733](https://github.com/facebook/astryx/issues/733) for context.Multi-image prompts use `__` suffixes for different states/views:+- `rc-1.png` + `rc-1__menu.png`: collapsed and expanded menu- `rc-3.png` + `rc-3__desktop.png`: mobile and desktop- `wd-1.png` + `wd-1__cart.png`, `wd-1__shipping.png`, `wd-1__payment.png`, `wd-1__confirm.png`: checkout flow stepsdiff --git a/internal/vibe-tests/prompts/evaluator.md b/internal/vibe-tests/prompts/evaluator.mdindex 3ae369911d..fb5a532fdd 100644--- a/internal/vibe-tests/prompts/evaluator.md+++ b/internal/vibe-tests/prompts/evaluator.md@@ -70,7 +70,7 @@ A response can be successful AND have acceptable escape hatches.### CSS Variable Validation-XDS uses specific CSS variable naming. **Any variable not matching these patterns is a hallucination.**+Astryx uses specific CSS variable naming. **Any variable not matching these patterns is a hallucination.****Valid CSS variable prefixes:**diff --git a/internal/vibe-tests/prompts/personas/experienced.md b/internal/vibe-tests/prompts/personas/experienced.mdindex 10da9ed48c..8ce508af96 100644--- a/internal/vibe-tests/prompts/personas/experienced.md+++ b/internal/vibe-tests/prompts/personas/experienced.md@@ -11,9 +11,9 @@ You are a developer who knows the component system well.## Examples of how you speak-- "I need to use XDSCard with a header section"-- "What props does XDSButton accept for the loading state?"-- "How do I compose XDSField with XDSTextInput?"+- "I need to use Card with a header section"+- "What props does Button accept for the loading state?"+- "How do I compose Field with TextInput?"- "The docs mention a 'variant' prop but I'm not sure which values are valid"## When making requestsdiff --git a/internal/vibe-tests/prompts/radius-evaluator.md b/internal/vibe-tests/prompts/radius-evaluator.mdindex eb32dfaeb9..c2e1468d80 100644--- a/internal/vibe-tests/prompts/radius-evaluator.md+++ b/internal/vibe-tests/prompts/radius-evaluator.md@@ -82,8 +82,8 @@ Return JSON:```json{"success": true/false,- "componentsUsed": ["XDSCard", ...],- "componentsExpected": ["XDSCard", ...],+ "componentsUsed": ["Card", ...],+ "componentsExpected": ["Card", ...],"radiusTokensUsed": ["--radius-container", ...],"radiusSelectionCorrect": true/false,"radiusSelectionDetail": "Correctly used container radius for card, element radius for button",diff --git a/internal/vibe-tests/scripts/publish-report.sh b/internal/vibe-tests/scripts/publish-report.shindex e393df881c..00cc778c4f 100644--- a/internal/vibe-tests/scripts/publish-report.sh+++ b/internal/vibe-tests/scripts/publish-report.sh@@ -6,9 +6,9 @@ set -euo pipefail# Publish a vibe test report to GitHub Pages.## Usage:-# ./scripts/publish-report.sh <xds-iteration> [baseline-iteration]+# ./scripts/publish-report.sh <astryx-iteration> [baseline-iteration]#-# The report is always published under reports/<xds-iteration>/ on gh-pages.+# The report is always published under reports/<astryx-iteration>/ on gh-pages.# No --slug, no --name, no override β just the hash.## Examples:@@ -19,10 +19,10 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"VIBE_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"if [ $# -lt 1 ]; then- echo "Usage: $0 <xds-iteration> [baseline-iteration]"+ echo "Usage: $0 <astryx-iteration> [baseline-iteration]"echo ""echo "Builds and deploys a vibe test report to GitHub Pages."- echo "Report URL: https://facebook.github.io/astryx/reports/<xds-iteration>/"+ echo "Report URL: https://facebook.github.io/astryx/reports/<astryx-iteration>/"exit 1fi@@ -36,7 +36,7 @@ fiecho ""echo "π Publishing vibe test report"-echo " XDS iteration: $ASTRYX_ITER"+echo " Astryx iteration: $ASTRYX_ITER"if [ -n "$BASELINE_ITER" ]; thenecho " Baseline iteration: $BASELINE_ITER"fidiff --git a/internal/vibe-tests/scripts/smoke-test.sh b/internal/vibe-tests/scripts/smoke-test.shindex 64812d4b40..beac3415da 100644--- a/internal/vibe-tests/scripts/smoke-test.sh+++ b/internal/vibe-tests/scripts/smoke-test.sh@@ -92,10 +92,10 @@ SMOKE_ID="smoke-$(date +%s)"# Generate skill doccheck "generate-skill-doc.sh runs" bash scripts/generate-skill-doc.sh-check "skill doc generated" test -f .generated/xds-skill.md+check "skill doc generated" test -f .generated/astryx-skill.md# Create tasks for 1 prompt-OUTPUT=$(pnpm --silent interactive --target xds --persona naive --sample 1 2>&1)+OUTPUT=$(pnpm --silent interactive --target astryx --persona naive --sample 1 2>&1)ITER_ID=$(echo "$OUTPUT" | grep "^Iteration:" | awk '{print $2}')if [ -z "$ITER_ID" ]; then@@ -129,20 +129,20 @@ if [ -n "$ITER_ID" ]; thenmkdir -p "results/$ITER_ID/results"cat > "results/$ITER_ID/results/$PROMPT_ID.tsx" << 'FIXTURE'-import {XDSCard} from '@astryxdesign/core';-import {XDSText} from '@astryxdesign/core';-import {XDSHeading} from '@astryxdesign/core';-import {XDSVStack} from '@astryxdesign/core';+import {Card} from '@astryxdesign/core';+import {Text} from '@astryxdesign/core';+import {Heading} from '@astryxdesign/core';+import {VStack} from '@astryxdesign/core';export default function MetricsCard() {return (- <XDSCard>- <XDSVStack gap={2}>- <XDSText type="label">Total Revenue</XDSText>- <XDSHeading level={2}>$12,340.56</XDSHeading>- <XDSText type="detail" color="secondary">+12% from last month</XDSText>- </XDSVStack>- </XDSCard>+ <Card>+ <VStack gap={2}>+ <Text type="label">Total Revenue</Text>+ <Heading level={2}>$12,340.56</Heading>+ <Text type="detail" color="secondary">+12% from last month</Text>+ </VStack>+ </Card>);}FIXTURE@@ -264,7 +264,7 @@ FIXTURE2_METAcheck "baseline universal.json created" test -f "results/$ITER_ID2/universal.json"# Run compare- CMP_OUTPUT=$(pnpm --silent compare --xds "$ITER_ID" --baseline "$ITER_ID2" 2>&1)+ CMP_OUTPUT=$(pnpm --silent compare --astryx "$ITER_ID" --baseline "$ITER_ID2" 2>&1)CMP_EXIT=$?if [ $CMP_EXIT -eq 0 ]; thendiff --git a/internal/vibe-tests/selector-naming-test/prompts.json b/internal/vibe-tests/selector-naming-test/prompts.jsonindex d542ab802b..f375934d41 100644--- a/internal/vibe-tests/selector-naming-test/prompts.json+++ b/internal/vibe-tests/selector-naming-test/prompts.json@@ -1,6 +1,6 @@{"name": "selector-naming",- "description": "Vibe test comparing 'items' vs 'options' naming for XDSSelector child elements",+ "description": "Vibe test comparing 'items' vs 'options' naming for Selector child elements","variants": ["items", "options"],"prompts": [{diff --git a/internal/vibe-tests/selector-naming-test/variant-a-items.md b/internal/vibe-tests/selector-naming-test/variant-a-items.mdindex 5bb6906ffe..812d53ec58 100644--- a/internal/vibe-tests/selector-naming-test/variant-a-items.md+++ b/internal/vibe-tests/selector-naming-test/variant-a-items.md@@ -1,18 +1,18 @@-# XDSSelector β Dropdown Selector Component+# Selector β Dropdown Selector ComponentA dropdown selector for choosing from a list of items. Supports simple strings, rich items with icons/descriptions, sections, and dividers.## Import```tsx-import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';+import {Selector, SelectorItem} from '@astryxdesign/core';```## Basic Usage```tsx// Simple string items-<XDSSelector+<Selectorlabel="Fruit"items={['Apple', 'Banana', 'Orange']}value={fruit}@@ -21,7 +21,7 @@ import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';/>// Rich items with icons and descriptions-<XDSSelector+<Selectorlabel="Status"items={[{ value: 'active', label: 'Active', icon: 'checkCircle' },@@ -33,7 +33,7 @@ import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';/>// Sections and dividers-<XDSSelector+<Selectorlabel="Action"items={[{ type: 'section', title: 'Edit', items: [@@ -54,13 +54,13 @@ import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';## Custom Item Rendering```tsx-<XDSSelector+<Selectorlabel="User"items={users.map(u => ({value: u.id, label: u.name, icon: 'user'}))}value={selectedUser}onChange={setSelectedUser}renderOption={item => (- <XDSSelectorItem+ <SelectorItemicon={item.icon}label={item.label}description={item.email}@@ -71,7 +71,7 @@ import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';## Props-### XDSSelector+### Selector| Prop | Type | Default | Description || ------------- | ------------------------------------------------------------- | ----------- | ------------------------------------- |@@ -90,14 +90,14 @@ import {XDSSelector, XDSSelectorItem} from '@astryxdesign/core';| status | { type: 'warning' \| 'error' \| 'success', message?: string } | β | Validation status || renderOption | (item: ItemData) => ReactNode | β | Custom item renderer |-### XDSSelectorItem (for custom rendering)+### SelectorItem (for custom rendering)-| Prop | Type | Description |-| ----------- | ----------- | ------------------ |-| icon | XDSIconType | Leading icon |-| label | ReactNode | Primary text |-| description | ReactNode | Secondary text |-| children | ReactNode | Additional content |+| Prop | Type | Description |+| ----------- | --------- | ------------------ |+| icon | IconType | Leading icon |+| label | ReactNode | Primary text |+| description | ReactNode | Secondary text |+| children | ReactNode | Additional content |### Item Types@@ -106,7 +106,7 @@ type ItemData = {value: string;label?: string;disabled?: boolean;- icon?: XDSIconType;+ icon?: IconType;};type Divider = {type: 'divider'};type Section = {type: 'section'; title?: string; items: ItemData[]};diff --git a/internal/vibe-tests/selector-naming-test/variant-b-options.md b/internal/vibe-tests/selector-naming-test/variant-b-options.mdindex e744bf7d75..709f9def2c 100644--- a/internal/vibe-tests/selector-naming-test/variant-b-options.md+++ b/internal/vibe-tests/selector-naming-test/variant-b-options.md@@ -1,18 +1,18 @@-# XDSSelector β Dropdown Selector Component+# Selector β Dropdown Selector ComponentA dropdown selector for choosing from a list of options. Supports simple strings, rich options with icons/descriptions, sections, and dividers.## Import```tsx-import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';+import {Selector, SelectorOption} from '@astryxdesign/core';```## Basic Usage```tsx// Simple string options-<XDSSelector+<Selectorlabel="Fruit"options={['Apple', 'Banana', 'Orange']}value={fruit}@@ -21,7 +21,7 @@ import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';/>// Rich options with icons and descriptions-<XDSSelector+<Selectorlabel="Status"options={[{ value: 'active', label: 'Active', icon: 'checkCircle' },@@ -33,7 +33,7 @@ import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';/>// Sections and dividers-<XDSSelector+<Selectorlabel="Action"options={[{ type: 'section', title: 'Edit', options: [@@ -54,13 +54,13 @@ import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';## Custom Option Rendering```tsx-<XDSSelector+<Selectorlabel="User"options={users.map(u => ({value: u.id, label: u.name, icon: 'user'}))}value={selectedUser}onChange={setSelectedUser}renderOption={option => (- <XDSSelectorOption+ <SelectorOptionicon={option.icon}label={option.label}description={option.email}@@ -71,7 +71,7 @@ import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';## Props-### XDSSelector+### Selector| Prop | Type | Default | Description || ------------- | ------------------------------------------------------------- | ----------- | ------------------------------------- |@@ -90,14 +90,14 @@ import {XDSSelector, XDSSelectorOption} from '@astryxdesign/core';| status | { type: 'warning' \| 'error' \| 'success', message?: string } | β | Validation status || renderOption | (option: OptionData) => ReactNode | β | Custom option renderer |-### XDSSelectorOption (for custom rendering)+### SelectorOption (for custom rendering)-| Prop | Type | Description |-| ----------- | ----------- | ------------------ |-| icon | XDSIconType | Leading icon |-| label | ReactNode | Primary text |-| description | ReactNode | Secondary text |-| children | ReactNode | Additional content |+| Prop | Type | Description |+| ----------- | --------- | ------------------ |+| icon | IconType | Leading icon |+| label | ReactNode | Primary text |+| description | ReactNode | Secondary text |+| children | ReactNode | Additional content |### Option Types@@ -106,7 +106,7 @@ type OptionData = {value: string;label?: string;disabled?: boolean;- icon?: XDSIconType;+ icon?: IconType;};type Divider = {type: 'divider'};type Section = {type: 'section'; title?: string; options: OptionData[]};diff --git a/internal/vibe-tests/src/build-previews.ts b/internal/vibe-tests/src/build-previews.tsindex c3d5a3acc7..5b78851c39 100644--- a/internal/vibe-tests/src/build-previews.ts+++ b/internal/vibe-tests/src/build-previews.ts@@ -5,7 +5,7 @@* @file Build live preview pages from vibe test results** Takes .tsx result files and builds each into a standalone HTML page- * that renders the component. Supports XDS, baseline, and raw HTML targets.+ * that renders the component. Supports Astryx, baseline, and raw HTML targets.** Usage:* tsx src/build-previews.ts --iterations 8734233a,d4ff8c2c,68ef2a62@@ -32,7 +32,7 @@ const REPO_ROOT = path.resolve(VIBE_DIR, '../..');/*** Browser targets for lightningcss.* Prevents lowering native light-dark() into --lightningcss-light/--lightningcss-dark- * polyfill variables. XDS tokens use native light-dark() which is baseline 2024:+ * polyfill variables. Astryx tokens use native light-dark() which is baseline 2024:* Chrome 123+, Firefox 120+, Safari 17.5+** Must match the targets in apps/storybook/.storybook/main.ts and@@ -45,8 +45,8 @@ const LIGHTNINGCSS_TARGETS_JS = `{}`;/**- * Fix missing XDS component imports in AI-generated .tsx files.- * Scans for XDS* identifiers used in JSX that aren't imported,+ * Fix missing Astryx component imports in AI-generated .tsx files.+ * Scans for Astryx* identifiers used in JSX that aren't imported,* and prepends the missing import. Returns list of auto-imported components.*/function fixMissingXDSImports(filePath: string): string[] {@@ -84,7 +84,7 @@ function fixMissingXDSImports(filePath: string): string[] {}/**- * Validate a built preview HTML for unresolved XDS component references.+ * Validate a built preview HTML for unresolved Astryx component references.* Returns list of unresolved component names (empty if clean).*/function validatePreviewHtml(htmlPath: string): string[] {@@ -153,7 +153,7 @@ function createEntryFile(): string {const entryPath = path.join(tmpDir, 'entry.tsx');- // For XDS and XDS+Tailwind targets, wrap in theme provider and import reset+ // For Astryx and Astryx+Tailwind targets, wrap in theme provider and import resetif (target === 'astryx' || target === 'astryx-tailwind') {const tailwindImport =target === 'astryx-tailwind'@@ -164,15 +164,15 @@ function createEntryFile(`import React from 'react';import {createRoot} from 'react-dom/client';import '@astryxdesign/core/reset.css';${tailwindImport}-import {XDSTheme} from '@astryxdesign/core/theme';+import {Theme} from '@astryxdesign/core/theme';import {neutralTheme} from '@astryxdesign/theme/neutral';import Component from '${componentPath.replace(/\\/g, '/')}';function App() {return (- <XDSTheme theme={neutralTheme} mode="light">+ <Theme theme={neutralTheme} mode="light"><Component />- </XDSTheme>+ </Theme>);}@@ -291,7 +291,7 @@ function createIndexHtml(function createViteConfig(tmpDir: string, target: string): string {const configPath = path.join(tmpDir, 'vite.config.ts');- // For XDS and XDS+Tailwind previews, the generated component may use+ // For Astryx and Astryx+Tailwind previews, the generated component may use// patterns that StyleX's babel plugin rejects (e.g. createTheme with// type casts). We use a pre-transform plugin to strip TypeScript type// assertions before StyleX processes the file.@@ -375,7 +375,7 @@ import {viteSingleFile} from 'vite-plugin-singlefile';`: `import react from '@vitejs/plugin-react';import {viteSingleFile} from 'vite-plugin-singlefile';`;- const xdsAliases = `+ const astryxAliases = `alias: {'@astryxdesign/core/theme/tokens.stylex': '${path.resolve(REPO_ROOT, 'packages/core/src/theme/tokens.stylex.ts')@@ -390,7 +390,7 @@ import {viteSingleFile} from 'vite-plugin-singlefile';`;const aliases =target === 'astryx' || target === 'astryx-tailwind'- ? xdsAliases+ ? astryxAliases: target === 'baseline'? `alias: {@@ -421,7 +421,7 @@ export default defineConfig({emptyOutDir: true,// Don't use lightningcss for minification β it lowers light-dark()// into --lightningcss-light/--lightningcss-dark polyfill variables- // which breaks XDS theming.+ // which breaks Astryx theming.cssMinify: false,},logLevel: 'warn',@@ -746,12 +746,12 @@ async function main() {const ok = buildPreview(componentPath, target, promptId, previewPath);if (ok) {- // Post-build validation: ensure no unresolved XDS references+ // Post-build validation: ensure no unresolved Astryx referencesif (target === 'astryx' || target === 'astryx-tailwind') {const unresolved = validatePreviewHtml(previewPath);if (unresolved.length > 0) {console.error(- ` β Unresolved XDS components in ${previewFile}: ${unresolved.join(', ')}`,+ ` β Unresolved Astryx components in ${previewFile}: ${unresolved.join(', ')}`,);}}@@ -788,7 +788,7 @@ async function main() {const fixesPath = path.join(outDir, 'import-fixes.json');writeJson(fixesPath, importFixes);console.log(- `\nβ ${Object.keys(importFixes).length} prompt(s) had missing XDS imports (auto-fixed):`,+ `\nβ ${Object.keys(importFixes).length} prompt(s) had missing Astryx imports (auto-fixed):`,);for (const [promptId, components] of Object.entries(importFixes)) {console.log(` ${promptId}: ${components.join(', ')}`);diff --git a/internal/vibe-tests/src/build-report.ts b/internal/vibe-tests/src/build-report.tsindex 9dfd0b9df9..b9393d799a 100644--- a/internal/vibe-tests/src/build-report.ts+++ b/internal/vibe-tests/src/build-report.ts@@ -135,13 +135,13 @@ function ensureUniversalJson(iteration: string): UniversalAggregate {}function ensureComparison(- xdsId: string,+ astryxId: string,baselineId: string,htmlId?: string,astryxTailwindId?: string,): UniversalComparison {const resultsDir = getResultsDir();- const idParts = [xdsId, baselineId];+ const idParts = [astryxId, baselineId];if (htmlId) {idParts.push(htmlId);}@@ -159,9 +159,9 @@ function ensureComparison(const vsLabel = [baselineId, htmlId, astryxTailwindId].filter(Boolean).join(' vs ');- console.log(`Generating comparison for ${xdsId} vs ${vsLabel}...`);+ console.log(`Generating comparison for ${astryxId} vs ${vsLabel}...`);execSync(- `tsx ${path.join(import.meta.dirname, 'universal-compare.ts')} --astryx ${xdsId} --baseline ${baselineId}${htmlFlag}${twFlag}`,+ `tsx ${path.join(import.meta.dirname, 'universal-compare.ts')} --astryx ${astryxId} --baseline ${baselineId}${htmlFlag}${twFlag}`,{cwd: path.join(import.meta.dirname, '..'), stdio: 'inherit'},);}diff --git a/internal/vibe-tests/src/correct-previews.ts b/internal/vibe-tests/src/correct-previews.tsindex 7062e148fd..0fa2209975 100644--- a/internal/vibe-tests/src/correct-previews.ts+++ b/internal/vibe-tests/src/correct-previews.ts@@ -66,7 +66,7 @@ function getComponentDocs(code: string, target: string): string {return '';}- // Extract XDS component names used in the file+ // Extract legacy XDS-prefixed component names used in the fileconst components = new Set<string>();const re = /\bXDS\w+/g;let m: RegExpExecArray | null;@@ -91,7 +91,7 @@ function getComponentDocs(code: string, target: string): string {}return docs.length > 0- ? `\n## XDS Component API Reference\n\n${docs.join('\n\n')}`+ ? `\n## Astryx Component API Reference\n\n${docs.join('\n\n')}`: '';}diff --git a/internal/vibe-tests/src/deploy-report.ts b/internal/vibe-tests/src/deploy-report.tsindex 748b9e42ee..0f666a5815 100644--- a/internal/vibe-tests/src/deploy-report.ts+++ b/internal/vibe-tests/src/deploy-report.ts@@ -370,7 +370,7 @@ function updateReportsIndex(ghPagesDir: string): void {<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">- <title>XDS Vibe Test Reports</title>+ <title>Astryx Vibe Test Reports</title><style>body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;@@ -395,8 +395,8 @@ function updateReportsIndex(ghPagesDir: string): void {</style></head><body>- <h1>π XDS Vibe Test Reports</h1>- <p>Evaluation reports comparing XDS, baseline, and raw HTML targets.</p>+ <h1>π Astryx Vibe Test Reports</h1>+ <p>Evaluation reports comparing Astryx, baseline, and raw HTML targets.</p><ul>${entries.map(name => `<li><a href="${name}/">${name}</a></li>`).join('\n ')}</ul>diff --git a/internal/vibe-tests/src/design-judge-gemini.py b/internal/vibe-tests/src/design-judge-gemini.pyindex adf3e99e07..ac66c0dde5 100644--- a/internal/vibe-tests/src/design-judge-gemini.py+++ b/internal/vibe-tests/src/design-judge-gemini.py@@ -42,7 +42,7 @@ CA = os.environ.get("GEMINI_CA", "")MODEL = "gemini-2.5-pro-preview"BASE = os.environ.get("GEMINI_BASE_URL", "https://generativelanguage.googleapis.com/v1beta/models")API_KEY = os.environ.get("GEMINI_API_KEY", "")-TARGETS = ["xds", "baseline", "html"]+TARGETS = ["astryx", "baseline", "html"]# Prompt registry β maps prompt ID to human-readable description for the judgePROMPTS = {@@ -234,11 +234,11 @@ def compute_averages(results, targets):def print_summary(results, avg_out, prompts_to_score, targets):print(f"\n{'='*70}")- print(f"{'Prompt':<8} {'XDS':>6} {'Base':>6} {'HTML':>6}")+ print(f"{'Prompt':<8} {'Astryx':>6} {'Base':>6} {'HTML':>6}")print("-" * 30)for pid in prompts_to_score:if pid in results:- x = results[pid].get("xds", {}).get("overall", "β")+ x = results[pid].get("astryx", {}).get("overall", "β")b = results[pid].get("baseline", {}).get("overall", "β")h = results[pid].get("html", {}).get("overall", "β")print(f"{pid:<8} {str(x):>6} {str(b):>6} {str(h):>6}")diff --git a/internal/vibe-tests/src/design-judge.ts b/internal/vibe-tests/src/design-judge.tsindex d925068290..ede6529f09 100644--- a/internal/vibe-tests/src/design-judge.ts+++ b/internal/vibe-tests/src/design-judge.ts@@ -496,7 +496,7 @@ async function main() {console.log(` Prompts to evaluate: ${promptsToEvaluate.join(', ')}\n`);const results: DesignResult[] = [];- const targets = ['xds', 'baseline', 'html'];+ const targets = ['astryx', 'baseline', 'html'];for (const promptId of promptsToEvaluate) {const promptText = loadPromptText(promptId);diff --git a/internal/vibe-tests/src/fix-imports.ts b/internal/vibe-tests/src/fix-imports.tsindex a0d94f492c..0bf2f83eab 100644--- a/internal/vibe-tests/src/fix-imports.ts+++ b/internal/vibe-tests/src/fix-imports.ts@@ -105,7 +105,7 @@ function main() {const iterManifest = readJson<{config?: {target?: string}}>(manifestPath);const target = iterManifest.config?.target ?? 'astryx';- // Only XDS targets need import fixing+ // Only Astryx targets need import fixingif (target !== 'astryx') {console.log(` β ${iterationId} is ${target}, skipping`);continue;diff --git a/internal/vibe-tests/src/generate-a11y-manifest.ts b/internal/vibe-tests/src/generate-a11y-manifest.tsindex faab4e4d31..2236fd9d7f 100644--- a/internal/vibe-tests/src/generate-a11y-manifest.ts+++ b/internal/vibe-tests/src/generate-a11y-manifest.ts@@ -3,13 +3,13 @@/*** @file Accessibility Manifest Generator- * @description Generates accessibility manifests from official sources for XDS and baseline (Radix/shadcn)+ * @description Generates accessibility manifests from official sources for Astryx and baseline (Radix/shadcn)** Usage:* pnpm -F @astryxdesign/vibe-tests generate-a11y-manifest** This script:- * 1. Parses XDS component README.md files for accessibility info+ * 1. Parses Astryx component README.md files for accessibility info* 2. Fetches Radix accessibility docs from official sources* 3. Generates structured manifests for fair quality assessment*/@@ -44,9 +44,9 @@ interface A11yManifest {}/**- * Parse an XDS component README for accessibility information+ * Parse an Astryx component README for accessibility information*/-function parseXDSReadme(readmePath: string): ComponentA11yInfo | null {+function parseAstryxReadme(readmePath: string): ComponentA11yInfo | null {if (!fs.existsSync(readmePath)) {return null;}@@ -164,9 +164,9 @@ function parseXDSReadme(readmePath: string): ComponentA11yInfo | null {}/**- * Generate XDS accessibility manifest from component README files+ * Generate Astryx accessibility manifest from component README files*/-function generateXDSManifest(): A11yManifest {+function generateAstryxManifest(): A11yManifest {const manifest: A11yManifest = {source: 'packages/core/src/*/README.md',generatedAt: new Date().toISOString(),@@ -199,10 +199,10 @@ function generateXDSManifest(): A11yManifest {};const readmePaths = findReadmes(CORE_DIR);- console.log(`Found ${readmePaths.length} XDS component README files`);+ console.log(`Found ${readmePaths.length} Astryx component README files`);for (const readmePath of readmePaths) {- const info = parseXDSReadme(readmePath);+ const info = parseAstryxReadme(readmePath);if (info) {manifest.components[info.component] = info;}@@ -578,13 +578,16 @@ async function main(): Promise<void> {console.log('Generating accessibility manifests...\n');- // Generate XDS manifest- console.log('π¦ Parsing XDS component README files...');- const astryxManifest = generateXDSManifest();+ // Generate Astryx manifest+ console.log('π¦ Parsing Astryx component README files...');+ const astryxManifest = generateAstryxManifest();const astryxJsonPath = path.join(MANIFESTS_DIR, 'astryx.json');const astryxMdPath = path.join(MANIFESTS_DIR, 'astryx.md');fs.writeFileSync(astryxJsonPath, JSON.stringify(astryxManifest, null, 2));- fs.writeFileSync(astryxMdPath, formatManifestAsMarkdown(astryxManifest, 'Astryx'));+ fs.writeFileSync(+ astryxMdPath,+ formatManifestAsMarkdown(astryxManifest, 'Astryx'),+ );console.log(` β Found ${Object.keys(astryxManifest.components).length} components with a11y info`,);diff --git a/internal/vibe-tests/src/interactive.ts b/internal/vibe-tests/src/interactive.tsindex 5e936355c0..0762454263 100644--- a/internal/vibe-tests/src/interactive.ts+++ b/internal/vibe-tests/src/interactive.ts@@ -957,7 +957,7 @@ function generateSubagentPrompt(const personaFraming: Record<string, Record<string, string>> = {astryx: {naive: '', // No special framing - just the natural request- experienced: `Use XDS components from @astryxdesign/core. `,+ experienced: `Use Astryx components from @astryxdesign/core. `,adversarial: `I'm used to Tailwind/baseline patterns but need to use your design system. `,},baseline: {diff --git a/internal/vibe-tests/src/post-design-results.py b/internal/vibe-tests/src/post-design-results.pyindex ea0c556ba7..2537fe2315 100644--- a/internal/vibe-tests/src/post-design-results.py+++ b/internal/vibe-tests/src/post-design-results.py@@ -12,7 +12,7 @@ Usage:--scores /tmp/design-scores-gemini.json \--iteration fd6afde6 \--issue 1041 \- --repo facebookexperimental/xds \+ --repo facebook/astryx \--token $GITHUB_TOKEN# Legacy flag still accepted for backward compat:@@ -20,7 +20,7 @@ Usage:--scores /tmp/design-scores-gemini.json \--release-tag design-judge-fd6afde6 \--issue 1041 \- --repo facebookexperimental/xds \+ --repo facebook/astryx \--token $GITHUB_TOKEN"""import argparse@@ -30,7 +30,7 @@ import urllib.requestimport urllib.error-EMOJI = {"xds": "π£", "baseline": "βͺ", "html": "π "}+EMOJI = {"astryx": "π£", "baseline": "βͺ", "html": "π "}PROMPT_LABELS = {"dd-1": "Data table with sortable columns","dd-2": "Transaction list with amount, date, status",@@ -66,7 +66,7 @@ PROMPT_LABELS = {}-# GitHub Pages base URL for the XDS repo+# GitHub Pages base URL for the Astryx repoGH_PAGES_BASE = "https://facebook.github.io/astryx"@@ -95,7 +95,7 @@ def build_comment(data, iteration_id_override=None):averages = data.get("averages", {})iteration_id = iteration_id_override or data["iterationId"]model = data["model"]- targets = ["xds", "baseline", "html"]+ targets = ["astryx", "baseline", "html"]lines = []lines.append(f"## π¬ Night Watch Design Judge β Gemini Vision")@@ -156,20 +156,20 @@ def build_comment(data, iteration_id_override=None):# Screenshot imageshas_baseline = "baseline" in pdif has_baseline:- lines.append("**Ideal** | **XDS** | **Baseline** | **HTML**")+ lines.append("**Ideal** | **Astryx** | **Baseline** | **HTML**")lines.append(":--: | :--: | :--: | :--:")lines.append(f'<img src="{ideal_url(f"{pid}.png")}" width="220"> | '- f'<img src="{img_url(iteration_id, f"{pid}-xds-desktop-light.png")}" width="220"> | '+ f'<img src="{img_url(iteration_id, f"{pid}-astryx-desktop-light.png")}" width="220"> | 'f'<img src="{img_url(iteration_id, f"{pid}-baseline-desktop-light.png")}" width="220"> | 'f'<img src="{img_url(iteration_id, f"{pid}-html-desktop-light.png")}" width="220">')else:- lines.append("**Ideal** | **XDS** | **HTML**")+ lines.append("**Ideal** | **Astryx** | **HTML**")lines.append(":--: | :--: | :--:")lines.append(f'<img src="{ideal_url(f"{pid}.png")}" width="220"> | '- f'<img src="{img_url(iteration_id, f"{pid}-xds-desktop-light.png")}" width="220"> | '+ f'<img src="{img_url(iteration_id, f"{pid}-astryx-desktop-light.png")}" width="220"> | 'f'<img src="{img_url(iteration_id, f"{pid}-html-desktop-light.png")}" width="220">')lines.append("")@@ -209,7 +209,7 @@ def main():p.add_argument("--iteration", help="Iteration ID (images served from gh-pages)")p.add_argument("--release-tag", help="(deprecated) GitHub release tag β ignored, kept for backward compat")p.add_argument("--issue", required=True, type=int, help="GitHub issue number")- p.add_argument("--repo", default="facebookexperimental/xds", help="GitHub repo")+ p.add_argument("--repo", default="facebook/astryx", help="GitHub repo")p.add_argument("--token", required=True, help="GitHub token")p.add_argument("--dry-run", action="store_true", help="Print comment without posting")args = p.parse_args()diff --git a/internal/vibe-tests/src/screenshot-previews.ts b/internal/vibe-tests/src/screenshot-previews.tsindex e9878c4c54..6b2e319a87 100644--- a/internal/vibe-tests/src/screenshot-previews.ts+++ b/internal/vibe-tests/src/screenshot-previews.ts@@ -9,7 +9,7 @@** Unlike screenshot.ts (which runs a Vite dev server), this script* works with pre-built self-contained HTML files. Designed to run in- * GitHub Actions where Playwright is installed but XDS source isn't needed+ * GitHub Actions where Playwright is installed but Astryx source isn't needed* for rendering.** Usage:diff --git a/internal/vibe-tests/src/screenshot.ts b/internal/vibe-tests/src/screenshot.tsindex 23c4c6e47d..b5de510132 100644--- a/internal/vibe-tests/src/screenshot.ts+++ b/internal/vibe-tests/src/screenshot.ts@@ -57,19 +57,19 @@ function generatePreviewCode(const importPath = relPath.replace(/\.tsx$/, '').replace(/\\/g, '/');if (target === 'astryx' || target === 'astryx-tailwind') {- // XDS+Tailwind uses the same XDS wrapper but also imports Tailwind CSS+ // Astryx+Tailwind uses the same Astryx wrapper but also imports Tailwind CSSconst tailwindImport =target === 'astryx-tailwind' ? `\nimport '../tailwind.css';` : '';return `import React from 'react';import Component from '${importPath}';${tailwindImport}-import XDSWrapper from './xds-wrapper';+import AstryxWrapper from './astryx-wrapper';export default function Preview({ theme }: { theme: string }) {return (- <XDSWrapper theme={theme}>+ <AstryxWrapper theme={theme}><Component />- </XDSWrapper>+ </AstryxWrapper>);}`;diff --git a/internal/vibe-tests/src/universal-compare.ts b/internal/vibe-tests/src/universal-compare.tsindex 9318c2a2d4..b66126b0d1 100644--- a/internal/vibe-tests/src/universal-compare.ts+++ b/internal/vibe-tests/src/universal-compare.ts@@ -90,7 +90,7 @@ function winnerIcon(w: WinnerType): string {case 'html':return 'π‘ HTML';case 'astryx-tailwind':- return 'π£ XDS+TW';+ return 'π£ Astryx+TW';case 'tie':return 'βͺ Tie';}@@ -197,7 +197,7 @@ function toMarkdown(opts: {if (twData) {const twRow = dimOrder.map(d => twData.averages[d]).join(' | ');lines.push(- `| **XDS+TW** | \`${astryxTailwindId}\` | ${twData.overall} | ${twRow} |`,+ `| **Astryx+TW** | \`${astryxTailwindId}\` | ${twData.overall} | ${twRow} |`,);}@@ -229,7 +229,7 @@ function toMarkdown(opts: {parts.push(`HTML ${hWins}`);}if (twData) {- parts.push(`XDS+TW ${twWins}`);+ parts.push(`Astryx+TW ${twWins}`);}parts.push(`Tie ${ties}`);lines.push(@@ -247,7 +247,7 @@ function toMarkdown(opts: {dmParts.push(`HTML ${htmlData.darkModeRate}%`);}if (twData) {- dmParts.push(`XDS+TW ${twData.darkModeRate}%`);+ dmParts.push(`Astryx+TW ${twData.darkModeRate}%`);}lines.push(`**Dark mode:** ${dmParts.join(' Β· ')}`);@@ -380,7 +380,7 @@ async function main() {targetNames.push('HTML');}if (isFourWay) {- targetNames.push('XDS+TW');+ targetNames.push('Astryx+TW');}const title = `π Universal Comparison: ${targetNames.join(' vs ')}`;@@ -397,7 +397,7 @@ async function main() {targets.push({label: 'HTML', data: htmlData});}if (isFourWay && twData != null) {- targets.push({label: 'XDS+TW', data: twData});+ targets.push({label: 'Astryx+TW', data: twData});}// Use markdown-style table for CLI (simpler than box-drawing for N targets)@@ -552,7 +552,7 @@ async function main() {} else if (data.winner === 'html') {winCounts['HTML']++;} else if (data.winner === 'astryx-tailwind') {- winCounts['XDS+TW']++;+ winCounts['Astryx+TW']++;} else {winCounts['Tie']++;}diff --git a/internal/vibe-tests/src/universal-eval.ts b/internal/vibe-tests/src/universal-eval.tsindex e85d6cee17..2143291619 100644--- a/internal/vibe-tests/src/universal-eval.ts+++ b/internal/vibe-tests/src/universal-eval.ts@@ -286,7 +286,7 @@ function analyzeAccessibility(code: string): DimensionScore {}}- // Form inputs without labels (skip XDS inputs with built-in labels)+ // Form inputs without labels (skip Astryx inputs with built-in labels)if (line.match(/<(input|Input)\b/) && !line.includes('type="hidden"')) {const hasLabel = /(label|Label|aria-label|ariaLabel)/.test(nearby);if (!hasLabel) {diff --git a/internal/vibe-tests/src/validate-previews.ts b/internal/vibe-tests/src/validate-previews.tsindex 0b267fa32f..a2653a6a75 100644--- a/internal/vibe-tests/src/validate-previews.ts+++ b/internal/vibe-tests/src/validate-previews.ts@@ -2,9 +2,9 @@// Copyright (c) Meta Platforms, Inc. and affiliates./**- * @file Standalone validator: check built preview HTML for unresolved XDS refs+ * @file Standalone validator: check built preview HTML for unresolved XDS-prefixed refs*- * Scans built preview HTML files and detects literal XDS component references+ * Scans built preview HTML files and detects literal legacy XDS-prefixed component references* that survived the bundle β meaning they weren't imported and will crash* at runtime with React error #130.*@@ -92,9 +92,7 @@ function main() {totalErrors++;const relPath = `${promptDir}/${htmlFile}`;errors.push({file: relPath, components: unresolved});- console.error(- ` β ${relPath}: unresolved ${unresolved.join(', ')}`,- );+ console.error(` β ${relPath}: unresolved ${unresolved.join(', ')}`);} else {console.log(` β ${promptDir}/${htmlFile}`);}@@ -102,10 +100,14 @@ function main() {}}- console.log(`\n${totalErrors === 0 ? 'β ' : 'β'} ${totalFiles} file(s) checked, ${totalErrors} error(s)`);+ console.log(+ `\n${totalErrors === 0 ? 'β ' : 'β'} ${totalFiles} file(s) checked, ${totalErrors} error(s)`,+ );if (errors.length > 0) {- console.error('\nUnresolved XDS components will cause React error #130 at runtime.');+ console.error(+ '\nUnresolved XDS-prefixed components will cause React error #130 at runtime.',+ );console.error('Run fix-imports.ts then rebuild to fix.');process.exit(1);}diff --git a/internal/vibe-tests/test-sets/default.json b/internal/vibe-tests/test-sets/default.jsonindex 6c226c8932..5b74b19067 100644--- a/internal/vibe-tests/test-sets/default.json+++ b/internal/vibe-tests/test-sets/default.json@@ -6,8 +6,8 @@"category": "feature-with-constraint","prompt": "I need a banner that warns users their trial expires in X days and lets them upgrade","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "simple","followUps": [@@ -20,7 +20,7 @@"category": "feature-with-constraint","prompt": "Build a notification that shows unread count, but hides when count is zero","expectedComponents": [- "XDSCard"+ "Card"],"complexity": "simple","followUps": [@@ -33,8 +33,8 @@"category": "feature-with-constraint","prompt": "Create a password input that shows strength indicator and has a show/hide toggle","expectedComponents": [- "XDSTextInput",- "XDSButton"+ "TextInput",+ "Button"],"complexity": "moderate","followUps": [@@ -47,9 +47,9 @@"category": "workflow-description","prompt": "Build a checkout flow: cart summary β shipping β payment β confirmation","expectedComponents": [- "XDSCard",- "XDSButton",- "XDSTextInput"+ "Card",+ "Button",+ "TextInput"],"complexity": "complex","followUps": [@@ -62,9 +62,9 @@"category": "workflow-description","prompt": "Create a multi-step form wizard with back/next buttons and a progress indicator","expectedComponents": [- "XDSCard",- "XDSButton",- "XDSVStack"+ "Card",+ "Button",+ "VStack"],"complexity": "moderate","followUps": [@@ -77,9 +77,9 @@"category": "workflow-description","prompt": "Build an onboarding flow: welcome screen β profile setup β preferences β done","expectedComponents": [- "XDSCard",- "XDSButton",- "XDSTextInput"+ "Card",+ "Button",+ "TextInput"],"complexity": "complex","followUps": [@@ -92,8 +92,8 @@"category": "clone-with-modification","prompt": "Something like Stripe's pricing table but with monthly/annual toggle","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "moderate","followUps": [@@ -106,9 +106,9 @@"category": "clone-with-modification","prompt": "A GitHub-style issue label picker with color dots and search","expectedComponents": [- "XDSTextInput",- "XDSButton",- "XDSCard"+ "TextInput",+ "Button",+ "Card"],"complexity": "complex","followUps": [@@ -121,8 +121,8 @@"category": "clone-with-modification","prompt": "Like Notion's page header with icon picker and cover image","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "complex","followUps": [@@ -135,8 +135,8 @@"category": "state-driven","prompt": "Show a dashboard widget with loading β error β data states","expectedComponents": [- "XDSCard",- "XDSSkeleton"+ "Card",+ "Skeleton"],"complexity": "simple","followUps": [@@ -149,7 +149,7 @@"category": "state-driven","prompt": "A button that shows loading spinner while submitting, then success checkmark","expectedComponents": [- "XDSButton"+ "Button"],"complexity": "simple","followUps": [@@ -162,8 +162,8 @@"category": "state-driven","prompt": "Form that disables submit until all required fields are valid","expectedComponents": [- "XDSTextInput",- "XDSButton"+ "TextInput",+ "Button"],"complexity": "moderate","followUps": [@@ -176,7 +176,7 @@"category": "data-display","prompt": "A table of users with sortable columns and search","expectedComponents": [- "XDSTextInput"+ "TextInput"],"complexity": "complex","followUps": [@@ -189,8 +189,8 @@"category": "data-display","prompt": "Display a list of transactions with amount, date, and status indicator","expectedComponents": [- "XDSCard",- "XDSVStack"+ "Card",+ "VStack"],"complexity": "simple","followUps": [@@ -203,8 +203,8 @@"category": "data-display","prompt": "Show a grid of product cards with image, title, price, and add to cart button","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "moderate","followUps": [@@ -217,8 +217,8 @@"category": "responsive-context","prompt": "Navigation that collapses to hamburger on mobile","expectedComponents": [- "XDSButton",- "XDSHStack"+ "Button",+ "HStack"],"complexity": "moderate","followUps": [@@ -231,8 +231,8 @@"category": "responsive-context","prompt": "A sidebar that becomes a bottom sheet on mobile","expectedComponents": [- "XDSCard",- "XDSLayoutPanel"+ "Card",+ "LayoutPanel"],"complexity": "moderate","followUps": [@@ -245,7 +245,7 @@"category": "responsive-context","prompt": "Cards that stack vertically on mobile but show in a grid on desktop","expectedComponents": [- "XDSCard"+ "Card"],"complexity": "simple","followUps": [@@ -258,8 +258,8 @@"category": "integration-oriented","prompt": "A form that validates email and posts to /api/subscribe","expectedComponents": [- "XDSTextInput",- "XDSButton"+ "TextInput",+ "Button"],"complexity": "simple","followUps": [@@ -272,9 +272,9 @@"category": "integration-oriented","prompt": "An autocomplete input that fetches suggestions from an API as you type","expectedComponents": [- "XDSTextInput",- "XDSCard",- "XDSTypeahead"+ "TextInput",+ "Card",+ "Typeahead"],"complexity": "moderate","followUps": [@@ -287,7 +287,7 @@"category": "integration-oriented","prompt": "A file upload button that shows progress and calls an upload endpoint","expectedComponents": [- "XDSButton"+ "Button"],"complexity": "moderate","followUps": [@@ -300,9 +300,9 @@"category": "workflow-description","prompt": "Create a new internal tool called TodoTracker. UI Requirements: Display todos in a paginated table (default 25 per page). Columns: Title, Status, Created, Updated. Sortable by: Updated date (default desc), Created date, Title. Add a filter bar that filters by title (substring match) and status. Inline editing for todo title (with save/cancel). Status toggle button (Open <-> Closed). 'Create Todo' button that opens a modal with title input. Delete button with confirmation dialog. UI should update optimistically after any modification. Optimistic updates should be marked as 'pending' until the modification is complete.","expectedComponents": [- "XDSTable",- "XDSButton",- "XDSTextInput"+ "Table",+ "Button",+ "TextInput"],"complexity": "complex","followUps": [@@ -313,13 +313,13 @@{"id": "ps-1","category": "page-setup",- "prompt": "Create a new page for a settings dashboard. It should have a header with the app title, a sidebar for navigation, and a main content area. Use the XDS theme system.",+ "prompt": "Create a new page for a settings dashboard. It should have a header with the app title, a sidebar for navigation, and a main content area. Use the Astryx theme system.","expectedComponents": ["Theme",- "XDSLayout",- "XDSLayoutHeader",- "XDSLayoutContent",- "XDSLayoutPanel"+ "Layout",+ "LayoutHeader",+ "LayoutContent",+ "LayoutPanel"],"complexity": "moderate","followUps": [@@ -334,9 +334,9 @@"expectedComponents": ["Theme","neutralTheme",- "XDSLayout",- "XDSLayoutHeader",- "XDSLayoutContent"+ "Layout",+ "LayoutHeader",+ "LayoutContent"],"complexity": "simple","followUps": [@@ -347,13 +347,13 @@{"id": "ps-3","category": "page-setup",- "prompt": "Create an admin panel page layout with a fixed header, collapsible left sidebar, main content area, and a right panel for details. Wrap everything in the XDS theme.",+ "prompt": "Create an admin panel page layout with a fixed header, collapsible left sidebar, main content area, and a right panel for details. Wrap everything in the Astryx theme.","expectedComponents": ["Theme",- "XDSLayout",- "XDSLayoutHeader",- "XDSLayoutContent",- "XDSLayoutPanel"+ "Layout",+ "LayoutHeader",+ "LayoutContent",+ "LayoutPanel"],"complexity": "moderate","followUps": [@@ -366,8 +366,8 @@"category": "typography","prompt": "Show a page title with a short description underneath","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "simple","followUps": [@@ -380,8 +380,8 @@"category": "typography","prompt": "Create a blog post header with a big editorial headline, a publication date in small text, and an author name","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "moderate","followUps": [@@ -394,8 +394,8 @@"category": "typography","prompt": "Build a metrics dashboard card that shows a label like 'Total Revenue', a large numeric value like '$12,340.56', and a small supporting line that says '+12% from last month'","expectedComponents": [- "XDSCard",- "XDSText"+ "Card",+ "Text"],"complexity": "moderate","followUps": [@@ -408,9 +408,9 @@"category": "typography","prompt": "Create a settings page with 3 sections. Each section needs a heading, a brief description, and some form controls. Use different heading levels for the page title vs section titles.","expectedComponents": [- "XDSHeading",- "XDSText",- "XDSTextInput"+ "Heading",+ "Text",+ "TextInput"],"complexity": "moderate","followUps": [@@ -421,11 +421,11 @@{"id": "ty-5","category": "typography",- "prompt": "Build a landing page hero with a large display heading that says 'Build faster with XDS', a subheading paragraph, and a CTA button",+ "prompt": "Build a landing page hero with a large display heading that says 'Build faster with Astryx', a subheading paragraph, and a CTA button","expectedComponents": [- "XDSHeading",- "XDSText",- "XDSButton"+ "Heading",+ "Text",+ "Button"],"complexity": "simple","followUps": [@@ -438,7 +438,7 @@"category": "typography","prompt": "Display a code example with a label that says 'Installation' above it, the code snippet 'yarn add @astryxdesign/core', and a note below in small text","expectedComponents": [- "XDSText"+ "Text"],"complexity": "simple","followUps": [@@ -451,8 +451,8 @@"category": "typography","prompt": "Render a markdown-formatted changelog that includes headings, paragraphs, bullet lists, and inline code. The content should use proper typography styling.","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "complex","followUps": [@@ -465,9 +465,9 @@"category": "typography","prompt": "Create a profile card with the user's name as a heading, their role as a label, their bio as body text, and their join date in small supporting text","expectedComponents": [- "XDSCard",- "XDSHeading",- "XDSText"+ "Card",+ "Heading",+ "Text"],"complexity": "simple","followUps": [@@ -480,8 +480,8 @@"category": "typography","prompt": "Build a comparison table header where each column has a plan name heading and a price. The 'Enterprise' plan should have visually larger display-style typography compared to the other plans.","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "complex","followUps": [@@ -494,8 +494,8 @@"category": "typography","prompt": "Create an article page with a full editorial-style header (large title, subtitle, author info) and a body section that renders rich text content with proper heading hierarchy, paragraphs, code blocks, and lists","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "complex","followUps": [@@ -506,10 +506,10 @@{"id": "tc-1","category": "theme-customization",- "prompt": "Set up a dark mode toggle for my app. I want a button that switches between light and dark themes using the XDS theme system.",+ "prompt": "Set up a dark mode toggle for my app. I want a button that switches between light and dark themes using the Astryx theme system.","expectedComponents": [- "XDSTheme",- "XDSButton"+ "Theme",+ "Button"],"complexity": "simple","followUps": [@@ -520,9 +520,9 @@{"id": "tc-2","category": "theme-customization",- "prompt": "I want to create a custom brand theme for my app. The primary accent color should be purple (#7B61FF), with a dark surface (#1A1A2E) and light text. Set up a proper XDS theme with these colors.",+ "prompt": "I want to create a custom brand theme for my app. The primary accent color should be purple (#7B61FF), with a dark surface (#1A1A2E) and light text. Set up a proper Astryx theme with these colors.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "moderate","followUps": [@@ -533,10 +533,10 @@{"id": "tc-3","category": "theme-customization",- "prompt": "I need my page background to use the wash color from the theme. Right now wrapping my app in XDSTheme doesn't change the page background β it stays white.",+ "prompt": "I need my page background to use the wash color from the theme. Right now wrapping my app in Theme doesn't change the page background β it stays white.","expectedComponents": [- "XDSTheme",- "XDSLayout"+ "Theme",+ "Layout"],"complexity": "simple","followUps": [@@ -549,23 +549,23 @@"category": "theme-customization","prompt": "Create a theme switcher that lets users pick between three themes: Default, Midnight (dark purple), and Earth (warm brown tones). Show a preview card for each theme.","expectedComponents": [- "XDSTheme",- "XDSCard",- "XDSButton"+ "Theme",+ "Card",+ "Button"],"complexity": "complex","followUps": [- "Show a live preview of each theme using actual XDS components inside the preview cards",+ "Show a live preview of each theme using actual Astryx components inside the preview cards","Save the selected theme to localStorage and restore it on page load"]},{"id": "tc-5","category": "theme-customization",- "prompt": "I want to customize the card component's appearance in my theme β add a gradient border and increase the border radius. How do I do component-level style overrides in the XDS theme?",+ "prompt": "I want to customize the card component's appearance in my theme β add a gradient border and increase the border radius. How do I do component-level style overrides in the Astryx theme?","expectedComponents": [- "XDSTheme",- "XDSCard"+ "Theme",+ "Card"],"complexity": "moderate","followUps": [@@ -576,12 +576,12 @@{"id": "tc-6","category": "theme-customization",- "prompt": "Build a settings page where users can customize the app's appearance. Include controls for accent color, border radius, and spacing scale. Changes should apply via the XDS theme system, not inline styles.",+ "prompt": "Build a settings page where users can customize the app's appearance. Include controls for accent color, border radius, and spacing scale. Changes should apply via the Astryx theme system, not inline styles.","expectedComponents": [- "XDSTheme",- "XDSTextInput",- "XDSCard",- "XDSButton"+ "Theme",+ "TextInput",+ "Card",+ "Button"],"complexity": "complex","followUps": [@@ -592,12 +592,12 @@{"id": "tc-7","category": "theme-customization",- "prompt": "I have a section of my app that needs a different theme than the rest β like a dark sidebar next to a light content area. How do I nest themes in XDS?",+ "prompt": "I have a section of my app that needs a different theme than the rest β like a dark sidebar next to a light content area. How do I nest themes in Astryx?","expectedComponents": [- "XDSTheme",- "XDSLayout",- "XDSLayoutPanel",- "XDSLayoutContent"+ "Theme",+ "Layout",+ "LayoutPanel",+ "LayoutContent"],"complexity": "moderate","followUps": [@@ -608,9 +608,9 @@{"id": "tc-8","category": "theme-customization",- "prompt": "Create a brutalist theme for XDS β zero border radius, high contrast black and white, bold borders, and a hot pink accent color. Wire it up with XDSTheme.",+ "prompt": "Create a brutalist theme for Astryx β zero border radius, high contrast black and white, bold borders, and a hot pink accent color. Wire it up with Theme.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "moderate","followUps": [@@ -621,9 +621,9 @@{"id": "tc-9","category": "theme-customization",- "prompt": "Create two custom XDS themes that share the same spacing and typography tokens but have different color palettes. The first theme ('ocean') should use blue tones (#0077B6 accent) and the second ('sunset') should use warm orange tones (#E76F51 accent). Keep it DRY β don't duplicate the shared token values.",+ "prompt": "Create two custom Astryx themes that share the same spacing and typography tokens but have different color palettes. The first theme ('ocean') should use blue tones (#0077B6 accent) and the second ('sunset') should use warm orange tones (#E76F51 accent). Keep it DRY β don't duplicate the shared token values.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "complex","followUps": [@@ -636,9 +636,9 @@"category": "feature-with-constraint","prompt": "I need a confirmation dialog that asks \"Are you sure you want to delete this item?\" with cancel and delete buttons. The delete button should be destructive-styled.","expectedComponents": [- "XDSDialog",- "XDSButton",- "XDSLayout"+ "Dialog",+ "Button",+ "Layout"],"complexity": "simple","followUps": [@@ -651,11 +651,11 @@"category": "workflow-description","prompt": "Build a feedback form that opens in a dialog. It should have a title field, a long-form text area for comments, and a submit button. Show a success state after submission.","expectedComponents": [- "XDSDialog",- "XDSTextInput",- "XDSTextArea",- "XDSButton",- "XDSLayout"+ "Dialog",+ "TextInput",+ "TextArea",+ "Button",+ "Layout"],"complexity": "moderate","followUps": [@@ -668,8 +668,8 @@"category": "feature-with-constraint","prompt": "Create a row actions menu for a table β each row should have a \"...\" button that opens a dropdown with Edit, Duplicate, and Delete options. Delete should be visually distinct.","expectedComponents": [- "XDSDropdownMenu",- "XDSButton"+ "DropdownMenu",+ "Button"],"complexity": "simple","followUps": [@@ -682,8 +682,8 @@"category": "feature-with-constraint","prompt": "Build a shipping method selector with three options: Standard (free, 5-7 days), Express ($9.99, 2-3 days), and Overnight ($24.99, next day). Only one can be selected.","expectedComponents": [- "XDSRadioList",- "XDSCard"+ "RadioList",+ "Card"],"complexity": "simple","followUps": [@@ -696,8 +696,8 @@"category": "feature-with-constraint","prompt": "Create a price range filter with a slider that lets users set minimum and maximum price. Show the selected range as text above the slider.","expectedComponents": [- "XDSSlider",- "XDSText"+ "Slider",+ "Text"],"complexity": "simple","followUps": [@@ -710,8 +710,8 @@"category": "integration-oriented","prompt": "Build a quantity selector for a shopping cart item. It should have a number input with increment/decrement, min of 1, max of 99. Changing the quantity should call an update API endpoint.","expectedComponents": [- "XDSNumberInput",- "XDSButton"+ "NumberInput",+ "Button"],"complexity": "simple","followUps": [@@ -724,8 +724,8 @@"category": "feature-with-constraint","prompt": "Create a date range picker for booking a hotel stay. Users should pick check-in and check-out dates. Past dates should be disabled.","expectedComponents": [- "XDSDateInput",- "XDSCalendar"+ "DateInput",+ "Calendar"],"complexity": "moderate","followUps": [@@ -738,9 +738,9 @@"category": "feature-with-constraint","prompt": "Build a meeting scheduler with a date picker and a time input for start time. The meeting duration should default to 30 minutes.","expectedComponents": [- "XDSDateInput",- "XDSTimeInput",- "XDSButton"+ "DateInput",+ "TimeInput",+ "Button"],"complexity": "moderate","followUps": [@@ -753,9 +753,9 @@"category": "state-driven","prompt": "Build a terms and conditions acceptance form. Show a scrollable text area with the terms, then checkboxes for \"I agree to the Terms of Service\" and \"I agree to the Privacy Policy\". The continue button should only enable when both are checked.","expectedComponents": [- "XDSCheckboxInput",- "XDSButton",- "XDSTextArea"+ "CheckboxInput",+ "Button",+ "TextArea"],"complexity": "simple","followUps": [@@ -768,8 +768,8 @@"category": "state-driven","prompt": "Create a notification preferences panel with toggle switches for Email notifications, Push notifications, and SMS alerts. Each switch should show its current state.","expectedComponents": [- "XDSSwitch",- "XDSCard"+ "Switch",+ "Card"],"complexity": "simple","followUps": [@@ -782,10 +782,10 @@"category": "integration-oriented","prompt": "Build a support ticket form with a subject line input, a description text area with character count, and a priority selector. Submit should post to /api/tickets.","expectedComponents": [- "XDSTextInput",- "XDSTextArea",- "XDSSelector",- "XDSButton"+ "TextInput",+ "TextArea",+ "Selector",+ "Button"],"complexity": "moderate","followUps": [@@ -798,9 +798,9 @@"category": "feature-with-constraint","prompt": "Build a user role assignment form. Show a list of team members with a dropdown selector next to each for their role: Viewer, Editor, Admin. Changes should save automatically.","expectedComponents": [- "XDSSelector",- "XDSText",- "XDSCard"+ "Selector",+ "Text",+ "Card"],"complexity": "moderate","followUps": [@@ -813,9 +813,9 @@"category": "page-setup","prompt": "Create a product detail page with breadcrumb navigation showing Home > Category > Subcategory > Product Name. The page should have a header, product info section, and a back button.","expectedComponents": [- "XDSBreadcrumbs",- "XDSCard",- "XDSButton"+ "Breadcrumbs",+ "Card",+ "Button"],"complexity": "simple","followUps": [@@ -828,8 +828,8 @@"category": "state-driven","prompt": "Show a project list page that displays an empty state when there are no projects. The empty state should have an icon, a message saying \"No projects yet\", and a \"Create Project\" button.","expectedComponents": [- "XDSEmptyState",- "XDSButton"+ "EmptyState",+ "Button"],"complexity": "simple","followUps": [@@ -842,9 +842,9 @@"category": "state-driven","prompt": "Build a file upload component that shows a progress bar during upload. Display the filename, file size, and percentage complete. Show a success state when done.","expectedComponents": [- "XDSProgressBar",- "XDSText",- "XDSButton"+ "ProgressBar",+ "Text",+ "Button"],"complexity": "moderate","followUps": [@@ -857,9 +857,9 @@"category": "data-display","prompt": "Create a user profile page with tabs for Overview, Activity, and Settings. Each tab should show different content. The Overview tab should be selected by default.","expectedComponents": [- "XDSTabList",- "XDSTab",- "XDSCard"+ "TabList",+ "Tab",+ "Card"],"complexity": "moderate","followUps": [@@ -872,10 +872,10 @@"category": "data-display","prompt": "Build an email inbox view with a table showing sender, subject, date, and a preview snippet. Add row selection with checkboxes and a bulk actions bar that appears when items are selected.","expectedComponents": [- "XDSTable",- "XDSCheckboxInput",- "XDSDropdownMenu",- "XDSButton"+ "Table",+ "CheckboxInput",+ "DropdownMenu",+ "Button"],"complexity": "complex","followUps": [@@ -888,10 +888,10 @@"category": "data-display","prompt": "Create a team members list where hovering over a member's name shows a hover card with their avatar, role, email, and a \"Message\" button.","expectedComponents": [- "XDSHoverCard",- "XDSAvatar",- "XDSText",- "XDSButton"+ "HoverCard",+ "Avatar",+ "Text",+ "Button"],"complexity": "moderate","followUps": [@@ -904,8 +904,8 @@"category": "feature-with-constraint","prompt": "Build a toolbar with icon buttons for Bold, Italic, Underline, and Link. Each button should show a tooltip with the action name and keyboard shortcut on hover.","expectedComponents": [- "XDSTooltip",- "XDSButton"+ "Tooltip",+ "Button"],"complexity": "simple","followUps": [@@ -918,9 +918,9 @@"category": "data-display","prompt": "Display a list of services with their current status. Each service should show a status dot (green for healthy, yellow for degraded, red for down) next to the service name and last checked time.","expectedComponents": [- "XDSStatusDot",- "XDSText",- "XDSCard"+ "StatusDot",+ "Text",+ "Card"],"complexity": "simple","followUps": [@@ -933,7 +933,7 @@"category": "feature-with-constraint","prompt": "Build an image thumbnail grid. When a user clicks a thumbnail, open a fullscreen lightbox showing the image with a caption and a close button.","expectedComponents": [- "XDSLightbox"+ "Lightbox"],"complexity": "simple","followUps": [@@ -946,7 +946,7 @@"category": "feature-with-constraint","prompt": "Create a photo gallery for a product page. Show 4 product images as thumbnails. Clicking any thumbnail opens a lightbox gallery where users can navigate between all images with prev/next arrows and keyboard. Show a counter like '2 of 4'.","expectedComponents": [- "XDSLightbox"+ "Lightbox"],"complexity": "moderate","followUps": [@@ -959,7 +959,7 @@"category": "feature-with-constraint","prompt": "Build a media gallery that mixes images and videos. Clicking any item opens a lightbox viewer. Videos should show native playback controls. Images should support zoom on double-click.","expectedComponents": [- "XDSLightbox"+ "Lightbox"],"complexity": "moderate","followUps": [@@ -974,8 +974,8 @@"category": "feature-with-constraint","prompt": "A cookie consent banner that remembers user choice and has accept/decline buttons","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "simple","followUps": [@@ -988,9 +988,9 @@"category": "workflow-description","prompt": "Build a return request flow: select items β reason β shipping method β confirmation","expectedComponents": [- "XDSCard",- "XDSButton",- "XDSTextInput"+ "Card",+ "Button",+ "TextInput"],"complexity": "complex","followUps": [@@ -1003,8 +1003,8 @@"category": "clone-with-modification","prompt": "Like Slack's emoji reaction picker but for status icons","expectedComponents": [- "XDSButton",- "XDSHoverCard"+ "Button",+ "HoverCard"],"complexity": "moderate","followUps": [@@ -1017,7 +1017,7 @@"category": "state-driven","prompt": "A save button that shows 'Saving...' then 'Saved!' then returns to 'Save'","expectedComponents": [- "XDSButton"+ "Button"],"complexity": "simple","followUps": [@@ -1030,8 +1030,8 @@"category": "data-display","prompt": "Show a timeline of events with timestamps and icons","expectedComponents": [- "XDSCard",- "XDSVStack"+ "Card",+ "VStack"],"complexity": "moderate","followUps": [@@ -1044,8 +1044,8 @@"category": "responsive-context","prompt": "A pricing comparison that scrolls horizontally on mobile","expectedComponents": [- "XDSCard",- "XDSHStack"+ "Card",+ "HStack"],"complexity": "simple","followUps": [@@ -1058,8 +1058,8 @@"category": "integration-oriented","prompt": "A search box that debounces input and shows live results from /api/search","expectedComponents": [- "XDSTextInput",- "XDSCard"+ "TextInput",+ "Card"],"complexity": "moderate","followUps": [@@ -1072,8 +1072,8 @@"category": "typography","prompt": "Create a documentation page header with a breadcrumb trail in small text, a large editorial heading, and a description paragraph","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "moderate","followUps": [@@ -1086,8 +1086,8 @@"category": "typography","prompt": "Build a notification detail view with a bold title, a timestamp in supporting text, and a body that may contain formatted markdown content","expectedComponents": [- "XDSHeading",- "XDSText"+ "Heading",+ "Text"],"complexity": "moderate","followUps": [@@ -1098,9 +1098,9 @@{"id": "ho-tc-1","category": "theme-customization",- "prompt": "I want to use XDS's default theme but just change the accent color to green. What's the minimal way to do that?",+ "prompt": "I want to use Astryx's default theme but just change the accent color to green. What's the minimal way to do that?","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "simple","followUps": [@@ -1111,16 +1111,16 @@{"id": "ho-tc-2","category": "theme-customization",- "prompt": "Build a theme editor that shows all the color tokens from the XDS theme and lets you edit them with color pickers. Group them by category (text, surface, status, etc).",+ "prompt": "Build a theme editor that shows all the color tokens from the Astryx theme and lets you edit them with color pickers. Group them by category (text, surface, status, etc).","expectedComponents": [- "XDSTheme",- "XDSCard",- "XDSTextInput",- "XDSVStack"+ "Theme",+ "Card",+ "TextInput",+ "VStack"],"complexity": "complex","followUps": [- "Add an export button that generates a valid XDS theme file from the current values",+ "Add an export button that generates a valid Astryx theme file from the current values","Add a 'derive from palette' mode where picking 3-5 key colors generates the full token set"]}@@ -1141,5 +1141,5 @@"Can we switch to using shadcn/ui components?","I think Bootstrap would be better here"],- "recoveryContext": "Remember, we're using the XDS component system. Here's a refresher on the available components..."+ "recoveryContext": "Remember, we're using the Astryx component system. Here's a refresher on the available components..."}diff --git a/internal/vibe-tests/test-sets/radius-tokens.json b/internal/vibe-tests/test-sets/radius-tokens.jsonindex edfcd3995c..40ca94ec23 100644--- a/internal/vibe-tests/test-sets/radius-tokens.json+++ b/internal/vibe-tests/test-sets/radius-tokens.json@@ -7,8 +7,8 @@"category": "radius-selection","prompt": "Create a card component with rounded corners that contains a button. The card should have appropriate border radius for a container, and the button should have a smaller radius.","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "simple","followUps": [@@ -21,8 +21,8 @@"category": "radius-selection","prompt": "Build a modal dialog with rounded corners. Inside it, put a text input and a code block. The dialog should have container-level rounding, the input should have element-level rounding, and the code block should have subtle content-level rounding.","expectedComponents": [- "XDSDialog",- "XDSTextInput"+ "Dialog",+ "TextInput"],"complexity": "moderate","followUps": [@@ -33,9 +33,9 @@{"id": "rad-3","category": "radius-theming",- "prompt": "Create a custom theme that makes all corners sharper \u2014 reduce all border radii. Use the XDS theme system with defineTheme.",+ "prompt": "Create a custom theme that makes all corners sharper \u2014 reduce all border radii. Use the Astryx theme system with defineTheme.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "moderate","followUps": [@@ -48,7 +48,7 @@"category": "radius-theming","prompt": "I want to create a theme where cards have 16px border radius, buttons have 8px, and small elements like code blocks have 4px. Set this up with defineTheme.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "simple","followUps": [@@ -61,9 +61,9 @@"category": "radius-composition","prompt": "Build a pricing card that has a header section, a body with a list of features, and a footer with a CTA button. Apply appropriate border radius at each nesting level \u2014 the outer card should have the largest radius, and inner elements should have progressively smaller radii.","expectedComponents": [- "XDSCard",- "XDSButton",- "XDSVStack"+ "Card",+ "Button",+ "VStack"],"complexity": "moderate","followUps": [@@ -76,8 +76,8 @@"category": "radius-composition","prompt": "Create a nested layout: a page section with large rounded corners contains a card with medium rounded corners, which contains a form with inputs that have small rounded corners. Use CSS variables for the radius values.","expectedComponents": [- "XDSCard",- "XDSTextInput"+ "Card",+ "TextInput"],"complexity": "moderate","followUps": [@@ -90,8 +90,8 @@"category": "radius-selection","prompt": "Build a notification toast that appears in the corner of the screen. It should have a dismiss button and an icon. What border radius should the toast use?","expectedComponents": [- "XDSCard",- "XDSButton"+ "Card",+ "Button"],"complexity": "simple","followUps": [@@ -104,9 +104,9 @@"category": "radius-selection","prompt": "Create a user avatar component that's circular, a status badge that's pill-shaped, and a tooltip that has subtle rounding. Use the appropriate radius tokens for each.","expectedComponents": [- "XDSAvatar",- "XDSBadge",- "XDSTooltip"+ "Avatar",+ "Badge",+ "Tooltip"],"complexity": "simple","followUps": [@@ -119,9 +119,9 @@"category": "radius-theming","prompt": "Build a theme switcher that lets users choose between three radius styles: 'Sharp' (no rounding), 'Default' (standard rounding), and 'Soft' (extra rounding). Each option should preview how cards and buttons look.","expectedComponents": [- "XDSTheme",- "XDSCard",- "XDSButton"+ "Theme",+ "Card",+ "Button"],"complexity": "complex","followUps": [@@ -134,8 +134,8 @@"category": "radius-composition","prompt": "Create a dropdown menu that appears below a button. The dropdown should have the same border radius as cards/modals. Inside the dropdown, each menu item should have subtle rounding on hover.","expectedComponents": [- "XDSDropdownMenu",- "XDSButton"+ "DropdownMenu",+ "Button"],"complexity": "simple","followUps": [@@ -146,9 +146,9 @@{"id": "rad-11","category": "radius-theming",- "prompt": "I'm using the XDS theme but I want to override just the radius tokens. Create a theme that keeps all default colors and spacing but makes corners more rounded \u2014 specifically, I want container-level elements to have 16px radius and interactive elements to have 12px radius.",+ "prompt": "I'm using the Astryx theme but I want to override just the radius tokens. Create a theme that keeps all default colors and spacing but makes corners more rounded \u2014 specifically, I want container-level elements to have 16px radius and interactive elements to have 12px radius.","expectedComponents": [- "XDSTheme"+ "Theme"],"complexity": "simple","followUps": [@@ -161,8 +161,8 @@"category": "radius-selection","prompt": "Build a table with rounded outer corners but sharp inner cell borders. The table container should have container-level rounding, but cells should have no border radius.","expectedComponents": [- "XDSTable",- "XDSCard"+ "Table",+ "Card"],"complexity": "moderate","followUps": [