mirror of
https://github.com/openai/codex.git
synced 2026-11-10 08:43:33 +00:00
Expose managed application network requirements (#42417)
## What changed - Add `application.network` managed requirements with exact-domain allow/deny rules, default-enabled behavior, domain normalization, and normal managed TOML precedence. - Return the policy separately from agent network requirements through the experimental `configRequirements/read` API. The endpoint reports the policy but does not enforce it. - Export the new protocol types and schemas, and document the TOML format. ## Testing - Cover parsing, validation, normalization, layered precedence, and cloud requirement composition. - Verify app-server responses, defaults, separation from agent policy, and rejection of invalid domains. GitOrigin-RevId: 563eeed296d9748430b819797204a44a8db92f3b
This commit is contained in:
1 parent
88912c04cd
commit
b27a6321fa
27 files changed
+658
-5
No files matched your search
@@ -9971,6 +9971,7 @@ async fn test_requirements_web_search_mode_allowlist_does_not_warn_when_unset()
|
||||
default_permissions: None,
|
||||
remote_sandbox_config: None,
|
||||
allowed_web_search_modes: Some(vec![codex_config::WebSearchModeRequirement::Cached]),
|
||||
application: None,
|
||||
allow_managed_hooks_only: None,
|
||||
allow_appshots: None,
|
||||
allow_remote_control: None,
|
||||
|
||||
@@ -3220,6 +3220,7 @@ impl Config {
|
||||
exec_policy: _,
|
||||
enforce_residency,
|
||||
network: network_requirements,
|
||||
application: _,
|
||||
filesystem: filesystem_requirements,
|
||||
additional_developer_instructions: _,
|
||||
guardian_policy_config_source: _,
|
||||
|
||||
Reference in new issue
Block a user