2.2 KiB
2.2 KiB
Codex Tomorrow Runbook
Before starting
Use the latest full repo zip, extract it, and open the repository root.
Read:
CODEX_START.mddocs/00-start/START_HERE.mddocs/20-run-readiness/RUN_READINESS_FINAL.mddocs/20-run-readiness/PASS_SEQUENCE_FINAL.mdprompts/codex/final/DAY_1_MASTER_PROMPT.md
Operating rhythm
For each pass:
- Restate the pass goal.
- List files expected to change.
- Implement only the pass scope.
- Run the relevant commands.
- Fix failures within scope.
- Update status docs.
- Produce pass report.
Do not allow Codex to drift into
- redesigning the product;
- adding auth/multi-user early;
- building a chatbot first;
- implementing LiDAR first;
- building a full report generator first;
- replacing FastAPI/PostGIS/React;
- using only demo data without real-data-ready interfaces;
- hiding broken states behind TODO comments.
Recommended first commands
find . -maxdepth 3 -type f | sort | head -200
bash scripts/check_repo_structure.sh
python scripts/smoke_docs.py
python scripts/validate_fixtures.py
python scripts/preimplementation_audit.py
If scripts fail because permissions are missing, run them with bash scriptname.sh or python scriptname.py rather than changing architecture.
Pass report template
Pass:
Scope:
Files changed:
Commands run:
Tests/smoke checks:
What works now:
Known limitations:
Architecture invariants touched:
Golden path status:
Next pass:
Stop conditions
Stop and create a proposal note instead of coding when:
- a required architecture decision is missing;
- a chosen dependency conflicts with the dependency policy;
- a requested change violates an invariant;
- API contracts require breaking changes;
- a geospatial assumption is unclear and affects data correctness.
Success definition for tomorrow
A successful day does not require every advanced module. A successful day means:
- backend foundation exists;
- database/domain foundation exists;
- project/area/dataset flow works;
- fixture vector import works;
- QA/QC can run on fixture buildings;
- GeoJSON export exists;
- minimal UI can display the workflow or at least consume the API;
- docs and tests reflect reality.