test(mentions): pin that a tool-named member rewrites the receipt #495
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!495
Loading…
Reference in a new issue
No description provided.
Delete branch "qa/pin-the-code-span-collision"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pins #486 without reddening
main, and verifies the candidate fix rather than guessing at it.c061344excluded links,97c6aedexcluded Discord markup. A backtick span is neither, and the disclosure footer is made of them:The footer reaches
resolveMentionson every tool-using turn — resolution runs insendReplyatagent.go:1316and the footer is appended before it. Tool names are short lowercase words, which is exactly the shape a display name takes.The once-per-person detail is pinned deliberately
Only the first occurrence is rewritten, so the receipt ends up naming a person for one call and the tool for the next:
That is asserted, not incidental. A fix that rewrote both lines would be a different defect rather than none, and this test would still fail — correctly.
The fix is verified, and it is one line
mentionSpansalready splits the reply into prose and opaque spans, which is the mechanism the two landed fixes use. Adding code spans toopaqueSpan:Flips both pins and leaves the prose half passing. So no offset work is needed and the existing structure is sufficient — worth knowing before anyone opens the file expecting the mapping problem the original 465 fix had.
Why I did not just write it
This is a third span exclusion in one function. The shape is now a design question — a growing list of excluded spans, or an allowlist of prose — and after three of these I would expect the answer to be the latter. That is one deliberate pass, not a third patch, and it is not mine to choose.
The prose half is pinned beside the defect:
eco confirmed it,**eco** confirmed it, andshe said "eco" earliermust all still resolve. Emphasis and quotation around a name do not stop it being a name, and a fix that over-narrows fails here.Test-only. No production change.
Refs #486