Record session working state for continuity across conversations. Use at session boundaries or before context gets heavy.
Record working state at session boundaries so future sessions can reconstruct context without manual re-explanation. Fills the gap between ephemeral conversation context and permanent knowledge base entries.
"The decisions we made today are the context for the decisions we'll make next week. Write them down before the reasoning fades." — WRIGHT
| Failure | Cause | Recovery |
|---|---|---|
| Directory doesn't exist | First journal entry or memory cleanup | Create memory/sessions/ directory |
| Timestamp collision | Two sessions in the same minute | Append -2 suffix to filename |
| Sparse entry | Session was short or exploratory | Still write it — even "explored X, decided not to pursue" is valuable |
| Stale context | Compaction happened mid-session | Gather what's available; note gaps in the entry |
Collect automatically:
date +%Y-%m-%dT%H:%M)git branch --show-current)YYYY-MM-DD-HHMM.md derived from timestampno-branch as branch nameFrom conversation context, gather:
Auto-fill where possible. Ask the user only for what can't be inferred.
Create the file at: memory/sessions/{YYYY-MM-DD-HHMM}.md
Note: memory/sessions/ resolves to the project-scoped auto-memory directory managed by Claude Code.
Format:
---