Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6jDW7zqoKDMTRrCyq
7 lines
423 B
Plaintext
7 lines
423 B
Plaintext
# Compaction cuts between turns, so a tool call stays with its result
|
|
|
|
Before: U:u1 | A:a1 | U:u2 | A:a2 | U:weather in Pune? | A:[tool call weather] | T:[tool result 31C] | A:31C in Pune. | U:u3 | A:a3
|
|
compact(keep last 3 EVENTS): covered=8 preserved=2
|
|
After: U:u3 | A:a3
|
|
The last 3 events would have started at the assistant reply "31C in Pune.", which is mid-turn, so the cut moved forward to the next turn start (u3).
|