feat(sidecar): protocol 5 #34
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/protocol-v5"
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?
PROTOCOL_VERSION4 → 5, and nothing else.Engagement Phase 10. Design of record: docs#193 →
link/v5.md. Companion PRs: servuo-plugins#18, Module-uo#…, docs#193.Why one line is the whole change
Protocol 5 adds fields to
house.decayandvendor.listingand one new kind,account.login.result— and the sidecar needs no code for any of it. Every frame is persisted whole, the board tables index only the columns they already had, and there is no kind allowlist, so the new fields ride inside the stored JSON and the new kind lands ineventslike any other.No store migration this time, unlike v4. v4 needed one because it added a column to a board table that already existed (
guilds.members); nothing here does.A bump that touches one constant is the expected cost of an additive protocol version in a dumb forwarder — the sidecar defines no schema for a frame's contents, so it needs no change when they grow. v4 was the exception, not the rule.
Verified against the real shard
Not just against the tests: the release binary ran the local rig with a real ServUO for the whole of Phase 10's acceptance.
GET /health→"protocol": 5/history:estimatedCollapsepresent only on the IDOC framefeesblockaccount.login.result(accepted:false reason:BadPass, thenaccepted:true)cargo fmt --checkclean,clippy --all-targets -D warningsclean, 39 tests passing.🤖 Generated with Claude Code