Repository navigation
Conversation
This was referenced Nov 5, 2026
A DM's access dialog now adds people and agents. Agents join right away and can read the DM's earlier messages. Adding a person asks Include history (they join this DM) or Start new DM (a new DM of everyone, without the history); if the people already have a DM, it opens. A DM holds at most nine people; agents don't count. Adding goes through the purpose-bound direct-message host command (kind 41011 with an optional ["history", "include"] tag), confirmed from signed discovery. Opening a DM now accepts the DM of the named people when it also holds agents they did not name, and New message previews it, noting any named agents that sending would add. 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>
An agent added to a DM is sent with ["history","include"], so someone the app takes for an agent but the relay counts as a person joins this DM instead of starting another. The app's classification only decides whether to ask about history. The people limit is left to the relay, which knows who is an agent. 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>
The most common refusal is a DM that already holds nine people, which retrying cannot fix, so the add failure says so instead of "Try again". 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>
The relay now joins anyone to an existing DM only with ["history","include"]. Opening a DM can carry the tag on every path (native, browser host, web), and New message sends it while it shows an existing DM, so named agents join the DM on screen as the page says. Every other open stays exact-match. 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>
A DM of at most one person and their agents never gains a person in place, matching the relay and main. The access dialog no longer asks Include history or Start new DM there; adding a person opens the DM of everyone directly. New Message already never shows such a DM once a person is named; a unit test now pins that match. 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>
The moderation DM only carries the relay's notices, and the relay refuses every add to it. The access dialog no longer offers adding there and says that people can't be added to this DM. 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>
morgmart
force-pushed
the
morganm/growable-dms
branch
from
November 7, 2026 01:06
111550e to
e153f68
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
Lets you add people and agents to an existing DM. This is the app half of growable DMs. The relay half is block/buzz#9125.
["history","include"], so the message goes to the DM on screen. Every other way of opening a DM (forward, profile, agent buttons) omits the tag and gets the DM of exactly those members, as before.["history","include"]on kind:41011 when history is included and on kind:41010 when New Message asks. The app trusts only the relay's signed membership afterwards.Deploy order: block/buzz#9125 must be deployed before this merges. An older relay ignores the history tag, so Include history would quietly start a new DM.
Out of scope: removing people and naming DMs. Mobile has its own follow-up PR.
Screenshots
Adding a person to a DM:
The choice, light and dark:
Narrow:
Testing
Human test steps (local relay on block/buzz#9125's branch): open a DM with one person, open Access, add a second person, and choose Include history: they join the same DM and see earlier messages. Add another person and choose Start new DM: a new DM of everyone opens and the original is unchanged. Add an agent: it joins the same DM directly. In a DM with only you and an agent, add a person: a new DM of everyone opens with no question. In New Message, pick the same people as a DM that holds an agent: it shows that DM.
🤖 Generated with Claude Code