84135e9fed
The isTerminal:false early-return skipped #finishAgentEnd, the only site that flushes a deferred plan-mode model switch, so an automatic continuation (async wake) ran on the old model/thinking level until the terminal settle. Flush the pending switch on the non-terminal branch before returning; the title/loader teardown stays deferred to the terminal agent_end.