Checkpoints are local, disposable state on your branch node (they live under the
workspace’s
.rbs/ directory, which is not committed). They do not travel with
the branch through git, and they are meant for short-lived undo — old ones are
pruned. Anything you want to keep, commit.Automatic checkpoints
When you chat with the agent in the ReasonOS editor, the branch node creates a checkpoint before the agent starts processing each message — synchronously, so the snapshot always captures the true pre-modification state of your files. The editor shows these alongside the conversation, which is what powers the per-turn Revert action: undo everything an agent turn did with one click. The same happens before the agent responds to an@agent mention on a
task board card, since the mention may ask for real work
on files.
Automatic checkpoints record which agent session they belong to, so you can list a
session’s save points and walk them as a chain (see below).
Manual checkpoints
Create one yourself before anything you might want to unwind:Inspecting and reverting
diff shows which files have been modified, added, or deleted since
the checkpoint was taken — a preview of exactly what revert will touch.
revert restores every snapshotted file to its checkpointed content. Files that
did not exist when the checkpoint was created are deleted; files modified since
are overwritten. If you have the ReasonOS editor connected to the same branch
node, open tabs and the file tree refresh automatically after a revert.
Session chains
Checkpoints created within one agent session link to each other, oldest to newest.chain walks those links back to the start of the session:
Cleaning up
prune also garbage-collects the underlying content that no remaining checkpoint
references. Snapshots are content-addressed and compressed, so checkpoints are
cheap — but they are still meant to be short-lived working state, not an archive.