Sandbox has a single policy for all children #209

Open
opened 2026-11-21 12:36:52 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-core/src/sandbox.rs, module / command
What is hacky: no per-call network opt-in at the policy level.
Proper fix: per-tool policy declared by the caller (command_with extras partly exist) and wired for tools that need network.
Original comment: "ponytail: one policy for all children, no per-call network opt-in; add when a tool needs it."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-core/src/sandbox.rs, module / `command` What is hacky: no per-call network opt-in at the policy level. Proper fix: per-tool policy declared by the caller (`command_with` extras partly exist) and wired for tools that need network. Original comment: "ponytail: one policy for all children, no per-call network opt-in; add when a tool needs it." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the core label 2026-11-21 12:36:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#209