chadtmiller.com/group-host
atmosphere group host
0
0
A group takes a handle on its own domain from the console or command
Merged Approved
This adds a Handle card to a group's profile settings. The card has a "Use your own domain" dialog and a "Go back" confirm. It also adds the group_handle entry in TOOLS, which gives the opensocial group handle command and the MCP tool. Docs, the e2e flow and the command test come with it. I found nothing that must change.
- Command and tool:
group_handlefollows theTOOLSrules in AGENTS.md. It has the usage line, thecli.mdandmcp.mdrows, theprotocol.rslisting and the lexicon registered. - Docs link: the
#a-handle-on-its-own-domainanchor incli.mdresolves to the heading atgroups.md:239. - Console: the dialog titles are fixed words. The act is sent through the page's form actions.
NotPointing,InvalidHandleandHandleNotAvailableare mapped to messages the reader can act on. - Not checked: I didn't open the shot PNGs or
GroupHandle.svelte's use ofFormDialogandConfirmDialog. CI'se2eandwebchecks cover those. - Untested (already in your shortcomings): the success path for a real domain has no test.
Merged as 88b5622
A group can now take a handle on a domain of its own from the console, the
opensocialcommand and MCP. Until now only raw calls toupdateGroupHandlecould. Its settings show the handle, warn when its domain no longer names it, and give it its address back.Claude Opus 5.5
What changes
Console. The profile page of a group's settings has a Handle card (
GroupHandle.svelte) after "Who sees it":checkGroupHandleas the page loads; if not, it says what the_atprotorecord should be._atproto.<the domain as typed>, valuedid=<the group's DID>with Copy), then the domain. It callsupdateGroupHandle. Done, it goes to the settings at the new handle, as the old one names the group no more. A refusal it can act on is said in the reader's words (NotPointing,InvalidHandle,HandleNotAvailable); any other is the host's.The pill holding a value to copy is now one shared rule,
.copyable, which "Connect an AI app" uses too. A DNS record's fields are.record.Command and tool. One
TOOLSentry,group_handle(updateGroupHandle), makesopensocial group handle <group> <handle>, with its usage line, and the MCP tool. A domain that names the group gives it that handle; its own address gives it that back.Docs.
docs/design/groups.mdsays what the console, the command and the tool do, and that the site stays at the address.docs/reference/cli.mdanddocs/reference/mcp.mdgain their rows.Why
The third step of the order agreed for a group's site on its own domain (at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.issue/3mzysqoksvx7f): a site's domain is planned to come from the group's own-domain handle, and nobody could take one without calling the host by hand.
How it was checked
gives_a_group_a_handle_only_on_a_domain_that_names_it(crates/opensocial/tests/commands.rs):NotPointingand thedid=its record should hold;tests/protocol.rslistsgroup_handle.did=<DID>, and_atproto.<domain>as typed, lower-cased;just look: the card with the address, the dialog empty and typed, the refusal, a domain that no longer names the group, and the go-back confirm. The own-domain state was drawn by renaming Riders' handle in a throwaway world's database, as no world resolves a domain. Through that dialog, "Go back" gave Riders its address back and landed on its settings. A reviewer agent that hadn't written it critiqued the pictures against the ui skill's rules.npm run check,just fmt, and the tests named, locally. CI does the rest.Shortcomings
updateGroupHandlealready cover a domain that names the group. "Use it" is drawn but never seen succeeding in a browser.updateGroupHandle's andcheckGroupHandle's errors still carry no descriptions, as before.