GeoIntel release gates / Compile, test, contracts and builds (push) Successful in 1m49s
GeoIntel release gates / Python and npm vulnerability policy (push) Successful in 21s
GeoIntel release gates / Production AI image, SBOM and container scan (push) Successful in 5m39s
GeoIntel release gates / Deploy exact gated revision to Unraid (push) Failing after 58m43s
690 B
690 B
Pass 02 — Domain and Database Foundation Final Prompt
Implement database/domain foundation after backend health is stable.
Required deliverables:
- SQLAlchemy setup;
- Alembic setup;
- PostGIS-compatible geometry model strategy;
- models for Project, Area, Dataset, AnalysisRun, Detection, Metric, Export;
- Pydantic schemas;
- migration instructions;
- tests for model import and schema validation.
Rules:
- Follow
CANONICAL_DOMAIN_MODELS.md. - Follow
STATE_MACHINES.md. - Do not store geospatial data as arbitrary JSON when a PostGIS geometry column is the correct target.
- If local PostGIS is unavailable, provide graceful test fallback but keep production target PostGIS.