Skip to content

feat: add checkpoint api to git#897

Merged
jonathanlab merged 1 commit intomainfrom
feat/checkpoint-api
Feb 27, 2026
Merged

feat: add checkpoint api to git#897
jonathanlab merged 1 commit 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

@jonathanlab jonathanlab merged commit 06585a4 into main Feb 27, 2026
13 checks passed
@jonathanlab jonathanlab deleted the feat/checkpoint-api branch February 27, 2026 13:02
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.

2 participants