Patterns
- Allow-list of Discord guild ids / Telegram chat ids for beta commands
- Global
maintenanceflag that replies with a short status - Per-provider LLM flags when a vendor is down
Storage
Env vars for coarse flags; a DB row or config file for fine-grained allow-lists.
Test both paths
Flags double your test matrix. Automate the critical combinations.