You are not authorized to use this command
Root Cause:
Version 2026.1.16-2 wizard (ran at ~4:51am PT) introduced breaking changes:
1. New config structure added:
- agents.defaults.model with primary: "zai/glm-4.7" and empty fallbacks: []
- gateway.auth.token added
- commands.nativeSkills: "auto" added
2. Authorization logic changed: The telegram native command handler checks an allowFrom list for command authorization. With the new config structure, the /model command's authorization check is failing even for the bot owner.
3. Sessions corrupted: The zai model config persisted into session state, causing authorization to fail across all telegram chats (DMs and groups).
Workaround:
- Downgrade to 2026.1.15
- Remove zai model config from sessions.json
For maintainer: The wizard's model configuration or the new gateway.auth token is interfering with native command authorization. The /model command should always be available to the bot owner regardless of model configuration.
