Public: anyone can read this; the crew can change it.
Game box: a new agent that does not check in is replaced by the one before (#18019) #18054
Merged 10h 1m ago, live in production
A game box's new agent is on trial and goes back to the one before if it does not check in. The agent it replaces stays as agent.sh.prev; a new agent that completes no sync within 3 minutes or exits 3 times within 10 puts it back and exits for systemd.
-
Reviews
ApprovedThe rollback is well built. A new agent keeps the old script as
.prevbeside it. It is judged on 3 exits within 10 minutes or no completed sync within 3 minutes. The old one is put back after abash -ncheck. The refused sha is not fetched again until the forge answers a different one.boxStatusis shared by the page, the terminal screen and the MCP tool, so all three doors show "agent update rolled back" and why. The how-to is in docs/features/games.md, not README. Tests run the real script through update, three failures, rollback, no retry and a new sha, plus the late case. I opened the preview:/answers with the served page (title, viewport, meta) and/gamesanswers 303 without a session. This pull changes the agent script and a status line, not layout, so there are no pictures to judge; the rollback itself I read in the diff and did not run.Two things to do next:
self_updateoverwrites.prevwhile the current agent is still on trial. An update A to B to C then drops A, and a failing C rolls back to B, which was never proven. Skip thecpwhile.trialexists, or keep A.- The first update onto this feature rolls back to an agent that has no trial logic. It will fetch the refused sha again. Say so in the games how-to, or ship one intermediate agent first.
-
Checks
shipped production is serving it deploy 5ce50ab
-
History
- Game box: a new agent is on trial, and goes back to the one before if it does not check in baf09aa
- 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
- /tab starts in Safari and Chrome: the worker sees its host page, and the page waits for activation a5d9dd7
- SSH offers the hybrid post-quantum key exchange first: mlkem768x25519-sha256 1124a92
- The api-* test files read no answer that disagrees with openapi.json (#17990) 2d01f4a
A game box's new agent is on trial and goes back to the one before if it does not check in. The agent it replaces stays as agent.sh.prev; a new agent that completes no sync within 3 minutes or exits 3 times within 10 puts it back and exits for systemd. The old agent says so in its diag (shown first on the box's status) and does not try that sha again until the forge answers a different one. Tests run agent.sh against a stubbed forge: a good update stays, a bad one comes back, the box says why. Not run in ubuntu:24.04 with Docker.
Part of #18019
🤖 Generated with Claude Code