docs: first-command check no longer counts its own shell as a worker

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AQb3d68LqWD4EdND3C8jkD
This commit is contained in:
Spriteandclaude committed 2026-09-13 11:38:26 +00:00
1 parent 007a1f426d
commit 0c0b8466cc
1 file changed
+2 -1
+2 -1
View File
@@ -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<N>-DONE` exists -> that wave's workers have STOPPED. Read it, then
independently verify (assembleDebug + testDebugUnitTest + `git status --porcelain`)