mirror of
https://github.com/openai/codex.git
synced 2026-10-21 12:10:06 +00:00
## What changed Register the disabled-by-default `async_compaction` feature and accept either a boolean or a `[features.async_compaction]` table. Add `model_async_compact_threshold_percent` with a default of 65 and a valid range of 1–100, validated even when the feature is disabled. Setting a threshold alone does not enable the feature. Expose the threshold in the runtime configuration and update the JSON schema for both configuration forms. ## Testing Add configuration loader tests covering boolean and table forms, default and custom thresholds, explicit enablement, and rejection of out-of-range values. GitOrigin-RevId: cf33de76878e7044bc8cf5d146375a07ea9eb078