~ knotless Search/
↑↓ move↵ open⇧↵ all results

grain.social/grain

photography-focused photo sharing platform

grain.social
1 collaborator
0
2

lexicons: retire social.grain.privateGallery

Open
Open chadtmiller.com wants to merge into main from grain.social/grain:retire-private-gallery

What changes

social.grain.privateGallery is retired. The space type of the old pages' private galleries (a gallery its author shared with people they chose) is deleted from lexicons/ and from next/'s copy. harness/lexicons.mjs names it in RETIRED with why, so the check lets it go. Once this is on main, publish-lexicons deletes its published schema record, as it does for anything main no longer has. The lex script no longer leaves it out of the web's types, since it's gone.

The pool's description says members-only. social.grain.group.pool described what it keeps out of public repos as "a private gallery or photo". It now says "a members-only gallery or photo", the word the group's page uses, so "private" names nothing in Grain's schemas.

Why

next/ never had private galleries. Nothing in grain-serve, web/ or next/ reads it, writes it or asks for a scope of it (REGISTERED in login.rs doesn't name it), and grain-serve's index dropped space_invite long ago (V12). A group's members-only galleries are its pool, a different space type. Keeping a published schema for a feature nobody can use made "private" mean two things.

How it was checked

node harness/lexicons.mjs passes against main: "as the guide asks, and only grown since 24f490e8". next/lexicons/social/grain matches lexicons/social/grain (diff -r). The rest is left to the checks.

Shortcomings

HUD bundles its own copies of Grain's lexicons (apps/lexicons/social/grain/privateGallery.json, unspecced/getPrivateGallery.json, unspecced/listPrivateGalleries.json, and the same under crates/hud-core/src/testdata/grain). Those are in HUD's repo and untouched here. next/'s copy overrides them, so they're harmless, but they go in a HUD change.

Records any account wrote in a private gallery's space stay in their authors' space repos, read by nothing.

Approved

This retires the social.grain.privateGallery lexicon. It deletes the file from lexicons/ and next/lexicons/ and adds the NSID to RETIRED in harness/lexicons.mjs. It also drops the rm of that file from the lex script and changes "private gallery" to "members-only gallery" in the pool description in both copies. A search of the head commit finds no other mention of privateGallery, so nothing else in the repo still refers to it. The pool description edit is identical in both copies. I found nothing that needs to change. I didn't run the harness check myself and am relying on your note that it passes.