▶ a-admin-teleport ⏸ hold on the starting page (3s) » Sign in as support.e2e@rubberduckai.com ! sign-in submitted before hydration; retrying (1) » Sign in as support.e2e@rubberduckai.com ✓ a support admin with no learner profile lands on Settings → Teleport after sign-in » Password sign-in needs mailbox proof before Teleport unlocks ✓ a Magic Auth code was sent to the admin mailbox » Admin entry point: Settings → Teleport → View another account » The browser’s own admin JWT cannot write the audit table directly ✓ backend POST /teleport/views with only the admin JWT is refused (403 {"detail":"Teleport is not available for this account."}) ✓ no audit row was written without the Next-signed assertion » A signed backend request is accepted once; replaying it is refused ✓ a correctly signed backend request is accepted once (GET /teleport/history → 200) ✓ replaying the same signed request is refused (409 {"detail":{"code":"teleport_assertion_replayed","message":"This Teleport request was already used."}}) ✓ the backend recorded the assertion id once in teleport_assertion_nonces » Teacher accounts cannot be opened in Teleport ✓ the admin stays on Settings after the teacher target is refused ✓ the backend wrote no audit row for the teacher target » Teleport into the learner ✓ banner shows the target, read-only and expiry: "Viewing as teleport.target.e2e@example.test · Read-only · Ends 3:20 AM · Teleport back" » Viewing the learner’s dashboard read-only ✓ an audit row records admin, target and start in teleport_sessions ✓ the audit row is open with at most a 30-minute expiry ✓ only a SHA-256 digest of the view token is stored » Teacher pages are refused while viewing (default-deny page allowlist) ✓ GET /teachers/classes during Teleport → 403 ✓ the refusal page leads back to the learner dashboard, still in the view » Write attempt: edit the learner’s name in Settings and save ✓ PATCH /api/profile is refused by the Next proxy (403) ✓ the proxy names the read-only reason ("This action is unavailable while viewing as another user.") » Save refused: “Teleport is read-only. Nothing was saved.” ✓ the learner profile in D1 is unchanged » Backend write with the Teleport token is refused too ✓ the app hands the browser the Teleport view token, not the admin JWT ✓ backend POST /sessions is refused (403 {"detail":"Teleport is read-only. This route is not available.","code":"teleport_read_only"}) ✓ backend allows an allowlisted read with the same token (GET /sessions/lesson-progress → 200) ✓ backend refuses reads outside the allowlist (GET /profile → 403) » Exit: Teleport back ✓ the banner is gone and the admin is back in their own Settings ✓ Teleport back closed the audit row (ended_at set) ✓ Recent Teleport sessions shows the view as Ended » Audit history lists the ended view » Expiry: start a second view, then let it run out » The view’s expiry passes; the next check ends it ✓ the banner switches to "Teleport ended" once the view has expired » Banner: “Teleport ended” ✓ the browser no longer receives a Teleport token after expiry ✓ no audit row is left open after expiry ✓ the backend stamped the expired view with its expiry time ✓ Recent Teleport sessions shows the second view as Expired ✓ exactly two audit rows were written for two views » Audit history: one Ended, one Expired ⏸ hold after the final assertion (3s) » a-admin-teleport: all checks passed ✔ a-admin-teleport → /agent/repos/Rubberduck/e2e/local/.artifacts/a-admin-teleport/a-admin-teleport.webm ▶ b-non-admin-denied ⏸ hold on the starting page (3s) » Sign in as grant.active.e2e@example.test » A student’s Settings has no Teleport tab ✓ no Teleport tab for a non-admin » Opening ?tab=teleport directly falls back to About me ✓ the Teleport form never renders for a non-admin » Forged same-origin POST /api/teleport is refused ✓ POST /api/teleport → 403 {"error":"Teleport is not available for this account."} ✓ GET /api/teleport reports admin:false and no view ✓ GET /api/teleport/history → 403 » Calling the backend directly with the student’s own JWT is refused too ✓ backend POST /teleport/views with a forged assertion → 403 ✓ no audit row was written » Non-admin denied; nothing audited because nothing opened ⏸ hold after the final assertion (3s) » b-non-admin-denied: all checks passed ✔ b-non-admin-denied → /agent/repos/Rubberduck/e2e/local/.artifacts/b-non-admin-denied/b-non-admin-denied.webm ▶ c-grant-access ⏸ hold on the starting page (3s) » Sign in as grant.active.e2e@example.test ! sign-in submitted before hydration; retrying (1) » Sign in as grant.active.e2e@example.test ✓ active-grant student lands on /dashboard ✓ the dashboard is still where the student is » Active complimentary grant: dashboard » Science → California grade 5 path ✓ the Study Ducky start is a California chapter (/dashboard/ca-grade-5-gravity?scope=all) » Study Ducky session page is open ✓ backend creates a Study Ducky session for the active-grant student (POST /sessions → 200 {"session_id":"3998a2fb-4973-4fdc-92a2-4d1021faf8ca","graph_job_id":"55cd2892-f2f8-423d-bb71-ea4f850f5023","status":"rea) » Sign out; switch to the expired-grant student » Sign in as grant.expired.e2e@example.test » Expired grant: sent to /subscribe instead of the dashboard ✓ expired-grant student is gated at /subscribe ✓ deep-linking to a Study Ducky session is gated too ✓ backend refuses the expired-grant student (POST /sessions → 403 {"detail":"Finish setting up Ducky before starting your free trial."}) » Expired grant gated in the app and the API ⏸ hold after the final assertion (3s) » c-grant-access: all checks passed ✔ c-grant-access → /agent/repos/Rubberduck/e2e/local/.artifacts/c-grant-access/c-grant-access.webm Teleport E2E passed