Files
hermes-agent/tests/plugins/platforms/matrix
Maciej Lisiewski bbfcf16ec5 fix(matrix): keep m.notice bot flag narrowing-only, drop MATRIX_ALLOW_BOTS
msgtype is chosen by the sender, so any Matrix user (federated strangers in
DMs included) can send m.notice. With MATRIX_ALLOW_BOTS=mentions|all and
process_notices on, that let an unlisted sender skip MATRIX_ALLOWED_USERS,
and 'mentions' was never enforced by the Matrix adapter anyway.

Keep m.notice -> is_bot (loop guard, no pairing reply), but don't declare
allow_bots_env until Matrix has an unspoofable bot identity; notice senders
still need a human rung.

Refs #143370
2026-11-13 13:57:48 +01:00
..