The decisions the work on this repository is waiting on, kept in one place. Each is ticked off, with what was decided, once it is settled; new ones are added as they come up.
For the owner to decide
What public means when nobody is signed in. Decided 2026-11-04: the boundary holds. public is anyone signed in, everywhere: getGroup and listGroups show no profile or rules to a caller with no auth, and a signed-out visitor sees a generic landing page (what the host is, and signing in) and, on a group's page, only its handle. A mock of the landing page comes first.
"AI app", not "assistant". Decided 2026-11-05: "AI app" everywhere, code names included; done with the command cleanup.
Where "Create one" goes in the sign-in dialog. Decided 2026-11-05: a PDS named in the host's configuration, SIGNUP_PDS (Bluesky's by default), where someone with no account makes one and comes back signed in (a2654e0).
A page of members at a time. Decided 2026-11-05: listMembers, built with the signed-in pages.
AI apps for admins only: the page, or a rule too? The mock shows "Connect an AI app" only to admins. The host lets any member with a role connect one; hiding the section removes only the instructions. Should the approval step also require, say, group.configure?
Links on a group's profile. Decided 2026-11-05: yes, built with the signed-in pages.
getSpaceCredential without a delegation token. Settled by the boundary: someone not signed in reads no space, public or not, so refusing them is right.
An index behind getActor and getActorGroups. Each call reads every account on the host (groups_of). Fine at today's size; now, or once there are many groups?
Merging past the review bot. Pulls wait for review.knotless.dev's approval; knotless merge --force would not. Not used unless asked.
Following the proposal
Decided 2026-11-04: the host follows the opensocial proposal's records, methods and flows, so apps written to it work here, keeping the fyi.opensocial namespace. In stages:
Limits and paging. Landed 2026-11-05.
The access record. Landed 2026-11-04. grants (scopes per role) and public, as the proposal's access; createSpace shaped to match.
Permission sets. Landed 2026-11-05 (three write nothing until writing as the group).
Smaller shapes. Landed 2026-11-05.
Moderation shapes. Landed 2026-11-05.
Labels as the proposal's. Labels are still our own fyi.opensocial.label record written by applyLabel; the proposal writes them through CRUD as a com.atproto label record it has yet to define. Waits on that.
participate lists createReport. Landed with the shapes pull.
The permissions record's lists. Bare values, landed with roles and memberships.
publicRead gets a credential without sign-in.getSpaceCredential still gives one without a delegation token for a space moved here with publicRead set, against the boundary (no meta or members space has it, but a moved-in content space could).
Re-indent the group page. Done: the signed-in page is indented under its {:else}.
Which hostname the landing page names. It shows the console's own address; served apart from the host, that is not the host's handle domain.
An invite's role check under the write lock. Writing an invite as the group checks the member still holds invite just before the write, not under the lock other token writes take, so a member demoted at that moment could still send one.
A test that fails under load.writes_the_groups_repo_within_its_scope (tests/tokens.rs) failed under load twice, once on a connection reset at tokens.rs:460, and passed on rerun: find why, rather than let it pass by chance.
The console reads the profile it writes. It rebuilds the profile from getGroup and reads each picture's type and size from /img, so the profile's createdAt is lost on its first write. It should read the record itself with its group token (com.atproto.space.getRecord).
AI apps cannot upload a picture.putProfile keeps a picture only by naming a blob the group already holds.
Writing as the group. Apps write the group's records through com.atproto.space.* with a group-DID session, the host checking each write; our own methods for those go (nobody uses them, so no compatibility to keep), and with them the group parameter; the console and AI apps write as the group. In stages: rules and profile, then roles and memberships, then invites. Profile and rules landed 2026-11-05; invites landed 2026-11-05; roles and memberships landed 2026-11-05. The proposal plan is done.
Join requests as the group.listJoinRequests and denyJoinRequest still take service auth, where the proposal has them called with a group session.
Space index entries written directly.fyi.opensocial.space entries are still refused as record writes.
No reason when putting someone out. A membership delete carries no reason, and the proposal's ejectEvent has none; the command's --reason is gone.
Next, once roles and memberships land
The signed-in pages. Landed 2026-11-05 (1c5a313, then the settings pages).
Commands grouped, tools their twins. Landed 2026-11-05 (6ea2c17).
Deploying
Added 2026-11-05. The plan, after knotless's deploy/: an image and compose file first, then the proxy and deploy scripts, then backups, then a deploy workflow. Backups and the settings below come before any real group goes on it.
For the owner to decide:
Staged at next.opensocial.fyi. Done 2026-11-05: group-host runs on the grain box beside the prototype (hetzner-infra's opensocial/group-host-next pull), the lexicon account moved to a pds.js worker at lexicons.opensocial.fyi with its DID, and all 17 of the prototype's groups moved there with their DIDs (6 from its embedded PDS store, 11 from its own store in service.sqlite), with their profile, pictures, rules, roles and memberships only, by a throwaway tool. Custom roles came across granted nothing: the prototype's grants named methods this host lacks. The machine is the grain box; the domain the apex with handles under .opensocial.fyi; founders and Grain as on the prototype.
You are admin of every moved group. Whoever moves a group founds it here, so you hold admin in all 17, including Coastal Cruisers and Dessert Bike Gang, which bnewbold ran (he is admin too), and any of the newer groups you were not admin of. Leave, or step down there?
At the cutover. Apex and wildcard to group-host, group-host move-host --from https://next.opensocial.fyi, prototype stopped and its data archived; then drop the prototype's 90 schemas from the lexicon account, drop the prototype's rotation key from the six groups and the lexicon account, remove /root/gh-move and the group-host.bak-* snapshots on the box, and check Grain's groups.
Which machine. Settled by the staging: the grain box, beside the prototype.
The domain, and HANDLE_DOMAIN. Settled by the staging: the apex, with groups' handles under .opensocial.fyi.
Who starts groups at launch. Settled by the staging: founders and Grain as on the prototype.
Releasing the opensocial command. Builds published as a knotless package with knope and a changelog, as knotless's release.yml does, or later, while only the owner runs it?
Calls made in the plan, to revisit if wanted:
Group handles need a wildcard. Each group's handle is answered at its own name's /.well-known/atproto-did, so the handle domain needs wildcard DNS and a wildcard certificate: Caddy with a DNS challenge, or on-demand TLS asking the host which names it holds.
The proxy sends the host's paths to the host. The console hands on /xrpc/, /oauth/, /.well-known/ and /img/ with fetch, which carries no websocket (subscribeRepos): in front, the proxy sends those to the host and the rest to the console.
One host per DATA_DIR. knotless's index is a cache two serves can share for a rollout's seconds; this host's database is the groups' own, so a rollout stops the host and then starts the new one, held by the proxy's retries, and moves only the console with no gap.
Backups before anything else.DATA_DIR holds host.sqlite, the blobs, and host-secrets.json with every group's rotation key: lost, a group without recovery keys loses its identity. Snapshots off the host (VACUUM INTO or Litestream) and the secrets kept apart, with a restore tried.
The keys stay a file. Twelve-factor would have them in the environment; the host makes them itself, and they outlive any deploy, so they are state to back up, not config. Perhaps a way to start from keys mounted as a secret, for a host restored from backup.
The host logs the commit it runs. Done: built with GROUP_HOST_COMMIT, which /xrpc/_health names and the deploy waits on.
A start stays quick. Anything slow at start (migrations aside) runs after the port is open, so the healthcheck and a rollout are not held.
Calls made in the work, to revisit if wanted
Two ways a lexicon removal is let through. While PUBLISHED is false, the check lets go what nothing refers to; the lexicon batch also lists its removals by hand, with a reason each, because the rule reads a field's name quoted anywhere in the code as a use (displayName always is). Keep both, or make the rule tell real uses apart?
Exact grapheme counts. Landed with the lexicon validator: maxGraphemes is counted exactly.
opensocial import's finishing line does not repeat --address; --code alone now finishes a pending move, so it was left as it is.
One lock for every identity change. Changes to a group's DID take turns host-wide, not per group; and a failed read of the PLC directory is still a 500.
Clearing a profile picture.updateProfile took null to clear an avatar or banner, which its lexicon cannot say (goat refuses a field both nullable and optional); the lexicon validator replaces it with optional removeAvatar and removeBanner booleans, which the console sends. Keep, or another shape?
Error names the validator changed. Where the lexicon now refuses first, some methods answer InvalidRequest where they had their own name (createAppPassword's missing or long name was InvalidName). Fine, or keep the specific names?
Cut, not refused. An account moved here as a group has its display name cut to 64 characters and its description to 300, rather than the move refused for them.
A test that sleeps. The lapsed-invite test waits 1.1 s for an invite to lapse, as a past expiry is now refused; the host's clock would steady it.
Finding a member in a large group.listMembers' q reads each member's DID document for their handle until a page is found: fine for hundreds, slow for many thousands. An index of handles would fix it.
An AI app inviting by handle. The invite tool takes a DID, so "Invite dana.bsky.social" relies on the AI app resolving it first. Should the tool take a handle too?
Space blobs served to anyone. Fixed 2026-11-05 (f843a1b): sync.getBlob serves only blobs a public repo record holds; a blob only a space holds answers BlobNotFound, as the space alpha's PDS does.
Edits read then write.profile set and role grant read the record, then put it back changed, with no swapRecord between, so a change made in between is lost, as with the console's settings page. rule set and role set still replace their record whole.
Console leftovers. From the loose-ends pull's critique:
an invited person still sees "Joining is by request." and isn't told who invited them;
several identical "This console" sessions on the Apps tab;
raw action ids and role keys on the roles page;
no count on recovery keys;
long handles breaking mid-word on a phone;
the moderation queue's nouns.
App names. The host keeps no client name for an OAuth app acting as the group, so the activity list names it by its address.
The operators' logs and stats have no MCP tool.admin logs and admin stats read the whole host, every group's requests, while an MCP client acts in one group, so they are commands only (pull at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzo2bt7gtpg7). A group's own stats, for its admins, could be a tool later.
Usage counts name nobody. Requests are counted by route, day and status, and tools by name; unlike knotless, no DID or visitor is kept, so there are no counts of active accounts or funnels.
No console page for the logs and stats yet. The methods take the console's cookie, so one can come.
Waiting on the owner to act
Name the operators on next.opensocial.fyi. Done 2026-11-06: GROUP_HOST_ADMINS in /etc/group-host/.env is your account on the next network, chad.pds.next.opensocial.fyi (did:plc:7pcbmodahwob2jmfsltvmdud): the host resolves DIDs at the next network's own directory, where your plc.directory DID is unknown.
Redeploy the docs site. Done 2026-11-04 from main at a7b7199, with knotless built from its main (private sites are not in a release yet).
What happened
The decisions the work on this repository is waiting on, kept in one place. Each is ticked off, with what was decided, once it is settled; new ones are added as they come up.
For the owner to decide
publicmeans when nobody is signed in. Decided 2026-11-04: the boundary holds.publicis anyone signed in, everywhere:getGroupandlistGroupsshow no profile or rules to a caller with no auth, and a signed-out visitor sees a generic landing page (what the host is, and signing in) and, on a group's page, only its handle. A mock of the landing page comes first.SIGNUP_PDS(Bluesky's by default), where someone with no account makes one and comes back signed in (a2654e0).listMembers, built with the signed-in pages.group.configure?getSpaceCredentialwithout a delegation token. Settled by the boundary: someone not signed in reads no space, public or not, so refusing them is right.getActorandgetActorGroups. Each call reads every account on the host (groups_of). Fine at today's size; now, or once there are many groups?knotless merge --forcewould not. Not used unless asked.Following the proposal
Decided 2026-11-04: the host follows the opensocial proposal's records, methods and flows, so apps written to it work here, keeping the
fyi.opensocialnamespace. In stages:Limits and paging. Landed 2026-11-05.
The access record. Landed 2026-11-04.
grants(scopes per role) andpublic, as the proposal'saccess;createSpaceshaped to match.Permission sets. Landed 2026-11-05 (three write nothing until writing as the group).
Smaller shapes. Landed 2026-11-05.
Moderation shapes. Landed 2026-11-05.
Labels as the proposal's. Labels are still our own
fyi.opensocial.labelrecord written byapplyLabel; the proposal writes them through CRUD as acom.atprotolabel record it has yet to define. Waits on that.participatelistscreateReport. Landed with the shapes pull.The permissions record's lists. Bare values, landed with roles and memberships.
publicReadgets a credential without sign-in.getSpaceCredentialstill gives one without a delegation token for a space moved here withpublicReadset, against the boundary (no meta or members space has it, but a moved-in content space could).Re-indent the group page. Done: the signed-in page is indented under its
{:else}.Which hostname the landing page names. It shows the console's own address; served apart from the host, that is not the host's handle domain.
An invite's role check under the write lock. Writing an invite as the group checks the member still holds
invitejust before the write, not under the lock other token writes take, so a member demoted at that moment could still send one.A test that fails under load.
writes_the_groups_repo_within_its_scope(tests/tokens.rs) failed under load twice, once on a connection reset at tokens.rs:460, and passed on rerun: find why, rather than let it pass by chance.The console reads the profile it writes. It rebuilds the profile from
getGroupand reads each picture's type and size from/img, so the profile'screatedAtis lost on its first write. It should read the record itself with its group token (com.atproto.space.getRecord).AI apps cannot upload a picture.
putProfilekeeps a picture only by naming a blob the group already holds.Writing as the group. Apps write the group's records through
com.atproto.space.*with a group-DID session, the host checking each write; our own methods for those go (nobody uses them, so no compatibility to keep), and with them thegroupparameter; the console and AI apps write as the group. In stages: rules and profile, then roles and memberships, then invites. Profile and rules landed 2026-11-05; invites landed 2026-11-05; roles and memberships landed 2026-11-05. The proposal plan is done.Join requests as the group.
listJoinRequestsanddenyJoinRequeststill take service auth, where the proposal has them called with a group session.Space index entries written directly.
fyi.opensocial.spaceentries are still refused as record writes.No reason when putting someone out. A membership delete carries no reason, and the proposal's
ejectEventhas none; the command's--reasonis gone.Next, once roles and memberships land
Deploying
Added 2026-11-05. The plan, after knotless's
deploy/: an image and compose file first, then the proxy and deploy scripts, then backups, then a deploy workflow. Backups and the settings below come before any real group goes on it.For the owner to decide:
group-host move-host --from https://next.opensocial.fyi, prototype stopped and its data archived; then drop the prototype's 90 schemas from the lexicon account, drop the prototype's rotation key from the six groups and the lexicon account, remove/root/gh-moveand thegroup-host.bak-*snapshots on the box, and check Grain's groups.HANDLE_DOMAIN. Settled by the staging: the apex, with groups' handles under.opensocial.fyi.opensocialcommand. Builds published as a knotless package with knope and a changelog, as knotless'srelease.ymldoes, or later, while only the owner runs it?Calls made in the plan, to revisit if wanted:
/.well-known/atproto-did, so the handle domain needs wildcard DNS and a wildcard certificate: Caddy with a DNS challenge, or on-demand TLS asking the host which names it holds./xrpc/,/oauth/,/.well-known/and/img/withfetch, which carries no websocket (subscribeRepos): in front, the proxy sends those to the host and the rest to the console.DATA_DIR. knotless's index is a cache two serves can share for a rollout's seconds; this host's database is the groups' own, so a rollout stops the host and then starts the new one, held by the proxy's retries, and moves only the console with no gap.DATA_DIRholdshost.sqlite, the blobs, andhost-secrets.jsonwith every group's rotation key: lost, a group without recovery keys loses its identity. Snapshots off the host (VACUUM INTOor Litestream) and the secrets kept apart, with a restore tried.GROUP_HOST_COMMIT, which/xrpc/_healthnames and the deploy waits on.Calls made in the work, to revisit if wanted
PUBLISHEDis false, the check lets go what nothing refers to; the lexicon batch also lists its removals by hand, with a reason each, because the rule reads a field's name quoted anywhere in the code as a use (displayNamealways is). Keep both, or make the rule tell real uses apart?maxGraphemesis counted exactly.opensocial import's finishing line does not repeat--address;--codealone now finishes a pending move, so it was left as it is.updateProfiletooknullto clear an avatar or banner, which its lexicon cannot say (goat refuses a field both nullable and optional); the lexicon validator replaces it with optionalremoveAvatarandremoveBannerbooleans, which the console sends. Keep, or another shape?InvalidRequestwhere they had their own name (createAppPassword's missing or long name wasInvalidName). Fine, or keep the specific names?listMembers'qreads each member's DID document for their handle until a page is found: fine for hundreds, slow for many thousands. An index of handles would fix it.sync.getBlobserves only blobs a public repo record holds; a blob only a space holds answersBlobNotFound, as the space alpha's PDS does.profile setandrole grantread the record, then put it back changed, with noswapRecordbetween, so a change made in between is lost, as with the console's settings page.rule setandrole setstill replace their record whole.admin logsandadmin statsread the whole host, every group's requests, while an MCP client acts in one group, so they are commands only (pull at://did:plc:bcgltzqazw5tb6k2g3ttenbj/space/dev.knotless.space/group-host/did:plc:bcgltzqazw5tb6k2g3ttenbj/dev.knotless.pull/3mzo2bt7gtpg7). A group's own stats, for its admins, could be a tool later.Waiting on the owner to act
Name the operators on next.opensocial.fyi. Done 2026-11-06:
GROUP_HOST_ADMINSin/etc/group-host/.envis your account on the next network, chad.pds.next.opensocial.fyi (did:plc:7pcbmodahwob2jmfsltvmdud): the host resolves DIDs at the next network's own directory, where your plc.directory DID is unknown.Redeploy the docs site. Done 2026-11-04 from main at a7b7199, with knotless built from its main (private sites are not in a release yet).
Where
This repository's work since 2026-11-04.