Files
codex/codex-rs/config/src/requirements_layers/mod.rs
T
andrewgu-oai e53c444964 Warn about ignored configuration settings (#44691)
## Why

Unrecognized settings can be silently ignored, leaving typos or deprecated configuration unnoticed.

## What changed

- Collect warnings for unrecognized fields in effective configuration and requirements layers, including unknown feature keys in configuration.
- Report sources and field names without configuration values, show up to three entries, and provide migration hints for `network_proxy`, `allowed_permissions`, and `include_view_image_tool`.
- Emit project-specific warnings when starting a thread and suppress repeated startup warnings in the app server and TUI.

## Testing

Add coverage for merged configuration, disabled layers, startup and project warning delivery, omission of configuration values, and warning deduplication.

GitOrigin-RevId: 464cef87882502b19865ae10b50b6f82defb7296
2026-09-11 00:55:51 +00:00

12 lines
253 B
Rust

mod hooks;
mod layer;
mod models;
mod permissions;
mod rules;
mod stack;
pub use layer::RequirementsLayerEntry;
pub(crate) use layer::strip_cloud_auth_requirements;
pub use stack::compose_requirements;
pub use stack::compose_requirements_for_hostname;