Files
geointel/docs/TODO.md
T
Codex acf95905ca
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Extract QA and map workbench components
2026-06-17 04:14:35 +02:00

9.3 KiB

GeoIntel TODO

This file now starts with the current implementation status. Older preparation/backlog sections are preserved below as historical planning context and should not be treated as the live sprint board without checking docs/CODEX_EXECUTION_LOG.md.

Release hardening status

  • Remove Python datetime.utcnow() deprecation warnings from backend service paths.
  • Split frontend production build into app, React vendor and MapLibre vendor chunks.
  • Enforce Python deprecation warnings as release-readiness failures.
  • Fix Docker backend package install order and remove mandatory root .env dependency.
  • Add Docker build context ignores for backend and frontend.
  • Run Docker/PostGIS live validation on Tower/Unraid.

Current implementation status

  • Backend FastAPI foundation, health endpoint and service structure.
  • React/TypeScript frontend foundation and MapLibre workbench.
  • Map layer visibility, opacity and feature property inspection.
  • Selected project area/AOI map overlay with visibility and opacity controls.
  • SQLAlchemy/PostGIS ORM models and Alembic migration chain through Sprint 9.
  • Dataset upload, storage metadata and vector feature persistence.
  • Raster metadata and raster operation service boundaries.
  • Vector operation service boundaries and fixture-backed tests.
  • Provider registry skeleton for GRB, OSM, manual and fixture providers.
  • Detection Lab foundation, persistence, GeoJSON output and QA integration.
  • Configured-YOLO optional dependency strategy and local preflight.
  • Segmentation Lab foundation, persistence, GeoJSON output and QA integration.
  • QA/QC golden benchmark fixtures and script.
  • Explicit offline demo workflow seed for project, AOI, fixture datasets and persisted QA metrics.
  • Project-scoped QA/QC result listing and frontend QA/QC Results panel.
  • Persisted export foundation for vector/detection/segmentation GeoJSON and project metadata JSON.
  • Lightweight HTML project report artifact export.
  • V1 readiness handoff summary in project metadata/report exports.
  • Browser-facing demo/export workflow smoke script with connected V1 state checks.
  • Compact V1 workbench status strip for project, AOI, datasets, map, QA/QC and exports.
  • Dry-run-first demo export artifact cleanup tooling.
  • Live Docker/PostGIS validation on Tower/Unraid.
  • Real YOLO compatibility smoke with optional AI extras and local model file.
  • Detection and segmentation workflow hook extraction beyond Sprint 10.
  • Export and QA/QC workflow hook extraction beyond Sprint 10.
  • Dataset, raster and vector workflow hook extraction beyond Sprint 10.
  • Dataset detail, raster controls and vector controls component decomposition.
  • QA/QC results and map workspace component decomposition.
  • Further frontend component decomposition for export preview and shared workbench orchestration.

Sprint 8 status

  • Detection foundation ORM and migration
  • Detection model registry capability stubs
  • Detection run service boundary
  • Detection API foundation
  • Detection Lab UI foundation
  • Segmentation Lab foundation
  • Configured YOLO local preflight
  • Real YOLO/PyTorch model compatibility smoke

0. Repository Foundation

  • Repo mappenstructuur voorbereiden
  • Productdocumentatie voorbereiden
  • Architectuurdocumentatie voorbereiden
  • Codex build plan voorbereiden
  • Masterprompt voorbereiden
  • Init git repository
  • Voeg echte backend scaffold toe
  • Voeg echte frontend scaffold toe

1. Backend Foundation

  • FastAPI app aanmaken
  • Config systeem aanmaken
  • Database connectie voorbereiden
  • SQLAlchemy models toevoegen
  • Alembic migrations toevoegen
  • Health endpoint toevoegen
  • Tests voor health endpoint toevoegen

2. Database / PostGIS

  • Docker compose met PostgreSQL/PostGIS
  • PostGIS extensie activeren
  • projects tabel
  • areas tabel
  • datasets tabel
  • analysis_runs tabel
  • detections tabel
  • quality_checks tabel
  • exports tabel
  • spatial indexes

3. Frontend Foundation

  • React + TypeScript scaffold
  • Routing
  • Layout met sidebar
  • API client
  • Project pages
  • Map Workbench basis
  • Map layer controls
  • Feature property inspector
  • Selected area display

4. Project & Area API

  • POST /projects
  • GET /projects
  • GET /projects/{id}
  • POST /projects/{id}/areas
  • GET /projects/{id}/areas
  • GeoJSON validatie

5. Dataset Manager

  • Upload endpoint
  • Storage paths
  • Raster metadata extraction
  • Vector metadata extraction
  • Dataset list UI
  • Dataset detail UI

6. Raster Core

  • Rasterio metadata reader
  • Raster preview generation
  • Clip raster by area
  • Tile raster by area
  • Save tile metadata

7. Vector Core

  • GeoPandas importer
  • CRS detection
  • CRS transformation
  • Geometry validation
  • Clip vector by area
  • Store features in PostGIS

8. Reference Data

  • OSM fetcher als fallback
  • GRB integration research verwerken in code
  • Reference dataset cache
  • Reference layer viewer

9. Detection Lab

  • YOLO wrapper
  • Model config
  • Inference job
  • Pixel bbox naar geo polygon
  • Detections opslaan
  • Detection UI
  • GeoJSON export

10. QA/QC Lab

  • Spatial matching
  • IoU berekening
  • Precision/recall/F1
  • False positive layer
  • False negative layer
  • QA dashboard
  • QA export foundation

11. Segmentation Lab

  • Segmentation service design
  • Mask artifact path convention
  • Polygonize masks
  • Segmentatiekaartlaag

12. Change Detection

  • Compare two runs
  • Added/removed objects
  • Change stats
  • Change layer

13. Tests

  • Unit tests GIS helpers
  • API tests
  • DB/migration smoke tests
  • Raster fixture tests
  • Vector fixture tests
  • QA/QC tests

14. Portfolio Release

  • Demo dataset voorbereiden
  • Demo workflow documenteren
  • Screenshots toevoegen
  • README portfolio sectie
  • Full smoke test

Repo preparation additions

  • Add Data Catalog.
  • Add Analysis Specifications.
  • Add QA/QC Specification.
  • Add Raster Operations Specification.
  • Add Vector Operations Specification.
  • Add Detection Pipeline Specification.
  • Add Segmentation Pipeline Specification.
  • Add Change Detection Specification.
  • Add UI Page Specifications.
  • Add Storage Architecture.
  • Add Demo Scenarios.
  • Add Development Rules.
  • Add Codex phase prompts.

Recommended first Codex build sequence

  • Phase 1: Backend foundation using docs/CODEX_PHASE_1_PROMPT.md.
  • Phase 2: Dataset Manager using docs/CODEX_PHASE_2_PROMPT.md.
  • Phase 3: Detection + QA/QC skeleton using docs/CODEX_PHASE_3_PROMPT.md.

M2 Engineering Package

  • Add ADR decision records.
  • Add RFC placeholders for future modules.
  • Add API/database/event contracts.
  • Add model registry and class catalogs.
  • Add queue architecture.
  • Add acceptance matrix and test catalog.
  • Add Codex M2 build prompts.
  • Start Codex Pass 01 backend foundation.

M4 Autonomous Build Readiness

  • Add M4 autonomous build readiness document.
  • Add M4 sprint board.
  • Add module build contracts.
  • Add acceptance test catalog.
  • Add API example responses.
  • Add job lifecycle contract.
  • Add frontend state and route contracts.
  • Add backend service IO contracts.
  • Add model registry seed specification.
  • Add demo fixture manifest.
  • Add Codex autonomous runbook.
  • Add Codex pass prompts.
  • Add Geel demo fixtures.

Next M5 Preparation

  • Add concrete SQL migration snippets for every core table.
  • Add OpenAPI YAML draft.
  • Add frontend component prop contracts.
  • Add backend unit-test skeleton files.
  • Add frontend test skeleton files.
  • Add live data connector research notes with verified endpoints.

M5 Operational Readiness Checklist

  • CI/CD specification added.
  • Healthcheck contracts added.
  • Observability plan added.
  • Troubleshooting runbook added.
  • Rollback and recovery plan added.
  • Security checklist added.
  • Geospatial validation rules added.
  • Build governance added.
  • Codex pass documents added.
  • Smoke scripts added.
  • M6: implement actual backend foundation.
  • M6: implement database migrations.
  • M6: implement frontend shell.

M8 Codex Day-1 Readiness

  • Add Day 1 master prompt.
  • Add pass-by-pass Day 1 prompts.
  • Add autonomy boundaries.
  • Add failure recovery playbook.
  • Add quality gate matrix.
  • Add operator checklist.
  • Add smoke script scaffold.
  • Let Codex execute Day 1 implementation passes.

M10 Ultra Preparation

  • Add autonomous build charter.
  • Add Codex start-here guide.
  • Add M10 master autonomous prompt.
  • Add pass sequence.
  • Add geometry and CRS contracts.
  • Add error taxonomy.
  • Add feature flag strategy.
  • Add model adapter guide.
  • Add QA/QC matching algorithm.
  • Add frontend state machine.
  • Add implementation ticket index and tickets.
  • Add API example payloads.
  • Add final pre-Codex checklist.