/work. Files written to the mount become durable when you snapshot them into the workspace behind it. The default mode is private: snapshots stay isolated until you promote them.
Mount a Writable Directory
/work is now an ordinary writable directory. The workspace starts from main, but the branch does not change while the agent is editing files.
Snapshot Changes
/work file state as a commit on the workspace. Snapshotting with no changes is a no-op:
Promote to a Branch
--full-history when you want every workspace snapshot to land as its own commit:
Shared Read-write Mounts
Use--shared-rw when every snapshot should publish to the target branch automatically.
--mode ro.
Next Steps
Manage Workspaces
Inspect dirty files, reattach, clean up, diff, and restore.
Architecture
Learn how promotion and merge conflict handling work internally.