Public: anyone can read this; the crew can change it.
A game box's sync is never refused for terminal colours: the forge cleans machine output, and the agent sends it plain #17279
Merged 34h 4m ago, live in production
Production box mc's syncs have been refused with 400 since its servers started (22:18Z). The JSON was valid, but refuseDirtyJson refuses any control character, and real Minecraft and itzg logs carry ANSI colour escapes (\u001b). So the forge's view froze.
-
Reviews
ApprovedReviewed every changed line. No high findings. The route is authenticated by box token first, and the body is capped by bytes actually read (readBounded). Cleaning runs before storage, and a body that is not JSON still gets a 400 with where it broke. Log fields are JSON.stringify'd and limited to 200 bytes. The agent now passes each part through a file with --slurpfile, so no argument is built from log text. The new test fails without the change. The docs go in docs/features/games.md, not README. No new dependency. This is an agent API route with no page or terminal door.
Two low notes, not blocking: cleanJson stops cleaning below depth 64, so strings in a very deeply nested body stay raw; stopping there instead (refuse the body) would be tighter. The escape regexes now live in three places (agent.sh, parseable_request.ts, and the control-input check). The forge side is needed for older agents, so keeping both is fine.
-
Checks
shipped production is serving it deploy c4333e8
-
History
- A game box's sync that is not JSON is answered 400 by its route, saying where it broke d16fe55
- A game box's sync is taken once its servers run: the agent sends every string plain and every part checked, through files; the forge cleans what an older agent sends 406711c
- Serving first: background work at SCHED_IDLE, and new checks and crew runs wait while the forge is under pressure (#17235) b68a708
- fork-follow-history: the follows the history test reads are built in three steps, each its own test (#17260) 0bcae71
- A pull reads green and can land while its tests are still queued (#17258) 922eb80
- phone-targets measures the select inside Talk's closed Display menu, so main'… (#17250) 8874dc1
- Edges: DNS records as their own infra kind via Cloudflare, including SRV (#17093) 35ce195
- A memory reading's heap is never 0, so test/memory-watch.test.ts is green on main (#17248) f52066e
- The two OTLP intake routes' summaries are 91 and 93 characters, so main's ope… (#17249) 78e7edc
- Sentinel: memory-growth was degraded 32 minutes today: The forge's own memory is 4479 MiB, over twice its first-hour 1909 MiB and past the 2176 MiB more its database caches m… (#17251) 87074e5
- A red test run that named no failing test and no crash says so plainly, never its last stray line (#17228) df98dda
- CVE.org, GHSA and NVD feeds into /advisories (#17217) 6947127
- test/pull-schedule.test.ts: open each test's database with openDb, not a fres… (#17246) 1f8ef80
- 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
Production box mc's syncs have been refused with 400 since its servers started (22:18Z). The JSON was valid, but refuseDirtyJson refuses any control character, and real Minecraft and itzg logs carry ANSI colour escapes (\u001b). So the forge's view froze.
jq -e(with a fallback), and the body goes through a file withcurl --data-binary @file(one exec argument is capped at 128 KB, which would wedge a box with long logs).Tests not run locally (the Mac is kept free); the forge's runners check it.
🤖 Generated with Claude Code