docs(link): sidecar never reads shard files; everything goes over the bridge #420
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/sidecar-no-shard-files"
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?
What & why
Closes the contract question in RunicGateway/servuo-plugins#41.
Decision (approved by the org lead): everything goes over the bridge, and the sidecar never reads shard files. The shard, running as the account ServUO uses, reads its own data and client files (
DataPath.cfg,Cliloc.enu,art*.mul, saves) and serves what the website needs as bridge messages. The sidecar reads only its own config and database.Checked against the code: in
link/sidecarthe only file reads are its own config (config.rs:123,config.rs:276)./clilocforwards acliloc.tablecommand to the shard (web.rs:1435). Nothing needs/opt/servuo, so no permission, group or installer change is needed.link/PLAN.md§2: the rule is added to the non-negotiable architecture rules.installer/INSTALL.md: the prerequisites row and A4 (hand deployment) now say therunicgatewayuser needs nothing under the shard directory and thatdrwxr-x---is fine.Not done: #41's third point, explaining the
Permission denied (os error 13)lines in the sidecar log from before 2026-11-22, is still open. The live shard host isn't reachable from this session right now, so the journal wasn't read. The likely source is the old cliloc import path from #37, but that is unconfirmed.How it was tested
Docs only. I checked the sidecar source with a grep for file reads (
fs::read*,File::open, data paths) to confirm the rule matches today's code.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
🤖 Generated with Claude Code
https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t