docs: the shard screen's real path, and the two keys a deploy cannot boot without #174
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/admin-shard-path-and-secret-enc-key"
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?
Two operator-facing errors, both found by following the documentation exactly, against a real deployment, while writing the runicgateway.com installation journey (runicgateway.com#10).
1. The shard screen moved and the guide did not
installer/INSTALL.md§5 andinstaller/PLAN.mdboth print the installer's handoff block, which told operators to paste the four values at<site>/admin/shard. Those screens belong to theuomodule now, and a module owns one path segment wherever it appears (MODULE_SYSTEM.md§2.8), so the page is/admin/uo/link.The old path does not 404 — the SPA sends the operator to the dashboard, so the link looks like it worked and the four values have nowhere to go.
/admin/shard, and that is what is released today./api/v1/admin/shard/*, because that is the distinction the next editor will need.Matches installer#22, which fixes the binary and asserts the new path in both handoff tests.
2. The README snapshot's quickstart could not boot
website's root
.env.examplenever listedSECRET_ENC_KEY, and the "set at least" list omitted both it andBOT_INTERNAL_KEY— each of which the server refuses to start without in production,BOT_INTERNAL_KEYeven on a deployment running no bot.Synced here from website#163, which fixes the file itself and was verified by booting the published image from a clean
cp .env.example .env.Checked but not changed
website/ARCHITECTURE.mdalready describesSECRET_ENC_KEYcorrectly (secrets at rest, and what a rotation means), and no document claimed the deployment works without it — the omission was only ever in the files an operator copies.AI-assisted: written with Claude Code (Opus 5).
🤖 Generated with Claude Code