Stabilize paired follow-up routing

This commit is contained in:
ejclaw
2026-04-08 03:50:06 +09:00
parent c0f7f2c12d
commit 0f751af151
12 changed files with 248 additions and 30 deletions

View File

@@ -216,7 +216,7 @@ export function createPairedExecutionLifecycle(args: {
const nextTurnAction = resolveNextTurnAction({
taskStatus: finishedTask.status,
lastTurnOutputRole: null,
lastTurnOutputRole: pairedSawOutput ? completedRole : null,
});
if (nextTurnAction.kind === 'none') {
return;
@@ -240,7 +240,7 @@ export function createPairedExecutionLifecycle(args: {
},
scheduled
? 'Queued paired follow-up after failed reviewer/arbiter execution left a pending task state'
: 'Skipped duplicate paired follow-up after failed reviewer/arbiter execution in the same run',
: 'Skipped duplicate paired follow-up after failed reviewer/arbiter execution while task state was unchanged',
);
},
};