Project: pixel-dash · Branch: feat/auth-routes · Mode: default · Model: gpt-5 Summary Added route guards: unauthenticated users are redirected to sign-in with a return URL, and role-restricted pages render a 403 view instead of an empty dashboard. Conversation Turn 1 — User Pages flash empty data before redirecting to login. Turn 1 — Assistant Resolve the session in a route loader before render, redirect with ?next=, and add a typed requireRole helper for admin pages. Tools used in this turn: - Write: src/routes/guards.ts - Edit: src/router.tsx - Bash: pnpm test — 31 passed Connections - pixel-dash - React - Authorization