Repository navigation
alert + anthropic-credit-check: text/call Anthony on real fleet failures - #27
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony 2026-10-17: "we need to get alerts working somehow ... SMS alerts NOW".
bin/alert: smshub.devPOST /api/v1/alertswithSMSHUB_ALERT_API_KEY(vault smshub--prod, Anthony's account). Text when a number can send, else a TTS call (smshub PR #96). Local--key/--everywindow on top of smshub's 10-min dedupe,--clearon 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