Public: anyone can read this; the crew can change it.
A game box's boot config is plain ASCII, so cloud-init stops dropping it #17112
Closed 42h 40m ago
The first two game boxes never ran their agent. On the droplet, cloud-init logged Failed loading yaml blob. unacceptable character #x0080 … position 3113 and merged an empty config.
-
Reviews
Changes requestedThe fix in src/games/boot.ts is right. It escapes every non-printable-ASCII character as \uXXXX, or \UXXXXXXXX above the BMP, which is valid YAML. It covers all five embedded strings. The round-trip test through Bun.YAML.parse is the right proof. The test file needs these changes:
- In test/game-box.test.ts, the
asciiJsonhelper copies the production escaping and drops the\Ubranch. For a code point above 0xffff it would emit 5 hex digits, so it has already diverged from boot.ts. Don't copy the function. Thecarries the agenttest should parsecfgwith Bun.YAML.parse and compare the agent.sh content to AGENT_SH. Then delete the helper and restore the original line. - The new test re-imports
gameBootConfigandAGENT_SHdynamically. Both are already imported statically at the top of the file, so this only shadows them. Remove theawait importand make the test synchronous. - The helper leaves two blank lines before
const AGENT. Keep one. - The new test sits outside
describe("the boot config"). Move it inside next to the other boot-config tests. - Nothing exercises the astral (
\U) branch in boot.ts. Add one assertion with a non-BMP character, such as an emoji, that passes throughasciiand parses back to itself. That branch would otherwise go untested.
No page or terminal change is involved, so there is no door or docs obligation.
- In test/game-box.test.ts, the
-
Checks
stopped closed without shipping deploy c7cfbed
-
History
- A game box's boot config is plain ASCII: a raw … reached DigitalOcean as U+0080 and cloud-init dropped the whole file c7cfbed
- The shared tier is sold beside the dedicated one, with a density number a test measured (#17008) 7cc450a
- The cockpit: board and map as one screen, driven by four keys, readable from a TV, with nothing that needs you that a rule could answer (#16844) 2b7a2cb
- Merge scanTomlValue and scanYamlValue into one value scanner (#17091) dcc6797
- Merge scanJsxTag and scanHtmlAttributes into one tag-attribute scanner (#17088) 821c831
- Repo header: descriptions clamp to 2 lines with expand (apps API separates description from brief), and a clear crew status line: "paused at its ceiling" with a Raise button (#16936) 81d5354
- A push that adds a secret-shaped line is flagged before it lands (#17066) 068c207
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:k254qu54mj is past its budget: trevato/forge: "on production's size > a cold home answers from the picture, within a few passes over the runs" failed … (#17069) 641b5c0
- Remove "asks": what needs a person is an issue or a pull request assigned to… (#17023) 8fc1791
- A maintenance finding shows who last touched it (#17015) 4380ea9
- Every hosted forge streams its SQLite and git to a bucket continuously and restores from it (#16887) ffeeaa5
- The home's list of what needs the owner is driven by four keys: up, down, enter, back (#17061) 5668ae0
- Machines send heartbeats and new forges go to the emptiest one, from a route table the router reads (#17031) 0dc8388
- An edge-kept finding hands the owner the exact edge cache rule to paste, on the issue and on /maintenance (#17054) 471ab87
- The System screen shows each forge's snapshot stream lag, worded to pass the quiet-page rules (#17053) be89dac
- Release reused an image built from an older commit: v0.7.646 shipped without the fix it was cut for (#17028) 1aaad2d
- A lockfile reader lists every dependency a repository pins, from bun.lock and package-lock.json (#17064) c06ff90
- Flaky test: surfaces adversarial: web > N+1: needsYouCard does not cost more as agent pulls span more distinct repos (#17062) b6ae866
- A deployed forge runs its own forge repository, which follows the forge it wa… (#17060) 8c2aad9
- web ui setup: the first push to mel/proj was refused once on the check host, cause unknown (#17052) 12f4d33
Sign in to join this conversation.
new above
offline
The first two game boxes never ran their agent. On the droplet, cloud-init logged
Failed loading yaml blob. unacceptable character #x0080 … position 3113and merged an empty config. Position 3113 is the…(U+2026, bytes E2 80 A6) in a comment in agent.sh, which arrived re-encoded with a U+0080 that YAML refuses.Every content string in the game boot config is now JSON with
\uXXXXfor anything outside printable ASCII. test/game-box.test.ts asserts the config is pure ASCII and that YAML reads agent.sh back exactly.preflight: green (tsc, gate, 218 test files; 2 failures also red on main) in 73 s.
🤖 Generated with Claude Code