fix(bridge): protocol 13 opens — UTF-8 from the site, a reload that fails on evidence (F15, F9, F10) #16
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/protocol-13-config-reload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Step 1 of
docs/modules/rust/PLAN_FIXES.md§6, onedgeper D177 (Rust-Plugins, Rust-Link and Module-Rust release protocol 13 together). Decisions: docs#285. Spec: docs#286 (PROTOCOL.md §19).edgewas re-created frommain(it had been deleted after the phase-18 cutover), so this diff is protocol 13 only.F15 — UTF-8 from the site
ReadLoopcast each byte tochar, which is Latin-1, so every non-ASCII character from the site was mangled: announcements, titles, kit and zone names, and saved config files. Lines are now split as bytes (UTF-8 never uses0x0Ainside a character) and each finished line is decoded as UTF-8, so a character split across two reads survives.MaxInboundLineBytesnow counts bytes.F9 / F10 —
config.writeanswers first (D178)pending: true,writeId,reload,ceilingMs: 30000. No-reload, not-loaded andreload-failedanswer as before.restored: true/false.config.outcomeevent (the sidecar files it like any other event).rg.configshows the phase and seconds.ProtocolVersionandoverlay.tomlare both 13.Choices I made inside D178, for review
settle_bycovers it.IsPluginLoadedisplugins.Find(name) != null. I didn't usePlugin.IsLoadedbecause it isn't proven on Carbon.Checks
node scripts/checkPlugin.jspasses: protocol 13, 32 hooks, allvoidand listed.Not compiled or run yet. The plugin only builds on a Rust server. The rig walk is PLAYER_WALK.md configuration steps 2, 2a, 2b and 4, on Oxide and Carbon.
AI-assisted: Claude Code (Claude Opus 5.5)
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY