Skip to content

feat: establish exact domain and immutable backend schema - #61

Merged
DavidVFitzGerald merged 4 commits into
mainfrom
feat/b1-domain-schema
Nov 15, 2026
Merged

DavidVFitzGerald merged 4 commits into
mainfrom
feat/b1-domain-schema

Conversation

@DavidVFitzGerald

@DavidVFitzGerald DavidVFitzGerald commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Refs #57

Establish the backend foundation used by the read API and ingestion: exact decimal/string boundaries, deterministic release-scoped flow identities, source-preserving staging, harmonized SQLAlchemy relations and a clean Alembic migration. PostgreSQL enforces revision membership, score states and immutable published history; the API role can select only safe ever-published views, while import and publication roles remain separate.

Add an isolated rootless backend Postgres profile, pinned shared uv member, single lock honoring vendored Airflow constraints, container checks and backend CI. Resolver probes verify the intended lean Firebase/FastAPI selection and combined Airflow/PySpark stack without introducing placeholder services.

Validation: frozen lock/install, 9 unit cases, 5 disposable PostgreSQL scenarios, Ruff, strict MyPy, clean/idempotent migration and lean/combined constrained resolver probes pass in guarded containers. Regressions cover publication/write and release-metadata races, historical rule/flow integrity and importer temp-table shadowing. Independent QA and hosted checks for the delivered SHA remain required.

See docs/engineering/b1-verification.md for exact commands, role/view interfaces and B2/B3/B4 handoff. Records ADR 0005 acceptance from the already-authorized PR #56 merge. No frontend code, API endpoints, ingestion or production publication are included.

@DavidVFitzGerald
DavidVFitzGerald merged commit f790803 into main Nov 15, 2026
2 checks passed
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