You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-12Lines changed: 16 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,9 +112,11 @@ For IBKR, keep `paper` as a single account-group entry. If you later add live ac
112
112
|`TELEGRAM_TOKEN`| Yes | Telegram bot token. For Cloud Run, prefer a Secret Manager reference instead of a literal env var. |
113
113
|`GLOBAL_TELEGRAM_CHAT_ID`| Yes | Telegram chat ID used by this service. |
114
114
|`NOTIFY_LANG`| No |`en` (default) or `zh`|
115
-
|`CRISIS_ALERT_EMAIL_TO`| No | Comma/semicolon/newline-separated recipients for escalated crisis-plugin email alerts. Email is skipped when unset. |
116
-
|`CRISIS_ALERT_EMAIL_FROM`| No | Sender address for crisis-plugin email alerts. |
117
-
|`CRISIS_ALERT_SMTP_HOST`| No | SMTP host for crisis-plugin email alerts. |
115
+
|`CRISIS_ALERT_GOOGLE_VOICE_TO`| No | Comma/semicolon/newline-separated Google Voice SMS gateway recipients, usually ending in `@txt.voice.google.com`. |
116
+
|`CRISIS_ALERT_EMAIL_TO`| No | Optional ordinary email recipients that receive the same escalated alert; also accepted as a legacy recipient list. |
117
+
|`CRISIS_ALERT_SMTP_FROM`| No | SMTP sender address for Google Voice alerts. Falls back to `CRISIS_ALERT_EMAIL_FROM`. |
118
+
|`CRISIS_ALERT_EMAIL_FROM`| No | Legacy SMTP sender alias; prefer `CRISIS_ALERT_SMTP_FROM`. |
119
+
|`CRISIS_ALERT_SMTP_HOST`| No | SMTP host for Google Voice alerts. |
118
120
|`CRISIS_ALERT_SMTP_PORT`| No | SMTP port; defaults to `587`. |
119
121
|`CRISIS_ALERT_SMTP_USERNAME`| No | Optional SMTP username. |
120
122
|`CRISIS_ALERT_SMTP_PASSWORD`| No | Optional SMTP password. For Cloud Run, prefer `CRISIS_ALERT_SMTP_PASSWORD_SECRET_NAME` in env sync. |
@@ -215,8 +217,8 @@ Current behavior is fail-fast:
- missing key fields in the selected group (`ib_gateway_instance_name`, `ib_gateway_mode`, `ib_client_id`) → startup error
217
219
218
-
When `IBKR_STRATEGY_PLUGIN_MOUNTS_JSON` includes the `crisis_response_shadow` plugin, the normal strategy-cycle Telegram message still includes the compact plugin line. If the plugin signal escalates beyond `no_action` (for example `canonical_route=true_crisis`, `suggested_action=defend`/`blocked`, or `would_trade_if_enabled=true`), the service also sends an independent crisis email when the `CRISIS_ALERT_*` SMTP settings are complete.
219
-
Email alert results are written into the runtime report. Duplicate suppression uses stable plugin alert keys and stores markers under `STRATEGY_PLUGIN_ALERT_STATE_GCS_URI` when set, otherwise `EXECUTION_REPORT_GCS_URI`, with a local `/tmp` marker fallback.
220
+
When `IBKR_STRATEGY_PLUGIN_MOUNTS_JSON` includes the `crisis_response_shadow` plugin, the normal strategy-cycle Telegram message still includes the compact plugin line. If the plugin signal escalates beyond `no_action` (for example `canonical_route=true_crisis`, `suggested_action=defend`/`blocked`, or `would_trade_if_enabled=true`), the service also sends an independent crisis Google Voice notification when the `CRISIS_ALERT_*` SMTP settings are complete.
221
+
Google Voice alert results are written into the runtime report. Duplicate suppression uses stable plugin alert keys and stores markers under `STRATEGY_PLUGIN_ALERT_STATE_GCS_URI` when set, otherwise `EXECUTION_REPORT_GCS_URI`, with a local `/tmp` marker fallback.
-可选危机插件 Google Voice 告警:`CRISIS_ALERT_GOOGLE_VOICE_TO`、`CRISIS_ALERT_EMAIL_TO`、`CRISIS_ALERT_SMTP_FROM`、`CRISIS_ALERT_EMAIL_FROM`、`CRISIS_ALERT_SMTP_HOST`、`CRISIS_ALERT_SMTP_PORT`、`CRISIS_ALERT_SMTP_USERNAME`、`CRISIS_ALERT_SMTP_PASSWORD_SECRET_NAME`、`CRISIS_ALERT_SMTP_STARTTLS`、`CRISIS_ALERT_SMTP_SSL`
0 commit comments