- Gather credentials and a staging bot/app solely for matrix leave on ban.
- Implement the minimal change so that: Stop room work on leave events.
- Add a fail-closed unit or fixture test that locks the behavior of matrix leave on ban.
- Run the flow end-to-end in staging; capture logs for the success and error paths.
- Write operator notes (env vars, rollback) for matrix leave on ban in the README.
Tutorial
Handle leave or ban in Matrix sync
Stop room work on leave events.