* fix: ensure tool call/response pairing in context truncation * refactor: simplify fix_messages to single-pass state machine
* fix: ensure tool call/response pairing in context truncation * refactor: simplify fix_messages to single-pass state machine