mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
## Why Project instructions could be truncated or skipped when the byte budget ran out without a user-facing warning. ## What changed - Report truncated files and skipped files or environments, with guidance to trim instructions or increase `project_doc_max_bytes`. - Warn when combined instructions exceed the configured budget, clarifying that global and thread instructions contribute to the total but the limit applies only to project files. - Refresh cached project instructions when `project_doc_max_bytes` changes. ## Testing Add warning snapshots for truncated files, skipped files and environments, and combined instructions exceeding the budget. GitOrigin-RevId: 121eebb8ac8891decada2d028c194aa687815466