Repository navigation
feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' - #37314
Conversation
…dshake reads '^19' Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…edited fixtures Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…l, and its changeset Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…otocol-version-19
…t change graded major Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
…nd prints the tag's commit Claude-Session: https://claude.ai/code/session_01QSeKYnLptCbfzwtkTrDG3j Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 6 package(s): ⛔ 5 release-owned page(s) name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c7a37cdfd91515f412c403822748315939c24a79 && git checkout c7a37cdfd91515f412c403822748315939c24a79
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin da7c559990d879de9038ccf54e294e58bbaa647f 3811cd10f5ac58e39fcde695911503c06ba1e872 && git checkout -B drift-repro da7c559990d879de9038ccf54e294e58bbaa647f && git merge --no-ff 3811cd10f5ac58e39fcde695911503c06ba1e872
node scripts/docs-audit/affected-docs.mjs --json da7c559990d879de9038ccf54e294e58bbaa647f
|
… protocol 19
At protocol 19 the load seam refuses an engines.protocol of '^18', so the
three boot suites failed in beforeAll with ProtocolIncompatibleError. The
file's subject is the conversion window, which opens on the 18.0.0 floor:
'>=18.0.0' keeps that floor and admits 19, the same move the runtime
fixtures made for the protocol-18 bump ('>=17.1.0').
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Implemented-by: VERDICT: FAIL |
…tated, mcp gets its changeset With PROTOCOL_VERSION at 19 the release-name pin derives @objectstack/spec 19 for every retirement stamped after 18.6.0, so the three joined prescriptions (object-grid singleClickEdit, field inlineEdit boolean, view columnState) and the two seed-mode prescriptions, none of them in the published 18.6.0, name 19.0.0 instead of 18.7.0, a release the v19 line never cuts. Their text pins, the seed-data guide, the seed-mode checklist item and the pending skills changeset follow. The step-19 entry and the changeset say what `os migrate meta --from 18 --write` does: it rewrites a root defineStack manifest's range and lists a composeStacks-composed one for a hand edit in each package manifest. The protocol checklist item is revised to the protocol-19 truth, the changeset names @objectstack/mcp (its README ships), and four comment nits. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
The one-word comment edit pulled the file under check:test-source-alias's edited-file half, which then owes thirteen module-top imports unrelated to this change. The sentence reads true at protocol 19 as written. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
…llow the protocol move The metadata-protocol seed refusal pin reads the 19.0.0 prescription the seed modes now carry. The travel_expense build's provenance records the sha256 of the build as it now stands, with an amended entry naming the one edit (engines.protocol '^18' to '^19') and the sha256 it replaced. Claude-Session: https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
| Item | Status | Evidence |
|---|---|---|
L1 M1 / L2 M1: app-starter at '^18' |
closed | examples/app-starter/objectstack.config.ts:32 reads engines: { protocol: '^19' }. git grep "\^18" 3811cd10f5a -- examples packages/apps finds nothing, and all six examples/ manifests read '^19'. The boot test passes 5/5 here; the ablation below shows the literal is what it pins. |
| L2 S2: acceptance text promised more than the hop does | closed | packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts:31-39. Each clause was read against the code; see "S2 wording". git grep finds the removed phrases ("validate passes, the deployment", "every package installs") nowhere at this head. No file quotes the entry's text: the entry id appears only in the entry, the changeset and platform-core.json. |
| L1 N1: the "nothing imports this file" docblock | closed | scripts/check-changeset-no-major.mjs:5508-5513. See "N1 importers". |
L1 N2: five rows, not "an unreadable .changeset/" |
open, by choice | The body says it in words ("An unreadable .changeset/ opens nothing either, by the code; no row pins it"). The optional sixth row was not added. Accepted. |
| L2 S1: body | seat | body5.md carries this round's facts (see "Body"). |
Merge commit d47c169db75: merge-only delta
I compared the changed lines of diff(db77cc493a..9ed0f5e41f6), the old merge base to the pre-merge head, with diff(da7c559990..d47c169db75), the new merge base to the merge.
- Files. 90 on each side, and the same 90 (
diffof the sorted name lists is empty). - Lines. Per-file sorted ±line sets: 588 on each side, byte-identical (
cmpexits 0). Unlike round 2, the merge took nothing frommainin place of a PR line, so no generated page needed regenerating. - Replay.
git merge-tree --write-tree 9ed0f5e41f6 da7c559990gives tree220f42e2f1, the tree ofd47c169db75. The merge commit holds exactly the automatic merge, with no hand edit. - Verdict. Merge-only. The PR's own delta is unchanged by it.
Fix commit 3811cd10f5a
git show --stat lists 3 files, +11 / −8, and nothing else.
-
M1.
examples/app-starter/objectstack.config.ts, one line,'^18'→'^19'. The blob goes from2266d330efc(main's) toa9f53fd9b0e. -
S2 wording. This is the
acceptanceCriteriaof the step-19 entry. Each clause, against the code:- "Once every range admits 19, no door refuses the manifest with OS_PROTOCOL_INCOMPATIBLE". True. Every emitter of the code goes through
checkProtocolCompat(packages/metadata-core/src/protocol-handshake.ts:505). Those areassertProtocolCompat, used by the app plugin, the package service and the marketplace install, andassertArtifactProtocolCompatible(packages/runtime/src/artifact-reference.ts:429). It answersincompatibleonly whenrangeAdmitsMajor(declared.range, runtimeMajor)is false.git grep "'OS_PROTOCOL_INCOMPATIBLE'"finds no other source outside tests and the ui client type. - "This hop edits or refuses the range and nothing else". True.
composeMigrationChain(18)(packages/spec/src/migrations/chain.ts:37-44) takes majors> 18, so only step 19 runs. In the generatedregistry.tsbuilt here, step 19 hasconversionIds: []and the one semantic entry.applyMetaMigrationsapplies conversions only, and reports semantic entries as TODOs. The range itself is the CLI'splanProtocolRange(packages/cli/src/commands/migrate/meta.ts:509): either arewrite, or a range left for a hand edit or refused (behind-from,unwritten). - "A key retired in this release … is refused at parse by its own message, which names its own remedy". True for what ships after the 18.6.0 tag. The tag is commit
958ee03594. Since then the tree adds 3 conversions, each withretiredFromLoadPath: trueandretiredAfter: '18.6.0':field-inline-edit-boolean-removed,object-grid-single-click-edit-removedandview-column-state-removed. A live author is refused at the parse there. The tree also adds 4 retired-key entries. The prescriptions say what to write instead;field.zod.ts:1674is one example ("Delete the key, or write'grid'… or'form'…"). - The clause outside the S2 change. "a manifest already declaring '^19' passes the handshake exactly as before" is true at a protocol-19 runtime, and the hop leaves such a range untouched. See N1.
- "Once every range admits 19, no door refuses the manifest with OS_PROTOCOL_INCOMPATIBLE". True. Every emitter of the code goes through
-
N1 importers.
git grepat this head finds exactly three static imports of the root file:scripts/check-docs-image-tag.mjs:232(readPre);scripts/check-future-spec-major.mjs:188(readProtocolLockstepInputs);scripts/pm/l1-face.mjs:63(entriesIn).
The one other
import … '../check-changeset-no-major.mjs'isui/scripts/__tests__/check-changeset-no-major.test.ts:18. It resolves toui/scripts/check-changeset-no-major.mjs, a separate file, and itsrepoRootat:58isui/. So the new sentence is exact. -
Nothing else. The commit message trailers are model-free (
Co-Authored-By: Claude,Claude-Session:).
Runs here
These ran in a throwaway worktree at this head. Install was pnpm install --frozen-lockfile, and the build was OS_SKIP_DTS=1 turbo build --filter='@objectstack/example-starter^...', 66/66 tasks. The worktree has since been removed.
- App-starter boot test.
pnpm --filter @objectstack/example-starter exec vitest run --maxWorkers=2 test/boot.test.ts: Test Files 1 passed (1), Tests 5 passed (5), exit 0. - The two pins.
retired-key-removal-version.pin.test.ts+protocol-version.test.ts: Test Files 2 passed (2), Tests 68 passed (68), exit 0. node scripts/check-future-spec-major.mjs. Exit 0. It prints "no@objectstack/speccitation names a major above 19 / pre-mode window: label major 18, pre modenext, pending major for@objectstack/specin .changeset/37223-v19-line-opens.md — the next publish carries 19 / 27752 scanned, 9684 mentioning / control bare 18: 587 sites / 268 files / roll 0 at 19, 0 at 19.0.0-next.0". The gate file's blob is38f33ec517b, the same as at9ed0f5e41f6, so round 2's six ablations still describe it.--self-test. Exit 0, "39 cases pass".node scripts/check-changeset-no-major.mjs --base origin/main. Hereorigin/mainresolved to5d21d431ec, and the diff ran from merge baseda7c55999. Exit 0, with "✓ This diff introduces nomajorbump" and "✓ Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 — the one exception, evidenced: pre mode (tagnext) and a pendingmajorfor @objectstack/spec (.changeset/37223-v19-line-opens.md)". The level axis is not applicable in a local run.node scripts/check-adr-0087-registration.mjs --base origin/main. Exit 0, with.changeset/37229-protocol-19.md [BREAKING+clause-②-narrowing+metadata-protocol-narrowed] registered protocol-18-range-refused.
Ablation (scripts/ablation-replace.mjs, wrap mode, anchor engines: { protocol: '^19' }, x1 → x0 in examples/app-starter/objectstack.config.ts, replaced by '^18'):
| Leg | Blob | Boot test |
|---|---|---|
| mutated | a9f53fd9b0ea → 2266d330efc7 (the pre-fix blob) |
exit 1: Test Files 1 failed (1), Tests 3 failed | 2 passed (5), {"code":"OS_PROTOCOL_INCOMPATIBLE","message":"package 'com.example.starter' targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0. … Run: objectstack migrate meta --from 18"} |
| restored | a9f53fd9b0ea == HEAD blob |
the tool reports git diff HEAD empty; afterwards git status --short printed 0 lines and git diff HEAD 0 bytes |
Gates
- Check-runs at this head (all complete, read 2026-11-26T05:12Z). 70 runs: 60 success, 9 skipped, 1 failure, 0 pending.
- Required contexts. The 11 contexts from
rules/branches/mainare each success:TypeScript Type Check,Test Core,Build Core,Lint & Repo Gates,Governed Surface Queue Guard,Lint UI,Build & E2E UI,Type Check UI,Test UI,Live E2E UI,Dogfood Regression Gate. - Other runs.
Test Core (1..10/10)are all success, and so areType Check · source gatesandPR-body guards. - Skips. The nine skipped are the same opt-in and matrix rows as last round: Dogfood Verify CLI, the Dogfood Regression Gate matrix row, Temporal Conformance, UI Published Artifacts, Borrowed queue verdict, Queue verdict, Schedule gate, the 18.x upgrade harness and the Packed-tarball smoke.
- Required contexts. The 11 contexts from
Check Changesetis red by design. Check-run139670505420. Its file annotations name exactly.changeset/37223-v19-line-opens.mdand.changeset/37042-skills-inline-edit-boolean.md, each as "exists on the merge base and was not added by this PR". The third annotation is the runner's.github"Process completed with exit code 1", which names no file. Step 10 (empty-frontmatter) fails, and steps 11 (ADR-0087 disposition) and 13 (accidental major) are success. The word-diff of the two notes againstda7c559990is the same three corrections as at9ed0f5e41f6.git merge-tree --write-treeagainst currentorigin/main5d21d431ec. The probe ran in a throwaway bare clone with noos-regendriver registered, which fetched both commits from GitHub. Result: clean, exit 0, tree98380a8dde.- K. 9 commits on
mainsince merge baseda7c559990, all first-parent.landing-k.mjs --pr 37314reads K = 9, with PRBASEda7c559990from the greenTest Core (4/10)of run 45748561613 at this head; hold at 15, ok. Its locale leg found no new pack (label PR: yes), and its shared-budget leg found no book. - Main commits that touch this PR's files. One,
content/docs/deployment/cli.mdx(f9dd033150, feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #37382). It changes a rule count at:940(79 → 80), a hunk disjoint from this PR'sengines.protocolline. - New
'^18'onmain: none. Over the added lines of diff(da7c559990..5d21d431ec), I used the dev's patterns, excluding CHANGELOG, releases and the lockfile. 0 lines match'^18/"^18/`^18. 0 lines namePROTOCOL_VERSION,PROTOCOL_MAJOR, "protocol 18" or@objectstack/spec 18/19. The oneengineshit ispackages/plugins/knowledge-turso/package.json, which reads"node": ">=22.0.0". Whole-tree cross-check: the sorted set of'^18lines is 152 at this head and 152 in the merge-tree result, and the two sets are identical. The set at9ed0f5e41f6(with line numbers dropped) is identical to the set at this head too. So no new M comes frommain.
Findings
- N1: optional wording. In
acceptanceCriteria, "a manifest already declaring '^19' passes the handshake exactly as before" leans on "before" (before the hop). On an 18.x runtime a'^19'range is refused, so "is left as it is and passes the handshake" would say it without the reference point. The clause predates S2, and it is true at the runtime the entry targets. Optional. - N2: dev's report facts, checked.
- "92 paths, +440 / −161", "70 runs, 60 / 9 / 1", "39 cases" and the app-starter 5/5 vs 3 failed | 2 passed all reproduce here.
- The "148 exit 0 plus 2 red" correction stands, as round 2's N4 said.
- The whole spec suite (896 files, 28442 tests), the full build (123/123) and the
dispatch-gatessweep were not re-run here.
Seat-side items (no dev work)
- Family card, still owed and growing. Step-18 semantic entries the 18.6.0 tag (
958ee03594) does not carry: 31 at this head, and 34 onorigin/main5d21d431ec. The three new ones are feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #3738218.transfer-cascade-never-offered-refused, fix(spec)!: composition refuses one job name enabled in two packages #3739218.compose-stacks-job-name-across-packages-refusedand feat(refusals)!: one refusal names several declared reasons, each in the person's language #3739518.refusal-reasons-list-literal-judged.os migrate meta --from 18replays none of them. L2 7183296652 escalates the same family. The body keeps "follow-up owed (seat)" and now gives both counts. - Example ranges have no gate (dev's out-of-scope note). Nothing ties an example manifest's
engines.protocoltoPROTOCOL_MAJOR, beyond the boot tests some examples carry. app-starter's test is what caught it this time. It is noted, not filed: no defect stands once this PR lands. A card is owed only if the seat wants the gate. - Claim file surface. 7160363498 has not been edited since 2026-11-25T17:52Z. Its
File surface:covers the app-starter literal ("every otherengines.protocoldeclaration … measured on claim"). It does not cover round 2's items or this round's comment inscripts/check-changeset-no-major.mjsunder "⛔ … no guard or workflow edit". The seat amends the claim to cite ruling 7176929521. - Closing keyword (from round 1).
Fixes #37229closes the card while docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts #37298 is still open. The maintainer decides at the hand-off. - DELIBERATE CORRECTION comment (from round 1). No PR comment names
Check Changesetand the reason. The body does now name both notes and the three sentences. - Main-red triage.
check:platform-checklistonorigin/main(the FlowItemMoreMenu ABSENT SYMBOL), unchanged. - Body.
body5.md: the examples row and the 85 / 67 count, the step-19 sentence, the size, the readings at this head, the earlier-readings scope line, the family count and the Provenance head. The 维护者速读 section is unchanged, because its sentences are still true at this head.
Verdict
ACCEPT. No must-fix, no should-fix. M1 and S2 are closed against the code, N1 is exact, the merge is merge-only (588 = 588 lines, the replayed tree is identical), and current main merges cleanly with no new '^18' handshake. The dogfood battery is pinned to this head.
Landing
- This PR is a declared narrowing (
Clause-②: yes (narrowing),Metadata-protocol: narrowed,!in the title). The seat does not land it. It goes to the maintainer through--handoff, after the body update and with L2 7183296652 of record at this head. docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts #37298 (PR 2) lands only after this PR (PR 1) is onmain.
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
Approval request at 2026-11-26T05:21Z.
Seat-side items, none blocking this PR:
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Fixes #37229
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up #37298
维护者速读
What changes
On the shape of the v18 move (#22215, commit
4e9fe9f), minusskills/**.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.engines.protocolfrom'^18'to'^19'. Each is a manifest that stands for "an app on the current protocol", and none of them asserts on the range.examples/(crm, showcase, todo, starter, multi-package ×2)packages/apps/connector-{docusign,github,stripe}packages/cli(tests)packages/qa(7 dogfood tests, the sql-perf bench app, the scenarios exporter test)packages/lint,packages/spec,packages/metadata(tests)packages/mcp/README.mdcontent/docs(cli, your-first-project, upgrading)docs/qa/scenarios/builds/travel_expense.jsonexamples/app-starterarrived frommain(#37399) declaring'^18'and moves with the merge. Its boot test, which installs the starter throughMarketplaceInstallLocalPlugin, passes 5/5 at'^19'. At'^18'it reads 3 failed | 2 passed, refusedOS_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:sha256is the build's hash as it now stands, and a secondamendedentry names the one edit (engines.protocol'^18'→'^19') and the hash it replaced.cardSha256is unchanged.packages/spec/src/migrations/registry.ts.templateopensstep19, 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:--writerewrites the range of a rootdefineStackmanifest; for a manifestcomposeStackscomposes, 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 thatvalidatepasses or that every package installs. The upgrade guide now generates three hop sections (17, 18, 19). See "Why a step-19 entry" below.@objectstack/spec 19.0.0.retired-key-removal-version.pin.test.tsderives the removing release's major fromPROTOCOL_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-gridsingleClickEdit(component.zod.ts), the booleanfield.inlineEdit(field.zod.ts),listView.columnStateandview.columnState(view.zod.ts), andseed.mode'insert'/'replace'(seed.zod.ts). Their text pins, the regeneratedcontent/docs/references/ui/{component,view}.mdx,content/docs/data-modeling/seed-data.mdxand the metadata-protocol seed pin follow.scripts/check-future-spec-major.mjsreads the pre-mode window (ruling record 7176929521, option A). On a stable@objectstack/speclabel, with.changeset/pre.jsonat"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 throughcheck-changeset-no-major.mjs'sreadProtocolLockstepInputs, 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 onejudgeProtocolLockstepapplies: on a19.0.0-next.Nlabel the label's own major is already the carrier. Reverse verification: with the window condition ablated, the gate reads 14 problems, the 14 sites.validate-flow-region-shape.test.ts,plugin-artifact-packages-attribution.test.ts).check:test-source-aliasjudges 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": minorand"@objectstack/mcp": patch(its shippedREADME.mdchanges), the two declaration lines, a BREAKING note with the FROM → TO and the command, andregistered protocol-18-range-refused.Check Changesetstays 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 chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #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 gradedmajoris@object-ui/i18n's retirement …", because this PR's protocol move is a breaking change gradedminor. "PROTOCOL_VERSIONfollows@objectstack/spec's major at version time." now reads "PROTOCOL_VERSIONmoves to 19 ahead of the version pass, in its own changeset.".changeset/37042-skills-inline-edit-boolean.md, one clause: "The spec parse refusestrueandfalseon a relationship field'sinlineEditsince 18.7.0" now reads "… since 19.0.0", the release the retirement ships in.ui/packages/i18n/scripts/released-keys-removed.mjsrefuses 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.0is a tag object0dbef86ce3, and the script now prints its commit958ee03594. The script is not in the package'sfiles[], so it publishes nothing and needs no changeset.Judgments: every
'^18'left in place, with its reasonskills/**(3 files)packages/create-objectstack/src/templates/blank/objectstack.config.ts:38@objectstack/*versions, andtemplate-consistency.test.tsholds 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 #22215.packages/cli/src/utils/protocol-version-gap.test.ts:82'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.tsPROTOCOL_VERSIONruns.packages/metadata/src/plugin-artifact-forward-conversion-{major-step,package-body}.test.tsdocs/qa/platform-checklist/areas/platform-core.json, itemplatform-core.protocol-18-handshake-and-stored-replay'^18'now stands for the refused case:'^18'→ 422OS_PROTOCOL_INCOMPATIBLEnamingos 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 commentsui/**tests,packages/runtime/src/domains/packages-ensure-customization.test.ts,scripts/docs-audit/affected-docs.mjsrequiredRangeof a later refusal, a package-dependency range, a React peer range).Moved to
'>=18.0.0'(5 sites, commite05fdf6f):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, asparseRangeFloorreads^18) and admits 19. This is the same move as #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 isnarrowed, and theClause-②arm isnarrowing, as in #22215. On a declarednarrowed,check:adr-0087-registrationrefusesnot-required (no-migration-prescription)outright and asks for a registered entry. Measured: "not-required (no-migration-prescription)is refused on a changeset that declaresMetadata-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
latest. The three docs pages show'^19', as in feat(spec)!: PROTOCOL_VERSION 17 → 18 in an ordinary PR — regenerated spec-changes.json and upgrade guide, ^18 handshakes, pre-mode lockstep exception (#22085 Q1 → B) #22215. npmlateststays 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.main(GitHub at3811cd10f5a), under the 3,000-line threshold.check:release-notesis red:@objectstack/specships 19.x and there is no curatedcontent/docs/releases/v19page. It is red on the control leg too (main + chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230, without this PR), so chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230'smajorcauses 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.KnowledgeChunk.metadata, under step 18; it reached this branch through the merge ofmain, and its refusal says "removed in @objectstack/spec 18" (packages/spec/src/ai/knowledge-document.zod.ts:61). Once protocol 19 is onmain,os migrate meta --from 18replays 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. feat(service-knowledge)!: one splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key; KnowledgeChunk.metadata and knowledge.chunk_overlap retired #37287 is one member of the family "step-18 entries registered onmainafter 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 onmainat5d21d431ec, after feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #37382, fix(spec)!: composition refuses one job name enabled in two packages #37392 and feat(refusals)!: one refusal names several declared reasons, each in the person's language #37395). That card is follow-up owed (seat).yes (narrowing)+narrowedwith a step-19 entry, rather thansemantic.'^18', and the version pass stamps it.'>=18.0.0'.check-future-spec-majorand the removal-version pin is resolved by ruling record 7176929521, option A (above).Verification
Two-minute check:
node scripts/check-future-spec-major.mjsprints✓ check-future-spec-major: no @objectstack/spec citation names a major above 19andpre-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/mainprints✓ 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:
.changeset/37229-protocol-19.mdandpackages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts: what an upgrading author is told.packages/spec/src/migrations/registry.ts.template, the newstep19: the ledger's protocol 19 step opens here.scripts/check-future-spec-major.mjs,judgedMajorand the five new self-test rows: the one gate this PR changes.'^18'left in place.Readings at
3811cd10f5a(the dev's, through the verify lock, and the seat's L1)3811cd10f5a: 70 check-runs, 60 success, 9 skipped, 1 failure. The failure isCheck 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 Core10/10 included, and so isType Check · source gates.examples/app-starterboot test: 5/5 (re-run by the seat). With the range put back to'^18'throughablation-replace, it reads 3 failed | 2 passed, refusedOS_PROTOCOL_INCOMPATIBLE; the restore was proven withgit diff HEADempty.retired-key-removal-version.pin.test.tsandprotocol-version.test.ts: 2 files, 68/68 (re-run by the seat).check-future-spec-majorexits 0, and--self-testreads39 cases pass(re-run by the seat). The gate file is byte-identical to9ed0f5e41f6, where the seat ablatedstable, the pending-major condition, the pre-mode condition and+ 1in turn: one self-test row went red each time, and with the window off the scan read the 14 sites. Each ablation was restored withgit diff HEADempty.check-changeset-no-major --base origin/mainexits 0.check:adr-0087-registrationexits 0 withregistered protocol-18-range-refused.dispatch-gates --commandsderives 150 families on this diff. Two are red:check-empty-changesetby design (the two DELIBERATE CORRECTION notes), andcheck:platform-checklistonareas/automation.json: ABSENT SYMBOL … FlowItemMoreMenu.tsx#FlowItemMoreMenu, whichmainitself carries (reproduced onorigin/mainecbe854bda; this diff touches neither path). The other 148 exit 0.main(5d21d431ec, 9 commits past the merge base):git merge-tree --write-treeis clean, and the merged tree carries the same'^18'lines as this head.mainadded no other handshake at'^18'.Earlier readings (the dev's, on 9da4c1d plus the fixture fix, and at 8852bcb for the
--writereach)Not re-run at
3811cd10f5a. Of the code these read, this PR changed only the step-19 entry's text and theexamples/app-starterrange after them. The merges ofmainbrought other changes in, and CI at the head is green.@objectstack/metadata-coreon protocol 19:'^18'→incompatible OS_PROTOCOL_INCOMPATIBLE … Run: objectstack migrate meta --from 18;'^19'→ok.'^18'copy ofexamples/app-todo,os migrate meta --from 18lists the step-19 entry, and--writerewritesobjectstack.config.ts:48to'^19'. Onexamples/app-multi-packagewith both package manifests at'^18',--writewrites nothing and prints the range for a hand edit (manifest is composed by composeStacks(…)).'^19'now turnstemplate-consistency.test.tsred (expected 19 to be 18).release.ymlversion-pass rehearsal. Theversion-prRender and Validate blocks were extracted verbatim and run in a throwaway clone:PROTOCOL_VERSION already 19.0.0; the template is stamped'^19'; unvalidated surfaces 0; 14 of 15 content gates green;check:release-notesred.protocol-version.tsis unvalidated, with the same release-notes red.validateexits 0 for 4 examples and 3 connector apps.Provenance
Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (
session_01QSeKYnLptCbfzwtkTrDG3j, zone a4-S) had three writes refused by its permission check, and none was retried: its relaypr_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 ase05fdf6f(fast-forward, five sites in one test file) by a seat-dispatched dev, on the maintainer's authorization 「#37229 夹具修复推送放行」. Rework round 1 (seat L1 7170046632) pushed3fdf3490b9to43133e8ce5. After ruling record 7176929521,c871272e47mergedorigin/maindb77cc493a,e5a7e35bffregenerated the two ui reference pages from the merged tree, and9ed0f5e41fchanged the gate. Rework round 2 (seat L1 7181615974, L2 7181629335):d47c169db75mergedorigin/mainda7c559990, and3811cd10f5amovedexamples/app-starterto'^19', narrowed the step-19 entry's acceptance text, and corrected a comment incheck-changeset-no-major.mjs. Branchclaude/issue-37229-protocol-version-19@3811cd10f5a.🤖 Generated with Claude Code
https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ