-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Description
Summary
On macOS (Apple Silicon), ralph-tui run --sandbox --agent opencode fails immediately with “Unknown error.” The agent never produces RAW OUTPUT and tasks are skipped instantly. Running without sandbox works.
Environment
- macOS (Apple Silicon)
- ralph-tui: latest (installed via bun)
- opencode: 1.1.25 installed via Homebrew at
/opt/homebrew/bin/opencode
Repro Steps
- Ensure opencode is installed via Homebrew at
/opt/homebrew/bin/opencode. - Run:
ralph-tui run --prd <file>.json --auto-next --sandbox --agent opencode --headless
- Observe failure: tasks are skipped with “Unknown error” and RAW OUTPUT is empty.
Expected
Opencode should run under sandbox-exec and produce normal task output.
Actual
- Iterations fail immediately with “Unknown error”
- RAW OUTPUT empty in
.ralph-tui/iterations/*.log - Running without sandbox (
--no-sandbox) works and the agent executes tasks
Notes / Investigation
ralph-tuigenerates a Seatbelt profile with(allow process-exec)and read-only access to system dirs; customreadOnlyPathsare added asfile-read*subpaths only.- Adding
/opt/homebrewtoreadOnlyPathsand opencode dirs toallowPathsdid not resolve it. - Direct
sandbox-execattempts to run/opt/homebrew/bin/opencodewith a permissive profile still abort with exit code 134 (no stderr).
If helpful I can provide full logs and the generated sandbox profile string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels