Skip to content

feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' - #37314

Merged
os-zhuang merged 17 commits into
mainfrom
claude/issue-37229-protocol-version-19
Nov 26, 2026
Merged

os-zhuang merged 17 commits into
mainfrom
claude/issue-37229-protocol-version-19

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Fixes #37229
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up #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」是有意的红:本单改了别人已合并的两条变更说明(各改一处事实)。另一单 docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts #37298 改三个技能文件,在本单合入之后合并。

What changes

On the shape of the v18 move (#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 (#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 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 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 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, 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 #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 #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 #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 #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

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.
Readings at 3811cd10f5a (the dev's, through the verify lock, and the seat's L1)
  • 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 19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #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'.
Earlier readings (the dev's, on 9da4c1d plus the fixture fix, and at 8852bcb for the --write reach)

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:
  • 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.

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 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 「#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.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ

@github-actions github-actions Bot added documentation Improvements or additions to documentation protocol:system tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 25, 2026
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 6 package(s): @objectstack/connector-app-docusign, @objectstack/connector-app-github, @objectstack/connector-app-stripe, @objectstack/mcp, @objectstack/dogfood, @objectstack/spec, touching 8 documentable anchor(s). ⚠️ 6 changed file(s) yielded no anchor (packages/apps/connector-docusign/objectstack.config.ts, packages/apps/connector-github/objectstack.config.ts, packages/apps/connector-stripe/objectstack.config.ts, …), so the pages documenting them are NOT COVERED by this run — this is not a clean bill of health for those files.

⛔ 5 release-owned page(s) name something this change touched. These are read-only:

  • content/docs/releases/v12.mdx (via PROTOCOL_VERSION (symbol, a top-level const object))
  • content/docs/releases/v13.mdx (via PROTOCOL_VERSION (symbol, a top-level const object))
  • content/docs/releases/v14.mdx (via PROTOCOL_VERSION (symbol, a top-level const object))
  • content/docs/releases/v18/18-0.mdx (via PROTOCOL_VERSION (symbol, a top-level const object))
  • content/docs/releases/v18/index.mdx (via PROTOCOL_VERSION (symbol, a top-level const object))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • 6 changed file(s) yielded no anchor (packages/apps/connector-docusign/objectstack.config.ts, packages/apps/connector-github/objectstack.config.ts, packages/apps/connector-stripe/objectstack.config.ts, …) — pages documenting those are invisible to this run
  • 3 name(s) were too generic to anchor anything (single lowercase words)
  • the SDK route bridge reached 69 of 252 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 182 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json da7c559990d879de9038ccf54e294e58bbaa647f → packageMentionDocs.

Which tree this was computed on

This run read content/docs from c7a37cdfd91515f412c403822748315939c24a79 — the merge of head 3811cd10f5ac58e39fcde695911503c06ba1e872 into base da7c559990d879de9038ccf54e294e58bbaa647f, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# 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

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs da7c559990d879de9038ccf54e294e58bbaa647f → pass the list as
args.docs, on the commit named under Which tree this was computed on.

… 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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — REWORK · L1 · head e05fdf6f1895c288104746e9d54416eb3cdb6b45 · 2026-11-25T17:48Z

PR #37314, PR 1 of 2 for #37229: PROTOCOL_VERSION 18 → 19, 84 handshakes to '^19', the step-19 ADR-0087 entry. Read against GitHub and the tree at this head, not against the report. The direction is right and the dev's three questions are answered as built. CI is red at this head on a test the constant move breaks. Two must-fix and two should-fix are open.

Checklist

  • Shape. Open, draft, base main, first line Fixes #37229, no closing keyword on another card. Title carries !. Author objectstack-fleet[bot], opened by relay.
  • Diff, read whole. 74 files, +206 / −95 against merge base dfdebfadd5 (8 commits). 84 engines.protocol sites in 66 files move '^18' → '^19', counted from the diff; the body's per-directory table matches. The other hunks are the constant and its docblock, step19 in registry.ts.template, the new semantic entry, two module-top imports in edited fixtures, the option-B fixture, the cli.json checklist fact, the two changesets and the i18n script.
  • Premise. chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230 merged (2026-11-25T12:51Z, 5cf9941d3f); .changeset/pre.json reads mode: pre, tag next. main added no '^18' handshake between the merge base and dbc1765a24.
  • Card's Done-when. protocol-version.test.ts 3/3 at this head; the guard output is quoted in the body and reproduced below.
  • Tier. check-governed-merges.mjs --pr 37314: not governed, 301 changed lines. record-recognisers.mjs --template on the 74 paths: the schema face, CONTRACT_REVIEW_TIER. The declared narrowing sends it to the maintainer.
  • Declarations. Body and changeset both read Clause-②: yes (narrowing) and Metadata-protocol: narrowed. Skills-docs: is present; the three skill files move in docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts #37298.

Gates

  • Check-runs at this head (all complete, read 2026-11-25T17:46Z). 78 runs: 59 success, 13 expected skip, 0 pending, 6 not green. Test Core (2/10) and its roll-up Test Core are failure: M1. Check Changeset is failure twice (two runs of this head) and red by design, next bullet. One Check Changeset and one PR-body guards run are cancelled, superseded by later runs of the same head; the later PR-body guards run is green. Lint, type check, Test UI 16/16 and the other nine Test Core shards are green.
  • Check Changeset is red by design. It refuses the edit to .changeset/37223-v19-line-opens.md, a changeset on the merge base (DELIBERATE CORRECTION). Its later steps ran and are green in the same job: check-adr-0087-registration (registered protocol-18-range-refused (new here)), This diff introduces no major bump, the LEVEL AXIS line for yes (narrowing) + narrowed, and the protocol lockstep line. The correction is confirmed in the record (record-37314.md, ②), sentence quoted before and after. A PR comment naming the gate and the reason is still owed before any landing.
  • Run here, read-only, in a throwaway worktree at this head (since removed).
    • node scripts/check-changeset-no-major.mjs --base origin/main: exit 0. ✓ 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).
    • check:adr-0087-registration: self-test exit 0 (819 assertions), then exit 0, registered protocol-18-range-refused (new here: protocol-18-range-refused).
    • Option-B test, built dist reads PROTOCOL_VERSION = "19.0.0": Test Files 1 passed (1) · Tests 6 passed (6), lock VERDICT command-exit 0. Positive control, the five sites put back to '^18': 1 failed, 3 passed | 3 skipped, the three boot suites refused with targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0.
    • Kept sites: metadata-core 3 files 513/513, metadata 3 files 19/19, template-consistency.test.ts 41/41, protocol-version-gap.test.ts 16/16.
  • git merge-tree against origin/main dbc1765a24: clean. The two PRs share no path.
  • K. landing-k.mjs --pr 37314: CAN'T ANSWER, exit 3: no completed run on this PR's commits has a green Test Core. Not a 0. The red run printed its affected-set base as fbb62e1cca, one first-parent commit behind origin/main dbc1765a24. Read K again on the reworked head.

The dev's open questions, as seat L1 judgments

Judgments table against the tree

git grep at this head: 180 lines hold ^18 outside CHANGELOG.md, content/docs/releases/**, docs/adr/** and the lockfile. Each was read. The table covers all but the sites in S2. Not in the table by name, and correctly left: retired specVersion: '^18.0.0' fixtures, tedious@^18.0.0, React peer ranges, 10^18, scripts/sync-template-versions.mjs comments, and the docblocks in packages/cli/src/commands/migrate/meta.ts and packages/metadata-core/src/protocol-handshake.ts; none is a handshake against the current protocol.

Changesets and docs, sentence by sentence

  • .changeset/37229-protocol-19.md: every sentence holds except the --write claim for multi-package manifests (S1).
  • .changeset/37223-v19-line-opens.md: the one rewritten sentence is true (record ②). See N3 for a neighbour.
  • content/docs/deployment/cli.mdx, content/docs/getting-started/your-first-project.mdx, content/docs/upgrading.mdx: one literal each, '^19'. True for the tree; see N4 for npm latest.

Findings

  • M1 (must-fix) — Test Core (2/10) is red at this head, and this PR causes it. packages/spec/src/shared/retired-key-removal-version.pin.test.ts fails three cases: object-grid-single-click-edit-removed, field-inline-edit-boolean-removed, view-column-state-removed. First error: "object-grid.singleClickEdit (parse): retiredAfter 18.6.0 (newest published stable 18.6.0) derives @objectstack/spec 19, but the prescription names 18 — … was removed in @objectstack/spec 18.7.0". Reproduced here at the head itself, without main merged in: Tests 3 failed | 62 passed (65), lock VERDICT command-exit 1. The same shard is green on main fbb62e1cca. The pin derives the removing release's major from PROTOCOL_MAJOR; at 19 the retirements stamped retiredAfter 18.6.0 must name the 19 line, and their prescriptions still say 18.7.0, a release the v19 line never cuts. The three entries were on the merge base, so the dev's run would have shown it; the body's test list names "the spec kernel/migrations/conversions suites", not the whole spec suite. The text lives in packages/spec/src/ui/component.zod.ts:5469, packages/spec/src/data/field.zod.ts:1674 and packages/spec/src/ui/view.zod.ts:3497 and :6392. git grep "18\.7\.0" at this head finds 14 lines in 10 files outside CHANGELOG.md: also packages/spec/src/data/seed.zod.ts:50 and :54, the generated content/docs/references/ui/{component,view}.mdx, content/docs/data-modeling/seed-data.mdx:147 and :175, docs/qa/platform-checklist/areas/platform-core.json:3260, and the pending .changeset/37042-skills-inline-edit-boolean.md (another DELIBERATE CORRECTION if it is touched). The dev measures which of these the move makes false and moves them with the constant; the fix cannot land ahead of it, because the pin holds them at 18 while PROTOCOL_MAJOR is 18.
  • M2 (must-fix) — packages/mcp/README.md changes (two snippets) and @objectstack/mcp ships README.md (files: ["dist","README.md","CHANGELOG.md"], private: false), but no changeset names the package. .changeset/37229-protocol-19.md names @objectstack/spec alone. 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 touched the same README and declared '@objectstack/mcp': patch. A published package without its changeset does not enter the queue. The other packages the diff touches change test files only, which do not ship, and ui/packages/i18n/scripts/ is outside that package's files[]. Fix: a patch entry for @objectstack/mcp; re-run check-changeset-no-major on the result.
  • S1 (should-fix) — the step-19 entry and the changeset promise more than --write does. 19.protocol-18-range-refused.ts says --write "rewrites the declared range at the key the handshake reads" and, under acceptanceCriteria, "Grep every manifest the project declares (objectstack.config.ts and each package manifest) … which rewrites each to '^19'"; the changeset says the same of "every package manifest in a multi-package app". Measured at this head on examples/app-multi-package with both package manifests put back to '^18': os migrate meta --from 18 --write wrote nothing and printed "The declared protocol range was left for you to change by hand … not written [helper]: manifest is composed by composeStacks(…) from all of its inputs, so no one literal is its source". On a single-manifest app (examples/app-todo) it does rewrite objectstack.config.ts:48 … '^18' → '^19'. Fix the three strings: --write rewrites a range that is one literal in the config, and reports a composed manifest for a hand edit in each package manifest. The entry text ships in spec-changes.json, the upgrade guide and the CLI's own advisory.
  • S2 (should-fix) — docs/qa/platform-checklist/areas/platform-core.json, item platform-core.protocol-18-handshake-and-stored-replay (active, P1): its title, a fixture, a step and the acceptance clause "^17 → 422 OS_PROTOCOL_INCOMPATIBLE with migrateCommand naming --from 17; ^18 admitted" are false once the runtime is protocol 19, and its step "boot a ^18 dist/objectstack.json built before a retirement" is now refused at the handshake. The Judgments table has no row for it, while the PR did correct the same kind of fact in cli.json. Either revise the item here, or give it a row and a filed follow-up card; the seat chooses.
  • N1 — body: "74 files, +210 / −95". GitHub and git diff --stat both read +206 / −95.
  • N2 — protocol-version.ts docblock: "every in-repo manifest that means the current protocol declares '^19' with it". The blank template and three skill files do not until the version pass and docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts #37298. It is published TSDoc; soften it in the rework push.
  • N3 — .changeset/37223-v19-line-opens.md still says "PROTOCOL_VERSION follows @objectstack/spec's major at version time". After this PR the constant is already 19 and the sync is a no-op. Loosely true; the note is being corrected anyway.
  • N4 — the three docs pages show '^19' while npm latest is 18.6.0, whose runtime refuses '^19'. Same as 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; the changeset says to move the range with the versions. Accepted, and named in the maintainer summary.
  • N5 — the option-B fixture carries no comment saying why its range is '>=18.0.0'. A later sweep to '^19' would close the window and red the file, so it is self-protecting.
  • N6 — packages/cli/test/migrate-meta-protocol-range.test.ts:46 still says "since the runtime implements protocol 18". Comment only.
  • N7 — Skills-docs: none in this PR — … would read more exactly as follow-up #37298.

Dogfood

Owed, and not yet on record. The title's ! and the (narrowing) arm both mark this PR. The newest trusted os-dev-report on #37229 is 7160769126: pr: null, dogfood_battery: "n/a — no PR". landDogfoodGate in scripts/pm/label-write.mjs fails closed on that. The dev's full battery (487 files passed, 3 skipped; 4128 tests passed, 68 skipped) ran on 9da4c1d4 plus an unpushed copy of the fixture fix, not on this head, and is recorded only in the PR body. e05fdf6f18 is a one-parent commit on 9da4c1d4, so the gate's first-parent walk over merges of the base cannot reach 9da4c1d4 either. The delta is one runtime test file outside packages/qa/dogfood, so the old run is good evidence; it is not the record the gate reads. Because M1, M2 and S1 move the head, run the full battery once on the final head and post #37229 an os-dev-report whose pr names #37314 and whose dogfood_battery opens with that head's sha.

Seat-side items (no dev work)

Verdict

REWORK, round 1: M1, M2, S1, and S2 if the seat chooses the in-PR fix. M1 widens the file surface to four *.zod.ts prescription strings and their generated docs, so the claim's file surface is amended in the same stroke. Then the full spec suite and the full dogfood battery on the final head. The contract-review record on this head is FAIL (record-37314.md, M1 and S1). No hand-off is written.

Landing

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: e05fdf6f1895c288104746e9d54416eb3cdb6b45
Local-runs: probe — the seat ordered local reads in a throwaway worktree at this head: the two changeset guards, the option-B test with a '^18' control, the kept-site test files, the failing retired-key-removal-version.pin.test.ts, and os migrate meta --from 18 --write on examples/app-todo and examples/app-multi-package put back to '^18'; nothing was pushed and the worktree is removed
Scope: packages/spec/src/kernel/protocol-version.ts, packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts, packages/spec/src/migrations/registry.ts.template + packages/runtime/src/standalone-stack-option-b-forward-conversion.test.ts, packages/metadata/src/plugin-artifact-packages-attribution.test.ts, packages/spec/src/system/translation-contributed-nav-bundle.test.ts, the five example manifests under examples/, the three connector manifests under packages/apps/, the 40 packages/cli test files, the nine packages/qa files, the two packages/lint test files, docs/qa/scenarios/builds/travel_expense.json, docs/qa/platform-checklist/areas/cli.json, packages/mcp/README.md and ui/packages/i18n/scripts/released-keys-removed.mjs (the whole diff outside the prose faces, since a narrowing is declared)

① Derived judgments

  • Face. Read off the committed tree: three paths under packages/spec/src/**, the schema face. The declared (narrowing) arm widens the scope to every path outside the prose faces.
  • Clause-②: yes (narrowing) holds. At this head the handshake refuses a range that admits 18 and not 19, which 18 admitted (measured: targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0), and admits '^19', which 18 refused. One accept set narrows and one widens; the exported PROTOCOL_VERSION value moves. 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 (4e9fe9f) declared the same arm for 17 → 18.
  • Metadata-protocol: narrowed holds. AGENTS.md grades "a value refused" as narrowed, and narrowed outranks semantic. The claim's semantic (comment 7160363498) was written before the dev measured the refusal.
  • ADR-0087 disposition. registered protocol-18-range-refused. check-adr-0087-registration at this head: [BREAKING+clause-②-narrowing+metadata-protocol-narrowed] registered protocol-18-range-refused (new here), exit 0, in CI and here. The gate refuses not-required (no-migration-prescription) on a declared narrowed, so an entry is the only route.
  • PR body and changeset agree on both lines, read through readClause2Line and readMetadataProtocolLine.

② Semver level

  • @objectstack/spec: minor is right. A kind other than none takes at least minor on a package the diff moves. major is refused in this lane and is already carried by .changeset/37223-v19-line-opens.md (chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230). CI's LEVEL AXIS line is green for this pair.
  • 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. Exit 0 here and in CI.
  • @objectstack/mcp has no entry although its shipped README.md changes. That is the seat's L1 item M1; the changeset is a prose face and outside this record.
  • DELIBERATE CORRECTION, confirmed. One note, .changeset/37223-v19-line-opens.md, one sentence.
    • Before: "The first is @object-ui/i18n's retirement of the translation keys 18.6.0 shipped and no code reads any more; a second major in the same fixed group still gives one 19.0.0."
    • After: "The first change graded major is @object-ui/i18n's retirement of the translation keys 18.6.0 shipped and no code reads any more; a second major in the same fixed group still gives one 19.0.0."
    • Judgment: the old sentence followed "Each breaking change on the line says so in its own changeset", so "the first" meant the first breaking change. This PR adds a breaking change graded minor, which makes that reading false. The new wording is true: .changeset/37223-i18n-removed-released-keys.md is the retirement and is graded major; this PR's changeset is minor. No other sentence of the note is changed. Check Changeset stays red on it by design.

③ Boundary flags

  • Q1, declaration. Answered in ①: yes (narrowing) + narrowed with a registered step-19 entry.
  • Q2, the blank template. Kept at '^18', correctly. sync-template-versions.mjs stamps '^${major}' from the scaffolder's version at the version pass, and template-consistency.test.ts (41/41 here) holds it to create-objectstack's major.
  • Q3, the floor-subject sites. Kept, correctly: the metadata-core and metadata files pass unchanged at protocol 19 (513/513 and 19/19) because their '^18' is the window's floor and no handshake against PROTOCOL_VERSION runs. The option-B file moves to '>=18.0.0', correctly: floor 18.0.0 kept, 19 admitted, 6/6, and the '^18' control reds the three boot suites.
  • Author. objectstack-fleet[bot]. The head commit e05fdf6f18 re-applies the fixture fix by a seat-dispatched dev on the maintainer's word quoted in the body; it is one file, five literals.
  • Dogfood. Marked by ! and the arm; no os-dev-report on 19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229 pins a battery to this head. Owed on the final head.
  • Check-runs at this head. 59 success, 13 expected skip, 0 pending. Red: Test Core (2/10) with its roll-up (④, M1), and Check Changeset, by design (②).
  • SQL push-down. No query code in the diff.
  • Out of scope, raised to the seat. Step-18 entries registered on main after the 18.6.0 tag (30 semantic files, 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 among the PRs) are not replayed by --from 18 once step 19 exists. Not this diff's defect; a card is owed.

④ Design judgment

  • packages/spec/src/kernel/protocol-version.ts, against ruling 7153441862 item 2 and its consumers.
    • Against the handshake it holds. PROTOCOL_MAJOR derives from the constant; protocol-version.test.ts is 3/3 with the lockstep exception evidenced by pre mode and the pending major.
    • M1 (must-fix) — against its second consumer it does not. packages/spec/src/shared/retired-key-removal-version.pin.test.ts derives the release that removes a key stamped retiredAfter 18.6.0 from PROTOCOL_MAJOR. At 19 it fails three cases at this head (object-grid-single-click-edit-removed, field-inline-edit-boolean-removed, view-column-state-removed; Tests 3 failed | 62 passed (65) here, and Test Core (2/10) is failure in CI, green on main fbb62e1cca): "derives @objectstack/spec 19, but the prescription names 18 — … was removed in @objectstack/spec 18.7.0". Those prescriptions are published refusal and describe text in packages/spec/src/ui/component.zod.ts, packages/spec/src/data/field.zod.ts and packages/spec/src/ui/view.zod.ts. With this constant they name a release the v19 line never cuts, and the diff leaves them. They move with the constant, in this PR.
    • Nit — the docblock's last clause overstates repo state: the blank template and three skill files do not yet declare '^19'.
  • packages/spec/src/migrations/registry.ts.template, against its consumers (gen:migration-registry, os migrate meta). Holds. step19 has toMajor: 19, empty conversionIds, the generated marker pair semantic:19, and a 19: step19 row. CI's prepare step generated the registry from it, and the CLI at this head prints Chain: protocol 18 → 19.
  • packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts, against the code it describes.
    • surface and reason hold: resolveDeclaredRange reads engines.protocol, else engines.platform, else engine.objectstack; assertProtocolCompat runs in the app plugin, the package install and commit doors and the marketplace local install; the refusal names the range, the runtime protocol and objectstack migrate meta --from 18.
    • S1 (should-fix) — replacement and acceptanceCriteria say --from 18 --write rewrites the declared range, and "rewrites each" of "objectstack.config.ts and each package manifest". Measured at this head on examples/app-multi-package with both package manifests at '^18': nothing is written, and the CLI prints "The declared protocol range was left for you to change by hand … not written [helper]: manifest is composed by composeStacks(…) from all of its inputs, so no one literal is its source". On examples/app-todo the rewrite does happen (objectstack.config.ts:48 manifest.engines.protocol: '^18' → '^19'). The entry names the multi-package case and then prescribes a command that leaves it undone. This text ships in spec-changes.json, the upgrade guide and the CLI advisory. The changeset repeats the claim.
  • Implementing files. The moved fixtures agree with the contract: each stands for an app on the current protocol and none asserts on the range. The two module-top imports are what check:test-source-alias prescribes for an edited test. released-keys-removed.mjs (carried N3 of chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230) refuses an unknown argument with exit 2 and peels the tag with ^{commit}; it is outside @object-ui/i18n's files[].
  • The narrowing against the published spec. It makes the spec's own refusal real rather than taking a declared capability away: ADR-0087 D1 says a consumer pinned to ^N is refused, with a diagnostic, when the runtime crosses into N+1. Only installs of a 19.0.0-next.N prerelease meet it.
  • Outside the contract faces: docs/qa/platform-checklist/areas/platform-core.json still asserts "^18 admitted". It is the seat's L1 item S2 and does not weigh on this verdict.

Implemented-by: session_01QSeKYnLptCbfzwtkTrDG3j
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

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>
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>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 3811cd10f5ac58e39fcde695911503c06ba1e872
Local-runs: probe — the seat ordered local reads in a throwaway worktree at this head to confirm the three findings of record 7181629335 closed: examples/app-starter's boot test with a '^18' control, the handshake and the migration chain from the built packages, os migrate meta --from 18 --write on examples/app-todo put back to '^18', check-future-spec-major with its self-test, check-changeset-no-major, check:adr-0087-registration, check:upgrade-guide, the spec migration and pin tests, the CLI range test, and an uncommitted merge with origin/main 5d21d431ec1; nothing was pushed and the worktree is removed
Scope: packages/spec/src/data/field.zod.ts, packages/spec/src/data/seed.zod.ts, packages/spec/src/kernel/protocol-version.ts, packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts, packages/spec/src/migrations/registry.ts.template, packages/spec/src/ui/component.zod.ts, packages/spec/src/ui/view.zod.ts + scripts/check-future-spec-major.mjs (the gate that judges the five prescriptions), scripts/check-changeset-no-major.mjs (a comment only, the reader that gate imports), the five spec test files in the diff (the pins of those prescriptions), packages/runtime/src/standalone-stack-option-b-forward-conversion.test.ts, packages/metadata/src/plugin-artifact-packages-attribution.test.ts, packages/metadata-protocol/src/protocol.seed-external-id-refusal.test.ts, the six example manifests under examples/ (examples/app-starter/objectstack.config.ts is new in this round), the three connector manifests under packages/apps/, the 40 packages/cli test files, the nine packages/qa files, the two packages/lint test files, docs/qa/scenarios/builds/travel_expense.json and its provenance file, docs/qa/platform-checklist/areas/platform-core.json and cli.json, packages/mcp/README.md and ui/packages/i18n/scripts/released-keys-removed.mjs (the whole diff outside the prose faces, since a narrowing is declared)

① Derived judgments

  • This round. The head moved 9ed0f5e41f6 → d47c169db75 (merge of origin/main da7c559990d) → 3811cd10f5a. The last commit changes three files: examples/app-starter/objectstack.config.ts (one literal), the step-19 entry (its acceptanceCriteria), and a comment in scripts/check-changeset-no-major.mjs. The PR is 92 files, +440 / −161 against its merge base da7c559990d. Everything record 7181629335 judged outside those three files is unchanged, and I re-measured the parts below.
  • Face. Read off the committed tree: the same seven non-test paths under packages/spec/src/**, the schema face; the declared narrowing widens the scope to every path outside the prose faces.
  • Clause-②: yes (narrowing) holds. Measured from the built @objectstack/metadata-core at this head: '^18' and '18.x' answer incompatible, OS_PROTOCOL_INCOMPATIBLE, targetMajor 18, migrateCommand: objectstack migrate meta --from 18; assertProtocolCompat throws ProtocolIncompatibleError with status and statusCode 422. '^19', '>=18.0.0' and '^18 || ^19' answer ok.
  • Metadata-protocol: narrowed holds, as before: an accepted value is now refused.
  • The three declaration carriers agree. readClause2Line and readMetadataProtocolLine (scripts/pm/clause2-line.mjs) read yes / narrowing and narrowed from the live PR body, from .changeset/37229-protocol-19.md at this head, and from the newest Claim: on the card, comment 7160363498.
  • ADR-0087 disposition. pnpm check:adr-0087-registration exits 0: self-test 819 assertions, then .changeset/37229-protocol-19.md [BREAKING+clause-②-narrowing+metadata-protocol-narrowed] registered protocol-18-range-refused (new here: protocol-18-range-refused). check:upgrade-guide exits 0 with 3 hop sections at protocol 19.0.0.
  • Migration path. On examples/app-todo with line 48 put back to '^18', os migrate meta --from 18 --write exits 0, prints objectstack.config.ts:48 manifest.engines.protocol: '^18' → '^19', and leaves the file byte-equal to HEAD (git diff HEAD empty). os validate then exits 0. The chain from the built spec: MIGRATION_MAJORS [17, 18, 19], step 19 holds protocol-18-range-refused and no conversions.
  • The changeset's "Every example app … now declare '^19'" is true at this head: the six manifests under examples/ all read '^19'.

② Semver level

  • Unchanged and still right: @objectstack/spec minor (the major is carried by .changeset/37223-v19-line-opens.md), @objectstack/mcp patch. The three files of this round add no publishable surface beyond the entry text, which the existing note covers.
  • node scripts/check-changeset-no-major.mjs --base origin/main exits 0: This diff introduces no major bump, and 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). The LEVEL AXIS has no input in a local run.
  • DELIBERATE CORRECTION. The diff of .changeset/ against the merge base is the same two notes and three sentences as at 9ed0f5e41f6. Check Changeset is the one red check-run at this head, by design; its annotations name exactly .changeset/37223-v19-line-opens.md and .changeset/37042-skills-inline-edit-boolean.md. The live PR body now names both notes and quotes all three corrected sentences.

③ Boundary flags

  • Dev flags. os-dev-report 7183121949 has no open_questions. Its two out_of_scope_findings are for the seat: no gate ties an example manifest's range to PROTOCOL_MAJOR, and the step-18-after-tag card below.
  • Author. objectstack-fleet[bot].
  • Dogfood. The same report pins a full battery to this head: 487 passed | 3 skipped files, 4129 passed | 68 skipped tests, command-exit 0. Read, not re-run.
  • Check-runs at this head. 70 runs: 60 success, 9 skipped, 1 failure. The failure is Check Changeset, by design (②).
  • The base moved again. origin/main is at 5d21d431ec1, 9 commits ahead of this head's merge base. Measured on an uncommitted merge, which is textually clean:
    • The set of lines that spell a protocol-18 range is the same in the merged tree as at this head (46 lines, identical), so main added no further manifest or handshake at '^18'. Those 9 commits add no line naming PROTOCOL_VERSION, and no citation of 18.7.0.
    • check-future-spec-major exits 0 there, judged against 19. The spec migration suite, protocol-version.test.ts and the removal-version pin pass, 7 files and 269 tests.
    • Not re-run on the merged tree: examples/app-starter's boot test and the rest of CI. The merge queue runs them.
  • SQL push-down. No query code in the diff.
  • Escalated to the seat again, still no card found. os migrate meta --from 18 replays step 19 only (packages/spec/src/migrations/chain.ts:42). 31 step-18 semantic entries at this head are not in the tag @objectstack/spec@18.6.0, and main has since added three more (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, feat(refusals)!: one refusal names several declared reasons, each in the person's language #37395). Measured again: a lookup with inlineEdit: true comes out of applyMetaMigrations(stack, 18) unchanged (hops [19]), and out of (stack, 17) with the key removed (hops [18, 19]). The entry text now says this honestly (S2 below), so nothing in this diff is wrong; where those entries belong is still a ruling the seat owes a card for.

④ Design judgment

  • M1 of record 7181629335 — closed. examples/app-starter/objectstack.config.ts:32 reads engines: { protocol: '^19' }. examples/app-starter/test/boot.test.ts passes 5 of 5 at this head (exit 0). Control: with that one literal at '^18', the same run fails 3 of 5 (exit 1) with OS_PROTOCOL_INCOMPATIBLE … package 'com.example.starter' targets protocol ^18 (engines.protocol) but this runtime is protocol 19.0.0 … Run: objectstack migrate meta --from 18. Restored; git diff HEAD is empty.
  • S2 of record 7181629335 — closed. packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts:31-39, read against the code:
    • "Once every range admits 19, no door refuses the manifest with OS_PROTOCOL_INCOMPATIBLE" claims only the handshake, which is what this step moves. The removed promise ("validate passes … every package installs") is gone from the tree and from the generated registry.
    • "This hop edits or refuses the range and nothing else" agrees with chain.ts:42 and with the measured hops [19], 0 conversions applied.
    • "a key retired in this release … is refused at parse by its own message, which names its own remedy" holds for the six tombstones stamped 19.0.0: view.zod.ts:3499 and :6394, component.zod.ts:5469, field.zod.ts:1674, seed.zod.ts:50 and :54. Each says "Delete the key" or names the replacement value, and three also name os migrate meta --from 17. It also holds for the one post-tag step-18 tombstone I sampled, ai/knowledge-document.zod.ts:61.
    • The CLI prints the new text as the step's verify: line (measured in the --write run).
  • packages/spec/src/kernel/protocol-version.ts, registry.ts.template, and the four schema files. Unchanged since 9ed0f5e41f6, and they still hold: the handshake reads as in ①, MIGRATION_MAJORS is [17, 18, 19], and retired-key-removal-version.pin.test.ts passes 65 of 65.
  • scripts/check-future-spec-major.mjs, against ruling 7176929521. Unchanged since 9ed0f5e41f6. Self-test exit 0, 39 cases. Live run exit 0: no @objectstack/spec citation names a major above 19, 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.
  • scripts/check-changeset-no-major.mjs:5508-5513 (N1). A comment only. It now names three importers, and that is what the tree holds: scripts/check-docs-image-tag.mjs:232 (readPre), scripts/check-future-spec-major.mjs:188 (readProtocolLockstepInputs), scripts/pm/l1-face.mjs:63 (entriesIn). No other file imports it.
  • Implementing files. The spec migration suite and protocol-version.test.ts pass, 6 files and 204 tests. packages/cli/test/migrate-meta-protocol-range.test.ts passes 19 of 19.
  • The narrowing against the published spec. As before: it makes the spec's own refusal real, and only an install of a 19.0.0-next.N prerelease meets it.
  • S1 of record 7181629335 — closed in substance; N1 (nit) is what remains. The body now declares both corrected notes and quotes the three sentences, names the gate change with its ruling, the five prescriptions and @objectstack/mcp: patch. Five places are still one head behind. None changes a declaration or a claim about the contract, and a body edit fixes them without moving the head:
    • "Handshakes: 84 sites in 66 files": at this head it is 85 sites in 67 files.
    • The table row "examples/ (crm, showcase, todo, multi-package ×2) | 5 | 5": starter is the sixth.
    • "Size. 90 files, +432 / −156 … at 9ed0f5e41f6": it is 92 files, +440 / −161 at 3811cd10f5a.
    • "Readings at 9ed0f5e41f6" and "Not re-run at 9ed0f5e41f6": the readings of os-dev-report 7183121949 are at this head.
    • Provenance ends "@ 9ed0f5e41f6" and does not name d47c169db75 or 3811cd10f5a.

Implemented-by: claude/issue-37229-protocol-version-19
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

席位核对 — ACCEPT · L1 · head 3811cd10f5ac58e39fcde695911503c06ba1e872 · 2026-11-26T05:19Z

PR #37314, PR 1 of 2 for #37229. This is a delta L1 from 9ed0f5e41f6 (seat L1 7181615974, REWORK, M1; L2 7181629335, FAIL, M1 · S1 · S2) to 3811cd10f5a. It covers two commits: d47c169db75 merges origin/main da7c559990, and 3811cd10f5a makes the M1, S2 and N1 fixes. It was read against the tree, GitHub and runs in a throwaway worktree at this head, not against os-dev-report 7183121949. M1 and S2 are closed, the merge is merge-only, and the fix commit changes nothing beyond its three named edits. main has moved 9 commits since the merge base and added no other '^18' handshake.

No must-fix, no should-fix.

Checklist

  • Shape. Open, draft, base main, first line Fixes #37229, title carries !. l1-face.mjs --pr 37314 exits 5, with the same 3 flags as last round: changeset, all-checks and dogfood. Each is read below.
  • Size. 92 files, +440 / −161 on GitHub at this head, against merge base da7c559990. That matches git diff --shortstat da7c559990 3811cd10f5a. The two new files over last round's 90 are examples/app-starter/objectstack.config.ts and scripts/check-changeset-no-major.mjs.
  • Declarations. readClause2Line / readMetadataProtocolLine (scripts/pm/clause2-line.mjs, the same blob on origin/main and at this head) read yes (narrowing) / narrowed from three sources, and all three agree:
  • changeset flag. The flagged list is identical to last round's: cli, lint, metadata-protocol, metadata, scenarios, runtime and @object-ui/i18n. The merge-only delta below leaves every one of those paths as it was. The fix commit adds @objectstack/example-starter, which is "private": true, and a comment in a root script. The reading from rounds 1 and 2 holds: tests only, outside files[], or private.
  • Dogfood. The face flags it as owed, but it reads no report. The newest os-dev-report on 19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229 is 7183121949 (2026-11-26T05:02Z), with pr feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314. Its dogfood_battery opens with 3811cd10f5ac58e39fcde695911503c06ba1e872: os-verify-lock VERDICT command-exit 0, Test Files 487 passed | 3 skipped (490), Tests 4129 passed | 68 skipped (4197), no failures. That is the record landDogfoodGate reads, pinned to the final head. Read, not re-run.

Prior items, at this 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 (diff of the sorted name lists is empty).
  • Lines. Per-file sorted ±line sets: 588 on each side, byte-identical (cmp exits 0). Unlike round 2, the merge took nothing from main in place of a PR line, so no generated page needed regenerating.
  • Replay. git merge-tree --write-tree 9ed0f5e41f6 da7c559990 gives tree 220f42e2f1, the tree of d47c169db75. 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 from 2266d330efc (main's) to a9f53fd9b0e.

  • S2 wording. This is the acceptanceCriteria of 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 are assertProtocolCompat, used by the app plugin, the package service and the marketplace install, and assertArtifactProtocolCompatible (packages/runtime/src/artifact-reference.ts:429). It answers incompatible only when rangeAdmitsMajor(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 generated registry.ts built here, step 19 has conversionIds: [] and the one semantic entry. applyMetaMigrations applies conversions only, and reports semantic entries as TODOs. The range itself is the CLI's planProtocolRange (packages/cli/src/commands/migrate/meta.ts:509): either a rewrite, 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 with retiredFromLoadPath: true and retiredAfter: '18.6.0': field-inline-edit-boolean-removed, object-grid-single-click-edit-removed and view-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:1674 is 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.
  • N1 importers. git grep at 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' is ui/scripts/__tests__/check-changeset-no-major.test.ts:18. It resolves to ui/scripts/check-changeset-no-major.mjs, a separate file, and its repoRoot at :58 is ui/. 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/spec citation names a major above 19 / 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 / 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 is 38f33ec517b, the same as at 9ed0f5e41f6, 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. Here origin/main resolved to 5d21d431ec, and the diff ran from merge base da7c55999. Exit 0, with "✓ This diff introduces no major bump" and "✓ 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)". 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/main are 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 are Type Check · source gates and PR-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.
  • Check Changeset is red by design. Check-run 139670505420. Its file annotations name exactly .changeset/37223-v19-line-opens.md and .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 against da7c559990 is the same three corrections as at 9ed0f5e41f6.
  • git merge-tree --write-tree against current origin/main 5d21d431ec. The probe ran in a throwaway bare clone with no os-regen driver registered, which fetched both commits from GitHub. Result: clean, exit 0, tree 98380a8dde.
  • K. 9 commits on main since merge base da7c559990, all first-parent. landing-k.mjs --pr 37314 reads K = 9, with PRBASE da7c559990 from the green Test 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's engines.protocol line.
  • New '^18' on main: 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 name PROTOCOL_VERSION, PROTOCOL_MAJOR, "protocol 18" or @objectstack/spec 18/19. The one engines hit is packages/plugins/knowledge-turso/package.json, which reads "node": ">=22.0.0". Whole-tree cross-check: the sorted set of '^18 lines is 152 at this head and 152 in the merge-tree result, and the two sets are identical. The set at 9ed0f5e41f6 (with line numbers dropped) is identical to the set at this head too. So no new M comes from main.

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-gates sweep 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 on origin/main 5d21d431ec. The three new ones are feat(lint): refuse a transferBehavior cascade the Change Owner action can never offer #37382 18.transfer-cascade-never-offered-refused, fix(spec)!: composition refuses one job name enabled in two packages #37392 18.compose-stacks-job-name-across-packages-refused and feat(refusals)!: one refusal names several declared reasons, each in the person's language #37395 18.refusal-reasons-list-literal-judged. os migrate meta --from 18 replays 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.protocol to PROTOCOL_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 other engines.protocol declaration … measured on claim"). It does not cover round 2's items or this round's comment in scripts/check-changeset-no-major.mjs under "⛔ … no guard or workflow edit". The seat amends the claim to cite ruling 7176929521.
  • Closing keyword (from round 1). Fixes #37229 closes 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 Changeset and the reason. The body does now name both notes and the three sentences.
  • Main-red triage. check:platform-checklist on origin/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

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

维护者速读

Approval request at 2026-11-26T05:21Z.

  • Reviews. The seat's L1 is ACCEPT (7183386055) and the same-head contract review is PASS (7183296652). Both are on head 3811cd10f5ac58e39fcde695911503c06ba1e872.
  • Check-runs at that head. 70 runs: 60 success, 9 expected skips and 1 failure, none pending. The failure is Check Changeset, red by design. Its annotations name only the two DELIBERATE CORRECTION notes, which the PR body quotes before and after. All eleven required contexts are success.
  • Dogfood. The battery is pinned to this head in os-dev-report 7183121949: 487 files passed, 3 skipped; 4129 tests passed, 68 skipped; exit 0.
  • Merge state. The head merges cleanly onto origin/main 5d21d431ec, with K = 9.
  • Why the seat is not landing it. The PR declares a narrowing (Clause-②: yes (narrowing)), so it is the maintainer's to land. The seat does not flip it ready, enqueue it or arm auto-merge.

Seat-side items, none blocking this PR:

  • The family card for step-18 migration entries registered after the 18.6.0 tag is owed. There are 34 such entries on main, and --from 18 does not replay them.
  • Nothing ties an example manifest's range to PROTOCOL_MAJOR.
  • check:platform-checklist fails on main itself: ABSENT SYMBOL FlowItemMoreMenu.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 26, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 26, 2026 05:34
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 204356a Nov 26, 2026
77 of 80 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-37229-protocol-version-19 branch November 26, 2026 06:03
This was referenced Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue protocol:data protocol:system protocol:ui size/l tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后)

3 participants