chadtmiller.com/group-host
atmosphere group host
The console names people, uses plain verbs, and marks invites anywhere
MergedThis pull does four things. It lets an invited person turn down an invite from the group page. It shows Settings only to members who have something to change there. It names people by handle in the apps lists and "Lately". It marks waiting invites in the header and user menu.
I found nothing that must change. The two rules for who sees Settings (changes() in settings.ts: group.configure, or a * repo collection among the viewer's role bindings) match the host's list_app_passwords and may_issue checks. The settings layout's theirs check does the job of the removed 403s in the settings routes. The host-side actor_views call reads each DID once, and the filter now runs before the actor lookup. The new actor fields are optional, so the lexicon change only grows the schema.
Two minor notes, neither blocking:
settings()no longer catches a failedlistAppPasswords. If the console's reading of the bindings and the host's check ever disagree, the whole settings layout fails rather than hiding the Apps tab. They agree today.- The root layout now makes a
getActorInvitescall on every page for a signed-in viewer. The body already says the group page still asks for itself.
I did not read these files, so they are unreviewed: docs/*, harness/e2e/flows.spec.mjs, .claude/skills/ui/SKILL.md, and the remaining small diffs (docs/reference/cli.md, docs/development.md, docs/design/membership.md). They are docs and e2e flows, which the repository's CI checks cover.
Round 2. Nothing from my first review needed changing, and none of it was asked for again. The new commit (232cfcd) reworks "Lately": the host now parses each log line into a write (operation, collection, rkey, space) and a subject, and the console words it in activity.ts. I read activity.ts, GroupActivity.svelte, Person.svelte, group_tokens.rs, actors.rs, app_passwords.rs and settings.ts. The other files in this commit are wording changes and the e2e flows, which I did not read. The e2e, lint and docs checks passed; test and web were still running when I looked.
The write_of parsing looks sound. Every DID it can look up, including each write's subject, goes into the one actor_views call, so the actors[&about] index cannot miss.
The body is out of date against this commit. It says "Lately" shows "Took a token for Riders' members" and "Signed in app.example". Now GroupActivity shows only entries that have a write, so token and sign-in entries no longer appear. Please update the body. If the page should still show those entries, that is a behaviour change.
One minor note: the host trims the log to ACTIVITY_SHOWN entries before the console filters out non-writes. Many sign-in entries can therefore crowd out the writes, and "Show more" cannot reach older ones. This is not blocking.
Round 3. I read the diff from 232cfcd to 2fa6c81. It adds appName and bare to activity.ts, names apps in GroupApps and GroupActivity, rewords Standing and the empty invites text, and adds the apps look seed with its docs. I found no bugs. appName covers the console's own client, app-password clients and other addresses. The e2e assertion that no 'With an app password' session remains matches the new wording.
Last round I asked you to update the body. It still says "Lately" shows "Took a token for Riders' members" and "Signed in app.example". That is not what the page shows now, because GroupActivity lists only entries that have a write. The body also says nothing about the new apps seed or the reworded standing text. I'm not blocking on this, but please correct the body before merging so the merged description matches what ships.
My earlier note about the log being trimmed to ACTIVITY_SHOWN before the console filters out non-writes still applies, and is still not blocking.
I did not read the other files in the earlier commits (docs, flows.spec.mjs, the other look seeds). CI checks cover them.
What changes
A part's act and a row's acts are one size. "Invite someone", "Add a link", "Create an app password" and the other acts across from a part's heading are now the size of the row acts beside them. Two rules in
app.cssset this for every page: one for.section-head's act and one for.row-actions.An invite can be declined from the group's page. Someone invited who opens the group sees a quiet "Decline" beside Join. It calls
declineInvite, as the home page does, and asks nothing first, since another invite can be sent. Afterwards the panel shows what the join policy says to anyone not invited.Settings is only for a member it has something for. The group's page shows Settings, and the settings layout shows each tab, only to a member whose roles grant
group.configureor who may create app passwords (a grant ofrepo:*). Both are read fromgetGroup: thevieweractions, and the bindings of the viewer's roles. A member who opens a settings address with nothing for them gets the page's empty state and a way back to the group, not a 403 error page.People are named by handle, and what apps did reads as sentences.
listGroupTokens(sessionView,activityView) andlistAppPasswords(appPassword) each gain an optionalactor.activityViewalso gains an optionalwrite, the record written in its parts (operation, collection, key, space), and an optionalsubject, the person a membership or invite is about. All are optional, and the host parses them from its log.web/src/lib/activity.ts. A new molecule,Person, shows someone inside a line of text.Invites are marked from anywhere. The root layout reads
getActorInvitesonce, together with the viewer. While invites are waiting, the header's avatar carries a dot, and the user menu's "Invites" item shows the count and links to/#invites. The home page always shows "Invites waiting" above your groups. When none are waiting, it says so withEmpty.The verbs people know from other apps. Delete, Remove, Cancel, Approve and Decline, Revoke, Create, Add and Save replace "Take away", "Take back", "Put out", "Turn down", "Let in", "Take off", "End access", "Define" and "Make". The member confirm reads "Remove @bob.test from Riders?" with "They can ask to join again." under it. Docs prose about the console follows; "Leaving and being put out" is now "Leaving and being removed". The names
eject,member eject,member_ejectand--undoare unchanged.Plain words. Console copy was rewritten to remove the tells of machine writing: triplets, colon chains, "who may", abstract nouns standing for people, and restating lines. Every string changed is listed below. The host serves no HTML pages of its own, so all of this is in
web/src.The ui skill gains "Verbs" and "Plain words" under House rules. The critique step now reads every visible string against both. There is a new look seed,
apps: an app signed in to Riders with an app password, having written as the group.just devhas an invite waiting for alice. It also builds theopensocialcommand. Its world adds Hikers (hikers.groups.test), run by bob, which invites alice.docs/development.mdanddocs/reference/cli.mdsay so.Why
These are the owner's loose ends after the console cleanup:
at://strings;For app passwords, the console reads the bindings in
getGrouprather than callinglistAppPasswordsto see whether it is refused.viewerhas no action for creating app passwords, but the bindings say which roles may write any collection as the group, which is what the host checks.How it was checked
group_tokenstests assertactoron sessions and activity, andwriteandsubjecton a membership write, a role write and a non-write.app_passwordstests assertactor. Those tests and theinvitestests pass.testcheck passes under the coverage gate.cargo fmt --checkand clippy (warnings denied) pass.node harness/layers.mjs,node harness/lexicons.mjs,node harness/docs.mjsandnpm run checkpass.just e2epasses, 31 flows, and adds:/#invites, the panel afterwards, then the empty invites part and a plain "Invites" item;/settings,/settings/rulesand/settings/apps;at://ordid:in the activity;just look:--seed full,long,waitingand the newapps.Two fresh critiques were run on the pictures. Fixed from them:
Left as they are, with the reason:
Shortcomings
getActorInvitesfor itself, to know whether that group invited the person.Strings changed
Verbs: "Put out" / "Put them out" → "Remove"; "Let in" → "Approve"; "Turn down" → "Decline"; "Withdraw it" → "Cancel request"; "Take back" → "Cancel invite"; "Take away" (rule, role) → "Delete", with "Delete this rule?" / "Delete this role?"; "Take away" (link), "Take the avatar away" → "Remove", "Remove the avatar"; "Take off" / "Take this key off?" → "Remove" / "Remove this key?"; "End access" / "End this app's access?" / "End its access" → "Revoke" / "Revoke this app's access?" / "Revoke"; "Revoke it" → "Revoke"; "Disconnect it" → "Disconnect"; "Define a role" / "Define the role" → "Create a role" / "Create"; "Make an app password" / "Make it" → "Create an app password" / "Create"; "Save the profile" / "Save who sees it" / "Save their roles" → "Save"; "Add the rule" / "Add the link" / "Add the key" → "Add"; "Lately" → "What apps did as the group"; "You are invited" → "Invites waiting"; "Label taken back" → "Label removed".
Plain words:
🤖 Generated with Claude Code