From 0c0b8466cc7de6b1bc3c785392c64da82cbbb1c4 Mon Sep 17 00:00:00 2001 From: Sprite Date: Sun, 13 Sep 2026 11:38:26 +0000 Subject: [PATCH] docs: first-command check no longer counts its own shell as a worker Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01AQb3d68LqWD4EdND3C8jkD --- docs/HANDOFF.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/HANDOFF.md b/docs/HANDOFF.md index 112d617..4d7de42 100644 --- a/docs/HANDOFF.md +++ b/docs/HANDOFF.md @@ -7,7 +7,8 @@ while no orchestrator exists. Nothing will "notify" a session that was not runni completion is recorded ON DISK. Run this before anything else: cd ~/bookshelf && cat logs/WAVE*-DONE 2>/dev/null; \ - pgrep -fc 'run-task\.sh' ; tail -2 logs/*.state + ps -eo args= | awk '$1~/bash$/ && $2~/run-task\.sh$/' | wc -l ; tail -2 logs/*.state + # NOT `pgrep -fc 'run-task\.sh'` — that counts this very shell (HAZARD #6/#10) - `logs/WAVE-DONE` exists -> that wave's workers have STOPPED. Read it, then independently verify (assembleDebug + testDebugUnitTest + `git status --porcelain`)