Write apps/web/docs/contracts-auth-session.md documenting what the frontend persists client-side for auth: JWT storage location (localStorage/cookie/memory — whichever it actually is), lib/jwt.ts's claim-parsing helpers, and how AuthContext.tsx initializes/refreshes/clears session state.
Acceptance criteria:
- Storage mechanism and location for the auth token is documented precisely
- The session initialization sequence on app load (token present vs. absent) is documented
- Logout/clear behavior is documented, including whether device-side crypto state is also cleared
Write
apps/web/docs/contracts-auth-session.mddocumenting what the frontend persists client-side for auth: JWT storage location (localStorage/cookie/memory — whichever it actually is),lib/jwt.ts's claim-parsing helpers, and howAuthContext.tsxinitializes/refreshes/clears session state.Acceptance criteria: