Public: anyone can read this; the crew can change it.
Game door: plain questions go to Talk at once, and continue until /forge clear #18055
Merged 13h 42m ago, live in production
Part of #18028. Through the proxy's /forge, words that are not a known command go straight to the account's own Talk conversation for the box, with no confirm, and the next plain words continue it until /forge clear. Words that ask for a change (restart, deop, plans, links) still ask first.
-
Reviews
Changes requested — before the latest pushOne high finding, two smaller ones.
HIGH, src/games/chat.ts,
CHANGES/changesSomething: the proxy's confirmation step (the player's own code) is now skipped for any words that do not start with one of a fixed list of verbs. That is a denylist on phrasing. "can you restart the hub", "hub needs a restart", "I want survival wiped", "tp me to spawn" and "gamemode creative" all start with something else, go to the crew at once, and the crew acts with the linked account's authority. The confirmation was the guard against a player being tricked into running crew work. Fix: do not decide from the words. Either send at once only whatquestionOfitself accepts as a question (the read-only path), or keep the confirmation and let the crew's own held-action step gate any change. Add tests for the phrasings above, which must still ask first.MEDIUM,
clearis allowed past the operator check for every role, including a viewer. That is harmless only because it deletes the caller's own row. Add a test that a viewer's and a no-role account'sclearbehave as intended and cannot touch another user's conversation.MEDIUM,
ask(): when the kept conversation is gone (not_found) it quietly starts a new one. That is fine but untested. Add a test that deletes the kept conversation and checks the next words start a new one. Also replace theDELETE FROM game_chat_job/game_talkcleanup lines inside tests with abeforeEach.Also: the diff shows no change to
docs/features/for the game door or tosrc/tui/. The how-to must describe/forge clearand the ask-at-once behaviour, and the terminal side must nameclearif it lists the door's commands. Otherwise addNo door: <why>to a commit line.Changes requested — before the latest pushOne change needed; the rest holds. The confirmation now guards every non-question phrasing (tested with the nine phrasings the earlier review named),
clearonly deletes the caller's own row (tested for viewer and no-role), the gone-conversation path is tested, the cleanup is inbeforeEach, and the how-to is in docs/features/games.md. The preview and the pictures show no page change, so there is no page to judge.FIX: the how-to says a kept conversation that is archived or deleted starts a new one and says so. The code only does that on
not_found, andtalk()(src/actions/talk.ts:68) answersnot_foundonly whengetConversationfinds no row; an archived conversation still has its row. So after the player archives it on /talk, their next words go into the archived conversation and nothing says so. Either treat an archived kept conversation as gone inask()(src/games/chat.ts, wheregoneis set) and add a test that archives the kept one and checks the next words start a new one, or drop 'archived' from the sentence. Treating it as gone is the better fix: a player who archived it meant to leave it.ApprovedEarlier asks, from the diff since 8b99344a1:
- HIGH, phrasing denylist: met.
changesSomethingand the verb list are gone. No phrasing is judged any more. All plain words go to Talk, and the forge's own policy gates what the crew then does. The new test drives the real MCP endpoint with a conversation-scoped token. It showsgamesrestart, start, env and console and an admin-scoperelease_noweach come backneeds_confirmand queue no game command.can you restart the hub,I want survival wipedandgamemode creativeare tested to queue nothing. The docs say plainly that close, assign, edit and merge run at once with an Undo in Talk. That is Talk's authority on the web, and no more. - MEDIUM,
clearfor a viewer or no-role account: met. The test covers a no-role account (refused, its pointer untouched) and a viewer (clears only its own row, others untouched). - MEDIUM, gone conversation: met. It is tested, and the reply says so.
- Cleanup inside tests: met. It is now in
beforeEach. - Docs: met.
docs/features/games.mddescribes the at-once behaviour,/forge clearand the held and done lines. The change is the Minecraft proxy door.src/tui/has no screen for it and none is needed.
The migration is small, keyed per box and account and replaced rather than appended, and its pin is present.
I read the source and did not run a phone or keyboard pass. This is chat text in a game and changes no page.
Non-blocking:
closing()takes the first ofwaitingConfirmsfor the account, which may belong to another conversation. Filter to theconversation:<id>this job ran in, so the line names only what this turn held.Non-blocking:
Open in Talkis the last line, andLINES_OUT - 1 - more.lengthgoes negative ifmoreever grows past the cap. Clamp it withMath.max(0, …). - HIGH, phrasing denylist: met.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Game door: the reply's links are Markdown links the proxy plugin draws clickable 05b519d
- Game door: plain words go to Talk at once; the forge's policy holds the changes abc26ad
- Game door: words for the crew always ask first; clear and a gone conversation are tested 8b99344
- Game door: plain questions and requests go to Talk at once, and the next words continue that conversation 67dfe75
- Talk API: pin a conversation, answer a held action yes or no, and redo a turn (#18012) 4513adb
- Asks: routes so a client can clear the whole queue (resume paused, snooze, group contents, dismiss all kinds) (#17966) 11275b0
- Merge pull request #18016 from sold/forge-fast b9491db
- Talk API: a person's sent files on each turn, and search inside turns (#18009) 0e5211b
- Merge commit '2b24ebd48bea0a43bd8236087ff986b3542c25d4' into HEAD cee6636
- GET /api/v1/repos/{owner}/{name}/commits reads `path`: only the commits that touched it (#18007) 2b24ebd
- Move in: bring all of GitHub and Vercel into the forge through one trusted flow (inventory → plan → paced copy → verify), read-only toward the sources; clean-up is a separate, later step (#18000) 6d7f17e
- A test that reads an /api/v1 answer disagreeing with openapi.json goes red (#18013) 23d6af8
- Talk API: an agent turn's cards as data, with exact values (#18008) 866b811
- The test files outside api-* read no answer that disagrees with openapi.json (#18001) d861d63
- Traces: every conversation and run kept as a trace, imported from outside agents, and explored in the forge (#17968) 35a5490
- Traces 3: one trace as a tree beside a time strip, with what it changed (#17996) 2902a64
- Merge pull request #17997 from sold/ssh-mlkem 05c87e1
- SSH: the hybrid's K has its own known answer, the client test skips the hybrid on OpenSSH before 9.9, one comment, the docs in their own paragraph 281e40c
- Merge pull request #17998 from sold/tab-start 7e39794
- The /tab fix serves #16840 4eed511
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): One high finding, two smaller ones. HIGH, src/games/chat.ts, CHANGES / changesSomething: the proxy's confirmation step (the player's own code) is now skipped for any words that do not start with one of a fixed list of verbs. That is a denylist on phrasing. "can you restart the hub", "hub needs … (The forge posts this; nobody wrote it by hand.)
Part of #18028.
Through the proxy's /forge, words that are not a known command go straight to the account's own Talk conversation for the box, with no confirm, and the next plain words continue it until
/forge clear. Words that ask for a change (restart, deop, plans, links) still ask first. The answer's first lines come back ending withOpen in Talk: <link>. Rate limits are unchanged; Talk turns stay under the account's own Talk limits.One additive migration (
game_talk, one row per box and account) holds the conversation.Tested on the vxrail: test/game-door.test.ts and test/game-chat.test.ts pass (45); the new test fails on the old chat.ts. tsc clean.
🤖 Generated with Claude Code
Review answer (HIGH, phrasing denylist)
The denylist is gone. Plain words go to Talk at once, as the owner asked, and the door has exactly the authority Talk has on the web: the forge's policy holds the
gamestool (every action but list), every admin-scope tool and the irreversible or outward set as a confirm that runs only on the account's own yes in Talk. The rest runs at once with a receipt and an Undo. The reply says "Held for your yes: ..." and "Done: ... Undo: ...", with the Talk link last.Tests (test/game-door.test.ts): "can you restart the hub", "I want survival wiped" and "gamemode creative" are not confirmed first and queue no game command; through a game-door conversation's own token the
gamestool (power, env, console) andrelease_nowcome back as waiting confirms with no command queued; the reply lines are tested.Restricting the game door's tool set (option a) is filed as #18218 for the owner to choose. Not covered: the plugin shows the held line as text with the Talk link; clickable Yes/No in game is also in #18218.