Conversation rebuilding now flushes a queued-item buffer before its reminder bookkeeping, and does so more often
The function that reconstructs the message list sent to the model, folding in reminders, truncation notices, and tool-result repairs, now maintains a queue of pending items and a flush step that merges them into the last user message, or adds a new one if needed, before its existing reminder-handling logic runs. This flush now runs at more points in the process, including around system, user, and assistant messages, than the previous reminder-clearing step did.
This changes how and when queued conversation items get folded into the message history sent to the model, running the merge more consistently across message types.