Files
geointel/docs/CODEX_PHASE_5_PROMPT.md
Jens faeb58ef6d
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
Initial public release
2026-08-31 21:56:53 +02:00

27 lines
865 B
Markdown

# 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.