System-wide audit of `src/uix/*` + `src/arts/adom` (excluding demos and
web/routes). Findings + fixes documented in `src/uix/AUDIT_REPORT_2026-05-27.md`.
**Fixed**:
1. `src/uix/eidos/lint.test.ts`: "every eidos CSS component has a morfo
file" test extended to walk `morfo/internal/` as well as
`morfo/components/`. The picker-shell relocation (audit-codex P1 #5)
moved picker-shell to internal but the test wasn't updated.
2. `src/uix/contracts.test.ts`: two pre-existing failures resolved.
(a) Picker WithChild regex updated to accept the
`WithChild<Omit<PrimitiveDivAttributes, ...> & {...}>` shape applied
in the audit-codex P0/P1 picker ProviderProps refactor.
(b) `collectPublicSomaComponentDirs` now skips `picker-shell` as an
internal primitive (symmetric to `collectKnownMorfoDataAttrs` which
now walks `morfo/internal/` to include the picker-shell data-attrs).
3. `src/uix/soma/components/command/command-provider.svelte.ts`:
restored missing `createAttrs(commandMorfo)` import. Was the only
ERROR in `npm run check` baseline.
4. `src/uix/soma/components/dialog/types.ts`: JSDoc comment updated to
reflect polymorphic close shape (cosmetic alignment with the 2026-05-27
refactor).
**Result**:
- `npm run check`: 1 ERROR → **0 ERRORS** ✓
- `npx vitest run src/uix`: 5 failed → **2 failed** (both 100% in user's
words/* WIP, not framework code)
- Polymorphic close + persistence + a11ySemantic rollout: **zero drift
detected** across morfos / providers / sema cascades / tests.
**NOT actioned** (documented in report):
- 6 pre-existing `morfo:check` failures (avatar / color-picker /
date-picker / dropdown-menu / table / tree-grid). All require domain
decisions (drop 'idle' state vs add it to morfo enum, etc.).
- 1 navigation-menu data-state='visible' eidos selector drift.
- ~14 README/`.md` files with stale Dialog/Drawer/Popover descriptions.
- Words editor doctrinal cleanup (user's WIP).
- Tooltip polymorphic alignment (optional, no consumer benefit today).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>