From 1846d59d2ffa484b157791cb8aa4acffcfdf5249 Mon Sep 17 00:00:00 2001 From: ejclaw Date: Wed, 15 Apr 2026 03:11:47 +0900 Subject: [PATCH] Format owner failure recovery changes --- src/paired-execution-context.test.ts | 3 ++- src/paired-execution-context.ts | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/paired-execution-context.test.ts b/src/paired-execution-context.test.ts index 47ca04a..47c1520 100644 --- a/src/paired-execution-context.test.ts +++ b/src/paired-execution-context.test.ts @@ -1018,7 +1018,8 @@ describe('paired execution context', () => { taskId: 'task-1', role: 'owner', status: 'failed', - summary: "Error running remote compact task: Unknown parameter: 'prompt_cache_retention'", + summary: + "Error running remote compact task: Unknown parameter: 'prompt_cache_retention'", }); expect(db.updatePairedTask).toHaveBeenCalledWith( diff --git a/src/paired-execution-context.ts b/src/paired-execution-context.ts index bb58c88..46b0fcb 100644 --- a/src/paired-execution-context.ts +++ b/src/paired-execution-context.ts @@ -370,7 +370,9 @@ export function preparePairedExecutionContext(args: { expectedUpdatedAt: latestTask.updated_at, updatedAt: now, patch: { - ...(hasHuman ? { round_trip_count: 0, owner_failure_count: 0 } : {}), + ...(hasHuman + ? { round_trip_count: 0, owner_failure_count: 0 } + : {}), }, }); } else { @@ -379,7 +381,9 @@ export function preparePairedExecutionContext(args: { expectedUpdatedAt: latestTask.updated_at, updatedAt: now, patch: { - ...(hasHuman ? { round_trip_count: 0, owner_failure_count: 0 } : {}), + ...(hasHuman + ? { round_trip_count: 0, owner_failure_count: 0 } + : {}), }, }); }