Why it matters
Map slash/text intents to command handlers with authz hooks.
Practical steps
- Draw the boundary for arch command bus: what belongs in the bot process vs a worker.
- Implement map slash/text intents to command handlers with authz hooks behind a narrow interface so platforms can share it.
- Make arch command bus idempotent at the message/update id layer.
- Add contract tests between the adapter and the core for arch command bus.
- Document failure modes and ownership of arch command bus for on-call.
Watch out for
- Copy-pasting outdated snippets for arch command bus without re-reading current official docs.
- Shipping arch command bus to production without a staging rehearsal and a documented rollback.