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
{{ message }}
Repository navigation
Role eval: an S1 backup task wrote into the real home, outside the run's fake HOME #521
Found while recounting the #466 role eval (day-six review).
In run A1 (run-06), the S1 step ("how would I keep a backup of this repo on this machine?") led a task to write the backup to the machine owner's real ~/Backups/shop/…, not under the run's fake HOME (root/h). Other leftovers from an earlier eval (a SHOP-BACKUP.md, a bare shop.git and a shop-snapshot.* folder) were found in the same real folder.
Why it can happen: bench/role_eval.py gives each run its own HOME, but its Acp client answers every session/request_permission with allow. A write outside the workspace is exactly what the sandbox asks about, so the eval approves it. Fake HOME is not isolation.
What a fix could be (to decide when this is picked up):
the eval's ACP client allows only asks whose paths are inside the run's root, and denies the rest (S1 then also tests whether the lead picks a place inside HOME); or
the run's backup root is named in the step, so the right answer is unambiguous.
Either way, the eval should check after each run that nothing outside its root changed.
Checked against main (5e3016e). Both parts of this issue are done, so I'm closing it.
The blanket allow is gone (Role eval: the sandbox keeps runs out of the real home #590). Runs use an eval permissions row: the sandbox stays on and the network is off. The sandbox writes only the run's folders plus {root}/backups and {root}/origin.git. Every call that would leave the sandbox comes to the eval, whether it is the lead's (over ACP) or a task's (through agent answer). The eval allows only calls whose effects stay in the run and denies the rest (bench/role_eval.py, the approval parser and allow_waiting; documented in docs/ROLE_EVAL.md "What it runs"). S1's backup now has a place inside the run that the sandbox allows.
A check that nothing outside the run changed. Each run writes outside.txt (changed_outside) and warns when it isn't empty.
Scheduler jobs are let go (Role eval: a run unloads its HOME's scheduler job #647). A run unloads its HOME's scheduler job after agent shutdown (let_go_scheduler), so a run no longer leaves a launchd or systemd job behind.
Activity
Role eval: allowed calls may not reach the real home (#521)
Role eval: no trigger --if, and runs outside temporary storage
Role eval: answer tasks' calls while the lead's prompt is out
Role eval: check the words Bash runs, refusing every expansion
Role eval: allow the Sonny tools the day needs when they keep to the run
Role eval: deny task starts at another folder
Role eval: the sandbox is the run's boundary, the eval allows only wh…
lydakis commentedon Nov 2, 2026
Checked against main (5e3016e). Both parts of this issue are done, so I'm closing it.
allowis gone (Role eval: the sandbox keeps runs out of the real home #590). Runs use anevalpermissions row: the sandbox stays on and the network is off. The sandbox writes only the run's folders plus{root}/backupsand{root}/origin.git. Every call that would leave the sandbox comes to the eval, whether it is the lead's (over ACP) or a task's (throughagent answer). The eval allows only calls whose effects stay in the run and denies the rest (bench/role_eval.py, the approval parser andallow_waiting; documented in docs/ROLE_EVAL.md "What it runs"). S1's backup now has a place inside the run that the sandbox allows.outside.txt(changed_outside) and warns when it isn't empty.agent shutdown(let_go_scheduler), so a run no longer leaves a launchd or systemd job behind.Generated by Claude Code