chadtmiller.com/group-host
atmosphere group host
Inboxes are memberspaces their owners' apps make, without checkAccess
MergedThis pull removes com.atproto.managedspace.checkAccess from the host. It deletes the handler, the route, the two upstream lexicons, the checkAccess test and its docs row. An inbox is now a com.atproto.memberspace.policy space with publicWrite, made by the invitee's app. The host's invite writes and its notifyRepoUpdate call are unchanged.
- I found no references to the removed items left on the branch.
CHECK_ACCESShas no remaining uses. TheHeaderMapandSpaceRefimports ingroup_invites.rsare still used elsewhere, so no unused-import warning should come from the trimmeduselines.harness/lexicons.mjslists both removed lexicons inRETIRED. tests/import.rsstill builds amanagedspace.policyvalue as input. It expectsUnsupportedPolicy, which an unknown policy type still gets, so that test should keep passing.- The interop and e2e tests now exercise the new inbox shape against the reference PDS. The shortcomings section is honest about the account-import limitation.
- The runner checks were all still queued when I looked, so I couldn't read their results. I'm approving on reading the code. The test gate, clippy,
just lex, e2e and docs checks will confirm it.
Carried forward: the change this pull makes at 0bfce98ad29dcb4ace850aa5166e12896935698f is the one reviewed at 01ae43dfb9be2238f0bbb51fe5d9e0c6d6486535, so that review stands. What is new comes from its base.
My last approval was at 0bfce98, which is the merge of the base. The only commit since is 20f8afb. It changes one thing, in harness/e2e/flows.spec.mjs: the site flow now waits for the getActorInvites reload after publishing before it counts requests.
The waitForResponse is registered before the click, so it can't miss the response. It is awaited after the dialog closes. I found nothing in it that breaks what I approved. The checkAccess removal, the memberspace inbox docs and the interop and e2e tests are unchanged since then.
I did not read the checks' results.
An invitee's inbox is now a memberspace their own app makes, with
publicWriteset and no members, as the opensocial proposal of 19 Nov has it, so the host no longer answerscom.atproto.managedspace.checkAccess. Groups' invites still go into the inbox the same way, and the host tells the invitee's PDS withnotifyRepoUpdate.Claude Opus 5.5
What changes
Inboxes are memberspaces.
at://<invitee>/space/fyi.opensocial.invites/selfis made by the invitee's app with atproto's baselinecom.atproto.memberspace.policy,{publicWrite: true}and no members: any group may write an invite there, and only the owner reads it. The host's writes are unchanged: the group's record in its repo in the inbox, thencom.atproto.space.notifyRepoUpdateto the invitee's PDS, which keeps the group among the inbox's writers.checkAccessis gone. The host no longer servescom.atproto.managedspace.checkAccess, andlexicons/upstream/com/atproto/managedspace/(checkAccess,policy) is removed.harness/lexicons.mjsnames both inRETIRED, in place ofcheckUserAccess, which main no longer has.fyi.opensocial.invitestakes the proposal's description: an inbox under the user's own DID, made with a memberspace policy that sets publicWrite.Docs.
docs/design/membership.md(Invites),docs/design/spaces.mdanddocs/reference/api.mdsay how an inbox is made now and dropcheckAccess. Membership also says the PDS is told withnotifyRepoUpdate, and that a PDS refusing the notice outright isn't asked again, while the invite still waits on the host's list.Why
Part 5 of the proposal's 16–19 Nov changes. The spaces spec (0016-permissioned-data,
managedspace) hascheckAccessserved by a space's managing app for spaces made withcom.atproto.managedspace.policynaming it. Only an inbox made that way, naming this host (<host DID>#opensocial), would ever ask this host. Nothing here ever made one: the console,packages/sdk,examples/kicker, theopensocialcommand and the MCP tools only write into an inbox, and never callcom.atproto.space.createSpacefor one. The only inbox ever made was intests/interop.rs, against the test network's reference PDS. Users' PDSes in production don't speak the space alpha, so no inbox on the deployed host can depend oncheckAccess. So it's removed outright, with no route kept for older inboxes. No stored data changes shape: the host's invite rows and the group's records in inboxes are as before, so there's no migration.How it was checked
tests/interop.rsan_invite_into_an_inbox_on_the_reference_pds: Alice's inbox is made on the reference PDS (space alpha) as a memberspace withpublicWrite. A group here invites her, nothing stays owed, and her PDS's writer set for the inbox holds the group.tests/invites.rs: thecheckAccesstest goes with the method.makeInboxinharness/e2e/pages.mjs). After Alice invites him from the console, his PDS's writer set for the inbox holds Hikers.inboxWritersreads the set as a syncing app does: a delegation token,authorizeSpaceSyncfor a key of its own, andlistWriterssigned with that key.just lex, e2e and docs.Shortcomings
getActorInvites), not the inbox, and doesn't ask for a scope on the user's own PDS to make one. Until an app does, an invitee's PDS has no inbox, and refuses the notice. The invite still works through the console andgetActorInvites.importAccount,opensocial account import) brings every space it governs, and refuses apublicWritememberspace withUnsupportedPolicy. An account whose app made it an inbox can't move until its inbox is left behind or deleted. That was already true for the managedspace inboxes, but such inboxes are now what apps make. Leaving the account's own inbox behind on a move would fix it. That's a change to moving, so it's not made here.Review
Start with
crates/group-host/tests/interop.rsandharness/e2e/pages.mjs(inboxWriters).