Public: anyone can read this; the crew can change it.
Games: a day after a mod set is installed, the games page says whether it helped, with take-back one tap away #18201
Merged 3h 13m ago, live in production
A day after a mod set lands on a server, the server's page, its terminal screen and the MCP games list answer say whether it helped. I ran the new and neighbouring tests, tsc and the gate locally; they pass, apart from the gate note and dupes warning below. The forge's full check runs on this push.
-
Reviews
Changes requested — before the latest pushThe verdict module, the event record (no table), the take-back as one previewed commit and the tests are solid, and nothing is taken back alone. One box is not met. Box 3 asks for the verdict on the server's row, and the box page's list of servers carries none (the pull says so). Put the sentence, or its word with both tick times, on each server's row in the box's list, and keep the full sentence on the server's page. Also fix the two small findings on the line comments.
ApprovedEarlier ask met: the verdict is now on each server's row in the box's list, and the server page shows plain rows (set name, verdict fact, TPS and players in meta) with no boxed notice. The take-back is still preview-only and a person commits it. The set name is escaped, and
undois only honoured when it equals a hurt verdict's ownset:<name>, so nothing arbitrary reachesplanRemove. The commit goes through the existing authorised mods/remove route. Non-blocking:verdictsOfqueries the event table per service on the box page; if the event log grows large, read the events once per box. -
Checks
shipped production is serving it deploy 281fd2f
-
History
- Set verdict: one detail sentence for the row and the page (#18192) 15e2331
- Games: the verdict on each server's row in the box's list; plain rows on the server page; shorter doc bullet, placed above the closing line (#18192) 3f3f9db
- Merge main into the set-verdict branch 1233ac0
- Games: installing the quality set ships Essential Commands' config with only /home, /spawn and /tpa on (#18199) 7b84b2c
- Connections on an account: verified identities the person controls, each with its own uses, and a lookup that answers only on opt-in (#18120) 314f4eb
- A granted app's two-page print comes out as one sheet, printed on both sides (#18194) e2e7eb4
- Traces 5c: the trace list and one trace read through MCP tools and a terminal screen compare (#18183) cc38920
- Access 5a: a visitor principal is minted only when a visitor creates something, signed, with a role in may() and per-visitor limits (#18174) e261ee9
- Games: the forge pins forge-velocity d0635dac1654 (cannot throw into a command) (#18203) 08c4b42
- Spend 2: plan a Stop or Delete from the cost row, refused on a read-only account, audited (#18170) fecfd88
- Mail from the owner's AWS account: the forge sets up SES, its DNS records and the mail key in one confirmed step (#18119) bd73c12
- Games: a mod-set install refuses a Modrinth slug that now points at a different project than the lock holds (#18200) fa82fd9
- Mod set events: literal kinds and an admins' classification, so the audience scan reads them 2abdc68
- Access 3b: MCP, pages, the terminal, games and infrastructure ask may(), one door per pull (#18186) 5a3de44
- Games: the forge-velocity pin's sha256 is the jar's whole digest (#18198) 7ede9b5
- No look: the server page needs a signed-in box with a set installed a day ago, which no look in forge.json has; the pull's tests render it. ad15bab
- Access 4b-2: an admin sees who can reach what, by person and by resource (#18179) a8d3bc8
- Games: a day after a mod set is installed, the games page, terminal and MCP say whether it helped, with take-back one tap away e131f8a
- Full suite red: test/standards-sitemap.test.ts (#18193) 8072255
- Games: the forge pins forge-velocity bee2a65cf3f2 (/forge answers from a SQLite snapshot at once, one clean style) (#18163) b4fe556
3 earlier comments
A day after a mod set lands on a server, the server's page, its terminal screen and the MCP games list answer say whether it helped. I ran the new and neighbouring tests, tsc and the gate locally; they pass, apart from the gate note and dupes warning below. The forge's full check runs on this push.
What changed
- Install record:
commitPlannow notes a set install or take-back asgame.mods.set_installedorgame.mods.set_taken_backin the existing event log. That event is the baseline's timestamp, so there is no new table and no migration. - Verdict module:
src/games/set_verdict.tscompares the 24 h after with the 24 h before, read from thegame_metricminutes the box already reports.- Rules: "helped" is mean tick time down 10% or more with TPS not lower. "hurt" is tick time up 10% or more, or TPS lower. "no change" is neither. "not enough numbers" is fewer than 12 minutes with readings on either side.
- Players: each window's mean and peak players are in the sentence.
- Waiting: until the day is over it says "measuring, the verdict comes in N h".
- Restarts: the 10 minutes after any server start are dropped from both windows, and the day after begins at the restart the install caused.
- Page and terminal: the server's page shows the sentence under its figures, and the terminal's people tab shows the same sentence.
- MCP:
listaddsmodSetsto a server, with the same sentence. - Take-back: on "hurt" the page offers "Preview taking it back" (
?undo=set:<name>), then "Take it back and restart" as one commit.mods_removeand the terminal's Modsdtakeset:<name>too. It removes the set's members and what only they required, and keeps a member that something outside the set requires. Nothing is taken back unless a person commits it.
What I chose not to do
- Where it shows: the box page's list of servers carries no verdict yet.
- TPS tolerance: TPS is compared at the tenth, so 19.98 against 20 is not "down".
- Install timestamp: the baseline starts at the install commit's time, not when the server actually restarted.
Tests and the gate
test/set-verdict.test.tscovers each of the four words, the restart case, "measuring", and take-back.test/game-mods.test.tscovers events from real installs, the page, MCP and terminal sentences, and the take-back preview then commit. I moved itsmcphelper to file level and madecalluse it.- The gate's both-doors rule wanted a new terminal screen, so I waived it with a
No door:line. The terminal side is the existing server screen, and the how-to isdocs/features/game-mods.md, both edited. The gate also wanted a look, so I added aNo look:line, since the server page needs a signed-in box. - The gate still warns that my test
mcphelper looks likecallintest/game-plugin-config.test.ts, and it notes some comment lines over 100 columns.
To try it
Install a set from a Fabric server's Mods block, then open /games/<box>/<service> a day later. Or call games with action: list and read modSets.
This pull makes the games page, terminal and MCP say a day after a mod set is installed whether it helped, with take-back one action away. This push fixes the failing "every kind the source emits is classified" test.
What changed in the fix
noteSetinsrc/games/set_verdict.tsbuilt the event kind from a template (game.mods.set_${op}). The audience-coverage scan can't read that, so it failed. It now uses two literal kinds,game.mods.set_installedandgame.mods.set_taken_back.src/core/event_audience.tsnow lists both kinds as admins-only. They were unclassified before, which already meant admins-only. Listing them makes that deliberate.
I didn't touch any test. I ran the audience-coverage and game-mods tests (48 pass) and tsc --noEmit, and the gate raised no new failures. I did not run the full suite, which the forge's check does.
What I left out
- Readers and guests don't see these events.
How to try it
- Install a mod set on a game box and look at the games page a day later.
test/game-mods.test.tscovers the events, and the verdict is covered the same way.
I merged main into the branch and pushed. The branch merges cleanly again.
Conflicts
src/games/mods.ts:mainreplaced the plan's singleconfigfield with aconfigslist (from #18196's spark change). I keptconfigsand kept this pull'ssetfield beside it.test/game-mods.test.ts: both sides had added a newdescribeblock at the same spot, "did the set help (#18192)" here and the #18196 slug-ownership one onmain. I kept both and closed the first block.
Checks
bun x tsc --noEmitis clean.- The
game-modsand event-audience-coverage tests pass (52 tests). - I didn't run the full suite or the gate after the merge. The forge's check runs the full suite on the push.
A day after a mod set is installed, the games page and the box page now say whether it helped. Each server's row in the box's list carries the verdict word and both tick times, for example Admin set: hurt, tick time 30 ms → 45 ms. bun x tsc --noEmit, bun scripts/design-lint.ts and the tests in test/set-verdict.test.ts and test/game-mods.test.ts pass. I did not run the whole suite. The gate's remaining output is one similarity note, between two test helpers, mcp in test/game-mods.test.ts and call in test/game-plugin-config.test.ts. I left it alone. It is not from this change.
What changed
- Box list: each server's row lists its sets, so the box page shows the verdict for the server without opening it. This is the box 3 the review asked for.
- Server page: the verdict is now a plain row. The set name is the title and the verdict is a fact: the word plus both tick times. The TPS and player counts sit in the row's meta line. The boxed notice and the sentence "Taking it back is one action." are gone. Preview taking it back is the row's button and still only previews. Nothing is taken back unless a person commits it.
- Terminal and MCP: they still carry the full sentence, minus the dropped line.
- Docs: the
docs/features/game-mods.mdbullet is shorter and now sits above the "All three read and write…" line. - Code:
src/games/set_verdict.tsnow gives each verdict ashortand adetailfield for the row. The full sentence is built from the same pieces. - Tests: they now check the server's row on the box page and the absence of the dropped sentence.
Left out: the terminal's box-level server list does not show the verdict. Only the server's own screen does, as before. The commit message says No door: for this reason. The page's new row has the same sentence on the terminal's server screen, and MCP list already carries it.
Review
[
{"go": "/games/<box>", "look": "a server that has a mod set installed over a day ago", "expect": "its row shows the set's name with the word and both tick times, e.g. hurt, tick time 30 ms → 45 ms"},
{"go": "/games/<box>/<server>", "look": "the verdict row under the figures", "expect": "the set name, the word with both tick times, then TPS and players; Preview taking it back appears only on a hurt set"}
]
🤖 Generated with Claude Code
A day after a mod set lands on a server, the server's page, its terminal screen and the MCP
gameslistanswer say whether it helped. I ran the new and neighbouring tests,tscand the gate locally; they pass, apart from the gate note and dupes warning below. The forge's full check runs on this push.What changed
commitPlannow notes a set install or take-back asgame.mods.set_installedorgame.mods.set_taken_backin the existing event log. That event is the baseline's timestamp, so there is no new table and no migration.src/games/set_verdict.tscompares the 24 h after with the 24 h before, read from thegame_metricminutes the box already reports.listaddsmodSetsto a server, with the same sentence.?undo=set:<name>), then "Take it back and restart" as one commit.mods_removeand the terminal's Modsdtakeset:<name>too. It removes the set's members and what only they required, and keeps a member that something outside the set requires. Nothing is taken back unless a person commits it.What I chose not to do
Tests and the gate
test/set-verdict.test.tscovers each of the four words, the restart case, "measuring", and take-back.test/game-mods.test.tscovers events from real installs, the page, MCP and terminal sentences, and the take-back preview then commit. I moved itsmcphelper to file level and madecalluse it.No door:line. The terminal side is the existing server screen, and the how-to isdocs/features/game-mods.md, both edited. The gate also wanted a look, so I added aNo look:line, since the server page needs a signed-in box.mcphelper looks likecallintest/game-plugin-config.test.ts, and it notes some comment lines over 100 columns.To try it Install a set from a Fabric server's Mods block, then open
/games/<box>/<service>a day later. Or callgameswithaction: listand readmodSets.Closes #18192