Summary:
When running Hermes gateway setup and selecting Telegram, the wizard immediately skip with “Skipped (keeping current)” and then exit with “No platforms configured,” instead of prompting for the Telegram bot token, allowed user IDs, and home channel.
Observed behavior:
- Hermes gateway setup opens normally in a PTY.
- Navigating to the platform selection menu and choosing Telegram does not enter the expected Telegram prompt flow.
- The flow exits cleanly with:
- “Skipped (keeping current)”
- “No platforms configured. Run 'hermes gateway setup' when ready.”
- No hard crash is emitted; the issue is a premature skip/early return.
Relevant log evidence:
From ~/.hermes/logs/gateway.log:
- WARNING gateway.run: No user allowlists configured. All unauthorized users will be denied.
- WARNING gateway.run: No messaging platforms enabled.
- INFO gateway.run: Channel directory built: 0 target(s)
From ~/.hermes/logs/gateway.error.log:
- Repeated warnings:
- No user allowlists configured. All unauthorized users will be denied. Set GATEWAY_ALLOW_ALL_USERS=true in ~/.hermes/.env to allow open access, or configure platform allowlists (e.g., TELEGRAM_ALLOWED_USERS=your_id).
- No messaging platforms enabled.
- Shutdowns are signal-based (SIGTERM) and do not show a fatal traceback.
System environment:
- OS: macOS 26.5
- Kernel: Darwin 25.5.0
- CPU architecture reported by uname -a: x86_64
- Python: 3.10.9 from shell, Hermes reports Python 3.11.4
- Hermes Agent: v0.15.1 (2026.5.29)
- Hermes project path: /Users/alessandro/.hermes/hermes-agent
Config state before repro:
- ~/.hermes/config.yaml was reverted so Telegram is disabled and the token field is cleared.
- Relevant state includes Telegram being disabled in gateway config and no active messaging platform enabled.