mirror of
https://github.com/block/buzz.git
synced 2026-11-24 10:12:19 +00:00
Every DM membership write now reads the DM's members under its lock, checks the add policy of the agents actually joining, and reconciles the DM's identity against the fingerprint it has stored. - An agent joining, or a tagged reopen of, a DM still identified by all its members moves it to its people. If those people already have a DM, people meet there and agents join in place. - Reopening a DM ignores the policy of agents already in it. - A create that loses a race reports created=false, so the opener still adds its agents. - Starting a new DM from a DM rereads its members under its lock and checks every agent in the result, not only the ones being added. - kind:41011 cannot add the relay to a DM. - The nine-people limit counts the caller only if they are a person, so an agent can open a DM with nine people. - Only people send the history tag, on kind:41010 as on kind:41011. - SDK: build_dm_open_with_history opts in to the history tag. Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com> Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>