docs(website): record the shard visibility framework #64
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/shard-visibility"
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
Documentation for Protocol 3.0 Part A (the visibility framework), landing alongside website#109. Companion to the design in
link/v3.md(#63).Two documents, two audiences:
website/SHARD_VISIBILITY.md(new) — the admin-facing guide. The audience ladder in plain terms, what each of the ten shard features exposes, every default and why it is that default, the two rules that are code rather than configuration, and four worked examples ("I want a private shard", "publish the market but don't tie vendors to players", …).website/BACKEND_DESIGN.md§6.5 (new) — the same thing as a security contract: the ladder and howviewerLevelresolves it, the lockedacct/webIdrule, the fail-closed kind map, the asymmetric ladder fallbacks and why a single shared fallback can't work, and the three enforcement points. Plus theshard_feature_visibilityschema entry, the/public/shard/featuresroute row, and theadminOnlytier on/admin/shard/visibility.Notes worth flagging for review:
/public/shard/guildsand/public/shard/governorspreviously returned the raw stored payload, whoseleader/governoractors carryacctandwebId, to anonymous callers. That is the leak Part A closes.SHARD_VISIBILITY.md§6 is honest about the fact that loosening House owner is a real disclosure — house ownership is visible in game, but the website makes it searchable in a way the game doesn't. That asymmetry is the thing an admin should weigh, so it says so rather than presenting the toggle as neutral.Docs-only. Targets
edge, notmain.How it was tested
N/A — documentation. Every route, table, field name and default cited was taken from the implementation in website#109 rather than from the plan, and the public-shard route count in §2 was corrected 12 → 13 for the added
/featuresendpoint.Checklist
AI-assisted contributions (required)
Claude Code (Opus 5). I have reviewed and understand every change, and take responsibility for it. AI-authored commits are marked with aCo-Authored-Bytrailer.License