chadtmiller.com/group-host
atmosphere group host
0
0
A post is labelled and taken down from its own Review
Merged Approved
The host now answers cid on each moderation event. The console's post Review uses the latest event's CID to add a label, remove one, or take the post down as a strongRef. A post with no known version shows a note that points to the terminal. I found nothing that must change.
- The lexicon field is optional and the host tests assert both the present and absent cases.
- The form action only builds a
strongRefwhenuriis present, so account flows are unchanged. - The hidden inputs come from one snippet, so the label, unlabel and takedown forms all send the same subject.
- The docs and the lexicon are updated with the change.
I did not run the checks. Post labelling has no browser flow, as the body says. The page action does nothing about a missing or empty cid. The dialog only offers the forms when a CID exists, so that is fine here.
Merged as 26cd03e
What changes
The host answers each event in
fyi.opensocial.getSubjectHistorywithcid: the version of a record subject it is about, when the report, label or status named one. It's a new optional field onfyi.opensocial.defs#moderationEvent, from what the queue already kept.The console gives a post's Review the same Labels and Take down parts as an account's, using the version its latest event names. Adding a label, taking it off and taking the post down send a
com.atproto.repo.strongRefwith that CID. The takedown says it hides this post and leaves the rest of what they posted, behind the confirmation "Take this down?". A post whose report named no version says so, and points toopensocial mod labelwith its CID.The Moderating guide and the moderation design page say so. The
reportslook seed now names the version of the post it reports.Why
Labelling a record takes its CID, and the queue keeps a record by its URI alone, so the console couldn't label or take down a post. Taking down one post is among the most common things a moderator does. The host already kept each event's CID; it just didn't answer it.
How it was checked
just shots --check(no guide picture changed),just docsandjust lexpass.just look: a post's Review in all four looks, taken down, and its label taken off again, and the queue with the post's!takedownbeside its reason.Shortcomings
🤖 Generated with Claude Code