Skip to content

fix: attribute sandbox denials to each invocation - #463

Merged
mohitranka merged 1 commit into
mainfrom
fix/sandbox-denial-attribution
Aug 30, 2026
Merged

mohitranka merged 1 commit into
mainfrom
fix/sandbox-denial-attribution

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • surface shell-redirection denials even when a pipeline or shell construct exits zero, while ignoring denial-like stdout and non-fatal child warnings
  • give each confined invocation its own egress proxy endpoint and denied-host queue while sharing live session host policy
  • remove the session-global denied-host fallback, add regression coverage for stale attribution, and document the portable observability limit

Validation

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets --locked -- -D warnings
  • cargo test --workspace --all-targets --locked
  • cargo test -p forge-tools --all-targets --locked
  • rebuilt forge-cli and replayed the scenarios in tmux PTY: zero-exit filesystem pipeline prompted and replayed, fully suppressed network refusal prompted for the correct host and downloaded 6253 bytes after session approval, following false failed normally without a stale host prompt, and a benign child warning did not prompt
  • fully silenced zero-exit filesystem denial remained contained and created no file; README documents why portable process status cannot identify that intent

@mohitranka
mohitranka merged commit 9be0288 into main Aug 30, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Sep 11, 2026
fix: attribute sandbox denials to each invocation
mohitranka added a commit that referenced this pull request Sep 11, 2026
fix: attribute sandbox denials to each invocation
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