docs(config): default telegram group replies and track reliability hardening

This commit is contained in:
William Valentin
2026-02-18 13:12:21 -08:00
parent 42ae4a75df
commit b35a8675b5
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -149,6 +149,7 @@ Config location: `~/.config/flynn/config.yaml` (or set `FLYNN_CONFIG`)
telegram: telegram:
bot_token: "your-telegram-bot-token" bot_token: "your-telegram-bot-token"
allowed_chat_ids: [123456789] # Your Telegram user ID allowed_chat_ids: [123456789] # Your Telegram user ID
require_mention: false # Default false: respond in allowed groups without @mention
# Optional: Matrix # Optional: Matrix
matrix: matrix:
+1
View File
@@ -8,6 +8,7 @@
telegram: telegram:
bot_token: ${FLYNN_TELEGRAM_TOKEN} bot_token: ${FLYNN_TELEGRAM_TOKEN}
allowed_chat_ids: [] # Add your Telegram chat ID allowed_chat_ids: [] # Add your Telegram chat ID
# require_mention: false # Default false: respond to all allowed group messages
# Optional: Signal via signal-cli # Optional: Signal via signal-cli
# signal: # signal:
+23
View File
@@ -5525,6 +5525,29 @@
"docs/plans/state.json" "docs/plans/state.json"
], ],
"test_status": "pnpm test:run src/gateway/handlers/handlers.test.ts src/cli/setup/config.test.ts src/cli/setup/automation.test.ts + pnpm typecheck passing" "test_status": "pnpm test:run src/gateway/handlers/handlers.test.ts src/cli/setup/config.test.ts src/cli/setup/automation.test.ts + pnpm typecheck passing"
},
"telegram-reliability-hardening-diagnostics": {
"status": "completed",
"date": "2026-02-18",
"updated": "2026-02-18",
"summary": "Hardened Telegram channel reliability: default group behavior now responds without mention gating, adapter now records error metadata, retries transient Telegram API failures, and schedules reconnect attempts after polling/runtime faults. Surfaced adapter error diagnostics through gateway services/channels, dashboard service cards, and doctor Telegram status detail.",
"files_modified": [
"src/channels/telegram/adapter.ts",
"src/channels/telegram/adapter.test.ts",
"src/channels/types.ts",
"src/config/schema.ts",
"src/config/schema.test.ts",
"src/gateway/server.ts",
"src/gateway/handlers/system.ts",
"src/gateway/handlers/services.ts",
"src/gateway/handlers/services.test.ts",
"src/gateway/ui/pages/dashboard.js",
"src/cli/doctor.ts",
"config/default.yaml",
"README.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/channels/telegram/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts src/cli/doctor.test.ts + pnpm typecheck passing"
} }
}, },
"overall_progress": { "overall_progress": {