Checkpointing and Branching
Penguin supports saving conversation checkpoints so you can easily return to a previous state or explore alternate approaches on a new branch.
Creating Checkpoints
- Automatic: Penguin can create checkpoints every few messages. Configure the interval in your
.penguin/config.yaml. - Manual: Use
/checkpointin chat orpenguin checkpointon the CLI to save the current state.
Listing Checkpoints
/checkpointsorpenguin checkpointsshows recent checkpoints.- Each checkpoint is referenced by the message ID at which it was created.
Branching and Rollback
/branch <msg_id>orpenguin branch <msg_id>forks a new conversation starting from that checkpoint./rollback <msg_id>orpenguin rollback <msg_id>rewinds the main thread to an earlier checkpoint.- View the conversation tree with
/treeorpenguin treeto see all branches.
Configuration Tips
Adjust checkpoint frequency and retention in the configuration file. You can also choose which data to capture (conversation, tasks, or code) for each checkpoint.
For design mockups of the checkpoint UI, see UI Mockups.