@behavioral-agentic-design-system/core 0.45.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/package.json +17 -3
  2. package/scripts/a11y-lint.cjs +78 -15
  3. package/scripts/bads-sync.mjs +1 -1
  4. package/scripts/build-tokens.cjs +122 -7
  5. package/scripts/check-dark-contrast.mjs +204 -0
  6. package/scripts/check-flush-edges.mjs +245 -0
  7. package/scripts/design-system-advisory/README.md +239 -0
  8. package/scripts/design-system-advisory/check-copy-punctuation.mjs +44 -0
  9. package/scripts/design-system-advisory/check-even-padding.mjs +35 -0
  10. package/scripts/design-system-advisory/check-hand-built-button.mjs +46 -0
  11. package/scripts/design-system-advisory/check-html-nesting.mjs +51 -0
  12. package/scripts/design-system-advisory/check-icon-sizing.mjs +79 -0
  13. package/scripts/design-system-advisory/check-label-case.mjs +92 -0
  14. package/scripts/design-system-advisory/check-native-form-controls.mjs +53 -0
  15. package/scripts/design-system-advisory/check-radius.mjs +56 -0
  16. package/scripts/design-system-advisory/check-raw-values.mjs +61 -0
  17. package/scripts/design-system-advisory/check-small-text.mjs +72 -0
  18. package/scripts/design-system-advisory/check-tap-target.mjs +70 -0
  19. package/scripts/design-system-advisory/defaults.mjs +90 -0
  20. package/scripts/design-system-advisory/fixtures/clean.tsx.fixture +12 -0
  21. package/scripts/design-system-advisory/fixtures/violations.tsx.fixture +19 -0
  22. package/scripts/design-system-advisory/lib.mjs +255 -0
  23. package/scripts/design-system-advisory/run.mjs +189 -0
  24. package/scripts/design-system-advisory/workflow.yml +82 -0
  25. package/scripts/lib/copy-strings.mjs +146 -0
  26. package/scripts/lib/dark-contrast.mjs +120 -0
  27. package/scripts/lib/flush-edges.mjs +294 -0
  28. package/scripts/lib/lab-lint.mjs +62 -0
  29. package/scripts/lib/mount-page.mjs +25 -0
  30. package/scripts/lib/source-scan.mjs +173 -0
  31. package/scripts/lib/tells.mjs +240 -2
  32. package/scripts/lint-arbitrary-tokens.mjs +47 -0
  33. package/scripts/lint-component-token-refs.mjs +63 -0
  34. package/scripts/lint-content-hierarchy.mjs +114 -0
  35. package/scripts/lint-control-baseline.mjs +72 -0
  36. package/scripts/lint-copy-punctuation.mjs +60 -0
  37. package/scripts/lint-even-padding.mjs +58 -0
  38. package/scripts/lint-label-case.mjs +219 -0
  39. package/scripts/lint-microanimation.mjs +2 -2
  40. package/scripts/lint-proximity.mjs +181 -0
  41. package/scripts/lint-slop.mjs +1 -1
  42. package/scripts/lint-spacing-scale.mjs +78 -0
  43. package/scripts/lint-target-size.cjs +132 -0
  44. package/scripts/lint-token-primitives.mjs +307 -0
  45. package/scripts/size-audit.cjs +2 -2
  46. package/scripts/ux-tells.mjs +8 -6
  47. package/scripts/wcag-audit.cjs +25 -4
  48. package/src/api/layers/file.ts +2 -0
  49. package/src/api/site-auth.ts +14 -2
  50. package/src/app/preview/components/page.tsx +183 -14
  51. package/src/app/preview/sticker-sheet/page.tsx +329 -0
  52. package/src/app/preview/sticker-sheet/specimens.tsx +296 -0
  53. package/src/app/shell.tsx +4 -3
  54. package/src/components/Foundations/Colors.stories.tsx +119 -8
  55. package/src/components/home-tab.tsx +6 -1
  56. package/src/components/onboarding-wizard.tsx +1 -1
  57. package/src/components/ui/avatar.tsx +4 -0
  58. package/src/components/ui/chart.tsx +134 -42
  59. package/src/components/ui/checkbox-group.tsx +1 -1
  60. package/src/components/ui/checkbox.tsx +1 -1
  61. package/src/components/ui/combobox.tsx +1 -0
  62. package/src/components/ui/command.tsx +1 -1
  63. package/src/components/ui/date-picker.tsx +2 -0
  64. package/src/components/ui/date-range-picker.tsx +4 -0
  65. package/src/components/ui/file-upload.tsx +21 -2
  66. package/src/components/ui/heatmap.tsx +3 -1
  67. package/src/components/ui/input-group.tsx +5 -2
  68. package/src/components/ui/multi-select.tsx +1 -0
  69. package/src/components/ui/number-field.tsx +390 -0
  70. package/src/components/ui/radio-group.tsx +2 -2
  71. package/src/components/ui/sparkline.tsx +33 -4
  72. package/src/components/ui/spinner.tsx +23 -4
  73. package/src/components/ui/table.tsx +9 -0
  74. package/src/components/ui/week-picker.tsx +0 -12
  75. package/src/data/component-added.json +12 -0
  76. package/src/data/docs-index.ts +22 -1
  77. package/src/data/history.json +162 -162
  78. package/src/data/sticker-sheet.json +9297 -0
  79. package/src/docs-trace-globs.json +1 -0
  80. package/src/lib/chart-motion.ts +41 -0
  81. package/src/lib/get-icon-color.ts +1 -1
  82. package/src/stories/Accordion.stories.tsx +7 -0
  83. package/src/stories/ActionBar.stories.tsx +5 -0
  84. package/src/stories/Affix.stories.tsx +4 -0
  85. package/src/stories/AiBadge.stories.tsx +9 -7
  86. package/src/stories/Alert.stories.tsx +13 -0
  87. package/src/stories/AlertDialog.stories.tsx +4 -0
  88. package/src/stories/Anchor.stories.tsx +5 -0
  89. package/src/stories/AngleSlider.stories.tsx +6 -3
  90. package/src/stories/AspectRatio.stories.tsx +4 -0
  91. package/src/stories/Autocomplete.stories.tsx +6 -0
  92. package/src/stories/Avatar.stories.tsx +10 -0
  93. package/src/stories/Badge.stories.tsx +14 -6
  94. package/src/stories/Blockquote.stories.tsx +6 -0
  95. package/src/stories/BottomNavigation.stories.tsx +4 -0
  96. package/src/stories/Breadcrumb.stories.tsx +3 -0
  97. package/src/stories/Burger.stories.tsx +1 -0
  98. package/src/stories/Button.stories.tsx +24 -0
  99. package/src/stories/ButtonGroup.stories.tsx +9 -0
  100. package/src/stories/Calendar.stories.tsx +3 -0
  101. package/src/stories/Card.stories.tsx +4 -0
  102. package/src/stories/Carousel.stories.tsx +6 -0
  103. package/src/stories/Cascader.stories.tsx +4 -0
  104. package/src/stories/Chart.stories.tsx +46 -1
  105. package/src/stories/ChatBubble.stories.tsx +8 -2
  106. package/src/stories/ChatMarker.stories.tsx +1 -0
  107. package/src/stories/Checkbox.stories.tsx +40 -0
  108. package/src/stories/CheckboxCard.stories.tsx +8 -0
  109. package/src/stories/CheckboxGroup.stories.tsx +20 -0
  110. package/src/stories/Chip.stories.tsx +10 -19
  111. package/src/stories/CircularProgress.stories.tsx +13 -27
  112. package/src/stories/Clipboard.stories.tsx +6 -0
  113. package/src/stories/CloseButton.stories.tsx +6 -4
  114. package/src/stories/Code.stories.tsx +8 -1
  115. package/src/stories/Collapsible.stories.tsx +2 -0
  116. package/src/stories/ColorPicker.stories.tsx +6 -0
  117. package/src/stories/ColorSwatch.stories.tsx +1 -0
  118. package/src/stories/Combobox.stories.tsx +9 -0
  119. package/src/stories/Command.stories.tsx +2 -0
  120. package/src/stories/Container.stories.tsx +8 -0
  121. package/src/stories/ContextMenu.stories.tsx +9 -0
  122. package/src/stories/CopyButton.stories.tsx +12 -36
  123. package/src/stories/DataList.stories.tsx +8 -0
  124. package/src/stories/DataTable.stories.tsx +9 -0
  125. package/src/stories/DateField.stories.tsx +7 -0
  126. package/src/stories/DatePicker.stories.tsx +34 -0
  127. package/src/stories/DateRangePicker.stories.tsx +32 -0
  128. package/src/stories/Dialog.stories.tsx +8 -0
  129. package/src/stories/Drawer.stories.tsx +6 -0
  130. package/src/stories/DropdownMenu.stories.tsx +2 -0
  131. package/src/stories/Editable.stories.tsx +10 -0
  132. package/src/stories/EmptyState.stories.tsx +9 -0
  133. package/src/stories/Field.stories.tsx +7 -0
  134. package/src/stories/Fieldset.stories.tsx +8 -0
  135. package/src/stories/FileButton.stories.tsx +4 -0
  136. package/src/stories/FileUpload.stories.tsx +16 -17
  137. package/src/stories/FloatLabel.stories.tsx +3 -8
  138. package/src/stories/FloatingActionButton.stories.tsx +10 -0
  139. package/src/stories/FloatingIndicator.stories.tsx +4 -0
  140. package/src/stories/FloatingPanel.stories.tsx +6 -0
  141. package/src/stories/FocusTrap.stories.tsx +5 -0
  142. package/src/stories/FormatByte.stories.tsx +6 -0
  143. package/src/stories/FormatDate.stories.tsx +8 -0
  144. package/src/stories/FormatNumber.stories.tsx +9 -0
  145. package/src/stories/Heatmap.stories.tsx +11 -0
  146. package/src/stories/Highlight.stories.tsx +6 -0
  147. package/src/stories/HoverCard.stories.tsx +4 -0
  148. package/src/stories/Image.stories.tsx +9 -0
  149. package/src/stories/Indicator.stories.tsx +19 -0
  150. package/src/stories/Input.stories.tsx +7 -0
  151. package/src/stories/InputClearButton.stories.tsx +3 -0
  152. package/src/stories/InputGroup.stories.tsx +40 -0
  153. package/src/stories/Kbd.stories.tsx +7 -1
  154. package/src/stories/KeyboardShortcut.stories.tsx +2 -0
  155. package/src/stories/Label.stories.tsx +2 -0
  156. package/src/stories/Link.stories.tsx +9 -0
  157. package/src/stories/List.stories.tsx +8 -0
  158. package/src/stories/Listbox.stories.tsx +1 -0
  159. package/src/stories/LoadingDots.stories.tsx +5 -3
  160. package/src/stories/LoadingOverlay.stories.tsx +5 -1
  161. package/src/stories/Mark.stories.tsx +5 -0
  162. package/src/stories/Marquee.stories.tsx +4 -0
  163. package/src/stories/Masonry.stories.tsx +5 -0
  164. package/src/stories/Menubar.stories.tsx +3 -0
  165. package/src/stories/Meter.stories.tsx +11 -17
  166. package/src/stories/MonthPicker.stories.tsx +5 -1
  167. package/src/stories/MotionToggle.stories.tsx +1 -0
  168. package/src/stories/MultiSelect.stories.tsx +9 -0
  169. package/src/stories/NativeSelect.stories.tsx +1 -0
  170. package/src/stories/NavLink.stories.tsx +7 -0
  171. package/src/stories/NavigationMenu.stories.tsx +5 -0
  172. package/src/stories/NavigationRail.stories.tsx +10 -0
  173. package/src/stories/Notification.stories.tsx +13 -34
  174. package/src/stories/NumberField.stories.tsx +214 -0
  175. package/src/stories/NumberInput.stories.tsx +8 -1
  176. package/src/stories/Overlay.stories.tsx +5 -1
  177. package/src/stories/Pagination.stories.tsx +8 -0
  178. package/src/stories/PasswordInput.stories.tsx +2 -0
  179. package/src/stories/PinInput.stories.tsx +9 -2
  180. package/src/stories/Popover.stories.tsx +2 -0
  181. package/src/stories/Progress.stories.tsx +6 -1
  182. package/src/stories/Prose.stories.tsx +8 -0
  183. package/src/stories/QrCode.stories.tsx +2 -0
  184. package/src/stories/Questionnaire.stories.tsx +7 -0
  185. package/src/stories/RadioGroup.stories.tsx +40 -0
  186. package/src/stories/RatingGroup.stories.tsx +8 -4
  187. package/src/stories/Resizable.stories.tsx +4 -2
  188. package/src/stories/Result.stories.tsx +3 -0
  189. package/src/stories/Reveal.stories.tsx +2 -0
  190. package/src/stories/RollingNumber.stories.tsx +5 -0
  191. package/src/stories/ScrollArea.stories.tsx +3 -1
  192. package/src/stories/SearchInput.stories.tsx +8 -6
  193. package/src/stories/SegmentedControl.stories.tsx +11 -0
  194. package/src/stories/Select.stories.tsx +7 -0
  195. package/src/stories/Separator.stories.tsx +6 -0
  196. package/src/stories/Sheet.stories.tsx +5 -0
  197. package/src/stories/Sidebar.stories.tsx +40 -1
  198. package/src/stories/SimpleGrid.stories.tsx +5 -0
  199. package/src/stories/Skeleton.stories.tsx +8 -0
  200. package/src/stories/SkeletonTable.stories.tsx +6 -5
  201. package/src/stories/SkipLink.stories.tsx +3 -0
  202. package/src/stories/Slider.stories.tsx +2 -1
  203. package/src/stories/Sonner.stories.tsx +7 -0
  204. package/src/stories/Sparkline.stories.tsx +14 -1
  205. package/src/stories/Spinner.stories.tsx +20 -10
  206. package/src/stories/Spoiler.stories.tsx +5 -0
  207. package/src/stories/Squircle.stories.tsx +7 -0
  208. package/src/stories/Stack.stories.tsx +7 -0
  209. package/src/stories/StatusBadge.stories.tsx +12 -6
  210. package/src/stories/Stepper.stories.tsx +5 -0
  211. package/src/stories/Switch.stories.tsx +4 -0
  212. package/src/stories/Table.stories.tsx +10 -1
  213. package/src/stories/Tabs.stories.tsx +8 -0
  214. package/src/stories/Tag.stories.tsx +13 -5
  215. package/src/stories/TagsInput.stories.tsx +13 -0
  216. package/src/stories/Text.stories.tsx +12 -0
  217. package/src/stories/Textarea.stories.tsx +9 -0
  218. package/src/stories/ThemeIcon.stories.tsx +6 -3
  219. package/src/stories/TimePicker.stories.tsx +2 -0
  220. package/src/stories/Timeline.stories.tsx +12 -0
  221. package/src/stories/Timer.stories.tsx +4 -0
  222. package/src/stories/Toggle.stories.tsx +7 -5
  223. package/src/stories/ToggleGroup.stories.tsx +5 -0
  224. package/src/stories/ToggleTip.stories.tsx +4 -0
  225. package/src/stories/Toolbar.stories.tsx +6 -0
  226. package/src/stories/Tooltip.stories.tsx +3 -0
  227. package/src/stories/Tour.stories.tsx +3 -0
  228. package/src/stories/TransferList.stories.tsx +3 -0
  229. package/src/stories/TreeSelect.stories.tsx +4 -0
  230. package/src/stories/TreeView.stories.tsx +5 -0
  231. package/src/stories/TypingIndicator.stories.tsx +4 -0
  232. package/src/stories/VisuallyHidden.stories.tsx +3 -0
  233. package/src/stories/Watermark.stories.tsx +6 -0
  234. package/src/stories/WeekPicker.stories.tsx +4 -1
  235. package/src/stories/WordRotate.stories.tsx +5 -0
  236. package/src/stories/YearPicker.stories.tsx +5 -11
  237. package/src/stories/story-groups.json +2 -1
  238. package/src/styles.css +50 -2
  239. package/src/tokens.json +4 -4
  240. package/LICENSE +0 -21
@@ -77,6 +77,7 @@ export const DOCS_INDEX: DocGroup[] = [
77
77
  { title: "Component index", path: "COMPONENT_INDEX.md" },
78
78
  { title: "Component design rules", path: "COMPONENT_DESIGN.md" },
79
79
  { title: "Atomic design taxonomy", path: "ATOMIC_DESIGN.md", summary: "Atoms → molecules → organisms → templates → pages, in RFC-2119 language (MUST/MUST NOT/SHOULD/MAY): what each level may do (business logic, data fetching, local state) and where it lives in BADS, plus a bucket A–D ↔ level cheat sheet. For engineers and AI agents; makes promoting a BADS component into a client library 1:1. Adapted from web-common." },
80
+ { title: "Storybook guide", path: "docs/storybook-guide.md", summary: "The front door: when a story must exist, how to create one, how controls get their descriptions, and which rules are enforced versus convention." },
80
81
  { title: "Storybook rule", path: "STORYBOOK_RULE.md" },
81
82
  { title: "CTA size contract", path: "prompts/cta-size-contract.md" },
82
83
  { title: "Motion spec", path: "prompts/motion-spec.md" },
@@ -89,7 +90,11 @@ export const DOCS_INDEX: DocGroup[] = [
89
90
  label: "Agent system",
90
91
  description: "How autonomous agents read BADS — instructions, the Night Shift spec, the nightly loops.",
91
92
  entries: [
92
- { title: "CLAUDE.md", path: "CLAUDE.md", summary: "The agent contract — every workflow rule lives here." },
93
+ { title: "AGENTS.md", path: "AGENTS.md", summary: "The tool-neutral agent contract: always-on rules plus a generated index of the task-specific rule files." },
94
+ { title: "GEMINI.md", path: "GEMINI.md", summary: "Gemini CLI entry point. Imports AGENTS.md so Gemini reads the same rules." },
95
+ { title: "CLAUDE.md", path: "CLAUDE.md", summary: "Claude Code specifics (skills, hooks, MCP). Imports AGENTS.md." },
96
+ { title: "BADS plugin for Claude Code", path: "docs/plugin.md", summary: "One-install bundle of the portable skills, MCP lookups and decision-record hook for prototype repos and forks." },
97
+ { title: "Agent rules (lazy-loaded)", path: "docs/agent-rules/manifest.json", summary: "29 task-specific rule files moved out of CLAUDE.md. Each loads when its trigger keywords match the task." },
93
98
  { title: "AGENTS.md", path: "AGENTS.md", summary: "Loading precedence + escalation rules." },
94
99
  { title: "V0 system prompt", path: "V0_SYSTEM.md" },
95
100
  { title: "Night Shift spec", path: "CIRCADIAN.md", summary: "The overnight agent: what it audits, researches, builds, tests, merges, and reports each night." },
@@ -105,22 +110,35 @@ export const DOCS_INDEX: DocGroup[] = [
105
110
  label: "Skills & prompts",
106
111
  description: "Invocable workflows agents (and Sir via /<name>) run.",
107
112
  entries: [
113
+ { title: "Skills index", path: "docs/skills-index.md", summary: "Generated list of every project skill: when to use it, what it hands off to, and whether it declares its intent. Start a task here to find its skill." },
108
114
  { title: "Skill — component-builder", path: ".claude/skills/component-builder/SKILL.md" },
109
115
  { title: "Skill — design-exploration", path: ".claude/skills/design-exploration/SKILL.md" },
110
116
  { title: "Skill — design-critique", path: ".claude/skills/design-critique/SKILL.md" },
111
117
  { title: "Skill — futures-check", path: ".claude/skills/futures-check/SKILL.md" },
112
118
  { title: "Skill — persona-pressure-test", path: ".claude/skills/persona-pressure-test/SKILL.md" },
113
119
  { title: "Skill — promote-prototype", path: ".claude/skills/promote-prototype/SKILL.md" },
120
+ { title: "Skill — next", path: ".claude/skills/next/SKILL.md", summary: "Take the next highest-priority backlog item, say it in short plain English, recommend, and either make the change (80% or more confident, undoable) or ask one multiple-choice question." },
114
121
  { title: "Skill — visual-verify", path: ".claude/skills/visual-verify/SKILL.md" },
115
122
  { title: "Skill — verify", path: ".claude/skills/verify/SKILL.md", summary: "One command (pnpm verify) to look at Storybook in a real browser: start it on a free port, prove the server is this checkout's, screenshot a story in light and dark with console and network errors. Use before handing anyone a localhost URL." },
116
123
  { title: "Skill — parity-check", path: ".claude/skills/parity-check/SKILL.md", summary: "Strict, measured pixel parity against a specific external reference (Figma export, client HTML, competitor screenshot) — zero differing pixels, not a judgment call. Complements visual-verify (reference-free, qualitative) rather than overlapping it." },
117
124
  { title: "Skill — figma-to-code", path: ".claude/skills/figma-to-code/SKILL.md", summary: "Structured, gated workflow for building FROM a Figma node via live Figma MCP tooling — enumerate the real node tree (never a screenshot), map onto existing primitives/tokens, resolve gaps for real, then hand off to component-builder. Logs every unresolved mismatch to ledgers/divergence.jsonl instead of shipping it silently. Natural upstream companion to parity-check." },
118
125
  { title: "Skill — motion-review", path: ".claude/skills/motion-review/SKILL.md" },
126
+ { title: "Skill — break-ui", path: ".claude/skills/break-ui/SKILL.md" },
127
+ { title: "Skill — asset-builder", path: ".claude/skills/asset-builder/SKILL.md" },
128
+ { title: "Skill — deck-builder", path: ".claude/skills/deck-builder/SKILL.md", summary: "Make a presentation that looks like the product: audience and ask, an approved outline, then a self-contained HTML deck built from the fork's own tokens, linted, verified in light and dark, and exported to PDF." },
129
+ { title: "Deck builder reference", path: "docs/deck-builder.md", summary: "The deck.json format, the ten layouts, what the deck lint enforces, the keys, and credits to the GitHub deck skills it learned from." },
119
130
  { title: "Skill — redesign", path: ".claude/skills/redesign/SKILL.md", summary: "Re-skin an existing surface WITHOUT changing what it does — preserve copy / IA / routes / brand, rebuild only the visual + interaction layer with a fresh (diversified) fingerprint. Distinct from design-exploration (new surface) and component-builder (one component). Adapted BADS-native from Hallmark's redesign verb." },
120
131
  { title: "Prompt — conceptual model", path: "prompts/conceptual-model.md", summary: "Before sketching a product surface, name its domain objects, states, relationships, and vocabulary — Jamie Mill's 'most neglected layer,' wired into Path B as design-exploration step 3.5. Feeds the real-content pool, state patterns, and primitive selection." },
121
132
  { title: "Prompt — subject inventory", path: "prompts/subject-inventory.md", summary: "For marketing and brand surfaces: list 8-12 facts that belong to this client and no competitor, each with a source, before any direction is drawn. The page idea and image searches come from the list. Adapted from taste-skill." },
122
133
  { title: "Marketing composition library", path: "disciplines/marketing/library/README.md", summary: "20 directions, 48 heroes and 172 section blueprints for marketing pages, dealt by bads-deal-directions so the choice among directions is real. Colors and fonts stay with brand tokens. Derived from taste-skill (MIT)." },
123
134
  { title: "Motion glossary", path: "disciplines/marketing/patterns/motion-glossary.md", summary: "24 web effects by name, each mapped to its BADS component or token, a status (default, expressive, caution, avoid) and a reduced-motion state, so a client or reviewer can ask for an effect by name." },
135
+ { title: "Atlassian design system CLI evaluation", path: "docs/atlassian-ads-cli-evaluation.md", summary: "Evaluation note (shared handlers and a lookup command built): the lookup logic moved out of the MCP server into one module that the MCP tools and the new bads-lookup command both call, proven identical by a side-by-side run and tests. Startup measured (about 78ms against about 203ms to load the server); no live agent benchmark, so the post's speed and token numbers are not claimed for BADS." },
136
+ { title: "design-agent.dev posts evaluation", path: "docs/design-agent-posts-evaluation.md", summary: "Evaluation note (one check built, one rule built, one deferred): the changelog breaking-change check became check:changeset-bump, the WCAG 1.4.10 reflow post added 320px, a zoom-blocked tell and a scroll-region tell to ux-tells plus a Table and CodeBlock fix, and scroll-driven animations stay deferred with a checklist in the roadmap." },
137
+ { title: "Hallmark evaluation", path: "docs/hallmark-evaluation.md", summary: "Evaluation note (four rendered layout checks adopted, the rest not): crowded heading, cramped box, covered text and wrapped button label added to ux-tells as advisory tells, adapted from nutlope/hallmark (MIT) and calibrated on the showcase over four rounds of fixes. Records what was not taken and why." },
138
+ { title: "design-agent evaluation", path: "docs/design-agent-evaluation.md", summary: "Evaluation note (four ideas adopted): LangChain's design-agent makes on-brand stills, ads and decks and checks the render. BADS took the render checks for decks and landing pages and added a still and ad builder. Hosting, video and memory layers skipped." },
139
+ { title: "Asset builder", path: "docs/asset-builder.md", summary: "Reference for pnpm asset:build: asset.json keys, the ten ad and social sizes, and the render check." },
140
+ { title: "Ringer evaluation", path: "docs/ringer-evaluation.md", summary: "Evaluation note (two ideas adopted): Ringer is a parallel agent runner. BADS took its per-model pass rates as a model split in the trust audit and skipped the swarm runner. A canary now proves 10 source lints can fail." },
141
+ { title: "APCA evaluation", path: "docs/apca-evaluation.md", summary: "Evaluation note (advisory report adopted, opt-in, not a gate): APCA contrast beside WCAG 2 via the official apca-w3 package, because its license forbids copying the formula. 6 of 78 token pairs flagged, four in dark mode." },
124
142
  { title: "motion-prompt evaluation", path: "docs/motion-prompt-evaluation.md", summary: "Evaluation note (idea adopted, library not installed): a library of 120 named effects for prompting. Adopted the naming idea as a BADS motion glossary mapped to tokens, components and the anti-defaults." },
125
143
  { title: "taste-skill evaluation", path: "docs/taste-skill-evaluation.md", summary: "Evaluation note (ideas adopted, skill not installed): what Leonxlnx/taste-skill adds beyond BADS's anti-defaults. Adopted a direction dealer, a subject inventory, open-license image sourcing and a rendered tells check, as BADS-native tools." },
126
144
  { title: "Prompt — parallel rollout", path: "prompts/parallel-rollout.md", summary: "For a Path B build that's N similar surfaces: build one reference screen, turn it into an explicit contract, sign off on the contract, then fan the rest out against it (via Workflow) and verify each to the contract. Stops multi-screen drift. Adapted from the design-spec-framework." },
@@ -162,6 +180,7 @@ export const DOCS_INDEX: DocGroup[] = [
162
180
  { title: "Token migration", path: "docs/token-migration.md", summary: "The pattern for renaming/restructuring tokens in a fork without a heroic all-at-once PR: a token-migration.json old→new mapping enforced diff-aware (changed files held to new names, legacy tolerated in untouched files) via pnpm check:token-migration, plus a copy-pasteable mapping table. Adapted from web-common." },
163
181
  { title: "Chart color palette", path: "docs/chart-color-palette.md", summary: "Accessible 5-color categorical palette for data viz — Okabe-Ito-derived, reviewed against WCAG 1.4.11 non-text contrast." },
164
182
  { title: "Chart design", path: "docs/chart-design.md", summary: "Chart composition rules — grid, axes, labels, legend, tooltip, number formatting, states, motion. The 'data is the only saturated thing' register; companion to the color palette." },
183
+ { title: "Rendered-browser gate triage", path: "docs/prototype-lab-check-triage.md", summary: "Triage guide for the six headless-Chromium rendered gates ported from FF-BADS: check:rendered-contrast, check:hit-targets, check:loading-shift, check:layout-smells, check:overlay-stacking, check:disabled-hover. What each gate checks, what a finding means, and the fix path. Uses stamp-build-version to guard against measuring a stale server." },
165
184
  { title: "Privacy-first design (8 principles)", path: "layer-2-ethics-responsibility/privacy-first-design.md", summary: "Matthew Stephens' 8-principle privacy framework: minimize collection, transparency, expiration, no dark patterns, user control, ethical monetization, sustainable practices, accountability — mapped to BADS enforcement." },
166
185
  { title: "Distress & reduced capacity", path: "layer-2-ethics-responsibility/distress-and-capacity.md", summary: "Designing critical flows for users in reduced-capacity states (stress, anxiety, grief, overwhelm) — a STATE, not a persona. The Low-Capacity Test release gate for high-stakes flows, plus the situational-distress persona and shame-free / no-silent-inference rules. Adapted from Matthew Stephens' 2026 mental-health-UX framework." },
167
186
  { title: "Gamification — responsible vs. manipulative", path: "layer-2-ethics-responsibility/gamification.md", summary: "Sir's 10 Core Drives (Octalysis 8 + Exploration & Discovery + Challenge & Competition) + the test gates that decide when Black Hat ships and when it refuses." },
@@ -176,6 +195,7 @@ export const DOCS_INDEX: DocGroup[] = [
176
195
  { title: "Promote corrections", path: "prompts/promote-corrections.md", summary: "Monthly: corrections → lint promotion candidates." },
177
196
  { title: "Recipe miner", path: "prompts/recipe-miner.md", summary: "Monthly: ship-first vs bounce-recipe ranking." },
178
197
  { title: "Chromatic setup", path: "docs/chromatic-setup.md", summary: "Wiring the visual-regression gate that runs on every story-relevant PR. Lives here rather than under onboarding because Chromatic gates every fork's PRs for the life of the fork, not just its first week." },
198
+ { title: "Sticker sheet", path: "docs/sticker-sheet.md", summary: "Every registered component and story in light and dark, with measured contrast, resolved tokens and links to Storybook. How to run, extend and export it." },
179
199
  { title: "Chromatic prompt", path: "prompts/chromatic.md", summary: "AI-guided version of the Chromatic setup walkthrough." },
180
200
  ],
181
201
  },
@@ -251,6 +271,7 @@ export const DOCS_INDEX: DocGroup[] = [
251
271
  label: "Roadmap",
252
272
  description: "Deferred plans — what we'd build if the activation signal fires.",
253
273
  entries: [
274
+ { title: "Multiplayer environment roadmap", path: "docs/multiplayer-environment-roadmap.md", summary: "Draft product roadmap for a shared design environment where the design system is the authority across tools: what exists today (checked against the repos), six phases with go and stop signals, and the decisions only Sir can make." },
254
275
  { title: "Roadmap", path: "docs/roadmap.md", summary: "Layer 2/6/8/9/10 deferred work with the signal that should activate each one." },
255
276
  { title: "Prototype spec report", path: "docs/prototype-spec-report.md", summary: "Why each prototype is a container with a fixed-section spec.md (element inventory with an approver on every deferral, decisions, open questions, handoff), what shipped, and how the spec shows as a doc frame on the infinite canvas beside the live views, with pan-to-link, scrolling inside the frame, and a keyboard route." },
256
277
  { title: "Plan — skill package", path: "docs/plans/2026-08-21-skill-package.md", summary: "Approved plan: generate a per-fork, npx-installable agent skill — SKILL.md + drift-proof component recipes + token CSS — so the design system's rules travel into the client product repos where components are consumed. Phase A shipped; see the spec." },
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$comment": "GENERATED by scripts/build-history.mjs — do not edit. Regenerate with `pnpm build:history`.",
3
- "generatedAt": "2026-09-09",
3
+ "generatedAt": "2026-11-11",
4
4
  "stats": [
5
5
  {
6
6
  "label": "commits",
7
- "value": 1214
7
+ "value": 1766
8
8
  },
9
9
  {
10
10
  "label": "components",
11
- "value": 180
11
+ "value": 242
12
12
  },
13
13
  {
14
14
  "label": "semantic tokens",
@@ -26,244 +26,244 @@
26
26
  },
27
27
  "milestones": [
28
28
  {
29
- "sha": "f916cd24",
30
- "date": "2026-09-09",
31
- "scope": "shell",
32
- "title": "replace the top tabs with a left rail, and promote the discipline tree upstream"
29
+ "sha": "09122e27",
30
+ "date": "2026-11-11",
31
+ "scope": "components",
32
+ "title": "add NumberField primitive (#721)"
33
33
  },
34
34
  {
35
- "sha": "2b3fe69f",
36
- "date": "2026-09-09",
37
- "scope": "storybook",
38
- "title": "keep the variant galleries out of the AI manifest (#460)"
35
+ "sha": "9227690f",
36
+ "date": "2026-11-11",
37
+ "scope": "comments",
38
+ "title": "sticky notes, kept and shared by the comments server (#793)"
39
39
  },
40
40
  {
41
- "sha": "31fd2924",
42
- "date": "2026-09-09",
43
- "scope": "progress",
44
- "title": "add xl size (16px) to track height ladder (#445)"
41
+ "sha": "97b65b22",
42
+ "date": "2026-11-11",
43
+ "scope": "comments",
44
+ "title": "a host can put its own tabs at the top of the sidebar (#791)"
45
45
  },
46
46
  {
47
- "sha": "98ca9802",
48
- "date": "2026-09-09",
49
- "scope": "alert",
50
- "title": "add sm size variant for compact / dense-layout use (#446)"
47
+ "sha": "546d8f41",
48
+ "date": "2026-11-10",
49
+ "scope": "core",
50
+ "title": "advisory design system checks as a portable kit (bads-ds-advisory) (#784)"
51
51
  },
52
52
  {
53
- "sha": "7cda871b",
54
- "date": "2026-09-09",
55
- "scope": "components",
56
- "title": "FormatDate + WeekPicker + Sparkline [Night Shift]"
53
+ "sha": "bd365a79",
54
+ "date": "2026-11-10",
55
+ "scope": "checks",
56
+ "title": "check:dark-contrast, every page in dark, text against what is painted (#783)"
57
57
  },
58
58
  {
59
- "sha": "0fedeb8c",
60
- "date": "2026-09-06",
61
- "scope": "accordion",
62
- "title": "add contained and separated visual variants (#447)"
59
+ "sha": "5bdf1b2c",
60
+ "date": "2026-11-10",
61
+ "scope": "comments",
62
+ "title": "popover checks ship with the engine, for every host to run (#782)"
63
63
  },
64
64
  {
65
- "sha": "a7e9e817",
66
- "date": "2026-09-06",
67
- "scope": "tags-input",
68
- "title": "add size prop sm/default/lg/xl (#444)"
65
+ "sha": "f5222db8",
66
+ "date": "2026-11-09",
67
+ "scope": null,
68
+ "title": "watch Astryx weekly; borrow GEMINI.md and a before-delivery check"
69
69
  },
70
70
  {
71
- "sha": "cef5617b",
72
- "date": "2026-09-06",
73
- "scope": "checkbox-card",
74
- "title": "add size prop sm/default/lg (#443)"
71
+ "sha": "459ab119",
72
+ "date": "2026-11-09",
73
+ "scope": "comments",
74
+ "title": "pins stay on the content when a screen inside a design scrolls (#772)"
75
75
  },
76
76
  {
77
- "sha": "3e333c2f",
78
- "date": "2026-09-06",
79
- "scope": "checkbox",
80
- "title": "add lg size 40px (#442)"
77
+ "sha": "c5201315",
78
+ "date": "2026-11-09",
79
+ "scope": "comments",
80
+ "title": "Figma-style sidebar, and a theme for it (Figma dark UI3 included) (#754)"
81
81
  },
82
82
  {
83
- "sha": "640e144f",
84
- "date": "2026-09-06",
85
- "scope": "breadcrumb",
86
- "title": "add dropdown variant for long paths (#439)"
83
+ "sha": "38132b42",
84
+ "date": "2026-11-07",
85
+ "scope": "plugin",
86
+ "title": "add visual-verify and parity-check; say why the rest stay in BADS"
87
87
  },
88
88
  {
89
- "sha": "03279eba",
90
- "date": "2026-09-05",
91
- "scope": "components",
92
- "title": "Avatar xl/xs sizes, ToggleGroup vertical, Tag icon slot (night-shift 2026-09-03)"
89
+ "sha": "a8cbd432",
90
+ "date": "2026-11-07",
91
+ "scope": null,
92
+ "title": "BADS Claude Code plugin (skills, MCP, decision hook, rules)"
93
93
  },
94
94
  {
95
- "sha": "f9c74daa",
96
- "date": "2026-09-03",
97
- "scope": "night-shift",
98
- "title": "give Carl a bundle-delta efficiency floor"
95
+ "sha": "ed60b009",
96
+ "date": "2026-10-30",
97
+ "scope": "lint",
98
+ "title": "add bads-lint-target-size and flag typed ellipses and escapes in copy"
99
99
  },
100
100
  {
101
- "sha": "b1e04bbc",
102
- "date": "2026-09-03",
103
- "scope": "night-shift",
104
- "title": "add four governance crew members + weekly deep-dive"
101
+ "sha": "93b04d1c",
102
+ "date": "2026-10-28",
103
+ "scope": "automation",
104
+ "title": "weekly Friday fork harvest (#718)"
105
105
  },
106
106
  {
107
- "sha": "cfc3e8d9",
108
- "date": "2026-09-03",
109
- "scope": "night-shift",
110
- "title": "add Code Review Carl — staff-engineer review pass (step 3f)"
107
+ "sha": "2b84d6a7",
108
+ "date": "2026-10-28",
109
+ "scope": "a11y",
110
+ "title": "contracts for MediaCard and NotificationList, and a gate so none can be missing (#711)"
111
111
  },
112
112
  {
113
- "sha": "8aee3811",
114
- "date": "2026-09-01",
115
- "scope": "scripts",
116
- "title": "port accent-as-text lint from CL-BADS, add stale-exception detection to wcag-audit"
113
+ "sha": "a442edfa",
114
+ "date": "2026-10-28",
115
+ "scope": "agents",
116
+ "title": "lint each file as the agent saves it, not at commit time"
117
117
  },
118
118
  {
119
- "sha": "e2165388",
120
- "date": "2026-09-01",
121
- "scope": "eval",
122
- "title": "score the rules BADS actually enforces, from one shared definition"
119
+ "sha": "017702bd",
120
+ "date": "2026-10-28",
121
+ "scope": "gates",
122
+ "title": "prove each source lint can fail"
123
123
  },
124
124
  {
125
- "sha": "02b90ce5",
126
- "date": "2026-09-01",
127
- "scope": "multi-select",
128
- "title": "add size prop (sm/default/lg/xl) (#430)"
125
+ "sha": "864d9358",
126
+ "date": "2026-10-28",
127
+ "scope": "night-shift",
128
+ "title": "record which model made each auto-merge, and split trust audit by it"
129
129
  },
130
130
  {
131
- "sha": "6878a6a2",
132
- "date": "2026-09-01",
133
- "scope": "combobox",
134
- "title": "add size prop (sm/default/lg/xl) threading to Button trigger (#429)"
131
+ "sha": "dc76ed0c",
132
+ "date": "2026-10-27",
133
+ "scope": "lint",
134
+ "title": "port eight generic source-level design checks from a client prototype lab"
135
135
  },
136
136
  {
137
- "sha": "020526e3",
138
- "date": "2026-08-31",
139
- "scope": "cards",
140
- "title": "add ChatThread composition (#421)"
137
+ "sha": "1536147b",
138
+ "date": "2026-10-27",
139
+ "scope": "checks",
140
+ "title": "port rendered-browser gates from FF-BADS"
141
141
  },
142
142
  {
143
- "sha": "8a53f8db",
144
- "date": "2026-08-31",
145
- "scope": "radio-group",
146
- "title": "wire orientation prop to visual layout (#420)"
143
+ "sha": "be04d298",
144
+ "date": "2026-10-27",
145
+ "scope": "tokens",
146
+ "title": "find a token by its job, and keep every theme token described"
147
147
  },
148
148
  {
149
- "sha": "266f9d18",
150
- "date": "2026-08-31",
151
- "scope": "switch",
152
- "title": "add lg size variant (44×80px, SC 2.5.5 Enhanced compliant) (#419)"
149
+ "sha": "1cdc6099",
150
+ "date": "2026-10-27",
151
+ "scope": "storybook",
152
+ "title": "every control is described, and the story matrix is enforced"
153
153
  },
154
154
  {
155
- "sha": "ff566d2a",
156
- "date": "2026-08-31",
157
- "scope": "home",
158
- "title": "upstream shows a fork prompt; forks show their own prompts"
155
+ "sha": "da6a172e",
156
+ "date": "2026-10-27",
157
+ "scope": "storybook",
158
+ "title": "every control gets its description, type, default and widget from the registry"
159
159
  },
160
160
  {
161
- "sha": "cfa883eb",
162
- "date": "2026-08-31",
163
- "scope": "drift",
164
- "title": "Phase B — ship the checks to consumers, make fleet drift visible"
161
+ "sha": "98067816",
162
+ "date": "2026-10-27",
163
+ "scope": "mcp",
164
+ "title": "shared lookup module and a bads-lookup command"
165
165
  },
166
166
  {
167
- "sha": "6ecf12ac",
168
- "date": "2026-08-31",
169
- "scope": "drift",
170
- "title": "drift elimination Phase A — generated-artifact gate, registry truth, doctor, sync manifest v2, CLAUDE.md freshness"
167
+ "sha": "7dc43dc8",
168
+ "date": "2026-10-27",
169
+ "scope": "motion",
170
+ "title": "advisory ratchet on which property a transition moves"
171
171
  },
172
172
  {
173
- "sha": "0f7128a2",
174
- "date": "2026-08-30",
175
- "scope": "pagination",
176
- "title": "size prop — sm / default / lg (Tier 4, Night Shift 2026-08-30) (#414)"
173
+ "sha": "886ae8a4",
174
+ "date": "2026-10-27",
175
+ "scope": "a11y",
176
+ "title": "test reflow at 320px, block zoom-blocking meta, name scroll regions"
177
177
  },
178
178
  {
179
- "sha": "dabbf55e",
180
- "date": "2026-08-30",
181
- "scope": "progress",
182
- "title": "striped and animated variants (Tier 4, Night Shift 2026-08-30)"
179
+ "sha": "f25153ab",
180
+ "date": "2026-10-27",
181
+ "scope": "release",
182
+ "title": "advisory check that the changeset matches the registry diff, and the bump rule"
183
183
  },
184
184
  {
185
- "sha": "9112a926",
186
- "date": "2026-08-30",
187
- "scope": "Textarea",
188
- "title": "add size prop — sm / default / lg / xl via CVA (#404)"
185
+ "sha": "b7e375ee",
186
+ "date": "2026-10-26",
187
+ "scope": "deck-builder",
188
+ "title": "token-driven presentation skill, builder, lint and PDF export (#710)"
189
189
  },
190
190
  {
191
- "sha": "938f194a",
192
- "date": "2026-08-29",
193
- "scope": "Input",
194
- "title": "add ghost and filled variant props (#411)"
191
+ "sha": "af39210f",
192
+ "date": "2026-10-26",
193
+ "scope": "preview",
194
+ "title": "sticker sheet, every component and story in light and dark (#691)"
195
195
  },
196
196
  {
197
- "sha": "4f0e1b1e",
198
- "date": "2026-08-29",
199
- "scope": null,
200
- "title": "add Table striped/bordered/compact variants (#409) [Night Shift]"
197
+ "sha": "ef49081e",
198
+ "date": "2026-10-26",
199
+ "scope": "core",
200
+ "title": "add bads-lint-token-primitives"
201
201
  },
202
202
  {
203
- "sha": "20f54a22",
204
- "date": "2026-08-29",
205
- "scope": "DataTable",
206
- "title": "add stickyHeader prop + Table wrapperClassName/wrapperStyle (#405)"
203
+ "sha": "804301c6",
204
+ "date": "2026-10-23",
205
+ "scope": "ux-tells",
206
+ "title": "four rendered layout tells, adapted from Hallmark (advisory)"
207
207
  },
208
208
  {
209
- "sha": "11e74884",
210
- "date": "2026-08-28",
211
- "scope": "RadioGroupItem",
212
- "title": "add size prop — sm / default / lg via CVA (#406)"
209
+ "sha": "55f32ac4",
210
+ "date": "2026-10-22",
211
+ "scope": "a11y",
212
+ "title": "advisory APCA report beside the WCAG 2 ratios (opt-in)"
213
213
  },
214
214
  {
215
- "sha": "d277fc62",
216
- "date": "2026-08-27",
217
- "scope": "select",
218
- "title": "add lg and xl size variants (#396)"
215
+ "sha": "cec2d391",
216
+ "date": "2026-10-22",
217
+ "scope": null,
218
+ "title": "small gaps from the Medium reading report (tables, token refs, streaks, spec drift)"
219
219
  },
220
220
  {
221
- "sha": "ad927e12",
222
- "date": "2026-08-27",
223
- "scope": "search-input",
224
- "title": "add SearchInput composition primitive (#397)"
221
+ "sha": "2a96fd2b",
222
+ "date": "2026-10-22",
223
+ "scope": "tools",
224
+ "title": "find:duplicates reports near-duplicate compositions and emerging prototype patterns"
225
225
  },
226
226
  {
227
- "sha": "506ab78a",
228
- "date": "2026-08-26",
229
- "scope": "ethics",
230
- "title": "apply 8 HIGH data-entry findings — registry anti-patterns + lint"
227
+ "sha": "5192297c",
228
+ "date": "2026-10-21",
229
+ "scope": "registry",
230
+ "title": "check that listed props exist in source, fix the drift it found"
231
231
  },
232
232
  {
233
- "sha": "b8a14b22",
234
- "date": "2026-08-26",
235
- "scope": "lint",
236
- "title": "guard against analytics SDKs in @core; close stale PostHog findings"
233
+ "sha": "864c3476",
234
+ "date": "2026-10-20",
235
+ "scope": "skills",
236
+ "title": "/next always ends with an outstanding item (#690)"
237
237
  },
238
238
  {
239
- "sha": "056731e7",
240
- "date": "2026-08-26",
241
- "scope": "skeleton-table",
242
- "title": "add SkeletonTable sub-component [Night Shift] (#355)"
239
+ "sha": "925b4334",
240
+ "date": "2026-10-20",
241
+ "scope": "skills",
242
+ "title": "/next, one backlog item at a time, recommend, act at 80% confidence (#689)"
243
243
  },
244
244
  {
245
- "sha": "d9e2c5f2",
246
- "date": "2026-08-26",
245
+ "sha": "c49c1886",
246
+ "date": "2026-10-19",
247
247
  "scope": "[Night Shift]",
248
- "title": "feat([Night Shift]) Add Progress intent prop (#367)"
248
+ "title": "feat([Night Shift]) Add OTPInput component"
249
249
  },
250
250
  {
251
- "sha": "86a364ac",
252
- "date": "2026-08-26",
253
- "scope": "[Night Shift]",
254
- "title": "feat([Night Shift]) Add Checkbox size prop (#368)"
251
+ "sha": "d1c32588",
252
+ "date": "2026-10-19",
253
+ "scope": "primitives",
254
+ "title": "add InlineEdit primitive (T1) [night-shift]"
255
255
  },
256
256
  {
257
- "sha": "a6aac73f",
258
- "date": "2026-08-26",
259
- "scope": "rename",
260
- "title": "make a fresh fork's docs speak as the fork (#381)"
257
+ "sha": "a7fdfb01",
258
+ "date": "2026-10-19",
259
+ "scope": "compositions",
260
+ "title": "add FileTree composition (T3)"
261
261
  },
262
262
  {
263
- "sha": "0fd4f0d9",
264
- "date": "2026-08-26",
265
- "scope": null,
266
- "title": "add ToggleTip component (#378) [Night Shift]"
263
+ "sha": "5405280a",
264
+ "date": "2026-10-18",
265
+ "scope": "composition",
266
+ "title": "add MembersTable — night shift 2026-10-18"
267
267
  }
268
268
  ]
269
269
  }