Skip to content

feat(config): add managed deny-read requirements#15978

Closed
viyatb-oai wants to merge 3 commits intocodex/viyatb/deny-read-enforcementfrom
codex/viyatb/deny-read-managed-requirements
Closed

feat(config): add managed deny-read requirements#15978
viyatb-oai wants to merge 3 commits intocodex/viyatb/deny-read-enforcementfrom
codex/viyatb/deny-read-managed-requirements

Conversation

@viyatb-oai
Copy link
Copy Markdown
Collaborator

@viyatb-oai viyatb-oai commented Mar 27, 2026

Summary

This is the second PR in the deny-read stack.

It adds managed permissions.filesystem.deny_read requirements for exact paths and threads those requirements into the effective filesystem sandbox policy.

What This Changes

  • Extends requirements parsing to accept managed permissions.filesystem.deny_read
  • Applies managed deny-read entries to the effective FileSystemSandboxPolicy
  • Constrains sandbox-mode selection so managed deny-read only runs in supported sandbox modes
  • Emits the existing Windows best-effort warning for managed deny-read
  • Surfaces active managed deny-read entries in:
    • environment context
    • /debug-config
  • Updates cloud-requirements, config-loader, and related test/config fixtures to understand the new managed field

Why This Is Split Out

This PR is only about managed requirements plumbing and visibility.

The enforcement behavior lives in #15977, and glob semantics are intentionally deferred to #15979.

Not In This PR

  • glob pattern parsing or matching
  • macOS Seatbelt glob enforcement
  • any new user config.toml shorthand beyond the existing permissions stack

Stack

@viyatb-oai viyatb-oai force-pushed the codex/viyatb/deny-read-managed-requirements branch from ea26c43 to c97d7f6 Compare March 27, 2026 19:53
@viyatb-oai
Copy link
Copy Markdown
Collaborator Author

Closing this as superseded. I collapsed the managed deny-read plumbing into #15979 so the stack is now just #15977 -> #15979.

@viyatb-oai viyatb-oai closed this Mar 27, 2026
@viyatb-oai viyatb-oai reopened this Apr 11, 2026
@viyatb-oai viyatb-oai closed this Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant