Skip to content

feat(investigate): use auto mode instead of the Bash sandbox - #212

Open
toufali wants to merge 1 commit into
mainfrom
feat/investigate-without-sandbox
Open

toufali wants to merge 1 commit into
mainfrom
feat/investigate-without-sandbox

Conversation

@toufali

@toufali toufali commented Dec 3, 2026

Copy link
Copy Markdown
Member

On some ubuntu-26.04 runners the sandbox rejects every Bash call, so investigations can't search the repo and stop at medium confidence.

Investigations only read code, so this runs them in auto mode without the sandbox. Bash is dropped from --allowedTools so auto mode reviews each command. Fix, implement, and the other modes keep the sandbox.

Verified with 5 verbose dry runs on fxa alerts: auto mode on, Bash worked in all 5, no permission denials, all high confidence.

Because:

- On some ubuntu-26.04 runners the sandbox rejects every Bash call, so
  investigations can't search the repo and stop at medium confidence.
- Investigations only read code, so they don't need the sandbox.

This commit:

- Runs investigate mode with --permission-mode auto and no sandbox
  settings, so auto mode reviews each Bash command.
- Drops the bare Bash allow, which would skip that review.
@toufali
toufali requested a review from groovecoder as a code owner December 3, 2026 22:58

This branch has not been deployed

No deployments
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