From e88de1aed3b86ad726e9714f8307df66e6c02334 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Fri, 20 Feb 2026 18:41:36 -0800 Subject: [PATCH] save changes after review completes --- src/commands/review.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/commands/review.ts b/src/commands/review.ts index 96fed73..68ab166 100644 --- a/src/commands/review.ts +++ b/src/commands/review.ts @@ -1,6 +1,6 @@ import * as vm from "../vm.ts" import { spinner } from "../spinner.ts" -import { requireSession } from "./helpers.ts" +import { requireSession, saveChanges } from "./helpers.ts" export async function action(branch: string, opts: { print?: boolean }) { const { session } = await requireSession(branch) @@ -19,4 +19,6 @@ export async function action(branch: string, opts: { print?: boolean }) { spin.succeed("Session ready") await vm.claude(session.worktree, { prompt }) } + + await saveChanges(session.worktree, session.branch) }