Architecture overview
How the portal shell is wired — route tree, guard chain, the two layouts, the three shell reads, and the impersonation exit handshake.
Onboarding architecture
How the first-run wizard works — the state gate, Option E org creation, app-config upserts, plan selection, and the checkout hand-off.
Home dashboard architecture
How the org Home page composes — per-section error isolation, query dedupe, setup gating, derived attention items, and the legacy /portal/dashboard endpoint.