Files
loki/scripts
CatoandClaude Sonnet 5.5 ec5cbeff7b feat(ops): a read-only messaging doctor, run from GitHub (#1206)
* feat(ops): a read-only messaging doctor, run from GitHub

A Petvity report left from another phone could not be found, and no
Telegram, Web Push or WhatsApp message arrived for it. Everything that
answers "ingest, notifier, bot or gateway?" lives on the box, which an
agent session cannot reach — so the question was being guessed at.

scripts/hetzner/doctor-messaging.sh, run by .github/workflows/box-doctor.yml
over the same SSH setup as openclaw-media.yml, looks at: whether the
feedback rows exist, the widget token's status and last boot, what the
notifier logged, the channel configuration (yes/NO only), the Telegram
Bot API live (getMe, webhook state, optionally one test message to the
operator's own chat), the OpenClaw gateway (process, port, error-shaped
log lines, session and WhatsApp auth file times, the CLI's channel
status) and the last actions Loki queued from chat.

It changes nothing. The repo is public, so it prints counts, times and
statuses only: no feedback text, no action titles, no secrets, and every
line passes through a filter that masks long digit runs and token-shaped
strings.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3

* docs(telegram): register the box doctor's one test message

CI's Telegram-registry gate (scripts/ci/check-telegram-registry.sh) found
that scripts/hetzner/doctor-messaging.sh can reach the operator's phone
and was not listed. Add its row: one test message, on demand only, when
the Box doctor workflow is dispatched with send_test true.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-15 04:48:49 -07:00
..
…
…
…
…