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

opened this

Merged 12h 40m 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.

Notes

opened this

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 with Open 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 games tool (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 games tool (power, env, console) and release_now come 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.

commented

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.)

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs