Commit 849e3a6
authored
fix: pass --permission-mode bypassPermissions to claude -p in executor (#37)
The claude-code executor branch invoked `claude -p` without a permission
mode, so the inner Claude session would refuse to edit files in
non-interactive mode and the run would silently produce no patch.
Governor already isolates each attempt in a temporary git worktree, and
scope.py rejects any change outside allowed_paths — the kernel is the
trust boundary, the inner session does not need its own permission
prompts. examples/oss_fix_demo/ was working around this with a custom
executor; with this fix the bundled executor.sh works out of the box.1 parent c21cd92 commit 849e3a6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments