1,017 B
1,017 B
Session Wrap-Up Checklist
Triggered when the user says "wrap up", "end session", or similar. Always externalize FIRST, then do the steps below.
Steps
-
Externalize — run the
docs/externalize.mdprotocol if not already done this session -
Reread CLAUDE.md — ensure you have the latest context before editing
-
Update CLAUDE.md:
- Update Current Project State — phase, last worked on (today's date), last commit, blocking issues
- Update Session Log — add new entry, keep only last 3 sessions, remove older ones (full history is in the wiki)
-
Commit and push main repo:
git add CLAUDE.md git commit -m "chore: update CLAUDE.md for session {N}" git push -
Verify nothing is unpushed — both the main repo and docs/wiki should have no pending commits
-
Recommend next session — tell the user what the best next session should tackle, in priority order based on PLAN.md and any open Forgejo issues