You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Codex sandbox compatibility and command line accuracy (#633)
## Summary
- **Inline snapshot diffs for sandboxed Codex**: Codex `--sandbox
read-only` blocks `.git/` access, making large-diff snapshot files
unreadable. The worker now reads the `.git/` snapshot and inlines the
diff content into the prompt sent via stdin. The DB keeps the truncated
prompt; only the agent sees the full diff. Non-Codex agents continue
using `.git/` snapshots directly.
- **`disable_codex_sandbox` config option**: On systems where bwrap
fails (missing unprivileged user namespace support), add a global config
toggle that switches Codex from `--sandbox read-only` to
`--dangerously-bypass-approvals-and-sandbox`. Hot-reloadable via config
watcher.
- **Store actual command line on jobs**: The daemon worker now saves the
real `CommandLine()` to the job record when starting each run. The TUI
displays this stored value instead of reconstructing it client-side,
which missed daemon-only config like `disable_codex_sandbox`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments