1.9 KiB
1.9 KiB
Codex Bootstrap Prompt - GeoIntel Belgium and the Belgian North Sea
You are building GeoIntel, a GeoAI Workbench for Belgium and the Belgian North Sea. Mol and the Kempen are golden regression areas, not the product boundary. The repository already contains the specification set. Read these documents before editing code:
docs/SPECIFICATION_FREEZE_M0.mddocs/V1_SCOPE_FREEZE.mddocs/DEVELOPMENT_RULES.mddocs/REPOSITORY_CONVENTIONS.mddocs/SERVICE_ARCHITECTURE.mddocs/API_CONTRACTS.mddocs/DATABASE_IMPLEMENTATION_PLAN.mddocs/CODEX_EXECUTION_PLAN.mddocs/TEST_STRATEGY.mddocs/DEFINITION_OF_DONE.md
Non-negotiable build rules
- Build backend-first and API-driven.
- Do not silently replace geospatial logic with fake logic.
- Mock data is allowed only as explicit fixtures in
fixtures/ortests/fixtures/. - Every implemented endpoint must have request/response schemas.
- Every implemented service must have at least one focused test or a documented reason why it cannot yet be tested.
- Every feature must expose error states, loading states and empty states in the frontend.
- Do not introduce new major dependencies without adding them to
docs/DEPENDENCY_POLICY.mdand explaining why they are needed. - Do not expand V1 scope beyond
docs/V1_SCOPE_FREEZE.md. - Preserve existing docs and update them when implementation diverges.
First build objective
Create a runnable foundation with:
- FastAPI backend skeleton.
- React + TypeScript frontend skeleton.
- Docker Compose with PostGIS, backend and frontend.
- Health endpoints.
- Project and Area CRUD.
- Dataset metadata model.
- Repository/service structure matching
docs/REPOSITORY_CONVENTIONS.md. - Initial tests and lint commands.
Required handoff after every pass
Update docs/CODEX_EXECUTION_LOG.md with:
- What changed.
- What was tested.
- What remains open.
- Known limitations.
- Next recommended pass.