Files
hermes-agent/tests
beardthelion 3e2d5b66bb fix(gateway): allowlist no longer admits any user_id sharing a '@' localpart
_principal_matches_allowlist added user_id.split("@")[0] to the match set
for every platform. The split was written for WhatsApp JIDs, which are now
covered by the scoped alias expansion; on platforms whose user_id is an
email or iMessage handle (google_chat, bluebubbles, email) a bare allowlist
entry "alice" admitted alice@<any domain>. Only fully qualified ids match
outside the platform-scoped aliases.

(cherry picked from commit c583c59a55d04bdf327d85ca63d020276be5fbc5)
2026-09-23 16:20:19 +05:30
..