Enforce workspace metadata protections in Seatbelt#19847
Draft
evawong-oai wants to merge 1 commit intocodex/bugb15632-policy-primitivefrom
Draft
Enforce workspace metadata protections in Seatbelt#19847evawong-oai wants to merge 1 commit intocodex/bugb15632-policy-primitivefrom
evawong-oai wants to merge 1 commit intocodex/bugb15632-policy-primitivefrom
Conversation
This was referenced Apr 27, 2026
82c9632 to
1bbee67
Compare
fe774aa to
017761a
Compare
1bbee67 to
3353479
Compare
017761a to
613fe13
Compare
0cfa95f to
a99da8c
Compare
613fe13 to
6e4de4c
Compare
a99da8c to
5b59ee3
Compare
0b8c428 to
6541b90
Compare
01771db to
11fa852
Compare
6541b90 to
c2bf30f
Compare
11fa852 to
ab4b378
Compare
c2bf30f to
5e3f0d4
Compare
ab4b378 to
8e60a50
Compare
5e3f0d4 to
ea88850
Compare
ea88850 to
c008a8f
Compare
8e60a50 to
0b263d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Teach the macOS Seatbelt sandbox to enforce protected workspace metadata names supplied by the shared policy primitive.
Scope
protected_metadata_namesinto Seatbelt access roots.Reviewer Focus
Stack
Validation
cargo test --manifest-path codex-rs/Cargo.toml -p codex-sandboxing seatbeltcargo fmt --manifest-path codex-rs/Cargo.toml --package codex-sandboxing