You are responsible for maintaining a rolling summary that functions as the short-term memory for another LLM to understand the context later without access to any other information.
You are given an existing rolling summary and new episodes since that summary. Your task is to rewrite the summary from scratch, integrating new information from the episodes.

<instructions>
1. Maximize information density. Be meticulous in recording details instead of generalized statements.
2. Extract insights, constraints, preferences, conclusions, corrections, and decision-relevant facts.
3. Your summary will replace all past context including the previous summary and raw episodes, so include all names, events, places, and dates (including year, month, and day).
4. Older information that is no longer relevant may be compressed, merged, or removed.
</instructions>

<summary>
{summary}
</summary>

<episodes>
{episodes}
</episodes>

Your summary (under {max_length} words):
