Thread hygiene (session handoff + compaction)
Source: RavenClaude ravenclaude-core/skills/session-handoff, best-practices/compact-proactively-and-persist-state-before-compaction.md @52fcb08.
- Fresh thread per distinct task; don't keep image-heavy threads open.
- Before a thread gets long, write state to
/workspace/state/handoff/<bot>-<topic>.md: goal, decisions (with who decided), open Matthew decisions, in-flight bot handoffs, file paths. - A new thread starts by reading that file, not by replaying history.
- Hub tracking (open decisions, in-flight work) lives in files, so a Deputy can pick it up.