chadtmiller.com/group-host
atmosphere group host
The docs say what the host does after the README rewrite
MergedThis is a docs-only follow-up. It fixes and restores facts on the design pages and in docs/reference/api.md. It also reformats harness/diagrams.mjs, redraws one line of network.svg, and adds the Excalifont OFL text. I read all ten files. The diagram change is a single label that now matches the script, and the licence file is the standard OFL 1.1 text.
I spot-checked one claim against the code: the leaveGroup order. put_out in crates/group-host/src/group_members.rs calls cut_off (credentials, grants, app passwords) before it deletes the membership, which matches the new text. The ejection half is less clear. members_written in member_writes.rs calls cut_off as a whole, grants and app passwords included, once the membership delete is among the writes. The new text says an ejection "revokes credentials before the membership goes and ends the grants and app passwords after". That reads correctly only if a credential revocation also runs earlier in the eject path, and I didn't trace that. The author says each fix was checked against the code, so I leave it as a note.
I checked nothing else against crates/. The docs check was still running when I read the pull.
Only one line changed since the approved commit. The migrateActivate row in docs/reference/api.md now says that a DID document it can't read fails with SourceUnreadable. This fits the neighbouring migrateReceive row, and the change breaks nothing I approved. I didn't verify the error name against crates/. My earlier note about the ejection ordering still stands as a note, not a blocker.
8 passed, 1 skipped
What changes
The diagrams' check.
harness/diagrams.mjsis formatted as oxfmt leaves it, sowebpasses, anddocs/diagrams/network.svgis drawn again from the script: the committed one saidsigned in to as "hikers", the scriptsigned in as hikers. Excalifont's licence (SIL OFL 1.1, its copyright from the font's own name table) now sits beside it inharness/Excalifont-OFL.txt.The design pages, against the code. The rewrite that landed from GitHub (bluesky-social/group-host#4) got some things wrong, each fixed here: the inbox scope an app asking for invites keeps; app-password session tokens being JWTs, not stored random bytes; the group's own spaces hearing of its writes at once, internally;
getActorGroupsnever showing a switched-off group; the orderleaveGroupand ejection end access in; reports, appeals andquerySelfHistoryneeding no role, and the latter showing appeals and ejections; account labels outside the members space and a takedown there; who may eject; a request left waiting underinvite.Facts the rewrite dropped, put back. Mechanisms on their design pages: how an inbox is made, the invite exception to the write lock, how a space repo arriving in a move is checked and how the group's handle is set, the import bringing the account's repos in others' spaces, members' DID documents kept 5 minutes and read to 256 KiB. Limits, checks and fields in
docs/reference/api.md: the host's checks on writes as the group (which collectionsmetaandmemberstake, display name, website, avatar, join policy, rules at a TID with a title, their order, files freed), whichgroups.mdandapi.mdhad each left to the other; the OAuth client rules (loopback client, native apps public,jwks_uri, same key for the grant's life, DPoP); the admin role's permissions; the queue's answer fields and the labeler's filters;requestJoinper join policy andRepoDeactivated; the 15 minutes of a console sign-in under way; and the move and import handle rules.Why
#4 landed from GitHub as it was, so that the pull shows merged there; this is the follow-up it needed. Four agents read each rewritten page against
crates/(andatproto-clientfor DID documents), and four more made the fixes, each checked again against the code.How it was checked
just docs(25 pages, no problems),oxfmt --check web harness docs-site, andnode harness/diagrams.mjsdrawing the same SVGs as committed. The DPoP algorithms and DID-document limits were checked in theatprotoandatproto-clientcrates.Shortcomings
The
errorsofrevokeGroupTokenand the fourmigrate*lexicons don't list what the methods answer, and nowapi.mdnames them; that's a lexicon change, left for its own pull. Some edited paragraphs wrap raggedly, as nothing reflows Markdown underdocs/.