fix: escalation notifications should @mention human on Matrix (#624)

Add MATRIX_MENTION_USER config to project TOML and include a Matrix
mention pill in escalation notify_ctx calls so humans get notified
even in muted rooms.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-24 19:21:46 +00:00
parent e58e60fe7c
commit 32c336f3df
4 changed files with 16 additions and 8 deletions

View file

@ -17,9 +17,10 @@ stale_minutes = 60
containers = []
[matrix]
room_id = "!your_room_id:matrix.example.org"
bot_user = "@disinto-factory:matrix.example.org"
token_env = "DISINTO_MATRIX_TOKEN"
room_id = "!your_room_id:matrix.example.org"
bot_user = "@disinto-factory:matrix.example.org"
token_env = "DISINTO_MATRIX_TOKEN"
mention_user = "@johba:matrix.allf.in" # Matrix user to @mention on escalations
[monitoring]
check_prs = true