Say in take_snapshot's description that it makes a commit

This commit is contained in:
Ian Gulliver
2026-10-23 12:58:59 -07:00
parent d6be98f9d8
commit 3da1661ca3
+1 -1
View File
@@ -268,7 +268,7 @@ func (m *Manager) takeSnapshotTool(l *live) mcp.Tool {
}
}
const takeSnapshotDescription = "Snapshot a task's worktree now, uncommitted work included. If the project has a review workflow, its reviewers check all of the task's work against the default branch, using each stage's model and instructions; findings arrive together once the workflow finishes. " +
const takeSnapshotDescription = "Snapshot a task's worktree now: byre commits the whole worktree, uncommitted work included, as a commit on byre's own ref for the task (refs/byre/tasks/<task>/snap/<n>), on top of the branch's HEAD. The task's branch and worktree are left as they are; the branch gets its own commit at the end of the turn. If the project has a review workflow, its reviewers check all of the task's work against the default branch, using each stage's model and instructions; findings arrive together once the workflow finishes. " +
"byre already does this at the end of every turn that changes files; call this to review work mid-turn, or to retry a review that failed (it snapshots even when nothing changed since the last snapshot)."
func (m *Manager) dropSnapshots(repo, taskID string) error {