Resume work from the most recent handoff document.
Find it — newest handoff doc in
/tmp:ls -t /tmp/*handoff*.md 2>/dev/null | head -1If the user passed an argument, treat it as a filename filter:
ls -t /tmp/*<arg>*handoff*.md /tmp/*handoff*<arg>*.md 2>/dev/null | head -1.If nothing matches, say so and stop — do not grab an unrelated file from
/tmp.State which file you found and its modification time so the user can confirm it's the right one, then read it.
Follow it: continue the work it describes, invoking any skills its "suggested skills" section names. Reference the artifacts (specs, diffs, issues) it points at rather than re-deriving them.