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
1.7 KiB
1.7 KiB
M13 Codex Optimization Overview
M13 adds an optimization layer on top of the M12 run-ready repository. The goal is to improve Codex output quality by making the implementation process more constrained where correctness matters, while still allowing local improvements inside documented boundaries.
M13 purpose
Codex should be able to:
- choose the correct entry document without ambiguity;
- work pass-by-pass without re-planning the whole product;
- use reusable skills for repeated implementation patterns;
- respect token and context budgets;
- avoid secrets leakage;
- split work safely across parallel agents or worktrees;
- self-review every implementation pass against explicit gates;
- escalate only real blockers.
New canonical Codex flow
- Read
CODEX_START.md. - Read
docs/30-codex-optimization/CODEX_RUN_CHECKLIST.md. - Read
docs/30-codex-optimization/PROMPT_DISCIPLINE.md. - Select the active pass from
docs/20-run-readiness/PASS_SEQUENCE_FINAL.md. - Select only the relevant skill from
skills/. - Implement the smallest coherent pass.
- Run
make readinessplus module-specific checks. - Fill in
docs/CODEX_EXECUTION_LOG.md. - Produce a pass summary using
prompts/codex/m13/PASS_COMPLETION_REPORT_PROMPT.md.
M13 rule hierarchy
If instructions conflict, follow this order:
docs/governance/GEOINTEL_CONSTITUTION.mddocs/governance/ARCHITECTURE_INVARIANTS.mddocs/governance/FORBIDDEN_DECISIONS.mdCODEX_START.mddocs/30-codex-optimization/*- active pass prompt
- module documentation
- historical milestone documents
Historical M0-M12 documents remain useful, but they must not override governance, invariants, M12 final readiness, or M13 optimization rules.