Repository navigation
Add deterministic mock authentication and safe session restoration - #46
Conversation
|
Coordinator compatibility verification: PASS for PR #45 ( Guarded rootless container startup/check passed, including eight preflight regressions. Inside that container, frozen
This supplements each issue's independent QA and hosted CI. It does not complete #13 account forms, #14 session/query-controller hardening, #15 acceptance, or real Firebase/API security validation. #13/#14 remain dependent on maintainer-approved merge of #11/#12. Both PRs remain open for review; no merge was authorized or performed. |
Provide deterministic local account/session scenarios through AuthService so F2 forms and session guards can run without Firebase, credentials or email delivery. Refs #12.
The adapter supports verified/unverified login, registration, resend/explicit verification refresh, reset, reload restore, logout, expiry/revocation and refresh errors. Only a versioned synthetic active-session marker persists; submitted passwords and provider tokens are never stored. Cancellation and operation ordering reject obsolete identity changes; composed mock data denies anonymous/unverified reads and stale responses. The services README documents fixed demo credentials and disposable account behavior.
Delivered SHA:
8fc0de230c7b04036cc7fb5c51e899666ae56549, branchfeat/f2-mock-auth.Container validation passed: rootless environment/eight preflight checks, frozen npm ci, format/lint/type, 134 unit tests/seven files, production build and Chromium/Firefox foundation smoke. Independent QA also passed eight supplemental auth edge probes in each browser. Lockfiles unchanged. Exact commands and limitations:
docs/engineering/f2-auth-verification.md. Independent QA PASS; hosted quality CI PASS.Combined verification with PR #45 passed 140 unit tests and six Chromium/Firefox checks, including session restore without a modal flash and sign-out/reload. This supplements independent issue QA; #15 owns consolidated regression coverage.
Forms and complete account browser journeys remain #13/#15; expanded query/session-controller coverage is #14; real Firebase/API/security validation remains Phase 2. No ADR/spec deviation, host installations, secrets or licensed data. Ready for maintainer review; leave #12 open until approved merge.