Skip to content

alert + anthropic-credit-check: text/call Anthony on real fleet failures - #27

Merged
ralyodio merged 1 commit into
mainfrom
feat/alert
Oct 17, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/alert

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Anthony 2026-10-17: "we need to get alerts working somehow ... SMS alerts NOW".

  • bin/alert: smshub.dev POST /api/v1/alerts with SMSHUB_ALERT_API_KEY (vault smshub--prod, Anthony's account). Text when a number can send, else a TTS call (smshub PR #96). Local --key/--every window on top of smshub's 10-min dedupe, --clear on recovery, email fallback (ALERT_EMAIL) when smshub is unreachable.
  • bin/anthropic-credit-check: hourly 1-token probe of the shared key; alerts once a day while out of credits / over limit / refused; clears on recovery. Only definite Anthropic answers alert (429/5xx/vault/network do not).
  • fleet-nightly: alert on a failed run.
  • scripts-check: parses python scripts.

Verified on dev2: a real alert placed a call to Anthony's cell, answered, read twice, hung up, logged in the smshub inbox.

🤖 Generated with Claude Code

bin/alert posts to smshub.dev alerts (text when a number can send SMS,
otherwise a call that reads it), key from vault smshub--prod; --key/--every
keeps a failing cron to one alert per window, --clear on recovery, and it
emails ALERT_EMAIL when smshub is unreachable.

bin/anthropic-credit-check asks the shared Anthropic key for one token
hourly and alerts (once a day) on out-of-credits / usage limit / refused.

fleet-nightly alerts on a failed run, next to the failure email.
scripts-check now parses python scripts too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit d692367 into main Oct 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant