Skip to content

Commit 7eaf3a9

Browse files
os-zhuangclaude
andauthored
docs: replace the retired runtime env contract outside Deploy (#60) (#63)
Nine pages outside `deploy/` still documented environment variables the shipped runtime does not read. `reference/environment-variables.mdx` was the worst of them, because a reference page is the one a reader treats as the contract — and since the Deploy rewrite landed it also *contradicted* a page shipping beside it, describing the cloud-posture variable as a switch for marketplace features while the deployment page states it is coupled to the licence mode with unsupported pairings refused at startup. Every variable in the rewrite was checked against the deployment bundle that ships with the release, and against the runtime and CLI source that reads it. What the evidence showed: - `OS_ARTIFACT_FILE`, `OS_BUSINESS_DB_URL`, `OS_CACHE_DIR` and `OS_PROJECT_ID` are read by nothing at all. A reader who sets one gets the boot they would have got with nothing set, and no error naming the mistake. - `OS_ARTIFACT_PATH` is retired on the runtime image and *refuses* a boot that carries a non-default value, naming its replacement. It was documented as a supported alternative on two pages. - `OS_CLOUD_API_KEY` is not a variable a self-hosted deployment sets. It is the service credential the hosted cloud injects into runtimes it operates, and the CLI's publishing bearer token. A self-hosted deployment authenticates with a token minted when it was bound. Three pages presented it as the deployment's cloud credential; the publishing page, which had it right, gains a note about the collision. - `OS_DATABASE_DRIVER` is NOT retired — it is the live driver override — so it is documented rather than removed. The reference page is rebuilt around the decisions a deployment actually makes: licence and cloud posture as a coupled pair, the walled-posture decisions that refuse to default, multi-node, and artifact selection. It carries a retired-name table so an inherited configuration file can be read and corrected. Variable names stay — they are the contract — but the values a customer copies stay in the release's deploy bundle, where they can be pinned to a version. Rows that could not be confirmed against any shipped artifact are not carried forward on a guess; they are reported for triage rather than restated. Stale translations of every rewritten page are deleted in six locales. Fumadocs falls back to English, measured here rather than assumed: the deleted siblings serve the new English body with localized chrome, while a page whose translation was kept still renders in its own language. Claude-Session: https://claude.ai/code/session_0137TnZzVmkSjXxoSVgPFS6S Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 093e848 commit 7eaf3a9

63 files changed

Lines changed: 354 additions & 7922 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎content/docs/architecture.de.mdx‎

Lines changed: 0 additions & 137 deletions
This file was deleted.

‎content/docs/architecture.es.mdx‎

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)