Repository navigation
chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads - #37230
Conversation
…main no longer has A reproduction script diffs the package's published catalogues at the release tag against a ref, and one major changeset lists every key it reports under "Removed translation keys". Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
…form check-ui-root-lookups refuses a `--show-toplevel` lookup and a root-relative `REF:PATH` under ui/. git now runs in the package directory and reads `REF:./PATH`; the output is byte-identical. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
…ing major marker `pnpm changeset pre enter next` wrote .changeset/pre.json as committed. The @objectstack/spec major marker gives the protocol lockstep its pending spec major; the i18n changeset notes the two majors give one 19.0.0. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H
…8n-removed-keys-major
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Implemented-by: VERDICT: PASS No must-fix, no should-fix. |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
席位意见:通过。 Hand-off · 2026-11-25T10:52Z · @os-zhuang — PR #37230 (card #37223) is ready for you. It enters Changesets pre mode ( |
…dshake reads '^19' (objectstack-ai#37314) repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Fixes objectstack-ai#37229 Clause-②: yes (narrowing) Metadata-protocol: narrowed Skills-docs: follow-up objectstack-ai#37298 ## 维护者速读 - 协议版本从 18 升到 19:仓库里每个示例应用、连接器应用和文档示例都改为声明 19,新建项目模板在出预发布版时自动改成 19;只有装 19 预发布版的人会碰到。 - 属于「19.0.0 大版本」路线(你选的方案「A」第 2 项);它解开 19.0.0-next 的版本 PR:出版本的流水线不接受顺手改协议版本,所以由这一单先改好。 - 装了 19 预发布版、但应用仍声明 18 的人,启动时会被拒绝并提示改成 19(单一配置文件的应用有一条命令可自动改;多包组合的应用要逐个包手改);18.x 正式版用户不受影响;撤回即还原本单。 - 按你对冲突的裁决「A」,本单还改了一道检查:预发布模式下且 spec 已排定大版本时,下架提示写「19.0.0」不再被拦;五条下架提示因此写 19.0.0。 - 要你做的:「进入预发布模式」那一单已合并;本单是大版本变更,请你亲自把关合并。「Check Changeset」是有意的红:本单改了别人已合并的两条变更说明(各改一处事实)。另一单 objectstack-ai#37298 改三个技能文件,在本单合入之后合并。 ## What changes On the shape of the v18 move (objectstack-ai#22215, commit `4e9fe9f`), minus `skills/**`. - **`packages/spec/src/kernel/protocol-version.ts`:** `PROTOCOL_VERSION = '19.0.0'`. The docblock names protocol 19 as the pre-mode lockstep exception (ruling records 6049734955 and 7153441862), and says the blank template follows at the version pass and the published skills' examples in a change of their own. - **Handshakes:** 85 sites in 67 files move `engines.protocol` from `'^18'` to `'^19'`. Each is a manifest that stands for "an app on the current protocol", and none of them asserts on the range. | Directory | Files | Sites | |---|---|---| | `examples/` (crm, showcase, todo, starter, multi-package ×2) | 6 | 6 | | `packages/apps/connector-{docusign,github,stripe}` | 3 | 3 | | `packages/cli` (tests) | 40 | 56 | | `packages/qa` (7 dogfood tests, the sql-perf bench app, the scenarios exporter test) | 9 | 9 | | `packages/lint`, `packages/spec`, `packages/metadata` (tests) | 4 | 5 | | `packages/mcp/README.md` | 1 | 2 | | `content/docs` (cli, your-first-project, upgrading) | 3 | 3 | | `docs/qa/scenarios/builds/travel_expense.json` | 1 | 1 | `examples/app-starter` arrived from `main` (objectstack-ai#37399) declaring `'^18'` and moves with the merge. Its boot test, which installs the starter through `MarketplaceInstallLocalPlugin`, passes 5/5 at `'^19'`. At `'^18'` it reads 3 failed | 2 passed, refused `OS_PROTOCOL_INCOMPATIBLE`. - **`docs/qa/platform-checklist/areas/cli.json`:** one prose fact, "the stock showcase declares `'^18'`", now reads `'^19'`. - **`docs/qa/scenarios/builds/travel_expense.provenance.json`:** `sha256` is the build's hash as it now stands, and a second `amended` entry names the one edit (`engines.protocol` `'^18'` → `'^19'`) and the hash it replaced. `cardSha256` is unchanged. - **The protocol 19 migration step (ADR-0087).** `packages/spec/src/migrations/registry.ts.template` opens `step19`, with no conversions yet. Its first semantic entry, `entries/semantic/19.protocol-18-range-refused.ts`, is the refusal this PR causes, with the prescription: `--write` rewrites the range of a root `defineStack` manifest; for a manifest `composeStacks` composes, it writes nothing and lists the range for a hand edit in each package manifest. Its acceptance text claims only what the hop does: it edits or refuses the range. A key retired in this release that the metadata still carries is refused at parse by its own message, which names its own remedy. The text no longer says that `validate` passes or that every package installs. The upgrade guide now generates three hop sections (17, 18, 19). See "Why a step-19 entry" below. - **Removal prescriptions stamped after 18.6.0 name `@objectstack/spec 19.0.0`.** `retired-key-removal-version.pin.test.ts` derives the removing release's major from `PROTOCOL_MAJOR`, so at 19 the retirements not in the published 18.6.0 name 19.0.0, not 18.7.0, a release the v19 line never cuts: `object-grid` `singleClickEdit` (`component.zod.ts`), the boolean `field.inlineEdit` (`field.zod.ts`), `listView.columnState` and `view.columnState` (`view.zod.ts`), and `seed.mode` `'insert'` / `'replace'` (`seed.zod.ts`). Their text pins, the regenerated `content/docs/references/ui/{component,view}.mdx`, `content/docs/data-modeling/seed-data.mdx` and the metadata-protocol seed pin follow. - **`scripts/check-future-spec-major.mjs` reads the pre-mode window (ruling record 7176929521, option A).** On a stable `@objectstack/spec` label, with `.changeset/pre.json` at `"mode": "pre"` and a pending changeset declaring `"@objectstack/spec": major`, the next publish is label + 1, so the gate judges citations against 19 here. That is why the prescriptions above can name `@objectstack/spec 19.0.0`. The window is read through `check-changeset-no-major.mjs`'s `readProtocolLockstepInputs`, the reader the protocol lockstep already uses; there is no second parser. That file's docblock now names its three importers (`check-docs-image-tag.mjs`, `check-future-spec-major.mjs`, `pm/l1-face.mjs`); the change is a comment. Label + 2, pre mode without a pending spec major, a pending spec major outside pre mode and a prerelease label each open nothing; five new self-test rows pin those five cases (34 → 39 cases). An unreadable `.changeset/` opens nothing either, by the code; no row pins it. The stable-label condition is the same one `judgeProtocolLockstep` applies: on a `19.0.0-next.N` label the label's own major is already the carrier. Reverse verification: with the window condition ablated, the gate reads 14 problems, the 14 sites. - **Two fixtures pay a dynamic load at module top** (`validate-flow-region-shape.test.ts`, `plugin-artifact-packages-attribution.test.ts`). `check:test-source-alias` judges every test file a diff edits, and both edits here are the range literal. The gate prescribes exactly these imports. - **`.changeset/37229-protocol-19.md`:** `"@objectstack/spec": minor` and `"@objectstack/mcp": patch` (its shipped `README.md` changes), the two declaration lines, a BREAKING note with the FROM → TO and the command, and `registered protocol-18-range-refused`. - **DELIBERATE CORRECTION of two existing changesets.** `Check Changeset` stays red on both by design: each note is on the merge base, and each changes only the facts this PR makes false. - `.changeset/37223-v19-line-opens.md` (carried N1 of objectstack-ai#37230's L1, and N3 of this PR's L1), two sentences. "The first is `@object-ui/i18n`'s retirement …" now reads "The first change graded `major` is `@object-ui/i18n`'s retirement …", because this PR's protocol move is a breaking change graded `minor`. "`PROTOCOL_VERSION` follows `@objectstack/spec`'s major at version time." now reads "`PROTOCOL_VERSION` moves to 19 ahead of the version pass, in its own changeset." - `.changeset/37042-skills-inline-edit-boolean.md`, one clause: "The spec parse refuses `true` and `false` on a relationship field's `inlineEdit` since 18.7.0" now reads "… since 19.0.0", the release the retirement ships in. - **Carried from objectstack-ai#37230's L1, N3 — `ui/packages/i18n/scripts/released-keys-removed.mjs`** refuses an argument it does not know (exit 2, naming it), and prints the tag's commit: `^{commit}` peels the annotated tag. Measured: the tag `@object-ui/i18n@18.6.0` is a tag object `0dbef86ce3`, and the script now prints its commit `958ee03594`. The script is not in the package's `files[]`, so it publishes nothing and needs no changeset. ## Judgments: every `'^18'` left in place, with its reason | Site | Reason | |---|---| | `skills/**` (3 files) | Governed Tier H; the sibling PR objectstack-ai#37298. | | `packages/create-objectstack/src/templates/blank/objectstack.config.ts:38` | The version pass stamps it with the template's `@objectstack/*` versions, and `template-consistency.test.ts` holds it equal to the scaffolder major (create-objectstack is 18.6.0). Measured: moved to `'^19'` now, that test goes red; the version-pass rehearsal below stamps it `'^19'`. Same judgment as objectstack-ai#22215. | | `packages/cli/src/utils/protocol-version-gap.test.ts:82` | Paired with an explicit installed `'17.2.0'`: "a newer major is silent". The subject is the pairing, not the current protocol. | | `packages/metadata-core/src/artifact-forward-conversion*.test.ts`, `protocol-handshake.test.ts` | The subject is the artifact's floor against an injected runtime label (the v18 prerelease major-step window), or a range/major pair. No handshake against `PROTOCOL_VERSION` runs. | | `packages/metadata/src/plugin-artifact-forward-conversion-{major-step,package-body}.test.ts` | The same age subject at the metadata door, which runs no handshake. | | `docs/qa/platform-checklist/areas/platform-core.json`, item `platform-core.protocol-18-handshake-and-stored-replay` | Revised in place to protocol 19 (revision 6, with its history entry). The id keeps its protocol-18 slug because ids are immutable. Its `'^18'` now stands for the refused case: `'^18'` → 422 `OS_PROTOCOL_INCOMPATIBLE` naming `os migrate meta --from 18`, `'^19'` admitted, and the artifact step edits the copy's range to `'>=18.0.0'`, as the option-B fixture does. | | `content/docs/releases/**`, `docs/adr/**`, `**/CHANGELOG.md`, `.github/workflows/release.yml` (comment), script comments | Release-owned, governed or historical prose. | | `ui/**` tests, `packages/runtime/src/domains/packages-ensure-customization.test.ts`, `scripts/docs-audit/affected-docs.mjs` | Not a protocol handshake (`requiredRange` of a later refusal, a package-dependency range, a React peer range). | Moved to `'>=18.0.0'` (5 sites, commit `e05fdf6f`): `packages/runtime/src/standalone-stack-option-b-forward-conversion.test.ts`. It boots through the load seam, which refuses `'^18'` at protocol 19. Measured: `ProtocolIncompatibleError: package 'com.test.ob.core' targets protocol ^18 … Run: objectstack migrate meta --from 18`, 3 cases. Its subject is the conversion window, which opens on the floor. `'>=18.0.0'` keeps the floor (18.0.0, as `parseRangeFloor` reads `^18`) and admits 19. This is the same move as objectstack-ai#22215's two runtime fixtures (`>=17.1.0`). The fixture's docblock now says why, so a later sweep to `'^19'` does not close the window. ## Why a step-19 entry (the ADR-0087 disposition) `Metadata-protocol:` is judged from content. A 19 runtime refuses an authored value, `engines.protocol: '^18'`, that 18 admitted. That is `narrowed`, and the `Clause-②` arm is `narrowing`, as in objectstack-ai#22215. On a declared `narrowed`, `check:adr-0087-registration` refuses `not-required (no-migration-prescription)` outright and asks for a registered entry. Measured: "`not-required (no-migration-prescription)` is refused on a changeset that declares `Metadata-protocol: narrowed` … fix: register an entry under packages/spec/src/migrations/entries/semantic/". No entry at the merge base covers the refusal, so this PR opens step 19 with one entry, and the upgrade guide carries the prescription. ## Acceptance notes - **Docs versus npm `latest`.** The three docs pages show `'^19'`, as in objectstack-ai#22215. npm `latest` stays 18.6.0 until 19.0 GA, and an 18.x runtime refuses `'^19'`. The changeset says to move the range together with the `@objectstack/*` versions. - **Size.** 92 files, +440 / −161 against `main` (GitHub at `3811cd10f5a`), under the 3,000-line threshold. - **Out of this PR, found by the version-pass rehearsal.** On the post-version tree, `check:release-notes` is red: `@objectstack/spec` ships 19.x and there is no curated `content/docs/releases/v19` page. It is red on the control leg too (main + objectstack-ai#37230, without this PR), so objectstack-ai#37230's `major` causes it, not this PR. Release pages are release-owned, so this PR does not write one. Until one exists, the version-PR lane still refuses the 19.0.0-next refresh, on that gate alone. - **objectstack-ai#37287 and step 19.** objectstack-ai#37287 registered its retirement, `KnowledgeChunk.metadata`, under step 18; it reached this branch through the merge of `main`, and its refusal says "removed in @objectstack/spec 18" (`packages/spec/src/ai/knowledge-document.zod.ts:61`). Once protocol 19 is on `main`, `os migrate meta --from 18` replays only step 19, so a retirement that ships on the v19 line and is filed under step 18 is not listed to an 18 → 19 upgrader. objectstack-ai#37287 is one member of the family "step-18 entries registered on `main` after the 18.6.0 tag" (31 step-18 semantic entry files at this head that the 18.6.0 tag does not carry, and 34 on `main` at `5d21d431ec`, after objectstack-ai#37382, objectstack-ai#37392 and objectstack-ai#37395). That card is follow-up owed (seat). - **The dev's open questions, as built (seat reading at L1):** - The declaration is `yes (narrowing)` + `narrowed` with a step-19 entry, rather than `semantic`. - The blank template stays `'^18'`, and the version pass stamps it. - The metadata and metadata-core floor-subject sites are kept. The option-B runtime file moves to `'>=18.0.0'`. - The gate conflict between `check-future-spec-major` and the removal-version pin is resolved by ruling record 7176929521, option A (above). ## Verification Two-minute check: `node scripts/check-future-spec-major.mjs` prints `✓ check-future-spec-major: no @objectstack/spec citation names a major above 19` and `pre-mode window: label major 18, pre mode next, pending major for @objectstack/spec in .changeset/37223-v19-line-opens.md — the next publish carries 19`, and exits 0. `node scripts/check-changeset-no-major.mjs --base origin/main` prints `✓ Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 — the one exception, evidenced: pre mode (tag next) and a pending major for @objectstack/spec (.changeset/37223-v19-line-opens.md).` and exits 0. Read first: 1. `.changeset/37229-protocol-19.md` and `packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts`: what an upgrading author is told. 2. `packages/spec/src/migrations/registry.ts.template`, the new `step19`: the ledger's protocol 19 step opens here. 3. `scripts/check-future-spec-major.mjs`, `judgedMajor` and the five new self-test rows: the one gate this PR changes. 4. The Judgments table: every `'^18'` left in place. <details><summary>Readings at <code>3811cd10f5a</code> (the dev's, through the verify lock, and the seat's L1)</summary> - **CI at `3811cd10f5a`:** 70 check-runs, 60 success, 9 skipped, 1 failure. The failure is `Check Changeset`, by design: its two file annotations name the two DELIBERATE CORRECTION notes, and its ADR-0087 and no-major steps are green. All eleven required contexts are success, `Test Core` 10/10 included, and so is `Type Check · source gates`. - **Tests:** - dogfood full battery (os-dev-report 7183121949 on objectstack-ai#37229): Test Files 487 passed | 3 skipped (490), Tests 4129 passed | 68 skipped (4197), VERDICT command-exit 0. - whole spec suite: Test Files 896 passed (896), Tests 28442 passed | 1 todo (28443). - `examples/app-starter` boot test: 5/5 (re-run by the seat). With the range put back to `'^18'` through `ablation-replace`, it reads 3 failed | 2 passed, refused `OS_PROTOCOL_INCOMPATIBLE`; the restore was proven with `git diff HEAD` empty. - `retired-key-removal-version.pin.test.ts` and `protocol-version.test.ts`: 2 files, 68/68 (re-run by the seat). - **Guards:** - `check-future-spec-major` exits 0, and `--self-test` reads `39 cases pass` (re-run by the seat). The gate file is byte-identical to `9ed0f5e41f6`, where the seat ablated `stable`, the pending-major condition, the pre-mode condition and `+ 1` in turn: one self-test row went red each time, and with the window off the scan read the 14 sites. Each ablation was restored with `git diff HEAD` empty. - `check-changeset-no-major --base origin/main` exits 0. - `check:adr-0087-registration` exits 0 with `registered protocol-18-range-refused`. - `dispatch-gates --commands` derives 150 families on this diff. Two are red: `check-empty-changeset` by design (the two DELIBERATE CORRECTION notes), and `check:platform-checklist` on `areas/automation.json: ABSENT SYMBOL … FlowItemMoreMenu.tsx#FlowItemMoreMenu`, which `main` itself carries (reproduced on `origin/main` `ecbe854bda`; this diff touches neither path). The other 148 exit 0. - **Against current `main` (`5d21d431ec`, 9 commits past the merge base):** `git merge-tree --write-tree` is clean, and the merged tree carries the same `'^18'` lines as this head. `main` added no other handshake at `'^18'`. </details> <details><summary>Earlier readings (the dev's, on 9da4c1d plus the fixture fix, and at 8852bcb for the <code>--write</code> reach)</summary> Not re-run at `3811cd10f5a`. Of the code these read, this PR changed only the step-19 entry's text and the `examples/app-starter` range after them. The merges of `main` brought other changes in, and CI at the head is green. - **Handshake**, from the built `@objectstack/metadata-core` on protocol 19: `'^18'` → `incompatible OS_PROTOCOL_INCOMPATIBLE … Run: objectstack migrate meta --from 18`; `'^19'` → `ok`. - **Prescription**, with the built CLI. On a `'^18'` copy of `examples/app-todo`, `os migrate meta --from 18` lists the step-19 entry, and `--write` rewrites `objectstack.config.ts:48` to `'^19'`. On `examples/app-multi-package` with both package manifests at `'^18'`, `--write` writes nothing and prints the range for a hand edit (`manifest is composed by composeStacks(…)`). - **Template control leg:** moving the blank template to `'^19'` now turns `template-consistency.test.ts` red (`expected 19 to be 18`). - **`release.yml` version-pass rehearsal.** The `version-pr` Render and Validate blocks were extracted verbatim and run in a throwaway clone: - Results: `PROTOCOL_VERSION already 19.0.0`; the template is stamped `'^19'`; unvalidated surfaces 0; 14 of 15 content gates green; `check:release-notes` red. - Control (main + objectstack-ai#37230 without this PR): `protocol-version.ts` is unvalidated, with the same release-notes red. - **Tests:** cli 677 files, 8441 tests passed; runtime 647 files, 11978 passed | 25 skipped (the option-B file fails 3 cases at 9da4c1d and passes 6/6 at e05fdf6); metadata, metadata-core, lint, mcp, create-objectstack, scenarios and the example tests all green; `validate` exits 0 for 4 examples and 3 connector apps. </details> ## Provenance Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「objectstack-ai#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (`session_01QSeKYnLptCbfzwtkTrDG3j`, zone a4-S) had three writes refused by its permission check, and none was retried: its relay `pr_create`, the hand-off of the payload to the seat, and the push of the runtime fixture fix. The seat read the prepared body from that session's final message. The fixture fix was then re-applied and pushed as `e05fdf6f` (fast-forward, five sites in one test file) by a seat-dispatched dev, on the maintainer's authorization 「objectstack-ai#37229 夹具修复推送放行」. Rework round 1 (seat L1 7170046632) pushed `3fdf3490b9` to `43133e8ce5`. After ruling record 7176929521, `c871272e47` merged `origin/main` `db77cc493a`, `e5a7e35bff` regenerated the two ui reference pages from the merged tree, and `9ed0f5e41f` changed the gate. Rework round 2 (seat L1 7181615974, L2 7181629335): `d47c169db75` merged `origin/main` `da7c559990`, and `3811cd10f5a` moved `examples/app-starter` to `'^19'`, narrowed the step-19 entry's acceptance text, and corrected a comment in `check-changeset-no-major.mjs`. Branch `claude/issue-37229-protocol-version-19` @ `3811cd10f5a`. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ --------- Co-authored-by: Claude <noreply@anthropic.com>
…'^19', the major the 19.x boot handshake accepts (objectstack-ai#37298) <!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgFiXLbrG7d8JVydkmtSf4Bt)_ Fixes objectstack-ai#37460 Clause-②: no Metadata-protocol: none ## 维护者速读 - 客户项目里的 AI 助手照着技能包写应用配置时,声明的协议大版本从 18 变成 19;技能包的考题也同步改成 19。 - 属于「19.0.0 大版本」这条线:运行时的协议版本升到 19 之后,技能包要教同一个数,否则照抄的配置启动就被拒。 - 若它早于协议升 19 的那个改动上线,照着技能写的新项目会在 18 版运行时上启动被拒;纯文字改动,可以直接撤回。 - 要你做一件事:「进入预发布阶段」和「协议升到 19」两个改动都已合入,请审批这个受管的技能包改动。 ## What changes PR 2 of 2 for the card (seat direction: option A on the shape of the v18 move). This is the `skills/**` half, split off because `skills/**` is a governed surface. The sibling PR 1 moves `PROTOCOL_VERSION` to `19.0.0` and every other tracked `'^18'` on branch `claude/issue-37229-protocol-version-19` (PR objectstack-ai#37314). PR 1 and objectstack-ai#37230 (pre mode plus the pending `@objectstack/spec` major) are both on `main`, so the landing order this PR waited on is met. It stays draft because `skills/**` is Tier H. Four lines in three files, each rewritten in place at equal byte length: - `skills/objectstack-platform/SKILL.md` L111: the `defineStack` manifest example declares `engines: { protocol: '^19' }` (was `'^18'`). - `skills/objectstack-platform/evals/config-plugins-ops.json` L6 and L7: eval 1's prompt asks for `protocol 19` and its expected output is `'^19'`, so the eval stays consistent with the skill it scores. - `skills/objectstack-upgrade/SKILL.md` L89: the sentence that says what every scaffold and example writes now says `'^19'`. - `.changeset/37229-skills-protocol-19.md`: `@objectstack/skills` patch. `git grep -n "protocol: '\^18'" -- skills/` at head `3536f9ac1c` matches nothing. **Rework round (head `3536f9ac1c`).** Two commits on top of `c9ad209e`: a merge of `origin/main` `a46efa8c62` (clean, no conflict, no generated artifact deferred) and one sentence in the changeset. The changeset's last sentence used to end "no conversion is registered at step 19, so the chain an author replays still ends at 18"; with PR 1 on `main` the chain ends at 19. It now ends: "step 19 carries no conversion and one semantic entry (`protocol-18-range-refused`)." The entry id was read on `origin/main` `a46efa8c62` at `packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts`, the only `19.*` file under `entries/`. The changeset file is new in this PR, so this is not an edit to a landed note. The PR's own hunks in the three skill files are unchanged from `c9ad209e`. The eval file and the upgrade skill keep the same blobs. `skills/objectstack-platform/SKILL.md` changed blob only by main's merged hunks (objectstack-ai#37409, objectstack-ai#37303). **Declarations, judged from content.** The diff is skill prose and one eval fixture. It changes nothing a metadata author can write and nothing the runtime accepts or refuses; the refusal of `'^18'` is PR 1's. So `Clause-②: no` and `Metadata-protocol: none`, the same pair the v18 skills move (objectstack-ai#25688) declared, and the changeset is `patch`. No `Skills-docs:` line is owed for a `none` kind. ## Published-skills readings Lines, and tokens as ceil(UTF-8 bytes / 4); `origin/main` `a46efa8c62` to head `3536f9ac1c`. | File | Before | After | |---|---|---| | `skills/objectstack-platform/SKILL.md` | 422 lines · 6154 tokens | 422 · 6154 | | `skills/objectstack-platform/evals/config-plugins-ops.json` | 399 · 6067 | 399 · 6067 | | `skills/objectstack-upgrade/SKILL.md` | 481 · 6175 | 481 · 6175 | | Whole bundle (sum of every `skills/*/SKILL.md`) | 4961 · 65472 | 4961 · 65472 | Net for `skills/**`: 0 lines added, 0 removed. `check-skills-token-ratchet` at head: `61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.` ## Tests No workspace package source is touched, so no package test is owed. The marked `defineStack` example in `objectstack-platform/SKILL.md` is type-checked by `check:skill-examples`: `350 prose examples type-check across 3 surface(s)`, exit 0, after a full core build (121 of 121 turbo tasks, lock `VERDICT command-exit 0`). ## Acceptance notes - **No 18 → 19 step is added to `objectstack-upgrade`.** The skill does not walk the majors one by one; it teaches one procedure (`os migrate meta --from N`, then the residue). On `main` `a46efa8c62` step 19 carries no conversion and one semantic entry (`protocol-18-range-refused`), whose own replacement text names `migrate meta --from 18`, the procedure the skill already teaches, so no step-19 text is added. - **Left unchanged on purpose in `objectstack-upgrade/SKILL.md`:** - L74, `os migrate meta --from 16 --to 18 --json`. It names the last ported hop, not the current major. The chain now has steps for 17, 18 and 19. Step 19 carries no conversion, so the `--to 18` replay gives the same result as the default terminus 19 today. The skill's own eval pins the same replay form. - L91, the `'^17'` to `--from 17` worked example (it shows taking the floor of a range). - L122 ("not in the 18 catalog") and L178 to L183 ("18.3 drops", "on 18.2 or earlier"): statements about 18.x releases, still true. - **Frontmatter is the version pass's.** `compatibility: Requires @objectstack/spec 18.x` and `metadata.version: "18.6.0"` in the skill frontmatter are stamped at release; `check:skill-compatibility` exits 0 at this head. - **Order risk, now past.** Before PR 1 the skill would have taught `'^19'` to an 18 runtime. PR 1 is on `main`. - Noted, not filed (carrier: none): nothing cross-checks a `protocol:` literal in skill prose against `PROTOCOL_VERSION`; the v18 skills move noted the same. ## Verification Two-minute check: `git diff origin/main...HEAD --stat -- skills/` shows 3 files, 4 insertions, 4 deletions; `node scripts/check-skills-token-ratchet.mjs` exits 0. Read first (by risk): 1. `skills/objectstack-platform/evals/config-plugins-ops.json` L6 and L7: prompt and expected output must move together. 2. `skills/objectstack-platform/SKILL.md` L111: the block is type-checked. 3. `skills/objectstack-upgrade/SKILL.md` L89, and L74 and L91 beside it, which stay. <details><summary>Local gates at 3536f9a (rework head): 50 derived families, 47 exit 0, 3 NOT MEASURED</summary> `node scripts/pm/dispatch-gates.mjs --ran` at `3536f9ac1c`: `50 derived famil(ies) accounted for — 47 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3)`. The three answered `PREREQUISITE NOT MET` (exit 3) because only `@objectstack/spec` was built in this worktree: `check:doc-formula-expressions`, `check:dual-build-cjs-loads`, `check:lean-entry-closure`. This narrowing is declared; CI's `Lint & Repo Gates` runs them and is `success` at this head. Also run, exit 0: `check:skill-refs` (`10 generated files in sync with packages/spec`), `check:skill-served-sections` (`24 served section(s), each heading exactly once in its file`), `check-skills-token-ratchet` (`61 authored bundle file(s) within their ceilings`), `check-nul-bytes` (OK). `check:skill-examples` was not re-run at this head (it needs the full core build); the PR's own hunks are unchanged from the head it passed on, and CI's `Lint & Repo Gates` runs it at this head. </details> <details><summary>Earlier round, local gates at c9ad209 (main with objectstack-ai#37230 merged in): 56 commands, all exit 0 (50 of 50 derived families run)</summary> `node scripts/pm/dispatch-gates.mjs --commands` derived 50 families for this diff; `--ran`: `50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED`. Exit codes were captured before any pipe. All exit 0, among them `check-adr-0087-registration`, `check-changeset-no-major`, `check-empty-changeset`, `check-skills-token-ratchet`, `check:skill-docs`, `check:skill-examples`, `check:skill-refs`, `check:skill-served-sections`, `check:skill-compatibility`, `check:skill-frame-freshness`, `check:skill-frame-sync`, `check:skill-identifier-liveness`, `check:skill-links`, `check:skill-top-level-keys`, `check:pm-governed-merges`, `check:test-source-alias`, `overlap-check` (`VERDICT clean exit 0`, also clean with objectstack-ai#35129). `check:skill-examples` first answered exit 3 (PREREQUISITE NOT MET: `packages/client-react/dist` unbuilt in a fresh worktree) and exit 0 after the full build. </details> ## Provenance Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「objectstack-ai#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (`session_01QSeKYnFjnB9bU95RVja6w5`, zone a4-S)'s own relay `pr_create` and report comment were refused by its permission check and not retried; it sent the prepared body and its os-dev report to the seat. The gate list above is condensed from the dev's full list (all 56 exit 0). Branch `claude/issue-37229-skills-protocol-19` @ `c9ad209e` at that point. The card moved from objectstack-ai#37229 (closed when PR 1 merged) to its follow-up card, and seat repo:objectstack#5 (zone o5-A) took the PR over on the claim there. The rework round was done by a dev subagent of `session_01Utp6CZmwqAVSYHM1nQUDTq`. --- _Generated by [Claude Code](https://claude.ai/code/session_01Utp6CZmwqAVSYHM1nQUDTq)_ <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Fixes #37223
Clause-②: yes (narrowing)
Metadata-protocol: none
Skills-docs: none — no file under skills/ or content/docs names any of the 67 retired keys (git grep, each key)
维护者速读
allow-major标签,作为你对 19.0.0 大版本的人工确认;在加标签之前,「Check Changeset」因级别检查(Metadata-protocol: none旁有major)保持红色,属预期,门禁本身不改。② 由你亲自合并本单(和上次开 18 一样,席位只审不合)。What changes
.changeset/pre.json, written bypnpm changeset pre enter next(@changesets/cli3.0.3) and committed as the tool wrote it:{ "mode": "pre", "tag": "next" }. ⛔ Nochangeset versionoutput is committed, and nothing was published..changeset/37223-v19-line-opens.md, front matter"@objectstack/spec": major: the v19 line's opening note (rulings 7153326968 and 7153441862),Clause-②: no, and its ADR-0087not-required (no-migration-prescription)disposition, in the form the v18 opening (chore(release): enter Changesets pre mode (next) with onemajormarker, so v18 opens at 18.0.0-next.0 #22084) used. Why spec: the protocol lockstep admitsPROTOCOL_VERSIONone major ahead only in pre mode WITH a pending@objectstack/specmajor, andscripts/sync-protocol-version.mjsderives the protocol version from spec's major..changeset/37223-i18n-removed-released-keys.md,'@object-ui/i18n': major: the BREAKING banner, its own ADR-0087 disposition, and the 「Removed translation keys」 list (67 keys, each once, with its locales). Two majors in onefixedgroup still give one 19.0.0; the changeset says so.ui/packages/i18n/scripts/released-keys-removed.mjs(zero third-party deps): reads the package's published catalogues out of git at the tag@object-ui/i18n@18.6.0and at a ref (defaultorigin/main), and prints every key the tag has that the ref lacks, grouped by namespace, with the locales it was removed from. Which files are catalogues is read from the package:package.jsonexports, the all-packs doorsrc/locales/index.ts, and each non-pack-shaped namespace'sindex.ts(studio).No code change, no key restored, no
PROTOCOL_VERSIONedit, noallow-majorlabel, no edit to.changeset/config.json, to either changeset guard, or torelease.yml.Reproduction
The 35 Studio keys are the ones the card expected (#36501, #36652). The 32 language-pack keys are extra; some of them are also named in earlier pending
patchchangesets, and this one lists the whole 18.6.0 set once for the major's notes. Keys that the open PRs #37169, #37166 and #37168 remove are still on main, so they are not reported or declared here. No non-test file underui/,apps/orpackages/quotes any of the 67 keys.The no-major guard reads
pre.jsonfrom the head checkoute43e989948node scripts/check-changeset-no-major.mjs --base origin/mainChangesets is in pre-release mode (tag: next) — major bumps are the expected product of an RC window; skipping the no-major guard..changeset/pre.jsondeleted from the working tree onlyThis PR introduces changeset(s) that declare a major bump.git checkout HEAD -- .changeset/pre.jsongit diff HEADempty (0 bytes), blob hash equals the HEAD blob, guard exit 0 againPins (throwaway detached worktree at
e43e989948, never committed, removed after)pnpm changeset versionexits 0. All 112fixed-group members read19.0.0-next.0.pre.jsonis unchanged.packages/spec/CHANGELOG.mdandui/packages/i18n/CHANGELOG.mdeach open## 19.0.0-next.0/### Major Changes.node scripts/sync-protocol-version.mjs(the rootversionscript's next step) rewritesPROTOCOL_VERSIONinpackages/spec/src/kernel/protocol-version.ts:PROTOCOL_VERSION 18.0.0 → 19.0.0 (lockstep with @objectstack/spec@19.0.0-next.0).protocol-version.test.tson that tree:Test Files 1 passed (1),Tests 3 passed (3).release.ymlin pre mode:nextgets the prerelease,lateststays 18.xA reading of the files; nothing edited, nothing run.
publish, stepPublish to npm + push version tagsrunspnpm run release, which ends inscripts/release-publish.sh, which runschangeset publishwith no--tag.@changesets/cli3.0.3getReleaseTag(dist/getPublishPlan.mjs:599-601): with a pre state and no--tag, the tag ispreState.tag=next, unless every published version of a package is already anextprerelease.dist/publish.mjsrefuses a custom tag in pre mode.npm viewtoday:@objectstack/specand@object-ui/i18nreadlatest=18.6.0,next=0.0.0-next-20261125013212(a snapshot, whose prerelease id is notnext), so neither is "only-pre". Each publishes19.0.0-next.0tonext;lateststays18.6.0.Acceptance notes
check-changeset-no-major.mjs's level axis refusesMetadata-protocol: nonebeside any entry atminoror above (verdictnone-minor). It runs whatever the pre mode is, and onlyallow-majorskips the step. Measured ate43e989948with apull_requestpayload carrying this body's two lines: the no-major guard is exempt (pre mode), and the level axis exits 1. The v18 opening passed because its body had noMetadata-protocol:line. This PR changes neither the gate nor the declaration.release.yml'sversion-prvalidation marks a pass that rewritespackages/spec/src/kernel/protocol-version.tsas UNVALIDATED and refuses it, because the example apps declareengines.protocol: '^18'(examples/app-crm,app-showcase,app-todo) and the ADR-0087 D1 handshake would refuse them under 19. So the version step would sync the constant, but that lane will not carry it:PROTOCOL_VERSION→ 19.0.0 still needs its own reviewed PR (19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229), which should also move the example apps'engines.protocol. With this PR's pre mode and pending spec major, the protocol lockstep admits the constant one major ahead.pnpm check:pm-dispatch-gatesis green withpre.jsontracked (2313 cases pass), and the chore(release): enter Changesets pre mode (next) with onemajormarker, so v18 opens at 18.0.0-next.0 #22084 amendment (CONSUMED_PRERELEASE_EXCLUDEDinscripts/check-adr-0087-registration.mjs) is still on main. No gate script is edited.next) with onemajormarker, so v18 opens at 18.0.0-next.0 #22084); seats review only. The PR stays draft.Verification
Two-minute check:
node scripts/check-changeset-no-major.mjs --base origin/mainprints the pre-mode exemption line and exits 0;node ui/packages/i18n/scripts/released-keys-removed.mjsprints67on its first line.Read first:
.changeset/pre.jsonand.changeset/37223-v19-line-opens.md: the line opening..changeset/37223-i18n-removed-released-keys.md: the list.ui/packages/i18n/scripts/released-keys-removed.mjs,discover().Local gates at e43e989: 36 commands, all exit 0
node scripts/check-governed-merges.mjs --pr 37230:0 of 4 path(s) hit the register·NOT governed·368 changed line(s) ≤ 3000.Dogfood battery (
!title):Test Files 487 passed | 3 skipped (490),Tests 4128 passed | 68 skipped (4196), lock VERDICT command-exit 0, measured ate90f9aa1b9. The commits after it add.changeset/files and rework a script nothing imports.Generated by Claude Code