chadtmiller.com/group-host
atmosphere group host
The host follows the opensocial proposal of 19 November
MergedThis pull moves the host onto the 19 November opensocial proposal: space policies replace access records, roles carry their own grants, the permission sets are tiered, moderation is renamed, and invites change.
What I read. The diff is 17,804 lines in 161 files, so I did not read it all. I read group_spaces.rs and takedown.rs in full, and I read AGENTS.md first. I did not read the rest: the other Rust sources and tests, the lexicons, the docs, the web console, the examples and the lockfiles. For those I rely on the checks and on your note that each part was reviewed as its own pull into the feature branch.
What I found. In the two files I read, I found nothing that has to change.
- The policy update's escalation check looks right. A change has to be to a role the user may assign, and it can't add a scope they don't hold. It can't newly grant read or write on a space the user can't read or write, and it can't open the space to public read unless the user can read it.
MembersSpaceFixedis enforced. A space whose policy can't be published is rolled back when it is created. - In
update_space_as,set_policyruns beforepublish_policy. If publishing fails, the stored policy and the published record differ until the next successful update. This is minor, and it fails the same way as before. - The module comment in
takedown.rssays a record's label covers only records in its own space.taken_downalso folds in record labels written in the members space, so such a label hides that record in whichever space it names. Only moderators can write labels, so the impact is small. Either narrow the code or change the comment.
Checks. At the head commit, check, docs and lexicons have passed. test, web and e2e were still running when I looked. Please confirm they go green before merging into the feature branch. The shortcomings listed in the body, wiping existing data on deploy and the role editor's moderation ticks, are stated plainly and are fine for a feature branch.
What changes
The host follows the opensocial proposal as it stood on 19 Nov 2026 (https://tangled.org/opensocial.group/proposal, commits 283f3d3, 5a73c36, 63192b2, 8df0cc8). Our namespace stays
fyi.opensocial. This merges the feature branch's six parts:Space policies replace access records. Each space has a
fyi.opensocial.policy(publicRead,unlisted,grants[{role, read, write, scopes}]), published in the space ascom.atproto.space.policy/self. Spaces are made, changed, read and ended through atproto'scom.atproto.space.createSpace/updateSpace/getSpace/deleteSpace, called as the group, andfyi.opensocial.createSpace/updateSpace/deleteSpaceare gone. The host keeps the space index itself. Only roles grantedwriteenter a space's writer set, and losingwritetakes a member out. A policy update can't escalate. The members space stays readable and writable bymember(MembersSpaceFixed). Moving a group carries its policies in the space meta archive.people,writableByand the index entry'snameare gone.Roles carry their own grants. The
permissionsrecord is gone. Eachroleholdsscopesandassignable, where*covers every role, including ones made later.membershipdropsmember.Tiered permission sets.
authManageProfile⊂authModerate⊂authManageGroupreplaceconfigure/manageSpaces/manageMembers/moderate, andparticipatebecomesauthParticipate. A set is an upper bound: a session keeps the parts the member's roles grant.Moderation. The methods are renamed
listModSubjects/getModSubjectHistory/resolveModSubject. A subject is a URI plus an optionalcid. Reasons are plain words. The labeler dropscreatedAt. A!takedownlabel hides content from the space as the host serves it.Invites. An inbox is a memberspace with
publicWrite, made by its owner's app, and the host no longer answerscheckAccess.Space alpha of 17 November. Space declarations use
title.Why
The proposal changed how access is modelled and renamed much of its surface. Apps written to it wouldn't work against this host.
How it was checked
Each part was its own pull into
feature/proposal-nov, with all six checks green before it merged. After mergingmainin, every check passed again.Shortcomings
host.sqliteand the blobs, keepinghost-secrets.json.authModerateorauthManageGroup, the editor shows every moderation action ticked, and unticking one does nothing.authModerate'slabelaction counts in every space, while the set itself names only meta and members.