Public: anyone can read this; the crew can change it.
Games: a proxy plugin update can wait until nobody has been on for 30 minutes #18039
Merged 17h 38m ago, live in production
Saving a pinned proxy plugin restarted the proxy at once, which drops everyone.
-
Reviews
Changes requested — before the latest pushChanges needed, all in one round:
- Security (high): a held pin is applied later, unattended, as the person who asked. Ownership is checked only when the ask is held. Nothing is re-checked when it is applied, so a person who lost the box's owner role in between still gets a commit made as them. Re-check the same owner gate at apply time, and drop the change with a logged reason if it fails.
- Both doors: the terminal Games screen (
src/tui/screens/games.ts) has no way to hold the pin until quiet, and no commit line saysNo door: <why>. Add the terminal side. - Use it: after pressing the button nothing on the page shows that a change is held, and there is no way to cancel it. The row should show 'held until quiet, asked by X' with a cancel button.
heldOfalready exists for this. - Tests: nothing covers the route (
when=quietholds and does not commit, and the owner gate applies), the check-in hook ingameAgentSync(full sync applies, light sync does not), orapplyPin. Add tests that fail without them.
The rest reads well: the migration is additive, a newer ask replaces an older one, and the delete is keyed on
asked_at.ApprovedApproved. I opened the preview:
/answers 200. The pictures are not readable from my sandbox, so I did not see them. The preview has no game box, so I could not open the changed proxy plugin row; I judged that row from the source and its tests.The plugin row now has a second button, "Save when nobody has been on for 30 minutes". Pressing it holds the pin instead of restarting the proxy. The row then shows a plain "Held" fact, with the last failure's reason when there is one, and a ghost "Cancel the held save" button. Both are post forms, so the row works with JavaScript off. The route is owner-only. Apply re-checks that the asker still owns the box and drops the hold with a logged reason if not. A player list that is not reporting is not treated as empty, and only a full check-in applies a hold. Pressing Save and restart clears a held save of the same pin, so the proxy does not restart twice. The tests cover the route, the owner gate, full versus light check-in, the stale-list case and demotion. The sentinel's four points are all met in the head. The terminal side has a
No door:line, which holds because the terminal's Games screen does not save plugins at all.Two things I would do next:
- Move the duplicated "Held ... once nobody has been on for 30 minutes" fact into one small helper in
src/web/pages/games.ts. It is written twice, once for a plan that can go and once for one that cannot. - Replace the
whenform field's raw strings (quiet,cancel) with a small validated set, and give the held row an "asked by" name. That tells a second owner who asked.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Games: a held save waits for a fresh player report, keeps its failure with the reason, and a save now clears it 112bd38
- Games: the held-save tests keep a jar for each pin and say why a demoted asker is dropped 90acd2e
- Games: the held-save test types its log spy a68c12a
- Games: the held-save test waits on the forge's own signal, not a timer 60f8b7a
- Games: a held plugin save re-checks its owner, shows on its row and can be cancelled 1936632
- Games: a proxy plugin update can wait until nobody has been on for 30 minutes 125e0ca
- 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
<!-- look-pages 125e0ca8817e --> Look pages for 125e0ca, from the gate:
look pages (none): "Looks: /games/<box>/<proxy>," is not a page of app.looks in forge.json; this pull changes src/web/pages/games.ts but the forge could not trace the route of /, /admin/telemetry, /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
<!-- look-pages 1936632ee20f --> Look pages for 1936632, from the gate:
look pages (none): "Looks: /games/<box>/<proxy>" is not a page of app.looks in forge.json; this pull changes src/web/pages/games.ts but the forge could not trace the route of /, /admin/telemetry, /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
Saving a pinned proxy plugin restarted the proxy at once, which drops everyone. The Forge plugins row now has a second button, Save when nobody has been on for 30 minutes: the forge holds the change and applies it itself at the first full check-in after 30 minutes with nobody on any server and nobody joining or leaving. No person and no agent turn is needed. A newer ask replaces an older one; one that cannot be applied is dropped with its reason in the log.
Ran on the vxrail: test/game-when-quiet.test.ts with schema-migrations, account-purge and game-proxy-jars, 61 pass, 0 fail; tsc and the gate pass.
Part of #18025.
🤖 Generated with Claude Code