Commit db38bcf
molty3000
fix: sandbox — add -w /workspace to docker exec + make mount read-write
Bug 1: docker exec defaulted to / as working directory, but files
are mounted at /workspace. Commands like 'ls' or 'cat go.mod'
returned empty because the cwd was wrong. Fixed with -w /workspace.
Bug 2: Volume was mounted read-only (:ro), preventing the agent
from writing files, running builds, or creating test artifacts.
Changed to read-write (:rw is default). The sandbox still
provides strong isolation — no network, no capabilities, no
privilege escalation, destroyed on exit.1 parent 93e78f8 commit db38bcf
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments