Matrix: resolve mention patterns per routed agent#33028
Matrix: resolve mention patterns per routed agent#33028webdevtodayjason wants to merge 1 commit into
Conversation
Greptile SummaryThis PR fixes a bug where mention regexes were built once at startup without agent context, meaning multi-agent deployments would always use the default agent's mention patterns regardless of which agent a message was routed to. The fix resolves the agent route before mention detection on every incoming message, then builds regexes using the correct Key changes:
Trade-off to note: Confidence Score: 5/5
Last reviewed commit: e33e504 |
|
Maintainer-ready summary:
If this shape looks right, this should be safe to merge as a targeted behavior fix. |
|
Friendly ping: this PR is currently clean with required checks green. If the scope looks good, this should be ready for maintainer merge. |
|
Closing this to reduce stale PR inventory and reset on smaller, higher-signal work. If needed, I can reopen or resubmit a tighter replacement later. |
Summary
agentIdbuildMentionRegexesreceives the routed agentTesting