fix(acp): wake agents on workflow @mentions under owner-only gate - #3889
Open
Chessing234 wants to merge 3 commits into
Open
fix(acp): wake agents on workflow @mentions under owner-only gate#3889Chessing234 wants to merge 3 commits into
Chessing234 wants to merge 3 commits into
Conversation
Workflow send_message events are relay-signed; attribute the workflow owner from actor/p tags before author_allowed runs so mention wake works under default owner-only mode. Fail closed when provenance is missing. Signed-off-by: Taksh <takshkothari09@gmail.com>
Fetch the relay self pubkey over unauthenticated NIP-11 so buzz-acp can verify relay-signed workflow output before delegating to the owner. Signed-off-by: Taksh <takshkothari09@gmail.com>
Use the attributed workflow owner for author_allowed and prompt metadata in normal and setup-listener modes so scheduled @mentions wake agents. Signed-off-by: Taksh <takshkothari09@gmail.com>
Contributor
Author
|
@tlongwell-block @wesbillman @wpfleger96 mind taking a look when you get a chance? |
Chessing234
force-pushed
the
fix/workflow-mention-author-gate
branch
from
August 5, 2026 10:36
4b5ec81 to
a0cb11b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
send_messageevents beforeauthor_allowedruns, so scheduled @mentions reach mention matching instead of being dropped as relay-authored noise.selfidentity and fail closed when provenance is missing or forged.Fixes #3858
Test plan
cargo test -p buzz-acp workflow_authorcargo test -p buzz-acpsend_messagethat @mentions a managed agent under default owner-only mode and confirm the agent receives a turnMade with Cursor