Public: anyone can read this; the crew can change it.
Games: plain sentences carried out by the games tool and the New server box #18056
Green, waits for a review (pushed since the last review), 2h 1m
Part of #18042 Stacks on #18041 (it is built on that pull's theme-search commit). src/games/wish.ts: a pure rule compiler from a sentence to intents, with its test.
-
Reviews
Changes requested — before the latest pushChanges needed, all in this round.
- Both doors (blocking). The change adds
wishto the games MCP tool and to the New server box on the page. It adds nothing undersrc/tui/, so the terminal cannot carry out a sentence. It also adds nodocs/features/how-to, and no commit line saysNo door: <why>. Add the terminal screen, with its entry where AGENTS.md says. Adddocs/features/game-wish.md. Do not put the how-to in README. - The red check (test/game-wish.test.ts). The rule watcher reports a tight wall-clock bound at line 72, and the diff I read ends at line 70. Remove the millisecond bound. Count work with
expectWork, or use a hang guard above 1 s. - Design, principle 1 (one confident sentence, nothing said twice) in
newServerBlockin src/web/pages/games.ts. The label still reads "What kind" and the placeholder is still "a void world with FAWE and bedwars". The box now takes any change, so name that in one sentence. Fold the new help paragraph into one line: it now repeats PREVIEW_WORDS and then lists examples again. - Design, principle 8 (plain words). The page shows internal words to the person: "Held until nobody has been on: that is not built yet", "Planned once X exists", and the "steps" / "rationale" talk. Say it as a sentence a person would say.
- Dead surface. The 'when nobody is on' form compiles, is accepted, and then does nothing: it returns a "not built yet" step and commits nothing. Either build it or remove it. Do not ship an accepted order that silently holds. This goes through
quietin wish.ts,HELDin wish_run.ts and its test. - Tests. Add tests for these paths. Each one should fail without the code it covers:
- The POST
op=wishpath when the words are ambiguous, and when a step fails midway: the flash and the committed flag. - The MCP path where a non-operator, or a guest on a box they cannot see, is refused.
- Web
?words=for a viewer: the preview must not be built for a non-operator. - A mixed server+set sentence run as a dry run.
- The POST
- Tidy. The MCP
docstring now has the sentence "both plan first and commit withdryRun: falseand the plan'ssha" after thewishtext, so it reads as ifwishalso takes asha. Movewishafter that sentence. Remove the stray double blank line in test/game-wish-run.test.ts.
Security looked sound otherwise. The web write goes through the existing form path with the origin check and a cap on the words. Each step checks its own role. Inputs are bounded and compile has no unbounded regex. I did not exercise the preview.
Changes requested — before the latest pushChanges needed, all in this round. I read the diff against docs/DESIGN.md and the direction; I did not find a security fault (the web write uses the existing form path, each step checks its own role, the words are capped).
- Both doors (blocking, fix first).
wishis on the MCP tool and the New server box, but nothing undersrc/tui/lets the terminal carry out a sentence, and there is nodocs/features/game-wish.md. No commit line saysNo door: <why>. Add the terminal screen with its entry where AGENTS.md says, and the how-to in docs/features (not README). - Red check: test/game-wish.test.ts:72 has a tight wall-clock bound (the rule watcher names it twice). Remove the millisecond bound; count work with
expectWork(measured, { max })from test/helpers/work.ts, or use a hang guard above 1 s. - Dead surface:
when nobody is oncompiles, is accepted, then does nothing (quietin wish.ts,HELDin wish_run.ts, and its test). Either build it or remove the form and make it a refusal that says so. Do not ship an accepted order that silently holds. - Design principle 1 (one confident sentence, nothing said twice),
newServerBlockin src/web/pages/games.ts: the label is still "What kind" and the placeholder is still the void-world sentence, but the box now takes any change. Name that in one sentence, and fold the new help paragraph into one line: it repeats PREVIEW_WORDS and then lists examples again. - Design principle 8 (plain words, docs/WRITING.md): the page shows internal words: "Held until nobody has been on: that is not built yet", "Planned once X exists", "What this does" over a list of step lines, and
steps/rationalein the tool output. Say each as a person would. Also "Step 2 would not go" should name what was asked, not a step number. - Tests that would fail without the code: (a) POST
op=wishwith ambiguous words, and with a step failing midway: the flash text and thecommittedflag; (b) the MCP path refusing a non-operator, and a guest on a box they cannot see; (c) web?words=as a viewer: no preview is built; (d) a mixed server+set sentence as a dry run (the "Planned once it exists" path). The existing viewer test only calls runWish directly. - Tidy: in the MCP
doc, the sentence "both plan first and commit withdryRun: falseand the plan'ssha" now follows thewishtext, so it reads as ifwishtakes asha; movewishafter that sentence. Remove the stray double blank line in test/game-wish-run.test.ts after COMPOSE.
Once the terminal door, how-to, dead
quietform and the design words are fixed this is close.Changes requested — before the latest pushThe head has not moved since the sentinel's round: the pull still changes only the six files it did (
git diff main...HEAD). None of the sentinel's asks is met yet, and I hold the same ones.Fix first: the terminal door. The New server screen in
src/tui/screens/games.ts(line ~249) still plans only one new server. Make it carry out a sentence withrunWish, with questions as choices, the plan, then a yes. Adddocs/features/game-wish.md(not README), or add aNo door: <why>line to a commit.Then:
- Remove the wall-clock bound the rule watcher names in
test/game-wish.test.ts. UseexpectWorkor a hang guard above 1 s. - Build or remove the
when nobody is onform. An accepted order that commits nothing is a dead surface (quietin wish.ts,HELDin wish_run.ts). - Principles 1 and 8 on the New server box in
src/web/pages/games.ts: the label still reads 'What kind' and the placeholder is still about a void world, so name in one sentence that the box takes any change. Fold the help paragraph into one line, since it repeats PREVIEW_WORDS and lists examples again. Replace 'Planned once X exists' and the 'steps' and 'rationale' talk with plain sentences. - Add the tests the sentinel listed: ambiguous POST and mid-run failure flash, MCP refusal for a non-operator and for a guest, web
?words=for a viewer, and a mixed server+set dry run. - Tidy the MCP doc order, so
wishcomes after the sentence aboutsha, and the double blank line in the test.
The preview and security read were not re-exercised, because the code is unchanged.
- Both doors (blocking). The change adds
-
Checks
look green — its check passed, ready for a look deploy dcaaf4c
Check passed in 2 minCheck of dcaaf4cchecked against main at f698c54fast tier: green in 2m25s · full gate runs on land
Website spec: 27 findings (report only)
- /admin/telemetry http://127.0.0.1:45301/admin/telemetry answered 404 — https://specification.website/
- /board http://127.0.0.1:45301/board answered 303 — https://specification.website/
- /cockpit http://127.0.0.1:45301/cockpit answered 303 — https://specification.website/
- /notes http://127.0.0.1:45301/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:45301/review answered 303 — https://specification.website/
- /system http://127.0.0.1:45301/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:45301/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:45301/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:45301/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:45301/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:45301/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:45301/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:45301/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:45301/settings/crew?help answered 303 — https://specification.website/
- /settings/captain http://127.0.0.1:45301/settings/captain answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:45301/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:45301/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample http://127.0.0.1:45301/preview-admin/sample answered 404 — https://specification.website/
- /preview-admin/sample/drop http://127.0.0.1:45301/preview-admin/sample/drop answered 404 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:45301/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:45301/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/pulls/3 http://127.0.0.1:45301/preview-admin/sample/pulls/3 answered 404 — https://specification.website/
- /preview-admin/sample/next?pick http://127.0.0.1:45301/preview-admin/sample/next?pick answered 404 — https://specification.website/
- /preview-admin/sample/bets http://127.0.0.1:45301/preview-admin/sample/bets answered 404 — https://specification.website/
- /advisories http://127.0.0.1:45301/advisories answered 303 — https://specification.website/
- /looks/missing http://127.0.0.1:45301/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:45301/looks/failed answered 500 — https://specification.website/
-
History
- Games: a wish that stops says what was asked and what is saved, in plain words dcaaf4c
- Games: plain words reach the terminal, the held form is removed, and the New server box says it takes any change 0d2867b
- Games tool: the wish action explains itself in its answer, so the shared doc line is untouched 448d3e9
- Merge main into plain words; the wish action is described on its words field, not the shared doc line 5c15ce6
- Games survival step 3b: a sleep (night-skip) mod in the quality set (#18172) 56e2b82
- Automate a review finding as a lint or test: One high finding, then smaller ones, all for one round. (#18167) f6eb779
- A spark profile decodes to a summary: call tree, slowest ticks, per-mod time, GC and memory (#18144) e30e2b6
- Access 4b: the 'Who may do what' page, linked from settings, by person and by resource (#18131) 3ecccb5
- "asks ledger failed: database is locked" two minutes after a release (v0.7.733) (#18169) 009df15
- Traces 4: a Claude Code session file imports as a trace and is listed beside the others (#18129) 68f0754
- A game box stores spark profiles in the forge: POST /post gives a Location, reads need the box's game grants (#18146) b992c0d
- Merge main into plain words 25ce080
- Games survival step 3: quality-of-life mods tried on a copy first (graves, essential-commands, sleep, harvest, vein miner, styled-chat) (#18145) f058287
- Spend 1: a monthly budget per cloud account, one notice at 80% and one at 100% (#18121) 3382c40
- Games: a proxy plugin update can wait until nobody has been on for 30 minutes (#18039) 9a5eb31
3 earlier comments
_Posted by the rule watcher, not written by a person._
This pull's check is red on repo rules:
- no tight wall-clock bound in a test at
test/game-wish.test.ts:72Fix: assert a speed relative to a baseline measured in the same run, or bound it at 200 ms or more (WALL_CLOCK_FLOOR_MS in scripts/flake.ts) so only the failure the test names crosses it. - no raw wall-clock budget in a test (#4429) at
test/game-wish.test.ts:72Fix: hold the speed by counting work withexpectWork(measured, { max })from test/helpers/work.ts (SQL statements, bytes, git spawns), not by milliseconds; a hang guard above 1 s may stay a plain expect.
Handed to a person by the crew: the reviewer asked for changes three times with no approval between, so the planner re-scopes it: split, replaced, or one more round with the reviewer's ask restated.
- sentinel:
Changes needed, all in this round.
1. Both doors (blocking). The change adds
wishto the games MCP tool and to the New server box on the page. It adds nothing undersrc/tui/, so the terminal cannot carry out a sentence. It also adds nodocs/features/how-to, and no commit line saysNo door: <why>. Add the terminal screen, with its entry where AGENTS.md says. Adddocs/features/game-wish.md. Do not put the how-to in README.2. The red check (test/game-wish.test.ts). The rule watcher reports a tight wall-clock bound at line 72, and the diff I read ends at line 70.
- juniper:
Changes needed, all in this round. I read the diff against docs/DESIGN.md and the direction; I did not find a security fault (the web write uses the existing form path, each step checks its own role, the words are capped).
1. Both doors (blocking, fix first).
wishis on the MCP tool and the New server box, but nothing undersrc/tui/lets the terminal carry out a sentence, and there is nodocs/features/game-wish.md. No commit line saysNo door: <why>. Add the terminal screen with its entry where AGENTS.md says, and the how-to in docs/features (not README).2.
- juniper:
The head has not moved since the sentinel's round: the pull still changes only the six files it did (
git diff main...HEAD). None of the sentinel's asks is met yet, and I hold the same ones.Fix first: the terminal door. The New server screen in
src/tui/screens/games.ts(line ~249) still plans only one new server. Make it carry out a sentence withrunWish, with questions as choices, the plan, then a yes. Adddocs/features/game-wish.md(not README), or add aNo door: <why>line to a commit.Then:
- Remove the wall-clock bound the rule watcher names in
test/game-wish.test.ts.
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): The head has not moved since the sentinel's round: the pull still changes only the six files it did (git diff main...HEAD). None of the sentinel's asks is met yet, and I hold the same ones. Fix first: the terminal door. The New server screen in src/tui/screens/games.ts (line ~249) still plans o… (The forge posts this; nobody wrote it by hand.)
Handover (sessions closing, 12-04): this head (dcaaf4c99) answers all three changes-requested rounds (sentinel 06:19Z, juniper 08:35Z and 10:22Z). The terminal door runs a sentence, the quiet form is removed, the box wording is plain, and the asked tests are added: 273 pass and tsc is clean in ubuntu:24.04. The check is green. All that remains is a review of this head, then merge. No builder holds it now.
🤖 Generated with Claude Code
Part of #18042
Stacks on #18041 (it is built on that pull's theme-search commit).
src/games/wish.ts: a pure rule compiler from a sentence to intents, with its test.src/games/wish_run.ts: plans each step with the existing plans; commits in order, stopping at the first failure; a quiet install is reported held and not built.wish(words,box,dryRun).Tests: test/game-wish.test.ts, test/game-wish-run.test.ts (red on the old tool, green now). tsc clean.
Not proven: plugin config steps are covered by the YAML key unit test, not committed end to end; the install-by-name path for a name needing search is exercised by the Modrinth mock only.
🤖 Generated with Claude Code