Public: anyone can read this; the crew can change it.
The game agent has one compose command: an array every call and the background job share #17261
Merged 35h 19m ago, live in production
Follows #17206. agent.sh now runs compose through one array, COMPOSE=("$DOCKER" compose -p game …). capped, bounded30 and the background job (bash -c … forge-game-job) all run the real program, so no shell function is left for timeout(1) to miss.
-
Reviews
ApprovedClean. The compose function becomes one COMPOSE array of the real program and its flags, and every caller (ps, logs, rcon exec, and the job's bash -c via "$@") expands it quoted. That removes the declare -F special case in capped(), so timeout(1) and the no-timeout fallback run the same thing. No user text reaches the shell: $args is the same word-split verb list as before, and DOCKER no longer needs exporting because it is inside the array. No leftover compose() callers. The existing game-box test runs one sync both with and without timeout(1) on PATH and asserts the exact compose argv for exec and up, so it would fail if the array broke. Minor, not blocking: the comment in test/game-box.test.ts about the agent's
composefunction is now stale. -
Checks
shipped production is serving it deploy c4333e8
-
History
- Agent compose array: check again (fork-follow-history flaked; it failed the same way on #17226) b1e6119
- The game agent's compose is one array of the real program: timeout(1), plain calls and the job's bash -c all run the same thing b18335a
- test/cloud-watch-read.test.ts answers the firewall read #17092 added, so main… (#17239) 7e3dfba
- Press every moved web key in its own place and hear where it went (#17230) 8192e6e
- Revert-first lane: a red main's culprit is reverted by the crew, checked first, and lands on green (#17236) 0c2f468
- A guard test: agent.sh never writes a bare n/m as an object value, which jq 1.7 refuses (#17257) 6896d92
- A pull's new breach of a rule main already breaks is the pull's red: rule and scan reds are compared by failure text, not name (#17218) c26e527
- Merge pull request #17225 from sold/agent-jq 4a0cc46
- Red after landing: #17015 broke test/big-clone.test.ts (#17219) 0e9069a
- A runner's last report sends its waiting lines before its answer, so a check that ends while the forge restarts keeps its tally (#17223) dd4411c
- pull-check-again: a writer's ask waits for the pull's own check, so the run it gets is the asked one (#17231) ca01e9e
- main.ts imports each background service when it starts it, after ready, not at boot (#17164) 5542f4e
- Upgrade a shared forge to a dedicated one, keeping its data (#17167) 8c343f4
- An issue the crew has parked twice is not handed to a builder again until a person speaks on it or the planner re-plans it (#17191) 376428c
- Registry: MCP registry_search and registry_install, and a src/tui listing (#17193) 7fe1e6c
- Observability 7: /explore - query the series, select to explain, pin to home, save as a report (#16868) ad0a4bc
- Sentinel: The guard parked 20 runs in a private repository (01m5th8bwh248hrnezwstf9fff) in a day (#17212) feb4e42
- Sentinel: The guard parked 20 runs in trevato/forge in a day (#17211) f148348
- Errors: resolve a group automatically when the pull that says 'Fixes error <id>' is deployed (#17171) aa611bc
- A key whose control is in a closed disclosure opens it first: an issue's a reaches Assign to (#17224) 4315785
Follows #17206. agent.sh now runs compose through one array, COMPOSE=("$DOCKER" compose -p game …). capped, bounded30 and the background job (
bash -c … forge-game-job) all run the real program, so no shell function is left for timeout(1) to miss. The function and capped's special case are gone.Proven on ubuntu:24.04 (jq 1.7, GNU timeout) against a stub forge: two syncs with services and logs, an rcon run through timeout returning its result, and the background up through the array.
preflight: green (164 files).
🤖 Generated with Claude Code