# UI Inventory This directory is the machine-readable starting point for UI ownership and future hotswap work. Current scope: - Identify stable shell, sidebar, navigation and primitive component names. - Record current file paths and backing libraries. - Mark adapter candidates for later `packages/ui` migration. This inventory does not move components. App code should keep its current imports until a category-specific migration introduces real `@toolctrl/ui/*` adapter exports. Files: - `schema.json` declares the inventory shape and allowed categories/statuses. - `components.json` lists current shell, navigation and root UI primitive ownership. - `surfaces.schema.json` declares the stable UI surface/action/nav map shape. - `surfaces.json` maps stable `data-ui-id` values to source files and renderers. - `surface-map.md` is the human-readable companion for prompts and reviews. The app test suite validates that inventory paths exist, lowercase `apps/web/app/components/ui/*.tsx` primitive files are represented here, and stable registry IDs are represented in the surface map.