chadtmiller.com/group-host
atmosphere group host
0
0
An example app, Kicker, runs against this host in examples/kicker
Merged Approved
This adds examples/kicker, a Svelte members-only site run against this repository's host. It brings its own harness, a bootstrap script, a Justfile, and one-line additions to AGENTS.md, docs/design/README.md and .dockerignore.
I found nothing that must change. These are the parts I read in full:
- The wiring:
Justfile,harness/bootstrap.sh,world.mjs,pds.mjs,dev.mjsand the e2e setup and config. It builds the host and console from this repo's paths, takes the alpha commit fromharness/alpha.sh, and reusesharness/tls-proxy.mjs. - The site code that carries the fix:
place.js,kept.svelte.js,CardDialog.svelteandPeople.svelte. TheJSON.parse(JSON.stringify(...))inrecord()is a sound fix for the proxy-clone failure, since records here are plain JSON.
I did not run it. The pull's own shortcomings note that CI does not cover examples/.
I did not read these files line by line. I trusted the pull's description of them and its own checks (just check, just e2e, just look):
- the two lockfiles
app.css,tokens.cssand the other Svelte components and roomsseed.mjs,posters.mjs,look.mjs,layers.mjs,flows.spec.mjs- the lexicons
- the example's own docs:
README.md,DESIGN.md,AGENTS.mdandCLAUDE.md
The duplicated world.mjs and pds.mjs will drift from the host's. That is a maintenance cost the pull already names, not a blocker.
Merged as 6668ee6
Adds
examples/kicker: a skate club's members-only site, published as its group's site on the group host, with no server of its own. It is built and tested against this repository's host, so it shows end to end what an app on a group host can do: read, write, upload, report and appeal, all through the site kit.Claude Opus 5.5 · high effort
What changes
A new example,
examples/kicker. Its site (site/, Svelte) has four rooms: a board of notes, events with posters and answers, discussions with nested replies, and people with their cards. Anyone not let in sees a landing with the way in. It started as a separate commons-site repository; it now lives here and runs against this host:just hostbuilds the host, its command and its console from this repository before each world, andharness/bootstrap.shbuilds the spaces alpha at the commitharness/alpha.shnames. Its harness keeps its ownworld.mjsandpds.mjs, adapted from the host's, and uses the host'sharness/tls-proxy.mjs.Its look,
examples/kicker/DESIGN.md. After late-80s skate magazines, Poweredge (July 1989) above all, taken minimally: the club's name as a tall condensed masthead, pale yellow on sky blue, is the one loud thing; everything else is white, one typeface (Archivo, bundled, across its widths), posters large with plain captions, and threads set as interviews. The page also lists the generated-page defaults the design stays clear of. Every value is a token insite/src/tokens.css.A picture on a member's card.
com.example.place.cardtakes an optionalavatarblob, uploaded to the member's own PDS and read back throughgetSpaceBlob; People shows it, else the member's initial.A fix in how the site writes. Records are posted to the host's page as plain data: a field kept from what a room holds was a Svelte proxy, which
postMessagecould not clone. Keeping a card's picture hit it, and calling off an event with a poster would have.Around it.
AGENTS.mdanddocs/design/README.mdlistexamples/;.dockerignoreleaves it out of the image, as its.depsand packages run to a gigabyte.Why
An app built on the host, in this repository, keeps the site kit honest: the example's flows run a real site through OAuth at a PDS, writes in spaces, uploads, reports and appeals, against the host as it is now rather than a pinned commit of it. The pinned checkout it had before tested an old host, and needed knotless access to fetch itself.
How it was checked
just checkinexamples/kicker: svelte-check with no warnings, the view tests, and the components' layers.just e2einexamples/kicker: all 9 flows, in Chromium, over the reference PDS on the spaces alpha and this host: the landing, someone not let in, pinning a note, answering an event, a card with its picture added, kept while its words change, and taken off, publishing an event with a poster, a discussion and a reply to a reply, reporting, folded and hidden notes, and an appeal reviewed in the console.just look: every room and dialog drawn on a desktop in light and a phone in dark, and looked at.node harness/docs.mjs: every link and anchor lands.Shortcomings
webande2eworkflows read the console, the SDK and the host, notexamples/. Its formatting is oxfmt's, by the root's settings, butjust fmtand CI do not cover it.world.mjs,pds.mjs); a change to the host's world may need the same change there.Review
The design:
examples/kicker/DESIGN.md, thensite/src/tokens.cssandsite/src/app.css. The wiring to this repository:examples/kicker/Justfileandharness/bootstrap.sh.