mirror of
https://github.com/openai/codex.git
synced 2026-11-06 20:20:34 +00:00
## What changed Add the disabled-by-default `async_compaction_root_only` feature flag. When enabled, it restricts background compaction to root sessions, excluding non-root agents. Expose the flag in the configuration schema. ## Testing Add a parameterized test covering root session eligibility and eligibility for review subagents and guardian sessions with the flag enabled and disabled. GitOrigin-RevId: b4cce3f24f7f418ae61a82a7aef310f849cfd532