Checked
belay and try
try “lets you run a command and inspect its effects before changing your live system”: writes go to an overlay you commit or discard.
try is better at: undo. Nothing lands until you commit.
belay is better at: agent sessions. A session is dozens of tool calls; try wraps one command, belay records after each call and says which one added the git hook or put the test back. try needs Linux 5.11+; belay also runs on macOS.
Neither is a sandbox. try is “a semisolate” with “network calls are all allowed”; belay isn’t built to resist a process that tries to fool it.
Sources, checked 2026-11-28: binpash/try.