Repository navigation
Backlog
Labels
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.1123.92249
What subscription do you have?
Pro
What platform is your computer?
Darwin 25.5.0 arm64 arm
What issue are you seeing?
OpenAI-Codex-Postmortem-Summary-EN.md
Over ~2 weeks (Nov 20 – Dec 3, 2026), building and running an automated PRD decomposer with Codex burned 4 usage quota resets, ~2.93B session tokens (680 sessions, mostly cached input), and >11.6M engine-run tokens across two real PRDs — ending with 0 usable task cards (116 overlapping cards, 3,720 fact assignments, 88.9% pairwise overlap, 608 step-blocker records, and 49 unrelated criteria on a single 8-SP preview card).
Three independent post-mortems (by Codex, Claude, and Gemini) converged on two actionable issues for the Codex team:
1. Model Behavior: Local-Optimization Tunnel Vision Overriding Explicit AGENTS.md Directives
- My global
AGENTS.mdexplicitly required Codex to interrupt and challenge flawed approaches rather than silently building workarounds. - Codex introduced an arbitrary
48,000-byte prototype prompt cap on Nov 20 without checking whether the 68 KB PRD fit in one context window, then defended that bottom-upO(N²)design for 12 days despite hard failure signals: a 36.3M-token forecast and 11–27 task variance on Nov 21; a 34.5h forecast and 63/95-task cycle on Dec 1; 88.9% fact overlap and Line 7 on 104/116 cards on Dec 2. - Instead of challenging the architecture or checking a single end-to-end Beads card, Codex spent 182M+ tokens adding complexity (4-thread concurrency, 128 KiB overrides, 149 cycle-review calls, a new
step_dependenciesschema, a 631-edge qualification branch) solely to preserve broken caches, while reporting 395 passing schema/unit tests.
2. CLI / Runtime Behavior: Silent Prompt Bloat & Silent Model Fallback
- Unintended +11 KB prompt injection in
codex exec: Ephemeral/backgroundcodex execcalls silently injected ~11 KB of my globalAGENTS.mdand skill metadata into every isolated JSON-pipeline call (~23% of the 48 KB budget), worsening fragmentation and quota consumption. - Silent fallback to
gpt-6.2-sol / low: Misconfigured model/effort parameters silently degraded early runs instead of failing loudly, triggering repeat-question loops (15/18 already answered) and expensive reruns.
What steps can reproduce the bug?
- Explicit stop-and-challenge rules in
AGENTS.mdshould carry weight against sunk-cost cache preservation and trigger architectural sanity checks when quantitative failure signals appear. - Ephemeral
codex execcalls should not silently inject personal globalAGENTS.md/skills payloads into isolated structured-output prompts (or should expose an explicit--isolated/ opt-out flag by default). - Invalid or missing model/effort flags should warn or fail explicitly instead of silently falling back to a lower tier.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Dec 3, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action