fix(desktop): authorize external channel-member mentions - #19
Merged
cmyk merged 1 commit intoAug 14, 2026
Merged
Conversation
This was referenced Aug 14, 2026
cmyk
approved these changes
Aug 14, 2026
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.
Why
External Gateway agents can be authoritative channel members and invocable by the current user while stale kind-10100
channel_idsstill exclude the channel. Desktop then hides the agent from@autocomplete, creating a circular dependency: the owner has already added the exact pubkey, but cannot structurally address it until someone manually republishes directory metadata.Architecture
respondTo, exact pubkey identity, and nonmember exclusions intact.ptagging.Membership supplements stale directory channel metadata; it does not bypass authorization.
Verification
4,795/4,795Desktop unit tests passed.ptags and removal after selection.git diff --checkpassed.ptags;Cross-repository dependency
Related work
This does not overlap block#5856, which publishes ACP harness routing profiles. This PR addresses Desktop eligibility and fresh send-time authorization for external/native Gateway agents.
Base topology
integration/block-main-20260814is a ref-only mirror of the exactblock/buzzmain commit (df9e773a13f17a270fd6531fc74948b8059d58c3) used for implementation and acceptance. The product range is one commit and six files. It is deliberately separate from the fork-sync/release gate; no commit was rewritten and no duplicate build was run for this ref topology.Direct upstream PR creation was attempted but the
reinhold-phtoken is not authorized to create pull requests inblock/buzz. The branch remains suitable for an upstream PR from the Peakhunter fork when an authorized GitHub identity submits it.Scope
No relay membership weakening, no managed-agent identity changes, no cache surgery, and no manual directory publication path.