Summary
openclaw status fails with:
channels.telegram.botToken: unresolved SecretRef "env:default:TELEGRAM_BOT_TOKEN"
…even when the Telegram channel is healthy and openclaw doctor reports Telegram: ok.
Environment
- OpenClaw:
2026.3.2 (85377a2)
- Host: Linux (systemd user service)
- Channel config includes:
channels.telegram.enabled: true
channels.telegram.botToken: "${TELEGRAM_BOT_TOKEN}"
TELEGRAM_BOT_TOKEN exists in ~/.openclaw/.env and matches Telegram token format.
Repro
- Set Telegram token via env SecretRef (
${TELEGRAM_BOT_TOKEN})
- Ensure gateway is running and Telegram is connected
- Run:
openclaw doctor ✅ shows Telegram: ok (@...bot)
openclaw gateway status ✅ healthy
openclaw status ❌ fails with unresolved SecretRef error
Observed behavior
status appears to resolve SecretRef on a path that does not use the active resolved runtime snapshot, causing a false unresolved error for an active, healthy channel.
Expected behavior
openclaw status should either:
- Use the active runtime snapshot (same effective data path as doctor), or
- Fall back gracefully when runtime already has resolved secrets.
Notes
openclaw secrets reload does not change outcome.
openclaw secrets audit reports unresolved=0.
- This makes
status unreliable as a health command in this configuration.
Summary
openclaw statusfails with:channels.telegram.botToken: unresolved SecretRef "env:default:TELEGRAM_BOT_TOKEN"…even when the Telegram channel is healthy and
openclaw doctorreportsTelegram: ok.Environment
2026.3.2 (85377a2)channels.telegram.enabled: truechannels.telegram.botToken: "${TELEGRAM_BOT_TOKEN}"TELEGRAM_BOT_TOKENexists in~/.openclaw/.envand matches Telegram token format.Repro
${TELEGRAM_BOT_TOKEN})openclaw doctor✅ showsTelegram: ok (@...bot)openclaw gateway status✅ healthyopenclaw status❌ fails with unresolved SecretRef errorObserved behavior
statusappears to resolve SecretRef on a path that does not use the active resolved runtime snapshot, causing a false unresolved error for an active, healthy channel.Expected behavior
openclaw statusshould either:Notes
openclaw secrets reloaddoes not change outcome.openclaw secrets auditreportsunresolved=0.statusunreliable as a health command in this configuration.