| name | wrap-up |
| description | End-of-session log. Write to spec/sessions/. Verify all file paths. |
Wrap Up
Run at the end of every work session or before context gets compacted.
- Ask user to provide current time and date.
- Check
spec/sessions/ for a file matching today's date (DD-MM).
- If found: append new entries into the existing Completed, Decisions, and Blockers sections. Do NOT add a new session header. Extend the Time range on the existing header (e.g.
12:16 AM–02:13 AM).
- If not found: create one using
SESSION_TEMPLATE.md structure.
- Write only what is true and verified. One line per entry. No in-progress noise.
- Decisions: log only irreversible or architectural choices.
- Blockers: number them. Strike through + date any resolved ones.
- Verify every file path or line number cited actually exists before writing.
- Confirm: "Session logged.