diff --git a/src/router.ts b/src/router.ts index c352054..6e2f84b 100644 --- a/src/router.ts +++ b/src/router.ts @@ -67,10 +67,12 @@ export class EventRouter { return; } - // Don't respond to system messages (task status changes, assignments, etc.) + // System messages: only process if agent is mentioned if (authorType === 'system') { - this.log.debug('Ignoring system message: %s', content.slice(0, 100)); - return; + if (!content.includes(`@${this.config.slug}`)) { + this.log.debug('Ignoring system message (not mentioned): %s', content.slice(0, 100)); + return; + } } if (!content) {