feat(cli): add 'buzz agents set-directory' kind:10100 directory publisher - #5878
Open
kevine-pixel wants to merge 3 commits into
Open
feat(cli): add 'buzz agents set-directory' kind:10100 directory publisher#5878kevine-pixel wants to merge 3 commits into
kevine-pixel wants to merge 3 commits into
Conversation
Clients gating agent mentions on kind:10100 directory evidence (block#5681) need channel_ids and respond_to in the record content, but the only existing publisher (channels set-add-policy) writes just channel_add_policy — and, because 10100 is replaceable, clobbers any richer record. Relay-hosted agents were therefore un-mentionable. The new subcommand read-merges the existing record (preserving channel_add_policy and unknown fields), fills name from the identity's kind:0 when omitted, and can derive channel_ids from the identity's own kind:39002 memberships. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: kevin echeverri <kevin.e@fs1inc.com>
…agents Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: kevin echeverri <kevin.e@fs1inc.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: kevin echeverri <kevin.e@fs1inc.com>
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
buzz agents set-directory— a publisher for the kind:10100 agent directory record. Addresses the publisher gap in #5681 mention gate requires kind:10100 fields that nothing publishes — relay-hosted agents are un-mentionable #5869: since fix(desktop): enforce agent mention authorization at send boundaries #5681, the desktop admits a non-managed agent into mention autocomplete/send only when its 10100 content carrieschannel_idsandrespond_to, but the only existing 10100 publisher (buzz channels set-add-policy) writes just{"channel_add_policy": …}— and, because kind:10100 is replaceable, clobbers any richer record. Relay-hosted agents were therefore structurally un-mentionable.channel_add_policy, which the relay'shandle_agent_profileingest requires — survive a republish.--namedefaults from the identity's own kind:0display_name/name;--channels-from-membershipderiveschannel_idsfrom the identity's kind:39002 memberships;--no-channelssupports DM-only agents;--respond-to owner-only|allowlist|anyonewith--allow <PUBKEY>for allowlists (validated 64-hex, normalized lowercase).sign_eventpath, unchanged.Validation
channel_add_policy, unknown keys) and overwrites stale directory fields without touching a customizedagent_type; subcommand stability guards updated.cargo clippy/cargo fmtclean; fullbuzz-clitest suite passes (345).--no-channelsrecords.Related: #5869 (publisher gap — this PR), #5870 (directory inspection UI, separate).
🤖 Generated with Claude Code