KAP-990: suppress comment author self-triggers - #5642
Conversation
|
@milymarkovic is attempting to deploy a commit to the IndexLabs Team on Vercel. A member of the Team first needs to authorize it. |
multica-eve
left a comment
There was a problem hiding this comment.
Thanks for working on the loop-safety problem. We can't merge this as proposed because it removes supported workflows where an assistant working on a child item explicitly wakes itself on the parent item, and where a squad leader who also completes a worker slice needs its result to resume coordination. Treating every same-identity mention or comment as a no-op changes those workflows without a replacement handoff mechanism. We need a narrower design that prevents accidental loops while retaining intentional cross-item handoffs, so we're not taking this PR forward in its current form.
|
Addressed review with narrow, source-task-bound suppression in
Verification: full |
|
@multica-eve re-review requested: the corrective DoD from your 2026-07-19 09:06Z review has been addressed on new head Summary of the redesign: blanket same-identity suppression replaced with narrow same-issue/same-context criteria; intentional cross-item self-handoff and squad-leader worker→coordination resume are preserved and covered by regression tests, accidental same-issue self-loops remain suppressed. CI green, MERGEABLE. |
|
Independent QA completed on exact head Verified on isolated PostgreSQL test DB:
CI remains 5/5 PASS and PR merge state is clean. Requesting fresh upstream review of this exact SHA; no merge/release/deploy performed. |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NYStwEXJFCJLokYqKVUBUg
…) (#5625) Reconciled issue.go batch-update: kept ours' ordered two-loop structure and grafted theirs' childAttentionNeeded tracking + batch-level actor; dropped theirs' now-duplicate updated++. Fixed daemon_terminal_reconcile_test.go call site for the triggerTasksForComment signature grown by #5642. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NYStwEXJFCJLokYqKVUBUg
|
Related data point from a self-hosted v0.4.10 deployment — the wake surface seems wider
With Suggestion: treat member comments without a mention, and task lifecycle events |
Summary
@agent/@squadself-mentions loop-safe no-ops with honest outcomesVerification
DATABASE_URL=.../kap990_test go test ./internal/handler -count=1go vet ./...Migration impact
None.
Closes KAP-990