docs(journey): phase 7 — the installation path and administration #10
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/phase-7-docs"
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?
Twenty documentation pages — Getting started (7) and Administration (13) — the journey no existing document owns end to end, because the repositories are organised by component and an operator is not. PLAN.md calls the installation path "the priority of the whole project".
The four decisions (D34–D37)
Taken before anything was written; recorded in PLAN.md §10, How phase 7 built the documentation journey. The count of record is now thirty-seven.
.env, checked against upstream rather than trustedD35 and the check it needs
/docs/getting-started/install-the-site/prints both files verbatim, which is the one place this site knowingly copies another repo's file — exactly what §1 warns about. So it is checked, not trusted:scripts/checkQuickstart.mjsre-readswebsitemain:docker-compose.ymlandmain:.env.exampleover the Gitea API and fails the build on any disagreement, in both directions:.env.exampleturns this repo red until someone decides whether a first install needs it;It found two stale entries on its first run (
TOTP_ISSUERandMODULESare commented suggestions upstream, not keys). Wired intoverifyand CI, using the sameREGISTRY_TOKENmapping as the facts check.What the live deployment disproved
The D36 rig was the quickstart itself — the exact two files from this page, against the published image — so one run proved the install page and produced the detail the admin pages needed. Three findings, all now documented, none of which any check could have caught:
SECRET_ENC_KEYis required in production (utils/secretBox.jsthrows at require time, so the container crash-loops before it listens) and is missing from website's root.env.example— the file Compose actually reads. It is present inserver/.env.example, which is why local development never hits it. The quickstart carries it, declared as an upstream omission so the check fails the day it is fixed.<site>/admin/shard(installermain:src/sidecar.rs), andINSTALL.md§5 repeats it. Since the module cutover the screen is/admin/uo/link, labelled Shard (uo-link). Both the binary and the guide are stale.window.confirmwhose text is the honest warning that a deployment with no supervisor does not come back — which is whyrestart: unless-stoppedis called out as load-bearing on the install page rather than left as boilerplate.Findings 1 and 2 are defects in other repositories and are deliberately not fixed here — see the question below.
The defect only a look found — three phases running
The
.envblock's prose promised every highlighted line must be changed, whilemarkgiven the variable names highlighted the names alone and left the values a reader must replace unmarked. Every check passed on a page that was wrong about its own highlighting. Marking the wholeKEY=valuestring fixed it. Same lesson as phase 4 (cascade), phase 5 (literal backticks) and phase 6 (the card void).Verification
npm run verifygreen: 890 internal links resolve, 52 repository links point at a branch, 19 facts agree with their authorities, 59 quickstart checks pass againstwebsite main,astro check0 errors / 0 warnings.For the org lead
Findings 1 and 2 are real bugs elsewhere (
website's.env.example; theinstallerbinary plusdocs/installer/INSTALL.md). Both are outside this phase's scope, so nothing was widened to fix them — say the word and they are two small PRs.AI-assisted: written with Claude Code (Opus 5).
🤖 Generated with Claude Code