For Claude Code: before /compact, finish the current plan stage or stop where your decision is needed, save a handoff file, and print one ready-to-paste /compact line.