From be7383d68c92a5c88e3579e5ad1794604a3b3ccf Mon Sep 17 00:00:00 2001 From: ejclaw Date: Mon, 20 Apr 2026 08:20:17 +0900 Subject: [PATCH] style: format paired execution carry-forward changes --- src/paired-execution-context.test.ts | 4 +++- src/paired-execution-context.ts | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/paired-execution-context.test.ts b/src/paired-execution-context.test.ts index 26556ba..376c186 100644 --- a/src/paired-execution-context.test.ts +++ b/src/paired-execution-context.test.ts @@ -259,7 +259,9 @@ describe('paired execution context', () => { status: 'merge_ready', updated_at: '2026-03-28T00:05:00.000Z', }); - vi.mocked(db.getLatestOpenPairedTaskForChat).mockReturnValue(supersededTask); + vi.mocked(db.getLatestOpenPairedTaskForChat).mockReturnValue( + supersededTask, + ); vi.mocked(db.getPairedTurnOutputs).mockReturnValue([ { id: 1, diff --git a/src/paired-execution-context.ts b/src/paired-execution-context.ts index ea847d5..972b52f 100644 --- a/src/paired-execution-context.ts +++ b/src/paired-execution-context.ts @@ -207,7 +207,10 @@ function carryForwardLatestOwnerFinal(args: { sourceTask: PairedTask; targetTask: PairedTask; }): void { - const latestOwnerFinal = getLatestTurnOutputByRole(args.sourceTask.id, 'owner'); + const latestOwnerFinal = getLatestTurnOutputByRole( + args.sourceTask.id, + 'owner', + ); if (!latestOwnerFinal) { return; }