Public: anyone can read this; the crew can change it.
Neutral public names, step 1 of 2 (expand): the new name beside the old for the game_* tables, the games MCP tool, connection.kind and the game and design: minecraft plan options #18513
Merged 1h 56m ago, live in production
Each neutral name now sits beside its old one, and nothing old is removed or renamed. I ran the tests for what I touched (the new migration, schema and pins, the MCP size ceilings, identities, the Minecraft design, the games tool) and tsc, and all pass. The forge's check runs the rest on this push.
-
Reviews
ApprovedClean on security: the neutral aliases are resolved before any authorization check, so they cannot reach a box the old names could not. The
gamestool still gates throughheldNotWhenandrunon the mapped args. Connectionkindgoes throughkindNamed, and an unknown kind on POST gets a 422. The views expose nothing the tables did not, and the migration adds only views and triggers, so the old tables are untouched. The tests would fail without each behaviour. Minor, not blocking:/lookupsilently ignores an unknownkindwhere POST refuses it, and the drift test only checks the insert triggers carry every column, not the update triggers. Noprojectview was added, since no game_* table holds a project; the builder said so. -
Checks
shipped production is serving it deploy e9eb675
-
History
- MCP guide: name the old tables without tool-shaped words 7043fbd
- Neutral names beside the old (#18501, step 1 of 2): machine, container and machine_* views over the game_* tables with write-through triggers, `machine`/`container`/`machines` on the games tool, `kind` on plan wants, `player` as a connection kind 112576d
- An invite carries a bundle: the owner picks Use, Host or Build, each with a line saying what it allows (#18473) d231856
- A machine agent that does not check in after its update goes back to the version before, and the forge says so (#18483) 49c1b5a
- A machine stays trustworthy under load: power cycle, live status, a memory check, a patient healer (#18472) a7825b4
- Main red: plan tool's `owner` description is 91 bytes, over mcp-size's 60-byt… (#18494) 09902a4
- A repository's crew page adds a member to a slot in place: no reload, and the scroll position stays (#18474) 99ed63c
- A list is one line a row and detail opens on demand: crew member descriptions first (#18481) 324c098
- One versioned agent protocol: heartbeat, claim, logs, result and containers, served beside the old sync route, with tokens scoped to their role (#18475) 9a6d9b3
- A test lists the doors that exist only as a tool or a Talk press; make a machine and mail setup get their pages (#18480) be45257
- A planner pass that opens nothing waits longer before the next: 20 minutes, doubling to 6 hours, until a person writes or an issue closes (#18471) 840ab71
- Minecraft is a kind: one kind interface, with the compose design and the console adapter behind it in one directory (#18468) 9745f39
- Telling the crew about an issue titled as a pillar umbrella sends no builder to it (#18470) 36c5d40
- An issue only the owner can do is assigned to the owner when it is filed, and no builder is sent to it (#18469) 402a4d4
- The forge runs with no session open: what three sessions did by hand on 2026-12-04, each made the forge's own (#18467) 0f03138
- A pull whose own commits took their change back closes with nothing landed; i… (#18448) 8af1f6c
- Full suite red: test/tab-browser.test.ts (#18443) e725a06
- talk-layout.test.ts shares one Chromium for the file instead of starting one… (#18441) 5dd19f3
- Full suite red: test/talk-layout.test.ts (#18439) 284205b
- Games config page: an ro token is told its scope, not a missing grant, and th… (#18437) 00bfa70
Each neutral name now sits beside its old one, and nothing old is removed or renamed. I ran the tests for what I touched (the new migration, schema and pins, the MCP size ceilings, identities, the Minecraft design, the games tool) and tsc, and all pass. The forge's check runs the rest on this push.
What changed
- Tables. A new migration (
20261206175001-neutral-machine-names) adds a view over everygame_*table.game_boxis alsomachine,game_serviceis alsocontainer, and the rest aremachine_<rest>, for examplemachine_command. Each view has INSTEAD OF insert, update and delete triggers, so a write through either name reaches the same row. Thegame_*tables are untouched, so the previous release runs on the same file. gamesMCP tool.machineworks asbox,containerasservice, and the actionmachinesaslist. The old names win when both are sent. This is not a new tool (src/games/neutral_args.ts, a few bytes of schema).mcp-sizeis green and no ceiling moved.infraplan wants.kind: "machine"isgame: true, andkind: "minecraft"isdesign: "minecraft".connection.kind.POST /api/v1/connectionsand/lookupaccept{kind: "player", ident}, andkind: "email"withidenttoo. An unknown kind gets a 422. A stored connection still answerskind: "minecraft".- Docs.
docs/MCP.mdhas a "Neutral names beside the game ones" section.
Proof tests (test/neutral-machine-names.test.ts)
- A database migrated only up to before this change restores, boots, applies exactly this one migration, and reads its old rows through
machineandcontainer. - The changed database still takes writes under the
game_*names. - Writes through the neutral names land in the
game_*rows, including a composite-key update that changes one row. - A drift test fails, naming the column, if a
game_*table gains a column the triggers don't copy.
The other tests cover the MCP machine/container/machines path, kind on plan wants, and the player connection kind.
What I chose not to do
- No
projectview. Nogame_*table holds a project; mods live in git locks. I read "named for machine, project, container" as machine and container only, so say if you meant one forgame_jar. src/actions/plan.tsandsrc/games/store.tsunchanged. The plan options live in theinfratool and the old names still serve every caller, so the code moves to the new names in step 2.playeris my choice. The issue didn't name the neutral connection value, so I picked it.- No terminal or
docs/featureschange. The commit saysNo door:because these are names for agents and API callers.
How to try it
- On the preview, call
gameswith{action: "machines"}. POST /api/v1/connectionswith{kind: "player", ident: "some_name"}.SELECT * FROM machinein a database copy.
This pull adds the neutral public names beside the old ones (step 1 of 2: expand). This push fixes the one failing check test, "every tool the guide calls is registered".
Cause: the new paragraph in docs/MCP.md named the old database tables in backticks as game_box, game_service and game_command, plus machine_command. That test reads any backticked word containing an underscore as a tool name. These are tables, not tools, so it failed.
Fix: I reworded the paragraph to say "the old box table" and "the old service table" instead of naming them. It no longer lists machine_command. No code changed.
test/mcp-guide.test.ts now passes all 4 tests locally. I did not run the full suite or bun x tsc --noEmit this time, since only the doc changed. The forge's check runs the full suite on the push.
Each neutral name now sits beside its old one, and nothing old is removed or renamed. I ran the tests for what I touched (the new migration, schema and pins, the MCP size ceilings, identities, the Minecraft design, the games tool) and
tsc, and all pass. The forge's check runs the rest on this push.What changed
20261206175001-neutral-machine-names) adds a view over everygame_*table.game_boxis alsomachine,game_serviceis alsocontainer, and the rest aremachine_<rest>, for examplemachine_command. Each view has INSTEAD OF insert, update and delete triggers, so a write through either name reaches the same row. Thegame_*tables are untouched, so the previous release runs on the same file.gamesMCP tool.machineworks asbox,containerasservice, and the actionmachinesaslist. The old names win when both are sent. This is not a new tool (src/games/neutral_args.ts, a few bytes of schema).mcp-sizeis green and no ceiling moved.infraplan wants.kind: "machine"isgame: true, andkind: "minecraft"isdesign: "minecraft".connection.kind.POST /api/v1/connectionsand/lookupaccept{kind: "player", ident}, andkind: "email"withidenttoo. An unknown kind gets a 422. A stored connection still answerskind: "minecraft".docs/MCP.mdhas a "Neutral names beside the game ones" section.Proof tests (
test/neutral-machine-names.test.ts)machineandcontainer.game_*names.game_*rows, including a composite-key update that changes one row.game_*table gains a column the triggers don't copy.The other tests cover the MCP
machine/container/machinespath,kindon plan wants, and theplayerconnection kind.What I chose not to do
projectview. Nogame_*table holds a project; mods live in git locks. I read "named for machine, project, container" as machine and container only, so say if you meant one forgame_jar.src/actions/plan.tsandsrc/games/store.tsunchanged. The plan options live in theinfratool and the old names still serve every caller, so the code moves to the new names in step 2.playeris my choice. The issue didn't name the neutral connection value, so I picked it.docs/featureschange. The commit saysNo door:because these are names for agents and API callers.How to try it
gameswith{action: "machines"}.POST /api/v1/connectionswith{kind: "player", ident: "some_name"}.SELECT * FROM machinein a database copy.Closes #18501