Format files touched by executor refactor

This commit is contained in:
ejclaw
2026-04-06 19:40:36 +09:00
parent fcfca5cd38
commit c49dc0052f
3 changed files with 9 additions and 6 deletions

View File

@@ -1553,7 +1553,9 @@ describe('runAgentForGroup Claude rotation', () => {
});
expect(result).toBe('success');
expect(pairedExecutionContext.completePairedExecutionContext).toHaveBeenCalledWith(
expect(
pairedExecutionContext.completePairedExecutionContext,
).toHaveBeenCalledWith(
expect.objectContaining({
taskId: 'paired-task-claude-rotation-success',
role: 'owner',

View File

@@ -911,8 +911,9 @@ export async function runAgentForGroup(
| 'pending'
| 'skip-inline-finalize'
| 'none';
type PairedTaskStatus =
NonNullable<ReturnType<typeof getPairedTaskById>>['status'];
type PairedTaskStatus = NonNullable<
ReturnType<typeof getPairedTaskById>
>['status'];
const resolvePairedFollowUpQueueAction = (
completedRole: PairedRoomRole,
@@ -1024,7 +1025,8 @@ export async function runAgentForGroup(
}
if (!primaryAttempt.sawOutput && output.status !== 'error') {
const claudeRetryResult = await retryClaudeAttemptIfNeeded(primaryAttempt);
const claudeRetryResult =
await retryClaudeAttemptIfNeeded(primaryAttempt);
if (claudeRetryResult) {
return claudeRetryResult;
}

View File

@@ -575,8 +575,7 @@ function handleOwnerFinalizeCompletion(args: {
taskId,
now,
arbiterLogMessage: 'Owner finalize loop detected — requesting arbiter',
escalateLogMessage:
'Owner finalize loop detected — escalating to user',
escalateLogMessage: 'Owner finalize loop detected — escalating to user',
logContext: {
taskId,
ownerVerdict,