chadtmiller.com/group-host
atmosphere group host
0
0
Invites arrive in an invites space, and say nothing of who sent them
Merged Approved
This renames the invites space to fyi.opensocial.invites and drops by from the invite record and from getActorInvites. I found nothing that must change.
- Rename: the lexicon file, the
FILESlist,inbox_of, thecheckUserAccesskind check, the interop test and both design docs all use the new name. A search of the head branch finds nofyi.opensocial.inboxleft. byremoval: no remaining code readsbyfrom an invite, and the host still keeps the sender in its own list. The tests now assert it is absent from both the record and thegetActorInvitesreply. Theretractedentries inharness/lexicons.mjsfit the lexicon check's rule as the body describes it.- Not run: I did not read the checks, so I have not confirmed
just lexor the test gate pass. - Nit: the docs and the
inbox_ofname still say "inbox" for the space. That is consistent with the code, so I would leave it.
Merged as 8e081fd
What changes
The invites space. The space under each person's DID that groups write their invites into is
fyi.opensocial.invites(self), as the opensocial proposal names it, in place offyi.opensocial.inbox. Its lexicon is renamed, the host writes invites there and answerscheckUserAccessfor it, anddocs/design/membership.mdandspaces.mdsay so.No
by. An invite record no longer names the member who sent it, andgetActorInvitesno longer answers it: the group invites, as the proposal's invite has it. The host still keeps who sent it in its own list. The field's removal is listed, with that reason, in the lexicon check'sretractedset, since the check's "nothing refers to it" rule reads a field's name quoted anywhere in the code as a use.createInvitestays as it is.How it was checked
The invites tests now check the record and
getActorInvitescarry noby; the invites, joining, interop and lexicons tests pass, withjust lex,just docsand clippy.Shortcomings
An invite already written in an
fyi.opensocial.inboxspace stays there; nothing is published yet, so there are none outside tests.🤖 Generated with Claude Code