Skip to content

[codex] extract macOS Seatbelt denial collector - #27745

Closed
dylan-hurd-oai wants to merge 1 commit into
mainfrom
codex/extract-seatbelt-denial-collector
Closed

[codex] extract macOS Seatbelt denial collector#27745
dylan-hurd-oai wants to merge 1 commit into
mainfrom
codex/extract-seatbelt-denial-collector

Conversation

@dylan-hurd-oai

Copy link
Copy Markdown
Contributor

Why

The macOS Seatbelt denial collector currently lives inside the CLI debug-sandbox command, so other sandboxed execution paths cannot reuse it without duplicating process-tree and log-stream handling.

What changed

  • Moves the existing collector and PID tracker into codex-sandboxing.
  • Keeps the debug-sandbox command on the shared implementation.
  • Waits for the macOS log stream to become ready before launching the tracked command.
  • Adds bounded, process-aware retention for consumers that need a hard output cap.
  • Publishes descendant PIDs as they are discovered so unrelated system denials are evicted first.

This is the reusable base for #17724; it does not expose the new command-output configuration by itself.

Validation

  • cargo check -p codex-cli --tests -p codex-sandboxing
  • just test -p codex-sandboxing (69 passed)

@github-actions

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 14 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant