Support header injections in network requirements (#42173)

## What changed

- Parse `experimental_network.header_injections` rules with host, method, path-prefix, and header mappings and carry them into `NetworkConstraints`.
- Export the rule type from `codex_config`.
- Summarize configured rule counts and hosts in the TUI debug configuration without exposing header values.

## Testing

- Cover managed configuration parsing and redaction of header values from debug output.

GitOrigin-RevId: 623b047e6c6111a9f2ccbe79c9ace054631a3c67
This commit is contained in:
andrewhuang-oai authored and copyberry committed 2026-09-02 01:50:51 +00:00
1 parent 12ed76b09b
commit 671d5d1b35
5 files changed
+80 -3

No files matched your search

@@ -3065,7 +3065,7 @@ fn fresh_session_applies_requested_name() -> Result<()> {
#[test]
fn session_lifecycle_avoids_redundant_subagent_metadata_reads() -> Result<()> {
const TEST_STACK_SIZE_BYTES: usize = 8 * 1024 * 1024;
const TEST_STACK_SIZE_BYTES: usize = 16 * 1024 * 1024;
std::thread::Builder::new()
.name("tui-session-lifecycle-requests".to_string())