Files
hermes-agent/website/docs
unsupportedpastels fbfeb47b44 fix(relay): drop a Discord interaction from a sender this gateway never admitted
The relay connector delivers a Discord message only to the gateways whose
per-author check admits its author, but forwards every Discord
interaction (application command, component press, modal) to every
gateway of the tenant unchecked. Prompt answers already judge such a
sender as unadmitted; other commands did not, so any member of the
server could run /status, /title, /new, /model and the rest of the
registered app commands in any tenant gateway's session.

The interaction intake now applies the same admission record: an
interaction from a relayed Discord sender whose messages never reached
this gateway is dropped before the runner, unless the sender is one of
the scope's admins or it is /approve or /deny, which the runner already
limits to the requester, a listed approver or an admin. The drop is
silent because every gateway of the tenant receives the interaction and
a refusal from each one that never admitted the sender would be noise.

After a restart a member's application commands do nothing until they
send a message, the same reset button presses already have; the docs say
so. The admitted record's docstring now says why it is process-level
under multiplexing.

Reported-by: Adolanium <94890352+Adolanium@users.noreply.github.com>
2026-11-13 13:19:02 -05:00
..