forked from bchanot/claude
/capitalize + /close predated lib/capitalize-commit.md and never called it, so a standalone flush left memory written but uncommitted (BDR-037). Add STEP 5B: after the content gate (STEP 3) approves entries and STEP 5 writes the journal, commit them surgically via memory-commit.sh — same one-liner as the 6 dev flows. /close is a thin alias, inherits it for free. Journal always writes => memory always pending at 5B => hash non-empty by construction (only rc 3 skips).