Skip to content
claude-mods
Menu

Mod 8 · cw-ui

/wrap session checker

A read-only checklist that a session is wrapped up: dossier written and committed, no bead in progress, nothing uncommitted, branch pushed.

/wrap checks five things: today’s dossier exists in the session-wrap layout, it is committed, bd list --status in_progress is empty, the branch has an upstream and is not ahead of it, and nothing outside .omc/ and .beads/ is uncommitted. It prints a checklist and GO or NO-GO.

It never pushes. When the branch is ahead it prints the push command under “Commands for you (not run)”. A command hook cannot run a skill, so when the dossier is missing it tells the model, as hidden context, to run the session-wrap skill.

All reads run in parallel with a fixed argv and a 4 s timeout; stderr is never read. A check that cannot be read is marked ? and counts against GO.