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:
1 parent
007a1f426d
commit
0c0b8466cc
1 file changed
+2
-1
+2
-1
@@ -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:
|
completion is recorded ON DISK. Run this before anything else:
|
||||||
|
|
||||||
cd ~/bookshelf && cat logs/WAVE*-DONE 2>/dev/null; \
|
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
|
- `logs/WAVE<N>-DONE` exists -> that wave's workers have STOPPED. Read it, then
|
||||||
independently verify (assembleDebug + testDebugUnitTest + `git status --porcelain`)
|
independently verify (assembleDebug + testDebugUnitTest + `git status --porcelain`)
|
||||||
|
|||||||
Reference in new issue
Block a user