Summarize the conversation when the history grows long and earlier detail is no longer needed for the current task. Instead of resending the entire transcript on every turn, you replace older, resolved parts with a short summary that keeps the key decisions and current state and drops resolved tangents.
