Commit 8c9bd8f
docs(metadata-protocol,objectql,cli): correct six comments describing the standalone stamp as
* docs(metadata-protocol,objectql,cli): correct six comments describing the standalone stamp as `proj_local`
#13366 completed the v5.0 `project` to `environment` rename at the two stamps
it had not reached (`runtime/src/standalone-stack.ts`, `metadata/src/plugin.ts`);
both now stamp `env_local`. Six comments in three other packages still described
the old value.
Judged per site rather than search-and-replaced:
- Five sites whose verb describing the stamp is present indicative — they
describe today's tree, and two of them point the reader at
`standalone-stack.ts` to go look — take the current spelling `env_local`.
- `cli/src/utils/schema-migrate.ts` names `'proj_local'` as the value the
historical #9380 deduction consumed, so the literal stays and its
present-tense relative clause moves into the past, with today's spelling
named beside it.
The causal claim at every site is about PRESENCE, not spelling: the retired
gate read `environmentId === undefined`, so it would have misfired identically
under either literal. That reading is preserved at all six.
Comments only: 21 of 21 changed lines are comment lines. No behaviour, no
export, no assertion reads either literal.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XTBcV7zZHmokdyQgXjbyEU
* chore(changeset): patch the three packages whose shipped bytes carry the corrected comments
Graded by measurement rather than by the "comments only" shape. Built the three
packages and grepped the paths their `files[]` actually ships, with a positive
control:
@objectstack/metadata-protocol dist/index.d.ts, dist/index.d.cts HIT
@objectstack/objectql dist/index.d.ts, dist/index.d.mts HIT
@objectstack/cli dist/utils/schema-migrate.js HIT
positive control `runPlatformMigrations` / `bootSchemaStack` HIT
old spelling `standalone stack stamps `'proj_local'`` in dist 0
Two of the six sites are TSDoc on exported interface members, so they land in
the shipped declaration files; the CLI site lands in shipped JS because that
package builds with `removeComments` unset. All three packages are public and
ship `dist`, so `skip-changeset` — which is for a diff that publishes nothing
from any released package — does not describe this diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XTBcV7zZHmokdyQgXjbyEU
---------
Co-authored-by: Claude <noreply@anthropic.com>proj_local (#17295)1 parent 4062aef commit 8c9bd8f
6 files changed
Lines changed: 29 additions & 10 deletions
File tree
- .changeset
- packages
- cli/src/utils
- metadata-protocol/src
- objectql/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4768 | 4768 | | |
4769 | 4769 | | |
4770 | 4770 | | |
4771 | | - | |
4772 | | - | |
4773 | | - | |
| 4771 | + | |
| 4772 | + | |
| 4773 | + | |
4774 | 4774 | | |
4775 | 4775 | | |
4776 | 4776 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments