SESSIONS.md is intentionally small. It is a startup surface, not a complete project history.
Keep the latest 4 full entries in SESSIONS.md.
Move older entries to SESSIONS_ARCHIVE.md, newest archived entry first.
- Rotate only during full handoff.
- Preserve entries verbatim.
- Keep entries newest-first.
- Do not summarize older entries when archiving.
- Do not delete another agent's entry.
- Do not read the archive during normal session startup.
Before full handoff, SESSIONS.md has 4 entries.
During full handoff:
- Add the new entry to the top.
SESSIONS.mdnow has 5 entries.- Move the oldest entry to the top of
SESSIONS_ARCHIVE.md. - Commit both files together as the session-log update.
New agents get recent context quickly. Older history remains available for regressions, disputed decisions, or archaeology without becoming default context for every chat.