internal_alerts module
Internal alerts system for CodeBot (post-MVP).
Stores recent alerts in-memory for ChatOps consumption
Emits structured events via observability.emit_event
Optionally forwards alerts to sinks via alert_forwarder (Slack/Telegram) or directly to Telegram if alert_forwarder is unavailable.
Environment variables used by the Telegram fallback: - ALERT_TELEGRAM_BOT_TOKEN - ALERT_TELEGRAM_CHAT_ID
This module is intentionally lightweight and fail-open. It should never raise.