You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent self-mentions in comments are silently dropped #790
An agent mentioning itself in a task or document comment is silently skipped by the anti-loop guard (triggerMentionedAgent in services/api/internal/service/task/activity_service.go, and the equivalent branch in services/api/internal/service/doc/activity_service.go).
The guard itself is correct — a self-mention must not retrigger the agent's own conversation, or a turn that quotes its own comment would loop forever. The problem is that the skip is silent: the comment posts successfully, no conversation is created, no notification fires, and nothing appears in the logs. From the outside this is indistinguishable from "the mention did nothing".
We hit this while using the MCP server / API as an automation acting in an agent's own identity: commenting on a task with an @mention of the same agent (e.g. to re-dispatch work after an outage) posts fine, creates nothing, and gives no clue why. It took a source dive to find the guard.
Suggested fix: log a warning at both skip sites, matching the existing comment mention trigger failed convention, e.g.:
Activity
pullfrog commentedon Nov 19, 2026