From 3dab75fde5179c2338240bb314abcd08800e5b6a Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 14 Aug 2026 23:09:45 +0200 Subject: [PATCH] Record which design_system exports actually have a live consumer An extracted component with no importer is the failure mode the audit exists to prevent, so leaving that implicit was the wrong call. EmptyState and AppStatusColors ship ahead of their consumers -- both have real donors waiting, and AppStatusColors has to exist for showError to read the danger hue off the theme -- but neither is validated, and the table now says so rather than letting the package read as fully proven. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01XS1m7b1piBtAL22USLW6jL --- unified-design-system/nielsen-audit.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/unified-design-system/nielsen-audit.md b/unified-design-system/nielsen-audit.md index 54eaa7e..ffb9891 100644 --- a/unified-design-system/nielsen-audit.md +++ b/unified-design-system/nielsen-audit.md @@ -62,6 +62,26 @@ two-repo extraction criterion, which most of them currently fail. Proof consumers `todo` and `untools` are migrated, verified and pushed. +### Which exports have a live consumer + +An extracted component with no importer is the failure mode this audit +exists to prevent, so the honest status per export: + +| Export | Live consumers | +|---|---| +| tokens, palette, themes | todo, untools | +| `confirmDestructive` | todo (2 sites) | +| `showToast` / `showError` | todo (3 sites) | +| `SectionHeader` | untools (2 sites) | +| `EmptyState` | **none yet** — donor is home_inventory (3 sites), unmigrated | +| `AppStatusColors` | **none yet** — 4 donors, all unmigrated | + +The last two ship ahead of their consumers. That is defensible (both have +real donors waiting, and `AppStatusColors` must exist for `showError` to read +the danger hue off the theme) but it is not *validated*, and it should be +called that way until home_inventory or one of the status-color donors +migrates. + ### Corrections to the original plan, found by measuring The plan's figures were mostly right but three were not, and the difference