RUN  v4.1.1 /Users/sawyerhood/.bb-machines/bee.getbb.app/checkouts/bb/.claude/worktrees/wf_21e66a79-f02-9/packages/agent-runtime ❯  @bb/agent-runtime:isolated  src/pi/bridge/__tests__/model-switch.repro.test.ts (2 tests | 2 failed) 52ms  × applies a model that changed between turns before prompting pi 34ms  × does not resynchronize the model on /compact either 16ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 2 ⎯⎯⎯⎯⎯⎯⎯  FAIL   @bb/agent-runtime:isolated  src/pi/bridge/__tests__/model-switch.repro.test.ts > pi bridge model switch (#2160) > applies a model that changed between turns before prompting pi AssertionError: expected { setModelCalls: [], …(2) } to deeply equal { …(3) } - Expected + Received  {  "promptModelsPerSession": [  [  "xai/grok-4.6", - "openai-codex/gpt-5.6-sol", + "xai/grok-4.6",  ],  ],  "rebuilt": false, - "setModelCalls": [ - [ - { - "id": "gpt-5.6-sol", - "provider": "openai-codex", - }, - ], - ], + "setModelCalls": [],  }  ❯ src/pi/bridge/__tests__/model-switch.repro.test.ts:254:10 252| rebuilt, 253| promptModelsPerSession: sessions.map((s) => s.promptModels), 254| }).toEqual({  | ^ 255| setModelCalls: rebuilt ? [] : [[SOL]], 256| rebuilt, ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/2]⎯  FAIL   @bb/agent-runtime:isolated  src/pi/bridge/__tests__/model-switch.repro.test.ts > pi bridge model switch (#2160) > does not resynchronize the model on /compact either AssertionError: expected { allPromptModels: [ …(2) ], …(1) } to deeply equal { allPromptModels: [ …(2) ], …(1) } - Expected + Received  {  "allCompactModels": [ - "openai-codex/gpt-5.6-sol", + "xai/grok-4.6",  ],  "allPromptModels": [ - "openai-codex/gpt-5.6-sol", - "openai-codex/gpt-5.6-sol", + "xai/grok-4.6", + "xai/grok-4.6",  ],  }  ❯ src/pi/bridge/__tests__/model-switch.repro.test.ts:309:53 307| // Expected: the compaction and every turn after the picker chan… 308| // on the selected model. 309| expect({ allPromptModels, allCompactModels }).toEqual({  | ^ 310| allPromptModels: ["openai-codex/gpt-5.6-sol", "openai-codex/gp… 311| allCompactModels: ["openai-codex/gpt-5.6-sol"], ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/2]⎯  Test Files  1 failed (1)  Tests  2 failed (2)  Start at  08:38:10  Duration  8.42s (transform 2.97s, setup 0ms, import 8.09s, tests 52ms, environment 0ms)