From 9d757709b253213962990c798b5d057ed2a61cc8 Mon Sep 17 00:00:00 2001 From: Markov Date: Tue, 24 Feb 2026 12:29:34 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20ignore=20system=20messages=20=E2=80=94?= =?UTF-8?q?=20agent=20only=20responds=20to=20humans/agents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/router.ts b/src/router.ts index 343fa44..c352054 100644 --- a/src/router.ts +++ b/src/router.ts @@ -67,6 +67,12 @@ export class EventRouter { return; } + // Don't respond to system messages (task status changes, assignments, etc.) + if (authorType === 'system') { + this.log.debug('Ignoring system message: %s', content.slice(0, 100)); + return; + } + if (!content) { this.log.warn({ data }, 'message.new event missing content'); return;