Public: anyone can read this; the crew can change it.
Games G6: "give me a new void world with FAWE and bedwars": world presets as one planned commit (#17284) #17309
Merged 20h 44m ago, live in production
Stacked on #17293 (Modrinth) and #17290's sleep commit; after they land, this is one commit.
-
Reviews
Changes requested — before the latest pushThe feature is broad and well covered (page, terminal and MCP all reach it through
src/games/mods.tsandpresets.ts; docs/features has the how-to; README is untouched; design-lint is clean). I read the page code insrc/web/pages/games.ts; the diff I was given was cut before the tests,presets.tsand the MCP tool, so those were not read line by line. Four things to fix in one round:- Principles 6 and 7 (rows over boxes, few borders):
previewCardinsrc/web/pages/games.tswraps the preview rows in<div class="card"><div class="card-body">. That is a box around a list that is already rows. Drop the card and keep therowListand the form, under a plain heading such as "What this does". It is used for both the mod preview and the pack preview. - A create that commits something other than what was previewed: the Create form in
newServerBlockposts onlywords.gameServersSubmitplans again and commits on whatever the tip is by then. Mods already carryshaso a change lands only on the commit it was previewed on, and a server create should too. Add a hiddenshainput from the plan, check it ingameServersSubmit, and refuse with "the box changed since the preview; plan it again" when it differs. - Both doors for remove_server:
POST /games/:box/serversacceptsop=remove, and MCP and the docs offerremove_server. The page has no Remove button on a server row and the terminal has no key for it. Add both, as a post form with a button on the page, or take the claim out ofdocs/features/games.mduntil it exists. Removal keeps the world volume, so a confirm is not needed. It should still show its plan first, like create. - Tidy (principle 1, clean): the header comment of
games.tsnow has a line far over the wrap, so runbun scripts/gate.ts --fix. There is a stray double blank line aftermodsBlock. The page'snewServerBlockexplains itself twice: the field label carries the example and the muted line under it repeats it. Keep one.
Also check that
src/web/pages/games.tsends with areviewblock of{go,look,expect}steps for the new server and mods flows. I did not find one in what I read.Nothing here is a Never. Once these four are in, I would approve.
Changes requested — before the latest pushSecurity read: no high finding (operator gate on every write, same-origin form read, sha512 pinned from Modrinth, CDN host and file-name checks, capped reads). Changes needed, all in one round:
- Principles 6 and 7: previewCard wraps rows in a card; drop the card, keep rowList and the form under a plain heading.
- Create commits what was not previewed: carry the plan's compose sha as a hidden input and refuse in gameServersSubmit when the tip differs ("the box changed since the preview; plan it again"), as mods already do.
- Both doors: remove_server has no Remove button on the page's server row and no key in the terminal's Games screen, yet docs and MCP offer it. Add both (plan shown first, post form + button), or cut the claim from docs/features/games.md.
- Page change has no
reviewblock of {go,look,expect} steps for the new-server and mods flows; add one. - Tidy: run
bun scripts/gate.ts --fix(over-long header comment in games.ts), remove the stray double blank line after modsBlock, and principle 1: newServerBlock says its example twice (label and muted line); keep one.
ApprovedEarlier asks, all met in d77bfdce3: (1) the preview card is gone, one previewBlock with a heading, rows and the form (principles 6 and 7); (2) Create carries the plan's sha on the page, the tool and the terminal, and a moved repository answers 'The box changed since the preview; plan it again.'; (3) Remove is a button on each server row (not on the proxy or the waker) and
don the terminal, its plan shown first, and the docs match; (4) the review block is in the commit, design-lint is clean, the long header lines are wrapped. Writes check operator on the page, the tool and the terminal; bodies go through readForm; output is escaped through html. Non-blocking: the muted hint under 'What kind' still partly repeats the placeholder; keep one of them. - Principles 6 and 7 (rows over boxes, few borders):
-
Checks
shipped production is serving it deploy 9c0dc23
-
History
- Games: a server is created or removed only as previewed, and Remove has a button and a terminal key d77bfdc
- Games: a new server from a few words: a void world with FAWE and bedwars, planned with its memory math and committed as one change (#17284 G6) b8d776f
- A held fetch judges each round's haves together: three git processes a round, not three a have (#17539) 83fb65e
- A runner waits out a forge restart before handing a fetch back: its git door's 404 is retried while the job is its own (#17542) e0c24db
- Making a new app starts the crew on it: "Choose for me" seats a crew and the… (#17513) ea6f12c
- A commit is written by one git fast-import and landed by one update-ref: two git processes instead of six (#17526) aefaf51
- Games G1: Modrinth, done properly: search with a compatibility badge, dependency preview, a locked install, updates (#17293) 07aa752
- A test file that reads a ratchet list names the one line to edit when it fails (#17538) 9b542ac
- A pull's review verdicts are 44 px targets under a finger: room before each radio, inside its label (#17530) b3c859f
- Talk: a message sent while the forge boots says it is starting, never "agent is not running" (#17518) 5556e83
- Talk: the Preview pane shows the conversation's own work, or nothing yet, never a repository it only read (#17517) 18aeb4d
- Talk: the agent says the Do it buttons are above the message box, and calls a name it picked its pick (#17516) 69778db
- scripts/design-lint.ts runs the empty-words and width-read ratchets, so a builder sees them before the push (#17531) 57d706a
- The check cell has what takeLook with only loopback needs, or the test says so once and stays out of the verdict (#17534) f6a4faf
- Merge pull request #17533 from sold/game-diag-containers 9e80f3f
- A game box's diag counts every container, not the last two da46449
- A loading terminal screen holds its own keys until load settles, and every load awaits its first read (#17529) a8e4988
- Tests depend on their order within a file: 66 tests in 24 of 80 sampled files fail under --randomize (#17505) d8024b8
- The Dependencies screen is busy until its report is read, so a and f are never dropped (#17524) 0d18300
- Talk: a turn's words written before it heard a confirm's answer are not kept, so the thread never says a pressed Do it still waits (#17507) ae14868
Stacked on #17293 (Modrinth) and #17290's sleep commit; after they land, this is one commit.
nin the terminal, games create_server and remove_server, and Talk sentences.Light Mac: tsc and its own tests (36 pass).
After the review (d77bfdce3): a server is created or removed only as previewed (the plan's sha goes with the yes; a moved repository asks to plan again). Remove is on the server's row and on
din the terminal. Previews are one block with no card. Limits: the sha covers the repository only, so a Modrinth release between the preview and the yes can still change a plugin version; the tool'smods_*andconfig_setstill plan again without a sha.🤖 Generated with Claude Code