Phase 1

Production-grade frontend scaffold

Phase 1 establishes the archive, tooling, and guardrails for the admin console rollout.

Quality gate
Every meaningful change is expected to clear lint, type-check, test, and build in one pristine pass.
  1. 1. `pnpm lint`
  2. 2. `pnpm type-check`
  3. 3. `pnpm test`
  4. 4. `pnpm build`

Session context

Firebase auth
Phase 3 resolves identity, firm scope, and container scope before feature routes mount.

Resolving session context…

Architecture guardrails
ESLint import boundaries keep app, features, lib, and UI layers moving in one direction.
Typed contracts
The scaffold is wired to consume shared types now and the generated OpenAPI contract next.
Test-first delivery
Vitest, MSW, and Playwright are in place so new slices land with real red/green coverage.