Isolation & the sandbox
Your checkout is never touched. Work happens in an isolated worktree, inside a platform-native sandbox.
deadreckon isolates a run in two different ways at once: it controls where the files live and where the tools run.
Where the files live: the worktree
By default, a run never edits your checkout. In a git repo it creates a fresh
worktree on a dr/<task> branch under
~/.deadreckon/worktrees/. Your real branch changes only when you
run deadreckon apply. Four modes decide how files are isolated:
- worktree: the default for clean git repos.
- copy: seed a working copy from
--from <path>, skipping ignored files. - fresh: the old empty-directory behavior, behind
--fresh. - in-place: edit your tree directly; the dangerous option, gated behind an explicit acknowledgement, with
undoas the rollback.
Where the tools run: the sandbox
Every tool the agent runs is executed inside a platform-native
sandbox, with the network off by default. auto
picks the backend for your platform:
sandbox-exec: macOS Seatbelt profiles.bwrap: Linux Bubblewrap containers.docker: an opt-in fallback (the route for Windows).none: no isolation at all; deadreckon warns loudly, for local verification only.
source