feat(sidecar): protocol 8 — the asset plane (Asset Bridge cutover, 1 of 5) #44
Reference in New Issue
Block a user
No description provided.
Delete Branch "edge"
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 5 of the Asset Bridge
edge → maincutover (docs/link/v8.md§16 row 9b).Land this together with
servuo-plugins#36installer'sbundle.ymlGate 1 refuses a sidecar/overlay pair that disagrees on protocol.This PR moves the sidecar to 8;
servuo-plugins#36movesoverlay.tomlto 8. Whichever landsfirst leaves a compose that cannot run until the other does — exactly what happened at the Event
System cutover (compose run 102 failed, 103 composed once both were out). Merge them in the same
window.
What comes over
Three phases of the Asset Bridge, all already merged to
edgeand reviewed there:PROTOCOL_VERSION7 → 8, andMAX_INBOUND_LINE_BYTES— the shard → sidecar direction had no line cap at all (shard.rsread_line), while sidecar → shard has capped at 1 MiB since the beginning. Protocol 8 is the first version that sends bulk data up that direction, so it is the first that needed the boundGET /cliloc— the cliloc table forwarded verbatim, and the fix to stop reading a refusal as meaningGET /assets/sources,GET /assets/manifest,POST /assets/fetch,POST /assets/bodies— the manifest, the pixels and the body passsidecar/src/main.rs+35,shard.rs+268,web.rs+405.The sidecar stays a dumb forwarder: it validates shape and forwards; every decision about what
an asset is, who may see it and whether to keep it is the website's. Phases 5, 6 and 7 of the
Asset Bridge needed no change here at all — item/land art, the action ceiling and the spawn-tree
transport all ride
assets.fetch's existing family shape, which is the design working.After the merge
Release fires on push to
main; expect a minor sidecar release (conventional commits), andbundle.ymldispatched from its final step to recompose the bundle at protocol 8.edgestaysstanding.
Verification
Run on
edgeatbaa04e1:cargo fmt --check— cleancargo clippy --all-targets -- -D warnings— cleancargo test— 64 passed, 0 failedPlus phase 9a's acceptance walk against a real ServUO shard and this sidecar: 1,095 portraits in
3.18 s, 67,496 cliloc names in 1.42 s, 313 item pictures in 1.38 s, the spawn atlas over the bridge
in ~2 s.
AI disclosure
Authored with Claude Code (Claude Opus 5). Commits carry the
Co-Authored-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_016wDDVXWMDz82WqE1i969r4