checkpoint_create
Create a named checkpoint of a task's current worktree HEAD, enabling session rewinding to that commit later.
Instructions
Create a git-tag checkpoint at the current worktree HEAD.
Captures the current HEAD commit of the task's worktree as a named checkpoint so the session can be rewound to this point later.
task_id is the ID of the task whose worktree to snapshot. step_index is a caller-assigned integer identifying this checkpoint (should be monotonically increasing within a session). description is an optional human-readable label for the checkpoint.
Returns dict with: task_id, session_id, step_index, commit_sha, tag_name, description, created_at.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| step_index | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||