The current frontend persists authenticated session context locally so role-aware dashboards and Studio routes can survive refreshes in the MVP environment.
Miragen V2 stores the bearer token and user role in persisted client state for this pass. A hardened cookie-based production session can replace this later without changing the route architecture.