RUN v4.1.1 /home/sawyer/projects/bb/.claude/worktrees/wf_242c3e11-a10-6/packages/agent-runtime ❯ @bb/agent-runtime src/pi/issue-1721-compact-too-small.test.ts (1 test | 1 failed) 10ms × does not fail the turn when pi has nothing to compact 9ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL @bb/agent-runtime src/pi/issue-1721-compact-too-small.test.ts > issue #1721: pi manual /compact on a too-small session > does not fail the turn when pi has nothing to compact AssertionError: expected { type: 'turn/completed', …(5) } to match object { status: 'completed' } (8 matching properties omitted from actual) - Expected + Received { - "status": "completed", + "status": "failed", } ❯ src/pi/issue-1721-compact-too-small.test.ts:45:27 43| // Actual on 16ceb3a54: status === "failed" with the pi error mess… 44| // which the server maps to run.failed -> thread status "error". 45| expect(turnCompleted).toMatchObject({ status: "completed" }); | ^ 46| }); 47| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed (1) Tests 1 failed (1) Start at 07:22:07 Duration 561ms (transform 271ms, setup 0ms, import 469ms, tests 10ms, environment 0ms)