Format owner failure recovery changes

This commit is contained in:
ejclaw
2026-04-15 03:11:47 +09:00
parent 2ab3bddc0e
commit 1846d59d2f
2 changed files with 8 additions and 3 deletions

View File

@@ -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 }
: {}),
},
});
}