mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-05 13:29:44 +02:00
Each @mention or assignee comment now creates its own queued task instead of folding into a single pending task per (issue, agent). The previous HasPendingTaskForIssueAndAgent short-circuit in enqueueMentionedAgentTasks and shouldEnqueueOnComment is gone; ClaimAgentTask already enforces per-(issue, agent) serial execution at claim time, so multiple queued rows drain one-by-one without overlap. Why: see docs/rfcs/0001-mention-dedup-policy.md. Coalescing dropped the trigger comment for every mention after the first, gave no UI feedback, and collapsed distinct intents (different threads, different requests). Drops the unused HasPendingTaskForIssue and HasPendingTaskForIssueAndAgent queries and regenerates sqlc. Adds TestRepeatedMentionsEnqueueSeparateTasks pinning the new contract: two back-to-back @mentions queue two tasks with distinct trigger_comment_ids. Co-authored-by: multica-agent <github@multica.ai>