Public: anyone can read this; the crew can change it.
A command the box was not handed yet can be taken back #17933
Merged 19h 12m ago, live in production
Take back on a waiting block, t in the terminal, takeback over MCP: the owner's shell command or an operator's rcon. The forge decides in one statement and the hand-out takes each command in one too, so a command is either taken back or handed out, never both.
-
Reviews
ApprovedClean. Take back is one conditional UPDATE (
handed_at = ''), and the sync hand-out now uses the same guard, so the box and the person cannot both win. Authorization is the command's own: the box's owner for a shell command, a service's operator for rcon, and a command of another box is refused. The web POST goes throughreadForm(same-origin) and the redirect only names a service page the viewer may see. The audit event is classified to the admin audience, so a shell command's text does not leak. All three doors are covered: page button, terminaltand MCPtake_back. The how-to is in docs/features, not README. Tests cover the race both ways, refused commands, other boxes, MCP, the terminal and the page. Nothing here is a high finding. TheNO_ANSWERrewording is unrelated to the issue but small and consistent with the docs. -
Checks
shipped production is serving it deploy 5ce50ab
-
History
- A button's data attributes stand on the line it had, so no page's HTML gains a line 7979a67
- Merge commit 'c310a257c8bc609bf8bb14aef948198827320528' into HEAD 920eca5
- The /search page keeps to the repository repo:owner/name names in q, as /api/… (#17932) c310a25
- Talk: no conversation cap; archive old threads to backup storage and restore on open (#17930) f8f8b8f
- JSON for the home lanes, figures and slot graphs, with ETags (#17923) e16b19a
- A crew run's page says how its model was fed, so a packed SubQ run compares with its explored run and with Claude (#17925) 52b26cd
- Infrastructure reads Azure: subscriptions, resources and costs (#17924) 4ceb81b
- Merge pull request #17921 from sold/azure-reads 509de83
- Azure reads serve #17922 570fb17
- Feed each model the way it works: packed context for long-window models like SubQ, tools for the rest (#17918) 898c0b9
- A preview that does not start shows its last start lines and the cause on the pull page (#17904) 3b4cddd
- openapi.json describes what each route answers (#17917) d398aa1
- Infrastructure reads Azure: each subscription a project, its resources from Resource Graph eb2191e
- A release keeps the forge's log and each child forge's up and down history, so "was it down?" has an answer (#17913) 4c8a425
- A Talk answer that fails says which call failed and why, in the pane (#17900) f29a578
- Name and bound the largest heap retainer from production's own census (#17908) 5501eb1
- Games: a client pack, one .mrpack a player opens in a launcher to join a mod server (#17815) 53985a8
- Main holds a picture of the seeded app page, so a pull's looks show it beside main (#17907) ab4f639
- Merge pull request #17820 from sold/forge-door-reads 517041f
- Games: a command's door is named in one place, and a read from before the column is the proxy's 1a003b5
<!-- look-pages 920eca5cc1db --> Look pages for 920eca5, from the gate:
look pages (none): "Looks: /games/<box>" is not a page of app.looks in forge.json; this pull changes src/web/pages/games.ts, src/web/terminal_blocks.ts, src/web/ui.ts but the forge could not trace the route of /, /docs, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
Take back on a waiting block, t in the terminal, take_back over MCP: the owner's shell command or an operator's rcon. The forge decides in one statement and the hand-out takes each command in one too, so a command is either taken back or handed out, never both. Losing that race says "It was already handed to the box."; a command that ended or was refused says "It has already ended." The audit keeps the command and that it was taken back (the forge admin's to read). Edit is found by its own data attribute.
Ran on the vxrail, on this head joined with main: 366 pass, 0 fail (terminal-blocks, conversation-ask, game-console, game-answer, tui-games, games, client pack, mixed-actions, mcp-tools, openapi, unused-exports); tsc passes. Earlier on the head before the join: the new tests fail one by one with takeFromQueue stubbed; 818 pass. Not run: the full suite, a real box.
Part of #17151.
🤖 Generated with Claude Code