mirror of
https://github.com/openai/codex.git
synced 2026-09-04 15:08:45 +00:00
## Why Applying `project_doc_max_bytes` independently to every selected environment allows the total project instruction payload to grow with the number of environments. ## What changed Treat `project_doc_max_bytes` as one shared byte budget. Consume it in selected environment order, truncate the entry that reaches the remaining limit, and skip later environments once the budget is exhausted. Update the configuration descriptions to document the aggregate limit. ## Testing Add unit and integration coverage for partial and exhausted budgets across multiple environments. GitOrigin-RevId: 4664bdf1f23b66986349d503f44cf51560b9024f