
Make Claude Code re-read your plan after every compaction: a SessionStart brief that also warns before a stale resume
One 60-line hook rebuilds the agent's bearings from git and a plan file after /clear and compaction, and puts a price on resuming a cold session. About fifteen minutes to set up.
12 min read

