docs: sweep archaeology comments to present state

This commit is contained in:
müde 2026-07-13 22:16:02 +02:00
commit 79fec131d6
4 changed files with 9 additions and 10 deletions

View file

@ -127,10 +127,10 @@ let
fi
CORE_TOKEN=$(cat ${coreTokenPath})
# Capture the HTTP status so a stale/invalid core token (401/403) is
# distinguished from a transient forge hiccup. With the old bare
# `curl -sf | jq`, a forge-core-token that's stale for the current
# forge (e.g. after a forge rebuild) 401s and fails silently every
# attempt for the full 60s loop, then exits with a misleading
# distinguished from a transient forge hiccup. A bare
# `curl -sf | jq` would let a forge-core-token that is stale for
# the current forge (e.g. after a forge rebuild) 401 silently on
# every attempt for the full 60s loop and exit with a misleading
# "core token absent or forge unreachable" — masking the real cause.
# Fail fast + loudly on 401/403 so the failure mode is legible and
# the operator/hive-c0re knows to re-mint forge-core-token.