Public: anyone can read this; the crew can change it.
Games: instruct the crew from inside the game with !forge (link, plan, yes) #17317
Merged 16h 5m ago, live in production
The owner's original ask: "instruct the crew from within the game". Stacked on #17309 (presets); after it lands, this is one commit. Link a Minecraft name on the account page: a one-time 6-character code typed in game as !forge link CODE (10 minutes, stored hashed, attempts limited).
-
Reviews
Changes requested — before the latest pushGood shape overall: both doors and docs/features/games.md are there, README untouched, UUID binding and the exposed-backend refusal are well thought through. Three things to fix in one round, the first is high.
- HIGH, authorization:
!forgeplans and commits a whole-network compose change (new service, proxy lines, memory) on a service-scoped operator grant, while the page and thegamestool require box-level operator. A person granted operator on one service only can add or (via Talk) change servers of the whole network from chat. CheckroleOn(db, user, box.id)(no service), ascreate_serverdoes. - MEDIUM, denial of service: refusals (unlinked, not operator, rate limited, exposed) are excluded from the rate limit, so any player can spam
!forgeand each line adds agame_chatrow and a queued RCON tellraw, unbounded. Limit by (box, player) too, and answer a refusal at most once a minute. - MEDIUM, sync handler:
gameChatis awaited inside the agent sync and runs Modrinth resolution and git commits for up to 32 services x 20 lines, so a chat burst stalls the sync every box depends on. Cap commands per sync (a few) and do not await the plan/commit work in the sync response. - LOW:
sent.value.done?.then(...)has no catch, so a failure is an unhandled rejection.
Tests are needed for 1 and 2 (a service-only operator is refused; an unlinked spammer is capped).
ApprovedAll four earlier asks are met. (1) HIGH: the plan, the yes and the commit now gate on
roleOn(db, user, box.id)(changesNetwork), asked at the plan, at the yes and again right before the commit; test/game-chat.test.ts:490 covers operator of one server being refused. (2) Refusals are kept and answered once a minute per name (once for a whole box that is off), so spam costs a read, not a row and a tellraw. (3) The sync only checks and keeps a command; plan, commit and crew run as jobs one at a time per box, restart-safe, with a capped read per sync. (4) The crew turn's rejection is caught and logged. Thetellkind stays out of the service's console and People views. Docs are in docs/features/games.md, README untouched, and the terminal has the L code screen. No new findings. - HIGH, authorization:
-
Checks
shipped production is serving it deploy 5fa2c54
-
History
- Games: linked players show to an operator of the box, and the forge's words to one player stay out of the console 0dc7daf
- Games: !forge takes operator of the box to change the network, refusals cost one row a minute, and no sync waits on a plan 968e9dd
- Games: !forge yes builds only the plan shown in chat, and the account page's links query has its test 0854a98
- Settings: the Minecraft block costs one statement, and the notify block reads its two settings in one f64fdc0
- Games: a !forge link binds the player's UUID as the server lists it, and a command runs only while that name is online with that UUID; L on the terminal's Games screen gives the code (#17284) 1cf07f1
- Games: instruct the crew from in the game: a Minecraft name linked by a one-time code says !forge in chat to plan and build a server or ask the crew, answered by tellraw (#17284) d4ab381
- Talk: a newer proposal for the same goal replaces the older one; Do it is always on the newest (#17535) 943649e
- One place for every cloud: see, clean up, move, write (AWS, DigitalOcean, Hetzner, Cloudflare) (#17548) cecb8ac
- Talk: the Preview pane's tabs, its dev server button and its reply Send are 44 px where a thumb taps (#17520) c31ba9c
- The Talk phone fixture is each file's own, so two Talk files in one --no-isolate worker both get a server and a browser (#17556) 7aa9045
- Home keeps its checks and crew graphs under the kanban; parked pulls are one quiet line below them (#17555) b09b843
- Games G6: "give me a new void world with FAWE and bedwars": world presets as one planned commit (#17309) 3bd54e5
- Flaky test: a real child forge > boots in its own forge:<name> cell and answers / through the forward; its first request is held until it is up (#17553) 5434956
- A parallel test run restarts its workers every 100 files: batches of workers x 100, one after another (#17537) cfd8259
- A delegated cell's pids.max counts threads, so it's TASKS_MAX; the watch still stops at 512 processes (#17540) 10c7e61
- Talk: a new app's answer, made at once or after the person's yes, is the forge's own words and raises no fence (#17550) f00f3a5
- The nightly release was held: tests failed on 83fb65ebe (#17547) 715a205
- Merge pull request #17544 from sold/templates-track ec3e55e
- The terminal's Templates is busy until its README sentences and dates are read 14f59d7
- A held fetch judges each round's haves together: three git processes a round, not three a have (#17539) 83fb65e
Parked, offered to the crew again: it sat 6 h with no push, and nobody on the crew can take it from here (a person's branch: no builder can push it), so it waits for its author. The last verdict (changes requested): Good shape overall: both doors and docs/features/games.md are there, README untouched, UUID binding and the exposed-backend refusal are well thought through. Three things to fix in one round, the first is high. 1. HIGH, authorization: !forge plans and commits a whole-network compose change (new s… (The forge posts this; nobody wrote it by hand.)
<!-- look-pages 0dc7daf1b7b4 --> Look pages for 0dc7daf, from the gate:
look pages (none): this pull changes src/web/pages/account.ts, src/web/pages/games.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
The owner's original ask: "instruct the crew from within the game". Stacked on #17309 (presets); after it lands, this is one commit.
!forge link CODE(10 minutes, stored hashed, attempts limited). Unlink is there too.!forge <words>from a linked operator: a new-server request goes through the presets planner and the plan comes back by tellraw, then!forge yesbuilds it (same name, same server, 5 minutes). Anything else opens a Talk conversation, and the first reply is relayed back.Light Mac: tsc, the gate and the game tests (game-chat 11/11). Not yet on a real box: the agent's chat path and the Fabric log format.
!forge linkbinds the player's UUID (39862a966). Linking takes the UUID the server itself lists for that name (list uuids, People's online list), never anything typed in chat. Every later command needs that name online with the bound UUID: not listed is refused with the link kept, another UUID drops the link, and a link from before this change is dropped and asks to link again. The code is single-use, lasts 10 minutes and is stored as its sha256. It is made on /settings or withLon the terminal's Games screen, and shown only to that person.After sentinel's review (0dc7daf1b):
!forgechanges the network only for an operator of the whole box: checked at the plan, at!forge yes, and right before the commit. Talk from chat needs operator of the server and runs with that account's own permissions; a test shows a service-only operator is refused on another service and oncreate_server.20261202174500-game-chat-jobs).Not run: the full suite, game-diag's two timing tests, a real box.
🤖 Generated with Claude Code