SPEC: lookup outcome is three-way; wave 5 worker prompt

SPEC now states that a source which could not be reached must never be
reported as a book that does not exist: Found / NotFound / Unavailable,
where NotFound requires every source to have answered authoritatively.
Also records that a rejected barcode must not be silent, and that the
by-ISBN cover URL is not evidence a cover exists.

run-task.sh exports CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0, per the wave-4
post-mortem: `claude -p` otherwise kills background tasks at 600s, so a
worker that backgrounds a Gradle build can never report on it. Safe to
edit now — no workers are running (hazard: never edit it while they are).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CDcPottghJXEvfYKqFM7zf
This commit is contained in:
Sprite
2026-09-09 10:42:32 +00:00
co-authored by claude
parent 1ba22a9f36
commit 1969b74cc9
3 changed files with 208 additions and 2 deletions
+4
View File
@@ -16,6 +16,10 @@ export ANDROID_HOME="$HOME/toolchain/android-sdk"
export ANDROID_SDK_ROOT="$ANDROID_HOME"
export PATH="$JAVA_HOME/bin:$ANDROID_HOME/platform-tools:$PATH"
export GRADLE_USER_HOME="$HOME/.gradle"
# Wave-4 post-mortem: `claude -p` terminates background tasks after 600s and ends
# the turn, so a worker that backgrounds a 10-minute Gradle build can never report
# on it. 0 = wait indefinitely. Worker prompts ALSO require foreground builds.
export CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0
cd "$CWD" || exit 1
# Stable session id so a killed run can be resumed rather than restarted.