Describe the bug
An @mention of a managed agent in a Projects issue comment is rendered and
published with the agent's p tag, but the comment never reaches buzz-acp.
The agent receives no turn and the mention does not appear in its
mentions/needs_action feed.
Ordinary channel mentions to the same agent work.
To reproduce
-
Create or open a repository under Projects → Issues.
-
Add a comment to the issue.
-
Select a running agent from the comment composer's mention picker and give it
a concrete task, for example:
@agent investigate this issue, implement the smallest fix, run the tests,
and report the result here.
-
Submit the comment.
-
Observe that the comment renders with the mention, but the agent never starts
a turn.
-
Query the affected agent's feed:
buzz feed get --types mentions,needs_action --limit 200
-
Observe that ordinary channel mentions are present but the Projects issue
comment is absent.
Expected behavior
- A Projects issue comment that mentions an agent should reach that agent's ACP
harness.
- The agent should receive the issue/repository context and be able to reply
back to the issue.
- Delivery behavior should match a mention in a normal channel.
Implementation diagnosis
At current main:
- Projects issue comments are temporarily published as kind
1 events because
kind 1111 is not yet registered by the relay:
desktop/src/features/projects/hooks.ts.
createProjectIssueComment correctly adds the explicitly mentioned pubkeys
as p tags, but its event tags contain only the issue e tag, repository
a tag, recipients, and media. There is no channel h tag:
desktop/src/features/projects/hooks.ts.
buzz-acp subscribes per channel. Its subscription request includes the
channel #h filter, and includes #p when mentions are required:
crates/buzz-acp/src/relay.rs.
Therefore a no-h Projects comment cannot arrive through the channel-scoped ACP
subscription even though it has a valid agent p tag.
Suggested fix
Choose and implement an explicit delivery model for project work-item comments:
- bind the issue/comment to a project channel and include its
h tag; or
- add a separate authenticated ACP subscription for mentioned project comments
keyed by p plus the repository/issue address.
The second approach must preserve community/repository authorization and avoid
turning every global kind-1 mention into an agent task.
Add an end-to-end regression test:
create project issue
→ comment mentioning an agent
→ buzz-acp receives exactly one turn
→ agent reply is attached to the issue
Environment
- Buzz Desktop: observed on 0.4.22
- Source diagnosis: commit
acfbb1bb6af54cb29cb152496ff43b8285dcb8cf (0.4.23 release commit)
- OS: macOS
Related issues
This report is distinct: the Projects issue-comment event never reaches the
agent feed/harness.
Describe the bug
An
@mentionof a managed agent in a Projects issue comment is rendered andpublished with the agent's
ptag, but the comment never reachesbuzz-acp.The agent receives no turn and the mention does not appear in its
mentions/needs_actionfeed.Ordinary channel mentions to the same agent work.
To reproduce
Create or open a repository under Projects → Issues.
Add a comment to the issue.
Select a running agent from the comment composer's mention picker and give it
a concrete task, for example:
Submit the comment.
Observe that the comment renders with the mention, but the agent never starts
a turn.
Query the affected agent's feed:
Observe that ordinary channel mentions are present but the Projects issue
comment is absent.
Expected behavior
harness.
back to the issue.
Implementation diagnosis
At current
main:1events becausekind
1111is not yet registered by the relay:desktop/src/features/projects/hooks.ts.createProjectIssueCommentcorrectly adds the explicitly mentioned pubkeysas
ptags, but its event tags contain only the issueetag, repositoryatag, recipients, and media. There is no channelhtag:desktop/src/features/projects/hooks.ts.buzz-acpsubscribes per channel. Its subscription request includes thechannel
#hfilter, and includes#pwhen mentions are required:crates/buzz-acp/src/relay.rs.Therefore a no-
hProjects comment cannot arrive through the channel-scoped ACPsubscription even though it has a valid agent
ptag.Suggested fix
Choose and implement an explicit delivery model for project work-item comments:
htag; orkeyed by
pplus the repository/issue address.The second approach must preserve community/repository authorization and avoid
turning every global kind-1 mention into an agent task.
Add an end-to-end regression test:
Environment
acfbb1bb6af54cb29cb152496ff43b8285dcb8cf(0.4.23 release commit)Related issues
This report is distinct: the Projects issue-comment event never reaches the
agent feed/harness.