Files
codex/codex-rs/tui/src
gt-oai 932a5a446f config requirements: improve requirement error messages (#8843)
**Before:**
```
Error loading configuration: value `Never` is not in the allowed set [OnRequest]
```

**After:**
```
Error loading configuration: invalid value for `approval_policy`: `Never` is not in the
allowed set [OnRequest] (set by MDM com.openai.codex:requirements_toml_base64)
```

Done by introducing a new struct `ConfigRequirementsWithSources` onto
which we `merge_unset_fields` now. Also introduces a pair of requirement
value and its `RequirementSource` (inspired by `ConfigLayerSource`):

```rust
pub struct Sourced<T> {
    pub value: T,
    pub source: RequirementSource,
}
```
2026-01-08 16:11:14 +00:00
..
2025-09-15 00:42:53 -07:00
2025-08-05 04:23:22 +00:00
2025-12-18 10:59:53 -08:00
2025-11-17 11:49:09 -08:00
2025-12-18 10:59:53 -08:00
2025-12-22 09:53:03 +01:00
2026-01-06 18:02:05 +00:00
2025-09-30 00:10:04 +00:00