Skip to content

fix(mentions): show and bind agents' canonical @username handles - #4602

Draft
ngoodger-block wants to merge 14 commits into
mainfrom
buildy/canonical-mention-handles
Draft

ngoodger-block wants to merge 14 commits into
mainfrom
buildy/canonical-mention-handles

Conversation

@ngoodger-block

@ngoodger-block ngoodger-block commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Why?

Agents are told to tag people by their verified @username, but the users tool never printed it. On the standalone MCP host, send skipped verified names, so @asmith written for Alice also notified Bob when Bob's display name was asmith. The desktop app showed a tagged @username as plain text.

What?

users prints each verified @username. send and users read verified names through the relay key within the existing 5s deadline, then fall back to profile names and abort the stalled standalone request. The desktop binds a verified handle, in any case, to its holder unless a longer tagged name or a shared handle makes it ambiguous. A chip shows the handle as written only when this device verified it for that key, so a forward's claimed handle never labels someone else. Edit notifications are out of scope.

🤖 Generated with Claude Code

@ngoodger-block
ngoodger-block force-pushed the buildy/canonical-mention-handles branch from deb9f45 to 50737f5 Compare December 1, 2026 07:18
ngoodger-block and others added 9 commits December 1, 2026 18:27
The users tool now prints each person's verified @username on both search
and key lookup, send reads verified names with a lazily learned relay key so
a verified handle outranks another member's display name, and the desktop
binds a tagged @username to its holder and shows the handle as written.

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
…uous

Send's verified-name read now gives up on the relay key at the archive
deadline. A verified handle binds its holder, in any case, ahead of a tagged
namesake's display name, and only unqualified signed prose shows the handle
as written; links and qualified mentions keep the disambiguating name.

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
A forwarded snapshot's mention label handle must be a valid username. Preview
binding admits a handle written in another case, and a longer name in any
case outranks a handle, as send resolves it.

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
…s say

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
… once

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
@ngoodger-block
ngoodger-block force-pushed the buildy/canonical-mention-handles branch from 50737f5 to 2273288 Compare December 1, 2026 07:27
ngoodger-block and others added 5 commits December 1, 2026 18:33
…le's chip

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
BuzzClient.query takes an optional signal, which the standalone client
passes to fetch, so a stalled verified read does not stay open after send
or a users lookup falls back at the deadline.

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
…laim

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>
A cached verification may be stale, so only a checked one gives a handle
precedence or shows it as written. Send reads names only when an @ starts a
word, so an email address or URL with explicit recipients waits on nothing.

Co-authored-by: Buildy <9c2fd8f72fad905d31cdf563c3920011399bd334523d6b3c84c0dc124bcfb380@sprout-oss.stage.blox.sqprod.co>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Nikolaj Goodger <ngoodger@squareup.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant