Skip to content

feat: add checkpoint api to git#897

Open
jonathanlab wants to merge 4 commits intomainfrom
feat/checkpoint-api
Open

feat: add checkpoint api to git#897
jonathanlab wants to merge 4 commits intomainfrom
feat/checkpoint-api

Conversation

@jonathanlab
Copy link
Contributor

This adds a checkpoint API to the git package.

Three available operations:

  • Checkpoint
  • Restore from checkpoint
  • Diff, two compare to checkpoint states

They’re stored as Git refs under: refs/twig-checkpoint/<checkpointId>

Checkpoint ids are either user provided or randomly generated.

We will use this for:

  • Rolling back agent state
  • Archiving chats
  • Handing off to local repository from worktrees and cloud

@jonathanlab jonathanlab requested review from a team and joshsny February 11, 2026 12:05
Copy link
Contributor Author

jonathanlab commented Feb 13, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant