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