Files
geointel/docs/CODEX_PHASE_5_PROMPT.md
T
Codex 6ea3586a3e
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled
Initial GeoIntel V1 foundation
2026-06-16 23:36:32 +02:00

865 B

Codex Phase 5 Prompt — Detection Pipeline Interface

Implement the object detection pipeline interface without pretending that AI works when models are absent.

Goals

  • Detection service abstraction.
  • YOLO provider interface.
  • not_configured behavior when YOLO is disabled or model missing.
  • Test fixture provider for deterministic detection polygons in tests only.
  • Detection result persistence.
  • GeoJSON export of detections.

Requirements

  • Do not hardcode fake production detections.
  • Store confidence, class, geometry and model metadata.
  • Add API endpoint according to docs/API_CONTRACTS.md.
  • Add frontend state that shows configured/not configured.

Done when

  • Detection endpoint exists.
  • It returns not_configured by default unless explicitly enabled.
  • Tests can use fixture provider.
  • Persisted detections can be exported.