fix: make paired evidence loss visible (#202)

This commit is contained in:
Eyejoker
2026-05-31 16:20:09 +09:00
committed by GitHub
parent 6eca648c47
commit 239c7ff1e6
19 changed files with 644 additions and 67 deletions

View File

@@ -169,7 +169,7 @@ describe('paired execution routing loop guards', () => {
);
});
it('routes unknown arbiter verdicts to reviewer as a proceed fallback', () => {
it('escalates unknown arbiter verdicts instead of treating them as approval', () => {
vi.mocked(db.getPairedTaskById).mockReturnValue(
buildPairedTask({
status: 'in_arbitration',
@@ -190,12 +190,9 @@ describe('paired execution routing loop guards', () => {
expect(db.updatePairedTask).toHaveBeenCalledWith(
'task-1',
expect.objectContaining({
status: 'review_ready',
round_trip_count: 0,
owner_step_done_streak: 0,
empty_step_done_streak: 0,
status: 'completed',
arbiter_verdict: 'unknown',
arbiter_requested_at: null,
completion_reason: 'arbiter_escalated',
}),
);
});