docs(ui): record baseline audit completion
This commit is contained in:
parent
f0cdfe6776
commit
8709375e2a
@ -22,7 +22,7 @@ Live source of truth for migrating `learning_ai_invt_trdg` UI/UX and platform cl
|
||||
|
||||
| Status | Phase | Scope / Repo | Implementation Summary | Verification Commands | Commit Hash | Notes / Deferrals |
|
||||
|---|---|---|---|---|---|---|
|
||||
| [ ] | 1. Baseline audit and package-source rules | product | Add UI drift audit script and package scripts; document ownership; keep local common-platform resolution available through sibling checkout without editing `.npmrc`. | `pnpm run audit:ui`; `pnpm run audit:ui:strict` expected to fail during debt baseline; `node -e "require('./.pnpmfile.cjs')"`; `git diff --check` | Pending | Strict audit remains disabled until cleanup phase. |
|
||||
| [x] | 1. Baseline audit and package-source rules | product | Added UI drift audit script and package scripts; documented ownership; kept local common-platform resolution available through sibling checkout without editing `.npmrc`. | Passed: `BYTELYST_PACKAGE_SOURCE=common-plat BYTELYST_COMMON_PLAT_ROOT=/Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat pnpm install -r --frozen-lockfile`; `pnpm run audit:ui`; `pnpm --filter @bytelyst/trading-web typecheck`; `node -e "require('./.pnpmfile.cjs')"`; `git diff --check`. Expected fail: `pnpm run audit:ui:strict` reports 48 raw controls, 21 legacy classes, 520 color literals, 0 direct `@bytelyst/ui` imports. | `f0cdfe6776b34299abed68bc1741204f16d29723` | Strict audit remains disabled until cleanup phase. Existing pnpm `.npmrc` warning for missing `GITEA_NPM_TOKEN` observed; `.npmrc` was not edited. |
|
||||
| [ ] | 2. Common-platform package inventory | product + common | Map product needs to existing common packages for UI, design tokens, platform/auth/session, telemetry, diagnostics, feature flags, kill switch, blob/extraction/offline/broadcast/billing/feedback/survey, datastore/config/errors. | `rg "@bytelyst/" --glob '!node_modules/**'`; common package export inspection | Pending | Record any missing common-platform gaps before product migration. |
|
||||
| [ ] | 3. Common-platform UI gap closure | common | Add or adjust reusable primitives only if product migration discovers missing generic capability. | `pnpm --filter @bytelyst/ui run build`; `pnpm --filter @bytelyst/ui exec eslint src --ext .ts,.tsx`; `git diff --check` | Pending | Defer if current `@bytelyst/ui` coverage is enough. |
|
||||
| [ ] | 4. Product UI adapter foundation | product | Add `web/src/components/ui/Primitives.tsx` wrapping/re-exporting `@bytelyst/ui`; add `@bytelyst/ui` and `@bytelyst/design-tokens` dependencies through local common-platform resolution. | `BYTELYST_PACKAGE_SOURCE=common-plat pnpm install -r`; `pnpm --filter @bytelyst/trading-web typecheck`; `pnpm run audit:ui`; `git diff --check` | Pending | Direct `@bytelyst/ui` imports should be isolated to adapter. |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user