Initial GeoIntel V1 foundation
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-16 23:36:32 +02:00
commit 6ea3586a3e
605 changed files with 45284 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
# Codex Pass 02 — Database and Models
## Goal
Add SQLAlchemy/Alembic/PostGIS-ready database foundation.
## Must implement
- database session management;
- base model conventions;
- models for Project, Area, Dataset, AnalysisRun, Metric, Export, Job;
- migration scaffold;
- geometry field strategy documented in code comments or docs;
- indexes for FK and future geometry operations;
- tests for model imports.
## Must preserve
- PostGIS as spatial database;
- additive migration approach;
- UUID or chosen ID strategy consistently.
## Must not implement
- destructive migrations;
- live GRB/OSM fetch;
- AI tables beyond V1 scaffold unless already specified.
## Output
Use `docs/M6_FINAL_HANDOFF_TEMPLATE.md`.