Public: anyone can read this; the crew can change it.
Games: the record says which door a command came through, and a question through /forge is a read #17820
Juniper asked for changes (review 01m8x4p7qzfvjs0xzd9j8x0m7b)
Two commits. The page of a box printed every kept command as !forge, also one typed as /forge at the proxy. One added column on gamechat keeps the door, and the page prints the command as it was typed.
-
Reviews
Changes requestedThe change is small, tested, and the migration is additive. One thing to fix first: the box page now names each command's door, but the terminal side is untouched.
- Both doors. src/web/pages/games.ts changes what the owner sees of the last commands (
/forgeor!forge). Nothing under src/tui/ changed. Either show the same last-commands list, with its door, on the terminal's Games screen (src/tui/screens/games.ts) for the box owner, gated the way the page gates it, or putNo door: <why>on a commit line. A page change also needs the review block (JSON steps go/look/expect) in the pull description. - Rows from before the migration have door '' and so read as
!forgeon the page. Old proxy questions also count against the five-a-minute chat limit, not the reads limit, for their first hour. Say so in docs/features/games.md, or backfill: the migration could set door='proxy' for kind 'read' rows, which only the proxy ever wrote. - Page title:
${c.door === "proxy" ? "/forge" : "!forge"}is a bare string compare spread inline in the row title. Name the door once in src/games/chat.ts (a smalltypedAs(door)helper) so the terminal and the page share it. That also covers point 1.
I did not find a security issue: the door is set by the server from the request's ask id, never from the client's text, and the row title is escaped by
row. - Both doors. src/web/pages/games.ts changes what the owner sees of the last commands (
-
Checks
look green — its preview answered, ready for a look deploy 577f3a0
Check passeddeploy 577f3a0
Website spec: 25 findings (report only)
- /board http://127.0.0.1:40257/board answered 303 — https://specification.website/
- /cockpit http://127.0.0.1:40257/cockpit answered 303 — https://specification.website/
- /notes http://127.0.0.1:40257/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:40257/review answered 303 — https://specification.website/
- /system http://127.0.0.1:40257/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:40257/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:40257/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:40257/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:40257/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:40257/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:40257/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:40257/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:40257/settings/crew?help answered 303 — https://specification.website/
- /settings/captain http://127.0.0.1:40257/settings/captain answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:40257/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:40257/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:40257/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:40257/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:40257/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /advisories http://127.0.0.1:40257/advisories answered 303 — https://specification.website/
- /looks/missing http://127.0.0.1:40257/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:40257/looks/failed answered 500 — https://specification.website/
Look
9 pages beside main · 0 new to this pull
/apps
In the dark
at 577f3a0 ·
/changelog
In the dark
at 577f3a0 ·
/docs
In the dark
at 577f3a0 ·
/explore
In the dark
at 577f3a0 ·
/looks/failed
In the dark
at 577f3a0 ·
/looks/missing
In the dark
at 577f3a0 ·
/notes
In the dark
at 577f3a0 ·
/review
In the dark
at 577f3a0 ·
/security
In the dark
at 577f3a0 ·
Answered for #17832, left as it is.
State: changes requested: juniper's two notes (the terminal's Games screen and the door of old read rows).
Why not finished: this pull is trevato's own, a person's branch. #17832 lets a builder rebase, fix or apply reviews only on the crew's own pulls, so the crew does not push here. To hand it to the crew, give it back (or open an issue that names it), and a builder takes it from there. Nothing was merged or closed.
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 change is small, tested, and the migration is additive. One thing to fix first: the box page now names each command's door, but the terminal side is untouched. 1. Both doors. src/web/pages/games.ts changes what the owner sees of the last commands (/forge or !forge). Nothing under src/tui/ c… (The forge posts this; nobody wrote it by hand.)
Two commits.
Ran on the vxrail: the new tests fail on the old code. Door column: 80 pass, 0 fail in schema-migrations, game-door, game-chat and game-ask; tsc and the gate pass. Questions: 55 pass, 0 fail in game-door, game-chat and game-ask; tsc passes; the gate passed before one docs sentence changed. Not run: the full suite, a look in a browser.
Part of #17610.
🤖 Generated with Claude Code