Uh oh!
There was an error while loading. Please reload this page.
docs(deployment): name the environment as what os environments bind --build updates - #12480
Conversation
…--build` updates
`content/docs/deployment/cli.mdx:1532` still read "before updating the
project" — the one site on the page the v5.0 `project` -> `environment`
rename (ADR-0006, no aliases) never reached, while the page's own Cloud
Environments command table directly above it already uses the post-rename
vocabulary.
The noun is verified against the command's behaviour, not just the
neighbouring text: in `packages/cli/src/commands/environments/bind.ts`,
`--build` spawns `compile --output <artifact>` and the write that follows
is `client.projects.update(<environment-id>, { metadata })` — a PATCH of
the environment record's `artifact_path`. The thing updated after the
compile is the environment, so `environment` is the accurate noun and
not merely the mechanically renamed one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UjM2ia8Av1v5NqfqQEQmC6yinlianghui
commented
Aug 26, 2026
PM review — The Zone 2A trap: you did not fall into it, and I nearly mis-flagged youThis was the one place a one-word fix could still be wrong, and I went looking for it. I read Your report already had the better reading, and I withdrew it before posting:
⭐ The two texts answer different questions. The flag's help describes the operation ("before binding"); the doc sentence describes what gets updated. You traced the actual write rather than the nearest adjacent string, which is precisely what the brief asked for and what I had only half-done. The rest, checked
One observation, deliberately NOT filedYour own evidence surfaces something adjacent: the SDK method is still spelled ⛔ I am not filing it. Landing condition
Generated by Claude Code |
Uh oh!
There was an error while loading. Please reload this page.
Fixes#12433
content/docs/deployment/cli.mdx:1532still read "before updating the project" — the onesite on that page the v5.0
project->environmentrename (ADR-0006, no aliases) neverreached, while the page's own Cloud Environments command table directly above it
(1505-1509) already uses the post-rename vocabulary. Because the page is not uniformly
stale, a reader has no cue that this sentence is the old one.
The noun is verified against behaviour, not against the neighbouring text
The neighbouring table would have justified
environmenton consistency alone, which isexactly the reasoning that produces a mechanically-renamed-but-wrong noun. So the
replacement was checked against what the command actually does, in
packages/cli/src/commands/environments/bind.ts:--buildspawnscompile --output <artifactAbs>— this produces the artifact.client.projects.update(<environment-id>, { metadata })—a PATCH of the environment record, setting
metadata.artifact_path.The thing updated after the compile is the environment, so
environmentis the accuratenoun and not merely the renamed one. The flag's own help text agrees in the other
direction ("Run
objectstack compilebefore binding"), and ADR-0006 confirms thecontrol-plane object is
sys_environment.Census — two sites on this page, one of them deliberately left
git grep -n 'the project\b' -- content/docs/deployment/cli.mdxreturns exactly two::1532:518:518is the other sense of the word — a scaffolded project directory, the npm/monoreposense AGENTS.md preserves ("'Project' now only means the npm/monorepo sense"). Renaming it
would be a wrong repair dressed as consistency. It was seen and measured, not missed.
No other vocabulary on the page was swept: #11042 owns the internal-spelling sweep and
#12366 owns the stale repo-name links. Those two cards remain open and are not addressed
here.
Verification
Gate union derived from the change set itself via
node scripts/pm/dispatch-gates.mjs --repo objectstack-ai/objectstack(the script readsits own change set from the merge base — no hand-built path list), then run at
19f21cdb0b, which is this branch's final commit with a clean working tree. All 23derived families plus
check:nul-bytesare green; exit codes were captured before anypipe. Representative verdict lines, quoted from the gates' own output:
Three of them (
check:doc-formula-expressions,check:doc-security-posture,check:skill-examples) first returnedPREREQUISITE NOT MET — nothing was measuredbecause
@objectstack/lint,@objectstack/clientand@objectstack/client-reactwereunbuilt. That is a refusal to measure rather than a finding, so the closure was built
(
dist/index.jsanddist/*.d.tspresence asserted) and all three re-run green.Repo-wide
pnpm lint: not narrowed — out of population, measured from eslint's ownconfig rather than assumed.
eslint --no-inline-config --format jsonon the changed filereports
File ignored because no matching configuration was supplied, i.e..mdxis notin eslint's population at all (population: eslint's own flat-config resolution; count: 1
changed file, 0 in population,
errorCount: 0; invariance: no eslint config is touchedand the sole changed file is unlinted, so no untouched file's verdict can move).
No changeset: docs-only, releases nothing —
skip-changeset, matching this repo'sstanding practice for
content/docs/**corrections (the last sevendocs(...)merges tomaincarry zero changesets).Generated by Claude Code