Repository navigation
Conversation
Channel-template rosters only accepted personas and teams, both of
which resolve through persona instances — so standing agents already
on the relay (no persona entry) could never join a templated channel,
and a persona-shaped template would spin up clone instances instead.
Add an optional `members: [{pubkey, label?}]` roster to the template
wire shape in both duplicates (buzz-cli reader + desktop tauri types):
- CLI `channels create --template` validates every member pubkey before
any channel-creation side effect (a typo aborts with zero channels),
normalizes lowercase, dedups case-insensitively, and adds each member
with role `bot` after persona-resolved agents. The channel creator is
skipped — create already made them an owner, and a self-targeted
kind:9000 is relay-rejected.
- Desktop template create/update rejects malformed member pubkeys at
write time; apply-path adds members via addChannelMembers without
creating any agents, treats "already a member" as acceptable, and
invalidates the members cache.
- The settings editor preserves existing members across edits even
though it doesn't yet expose member management.
Co-Authored-By: Fizz <noreply@buzz.local>
Signed-off-by: Fizz <b41ea9dccb4b6ad92951955cd373138a16184a3cba9184850053f581640e9ffc@buzz.tail0a48eb.ts.net>
🔐 Codex Security Review
|
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.
Opened by mistake from a private setup; closing.