faa2399e2b
Follow-up on top of the salvaged cluster: sanitize_api_messages step 3 (duplicate tool_call_id dedup) still tracked only the coalesced (call_id||id) value in outstanding_call_ids, so after step 2's variant-aware matching preserved a result keyed on the OTHER id variant, step 3 deleted it as answering no outstanding call — whole parallel batches of real results vanished with no stub at all (#93251's total-loss mode). Track the full variant set per call and consume all siblings when answered, preserving #58327 duplicate protection and llama.cpp constant-id re-arm semantics. Also aligns the #58287 compressor test with the in-flight tool chain protection (#79278) that landed after that PR was opened: a trailing user turn keeps the negative-control assistant message out of the protected trailing window. New regression tests: divergent-id batch survival through the dedup pass, sibling-id replay still dropped, constant-id re-arm preserved. Sabotage-verified: tests fail with the old single-id tracking.