mirror of
https://github.com/openai/codex.git
synced 2026-09-08 15:50:34 +00:00
## Why A failed network policy amendment must not grant access to the requested host or approve it for the rest of the session. ## What changed - Only approve the host for the session after the allow amendment is applied successfully. - Otherwise deny the pending request and record a policy-denial outcome for its owning call. ## Testing Added a managed-network regression test that submits an invalid allow amendment, verifies that the request is blocked, and confirms that retrying the host prompts for approval again. GitOrigin-RevId: b2014d19128133abd5e19b8a7e4eb27810a45306