Skip to content

Docs: say what the sandbox does now, and that the approver is built - #541

Merged
lydakis merged 1 commit into
mainfrom
claude/strange-hugle-73da64
Oct 31, 2026
Merged

lydakis merged 1 commit into
mainfrom
claude/strange-hugle-73da64

Conversation

@lydakis

@lydakis lydakis commented Oct 31, 2026

Copy link
Copy Markdown
Owner

Three documentation passages described behaviour the code no longer has. No code changes.

  • docs/RUST_PROTOTYPE.md, Sandbox: a bot with the network on reaches every Unix socket but the daemon's and the other bots'; only an offline bot is held to its unix_sockets (src/sandbox.rs seccomp rule at the blocked test, Seatbelt network-on/off branches), as the Sonny README's /permissions bullet already says.
  • install.sh and release/homebrew_formula.py: bubblewrap is the sandbox Sonny's agents run in by default, not "the daemon's default sandbox" (Policy::new returns None with no mode).
  • docs/APPROVALS.md: the automatic approver is built (Add agent approver and --approval auto: a judge model decides every gated call #47); the claims that a bot's shell reaches the daemon and the approval channel now hold for unsandboxed bots and allowed escalations, pointing at the sandbox section.

python3 -m unittest discover -s release passes.

The Sandbox section said a sandboxed bot reaches only the Unix sockets
its unix_sockets names, network on or off; since #526 that holds only
with the network off. install.sh and the formula called bubblewrap the
daemon's default sandbox; the daemon confines nothing unless asked, and
it is Sonny's agents that are sandboxed by default. APPROVALS.md said
the automatic approver was not built and that any bot's shell reaches
the daemon and the approval channel; scope those to unsandboxed bots
and allowed escalations, pointing at the sandbox section.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T18:13:03.631886Z 50d48b3 PR opened
🔒 Security Review ✅ Completed 2026-10-31T18:15:22.670174Z 50d48b3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lydakis
lydakis merged commit 279f670 into main Oct 31, 2026
9 checks passed
@lydakis
lydakis deleted the claude/strange-hugle-73da64 branch October 31, 2026 18:16
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