Skip to content

feat: authenticated read API and OpenAPI contracts - #70

Merged
DavidVFitzGerald merged 3 commits into
feat/b1-domain-schemafrom
feat/b2-read-api
Nov 15, 2026
Merged

DavidVFitzGerald merged 3 commits into
feat/b1-domain-schemafrom
feat/b2-read-api

Conversation

@DavidVFitzGerald

@DavidVFitzGerald DavidVFitzGerald commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Refs #58

Adds the authenticated, read-only FastAPI service over B1's published-only PostgreSQL views. Discovery and comparison endpoints preserve exact decimal strings, unavailable/absent states and immutable snapshots, with query-bound signed cursors/tokens, bounded windows, cancellation and safe errors. Firebase Admin verifies real identities and revocation; local tests use the pinned Auth Emulator. The frontend remains mock-backed until I1.

Adds the actual API uv member, frozen lock, unprivileged lean runtime, isolated Compose profiles, authoritative OpenAPI export/drift checks and focused API/auth CI. This is stacked on B1 PR #61; no backend merge or deployment is implied.

Local container checks PASS: frozen lock/sync, Ruff, strict MyPy, 11 unit cases, 5 inherited database scenarios, 4 API scenarios and 1 real Auth Emulator scenario. Coverage includes 205-ID paging, Unicode cursor boundaries, precision/missingness, warning scope, snapshots and expiry/revocation. Both official-constraint compatibility probes pass. Runtime image build and real HTTP health/readiness/auth/release smoke pass; the unprivileged image excludes Airflow/PySpark. docs/engineering/b2-verification.md records commands and I1 contract reconciliation. Independent exact-SHA QA and final hosted checks remain required; this PR stays draft pending their results.

@DavidVFitzGerald
DavidVFitzGerald marked this pull request as ready for review November 15, 2026 12:55
# Conflicts:
#	docs/engineering/roadmap.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant