Files
loki/scripts
7c12ddb023 feat(ops): SSOT registry for everything that reaches the operator's Telegram (#445)
George: 'telegram should still update me on things. and we should have ssot
for things telegram does/updates me on. i do like when it tells me when there
is feedback sent through the feedback form.'

docs/telegram-notifications.md is now that SSOT: every notification class —
requested updates (visitor feedback, run outcomes, Loki briefings), incidents
(with the fix-agent dispatch), platform self-checks, and off-repo senders
(Loki cron, orangecat uptime) — one row each: what arrives, when, from where.

Enforced, not aspirational: scripts/ci/check-telegram-registry.sh (wired into
npm run verify) finds every sender surface in the repo — direct
api.telegram.org calls, importers of telegram-send.ts, box scripts sourcing
lib-alert.sh — and fails when a path is missing from the registry. Adding a
notification without registering it turns CI red in the same PR.

Mutation-proven: a planted unregistered sender fails the gate naming the
file; removing it goes green (22 sender files registered).


Claude-Session: https://claude.ai/code/session_018RmMktaYn8MuJdEqjp5gWU

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-29 10:58:08 +00:00
..