Skip to content

docs(skills): the platform and upgrade skills teach engines.protocol '^19', the major the 19.x boot handshake accepts - #37298

Merged
objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-37229-skills-protocol-19
Nov 26, 2026
Merged

objectstack-fleet[bot] merged 4 commits into
mainfrom
claude/issue-37229-skills-protocol-19

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Bill · project thread

Fixes #37460

Clause-②: no
Metadata-protocol: none

维护者速读

  • 客户项目里的 AI 助手照着技能包写应用配置时,声明的协议大版本从 18 变成 19;技能包的考题也同步改成 19。
  • 属于「19.0.0 大版本」这条线:运行时的协议版本升到 19 之后,技能包要教同一个数,否则照抄的配置启动就被拒。
  • 若它早于协议升 19 的那个改动上线,照着技能写的新项目会在 18 版运行时上启动被拒;纯文字改动,可以直接撤回。
  • 要你做一件事:「进入预发布阶段」和「协议升到 19」两个改动都已合入,请审批这个受管的技能包改动。

What changes

PR 2 of 2 for the card (seat direction: option A on the shape of the v18 move). This is the skills/** half, split off because skills/** is a governed surface. The sibling PR 1 moves PROTOCOL_VERSION to 19.0.0 and every other tracked '^18' on branch claude/issue-37229-protocol-version-19 (PR #37314). PR 1 and #37230 (pre mode plus the pending @objectstack/spec major) are both on main, so the landing order this PR waited on is met. It stays draft because skills/** is Tier H.

Four lines in three files, each rewritten in place at equal byte length:

  • skills/objectstack-platform/SKILL.md L111: the defineStack manifest example declares engines: { protocol: '^19' } (was '^18').
  • skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7: eval 1's prompt asks for protocol 19 and its expected output is '^19', so the eval stays consistent with the skill it scores.
  • skills/objectstack-upgrade/SKILL.md L89: the sentence that says what every scaffold and example writes now says '^19'.
  • .changeset/37229-skills-protocol-19.md: @objectstack/skills patch.

git grep -n "protocol: '\^18'" -- skills/ at head 3536f9ac1c matches nothing.

Rework round (head 3536f9ac1c). Two commits on top of c9ad209e: a merge of origin/main a46efa8c62 (clean, no conflict, no generated artifact deferred) and one sentence in the changeset. The changeset's last sentence used to end "no conversion is registered at step 19, so the chain an author replays still ends at 18"; with PR 1 on main the chain ends at 19. It now ends: "step 19 carries no conversion and one semantic entry (protocol-18-range-refused)." The entry id was read on origin/main a46efa8c62 at packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts, the only 19.* file under entries/. The changeset file is new in this PR, so this is not an edit to a landed note. The PR's own hunks in the three skill files are unchanged from c9ad209e. The eval file and the upgrade skill keep the same blobs. skills/objectstack-platform/SKILL.md changed blob only by main's merged hunks (#37409, #37303).

Declarations, judged from content. The diff is skill prose and one eval fixture. It changes nothing a metadata author can write and nothing the runtime accepts or refuses; the refusal of '^18' is PR 1's. So Clause-②: no and Metadata-protocol: none, the same pair the v18 skills move (#25688) declared, and the changeset is patch. No Skills-docs: line is owed for a none kind.

Published-skills readings

Lines, and tokens as ceil(UTF-8 bytes / 4); origin/main a46efa8c62 to head 3536f9ac1c.

File Before After
skills/objectstack-platform/SKILL.md 422 lines · 6154 tokens 422 · 6154
skills/objectstack-platform/evals/config-plugins-ops.json 399 · 6067 399 · 6067
skills/objectstack-upgrade/SKILL.md 481 · 6175 481 · 6175
Whole bundle (sum of every skills/*/SKILL.md) 4961 · 65472 4961 · 65472

Net for skills/**: 0 lines added, 0 removed. check-skills-token-ratchet at head: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted.

Tests

No workspace package source is touched, so no package test is owed. The marked defineStack example in objectstack-platform/SKILL.md is type-checked by check:skill-examples: 350 prose examples type-check across 3 surface(s), exit 0, after a full core build (121 of 121 turbo tasks, lock VERDICT command-exit 0).

Acceptance notes

  • No 18 → 19 step is added to objectstack-upgrade. The skill does not walk the majors one by one; it teaches one procedure (os migrate meta --from N, then the residue). On main a46efa8c62 step 19 carries no conversion and one semantic entry (protocol-18-range-refused), whose own replacement text names migrate meta --from 18, the procedure the skill already teaches, so no step-19 text is added.
  • Left unchanged on purpose in objectstack-upgrade/SKILL.md:
    • L74, os migrate meta --from 16 --to 18 --json. It names the last ported hop, not the current major. The chain now has steps for 17, 18 and 19. Step 19 carries no conversion, so the --to 18 replay gives the same result as the default terminus 19 today. The skill's own eval pins the same replay form.
    • L91, the '^17' to --from 17 worked example (it shows taking the floor of a range).
    • L122 ("not in the 18 catalog") and L178 to L183 ("18.3 drops", "on 18.2 or earlier"): statements about 18.x releases, still true.
  • Frontmatter is the version pass's. compatibility: Requires @objectstack/spec 18.x and metadata.version: "18.6.0" in the skill frontmatter are stamped at release; check:skill-compatibility exits 0 at this head.
  • Order risk, now past. Before PR 1 the skill would have taught '^19' to an 18 runtime. PR 1 is on main.
  • Noted, not filed (carrier: none): nothing cross-checks a protocol: literal in skill prose against PROTOCOL_VERSION; the v18 skills move noted the same.

Verification

Two-minute check: git diff origin/main...HEAD --stat -- skills/ shows 3 files, 4 insertions, 4 deletions; node scripts/check-skills-token-ratchet.mjs exits 0.

Read first (by risk):

  1. skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7: prompt and expected output must move together.
  2. skills/objectstack-platform/SKILL.md L111: the block is type-checked.
  3. skills/objectstack-upgrade/SKILL.md L89, and L74 and L91 beside it, which stay.
Local gates at 3536f9a (rework head): 50 derived families, 47 exit 0, 3 NOT MEASURED

node scripts/pm/dispatch-gates.mjs --ran at 3536f9ac1c: 50 derived famil(ies) accounted for — 47 run, 3 NOT-MEASURED (3 DERIVED from a recorded exit 3). The three answered PREREQUISITE NOT MET (exit 3) because only @objectstack/spec was built in this worktree: check:doc-formula-expressions, check:dual-build-cjs-loads, check:lean-entry-closure. This narrowing is declared; CI's Lint & Repo Gates runs them and is success at this head. Also run, exit 0: check:skill-refs (10 generated files in sync with packages/spec), check:skill-served-sections (24 served section(s), each heading exactly once in its file), check-skills-token-ratchet (61 authored bundle file(s) within their ceilings), check-nul-bytes (OK). check:skill-examples was not re-run at this head (it needs the full core build); the PR's own hunks are unchanged from the head it passed on, and CI's Lint & Repo Gates runs it at this head.

Earlier round, local gates at c9ad209 (main with #37230 merged in): 56 commands, all exit 0 (50 of 50 derived families run)

node scripts/pm/dispatch-gates.mjs --commands derived 50 families for this diff; --ran: 50 derived famil(ies) accounted for — 50 run, 0 NOT-MEASURED. Exit codes were captured before any pipe. All exit 0, among them check-adr-0087-registration, check-changeset-no-major, check-empty-changeset, check-skills-token-ratchet, check:skill-docs, check:skill-examples, check:skill-refs, check:skill-served-sections, check:skill-compatibility, check:skill-frame-freshness, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-links, check:skill-top-level-keys, check:pm-governed-merges, check:test-source-alias, overlap-check (VERDICT clean exit 0, also clean with #35129). check:skill-examples first answered exit 3 (PREREQUISITE NOT MET: packages/client-react/dist unbuilt in a fresh worktree) and exit 0 after the full build.

Provenance

Opened by seat repo:objectstack#4 on the maintainer's authorization in the seat session (「#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session (session_01QSeKYnFjnB9bU95RVja6w5, zone a4-S)'s own relay pr_create and report comment were refused by its permission check and not retried; it sent the prepared body and its os-dev report to the seat. The gate list above is condensed from the dev's full list (all 56 exit 0). Branch claude/issue-37229-skills-protocol-19 @ c9ad209e at that point.

The card moved from #37229 (closed when PR 1 merged) to its follow-up card, and seat repo:objectstack#5 (zone o5-A) took the PR over on the claim there. The rework round was done by a dev subagent of session_01Utp6CZmwqAVSYHM1nQUDTq.


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

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

PR #37298, PR 2 of 2 for #37229 (the skills/** half). Read against GitHub and the tree, not against the report. One should-fix is open, in the changeset; the three skill hunks themselves hold.

Checklist

  • Shape. Open, draft, base main, first line Refs #37229, no closing keyword on any card (l1-face.mjs --pr 37298: CLEAN, 13 items read, none flagged). Author objectstack-fleet[bot].
  • Diff, read whole. 4 files, +14 / −4 against merge base dfdebfadd5: skills/objectstack-platform/SKILL.md L111, skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7, skills/objectstack-upgrade/SKILL.md L89, and the new .changeset/37229-skills-protocol-19.md. Four lines rewritten in place; net 0 lines in skills/**. No file outside the card.
  • 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). git grep "protocol: '\^18'" -- skills/ at this head matches nothing. The eval's prompt and expected output moved together, and its must_contain list names no range.
  • Declarations. Body and changeset both read Clause-②: no and Metadata-protocol: none through readClause2Line and readMetadataProtocolLine. That is right from content: skill prose and one eval fixture, nothing the runtime accepts or refuses. patch on @objectstack/skills follows. No Skills-docs: line is owed.
  • Gates (check-runs at this head). 30 success, 18 expected skip, 0 failed, 0 pending; Lint & Repo Gates and TypeScript Type Check both success; mergeable_state read clean, then unknown after main moved. git merge-tree against origin/main dbc1765a24 is clean.
  • Tier. check-governed-merges.mjs --pr 37298: GOVERNED, skills/** ×3, Tier H. record-recognisers.mjs --template on the four paths: the rules face, CONTRACT_REVIEW_TIER.
  • Skills value density. Byte-equal rewrites of one digit each; no growth, no budget question.
  • Landing order. The body says it: "This PR lands with PR 1 or right after it, and after chore(release)!: enter Changesets pre mode (next) so 19.0.0 opens; retire the 18.6.0 i18n keys no code reads #37230", "It stays draft until then", and the Order-risk note. The 速读's fourth line says the same. On main without PR 1 the taught '^19' is refused by the 18 runtime, so PR 2 must not land before PR 1 (feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314).

Changeset, sentence by sentence (.changeset/37229-skills-protocol-19.md)

  • Summary line and the first two sentences of the body: true against the diff and against PR 1.
  • Last sentence, tail clause: see S1.

Findings

  • S1 (should-fix) — the changeset's last sentence ends "no conversion is registered at step 19, so the chain an author replays still ends at 18." The first half stays true (PR 1's step19 has conversionIds: []). The second half is false on any tree that holds PR 1, which is the only tree this PR may land on: CHAIN_TERMINUS_MAJOR = Math.max(PROTOCOL_MAJOR, ...MIGRATION_MAJORS) is 19 there, and the CLI prints Chain: protocol 18 → 19 (this runtime implements protocol 19) (measured on PR 1's head e05fdf6f18 with the built CLI). The sentence ships in @objectstack/skills' CHANGELOG.md. Fix in the changeset only: drop the tail clause, or say that step 19 carries no conversion and one semantic entry (protocol-18-range-refused). The head has to move anyway (K, below), so this costs no extra round.
  • N1 — body, Acceptance notes: "No conversion or semantic entry is registered at step 19 on main dfdebfad … so there is no step-19 text to teach yet" is true at dfdebfad and stale once PR 1 lands (one semantic entry). The skill teaches one procedure, so nothing in skills/** needs to follow. Seat-side body edit.
  • N2 — objectstack-upgrade/SKILL.md L89 now says "every scaffold and example writes … '^19'". On main the create-objectstack blank template keeps '^18' until the version pass stamps it; the two ship together at 19.0.0-next.0, so the sentence is true where it is published. Accepted.
  • N3 — the body says "lands with PR 1 or right after it". "With" must not be read as "ahead of in the same queue batch"; the approval request should say after.

Seat-side items (no dev work)

  • Claim line. The newest Claim: comment on 19.0.0 大版本:PROTOCOL_VERSION 升到 19.0.0(预发布模式进入之后) #37229 is 7160363498. Through readClause2Line it reads Clause-②: no; through readMetadataProtocolLine it reads semantic. This body reads no and none: the Metadata-protocol line differs. The amendment 7161510004 is not a Claim: comment and carries neither line. The seat amends the claim.
  • K. landing-k.mjs --pr 37298: PRBASE 875ae40f85, K = 21 on origin/main dbc1765a24, hold at 15; shared-budget leg: this PR and main after PRBASE both touch the skills token ratchet. MERGE MAIN FIRST (exit 1). Do it after PR 1 is on main, in the same push as S1.
  • Closing keyword. PR 1 says Fixes #37229 and this PR says Refs. As written the card closes when PR 1 merges, with this half still open. Decide which PR closes the card and say so on both.

Verdict

REWORK, one patch round: S1 in the changeset, with the owed merge of main after PR 1. The contract-review record on this head is PASS (record-37298.md); the changeset is a prose face, so that record does not judge S1. No hand-off is written until S1 is closed.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c9ad209e24dd7810875aff1ddfe1abaad1a5508c
Local-runs: probe — nothing was built or run at this head; one os migrate meta --from 18 run on the sibling PR #37314's head e05fdf6f18, in a throwaway worktree, to read the chain's terminus that this PR's text is judged against
Scope: skills/objectstack-platform/SKILL.md, skills/objectstack-platform/evals/config-plugins-ops.json, skills/objectstack-upgrade/SKILL.md + none
Security-touching: no

① Derived judgments

  • The face is read off the committed tree: three skills/** paths, the rules face. .changeset/37229-skills-protocol-19.md is a prose face and is the lane seat's L1 read, not this record's.
  • Clause-②: no holds. No published accept set or public surface moves: the hunks are a defineStack example, one eval's prompt and expected output, and one sentence of the upgrade skill. The refusal of '^18' is feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314's.
  • Metadata-protocol: none holds for the same reason. PR body and changeset agree, both read through readClause2Line and readMetadataProtocolLine.
  • The card's newest Claim: comment (7160363498) reads no and semantic. The semantic there was written for the constant move before the card split in two; it is not a reading of this diff. The seat amends the claim.

② Semver level

  • @objectstack/skills: patch. Kind none takes patch; nothing in skills/** is added or removed (0 net lines, byte-equal token counts).

③ Boundary flags

  • Dev flags: none open. The report's "noted, not filed" item (nothing cross-checks a protocol: literal in skill prose against PROTOCOL_VERSION) is a gate proposal with no maintainer naming it; not filed, correctly.
  • Author: objectstack-fleet[bot], opened by relay on the seat's stroke.
  • SQL push-down: no query code in the diff.
  • No changed hunk teaches permission, sharing, credential, token or authentication behaviour.

④ Design judgment

Implemented-by: session_01QSeKYnFjnB9bU95RVja6w5
Reviewed-by: session_01QSeKYpEsWWE9Y5YtSsDgqZ

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

This PR's remaining work is now carried by queue card #37460 (p1), with Resume-from at this head. The card names three steps: the S1 changeset sentence from L1 7170084508, the merge of main now that PR #37314 has landed, and the delta reviews followed by the maintainer hand-off. Seat 4 is going offline and does not continue it. Whoever claims #37460 picks up this branch.

Step 19 carries no conversion and one semantic entry
(protocol-18-range-refused); the chain no longer ends at 18.

Claude-Session: https://claude.ai/code/session_01Utp6CZmwqAVSYHM1nQUDTq
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

Flake judgement · 2026-11-26T07:10Z · head 3536f9ac1c83edb66f981fb1105beef2e2409843

  • Plan Test Core shards (run 45771155616, job 139744057327, attempt 1) failed in its Checkout repository step: RPC failed; curl 56 GnuTLS recv error (-24) on three fetch attempts, git exit 128. The job never got past checkout, so it measured nothing of this diff (a changeset sentence plus a clean main merge).
  • One re-run of the failed job via rerun-failed.mjs. A second failure counts as real.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

Final green head: 3536f9ac1c83edb66f981fb1105beef2e2409843 · 2026-11-26T07:27Z

  • Latest check-runs on this head: 30 success, 18 skipped, 0 failed, 0 pending. Plan Test Core shards passed on its single re-run (attempt 2) after the checkout network failure noted above.
  • Since c9ad209e: one clean merge of origin/main (a46efa8c62) and the S1 changeset sentence ("step 19 carries no conversion and one semantic entry (protocol-18-range-refused)"). The three skill files are byte-identical. The dev report is on 技能包改教协议 '^19':接手 PR #37298(#37229 的第二个 PR),修一句变更说明、合主干后交维护者 #37460 (comment 7185131089).
  • Tier H (skills/**): the PR stays a draft. Zone o5-A sends this head to seat repo:objectstack#5 for the delta L1, the same-head contract review and the hand-off.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract-review-claim: session_01Utp6CYtTDvfPQDzMbZnN5X · head 3536f9a · 2026-11-26T07:29Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 3536f9ac1c83edb66f981fb1105beef2e2409843
Local-runs: none
Scope: skills/objectstack-platform/SKILL.md, skills/objectstack-platform/evals/config-plugins-ops.json, skills/objectstack-upgrade/SKILL.md + none
Security-touching: no

Delta record on the head that follows c9ad209e (record 7170101896, PASS). Read: cards #37460 and #37229 with every comment, the PR body, the net diff against main a46efa8c62 (4 files, +14 / −4), and the check-runs on this head. Nothing was built or run; the tree was read with git show, git diff and git grep.

① Derived judgments

  • Face. Three skills/** paths, the rules face. No file in the diff implements or enforces them, so the scope is + none. .changeset/37229-skills-protocol-19.md is the lane seat's read; it is judged here only where ② and the brief's questions touch it.
  • Accept sets and public surface: none moves. The hunks are one line of a defineStack example, one eval's prompt and expected output, and one sentence of the upgrade skill. The refusal of '^18' is PR feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314's, already on main.
  • The landing condition of the earlier record is met. packages/spec/src/kernel/protocol-version.ts:27 reads PROTOCOL_VERSION = '19.0.0' on main and at this head. In packages/metadata-core/src/protocol-handshake.ts, alternativeMajorSpan reads '^18' as the span 18 to 18, so checkProtocolCompat against major 19 answers incompatible with OS_PROTOCOL_INCOMPATIBLE and objectstack migrate meta --from 18; '^19' answers ok. So '^19' is the range the runtime on main admits, and '^18' is the one it refuses.
  • "The three skill files are byte-identical to c9ad209e" holds for two files, not three. Blob ids at c9ad209e and at this head:
  • Check-runs on this head: 30 success, 18 skipped, 0 failed, 0 pending, counted from the API. Lint & Repo Gates (which runs check:skill-examples, check:skill-compatibility and the skills token ratchet), TypeScript Type Check, Check Changeset, Governed Surface Queue Guard and Plan Test Core shards are all success. So check:skill-examples, which the dev did not re-run locally, is answered by CI on the merged platform file.

② Semver level

  • '@objectstack/skills': patch is right. The diff publishes skill prose and one eval fixture: 0 net lines in skills/**, nothing added to or removed from the catalog. @objectstack/skills is in the fixed group with @objectstack/spec and .changeset/pre.json is in pre mode, so the text ships at 19.0.0-next.N beside the runtime it describes.
  • Clause-②: no holds, and Metadata-protocol: none with it. The PR body and the changeset carry the same pair. Nothing a metadata author can write changes, and nothing the runtime accepts or refuses changes in this diff.
  • The changeset's step-19 sentence is true in the tree. packages/spec/src/migrations/registry.ts.template L3724 to L3738: step19 has toMajor: 19 and conversionIds: []. CONVERSIONS_BY_MAJOR in packages/spec/src/conversions/registry.ts has keys 11, 15, 17 and 18 and no 19, and conversions/entries/ has no 19 folder. Under migrations/entries/ the only 19.* file is semantic/19.protocol-18-range-refused.ts, whose id is protocol-18-range-refused; there is no 19.* file under retired-keys/ or retired-defs/. S1: closed.
  • The sentence is a reading of this head. Step 19 is "accumulating, uncut" by its own docblock, so later v19 entries will add to it; a changelog line dated to its release is the normal shape, and nothing is owed.

③ Boundary flags

  • Dev report 7185131089, open_questions 1 (the PR body edit and the assignee are the seat's writes, not the dev's): answered. The body on GitHub now reads Fixes #37460, carries the rework section and is signed by the seat.
  • open_questions 2 (Plan Test Core shards failed at checkout): answered. The flake judgement is comment 7185173626, one re-run, and the check-run is success on this head.
  • Deviations (model-free commit trailers; three local gate families not measured for want of a full build): accepted. CI ran those families and Lint & Repo Gates is success.
  • security_findings: none, out_of_scope_findings: []: agreed for this diff.
  • PR body, "noted, not filed" (nothing cross-checks a protocol: literal in skill prose against PROTOCOL_VERSION): a gate proposal, not a defect of this diff. N1 below is a second instance of the same gap, so the seat may want one follow-up card for both.
  • SQL push-down: no query code in the diff.
  • Security: no changed hunk teaches permission, sharing, credential, token or authentication behaviour. The handshake the example feeds is a compatibility check, not an access check.

④ Design judgment

skills/objectstack-platform/SKILL.md L111 — holds. The example declares engines: { protocol: '^19' }, which the handshake on main admits. The paragraph under it (L115 to L119: stamped by create-objectstack, checked before anything loads, refused with the exact migration command) matches checkProtocolCompat. The block is under os:check and its gate is green on this head.

skills/objectstack-platform/evals/config-plugins-ops.json L6 and L7 — holds. The prompt asks for protocol 19 and the expected output names '^19'; they agree with each other and with L111. The assertions block is untouched and names no major: must_contain is defineStack, manifest, engines, Object.values(, and must_not_contain is workflows:, approvals:, tableName:. An answer written from the new prompt satisfies it exactly as before. The rest of the expected output (crm_-prefixed names, no object-level namespace, no tableName) still agrees with the platform skill after the merge: the manifest.namespace paragraph keeps the crm_ prefix rule.

skills/objectstack-upgrade/SKILL.md L89 — holds. The sentence says what scaffolds and examples write. The six example manifests on main write '^19'. See N2 for the blank template.

No '^18' is left in skills/** that teaches the current major. git grep at this head for ^18, protocol 18, --to 18 and --from 18 under skills/ returns two lines, and neither is an instruction for the current version:

  • objectstack-data/rules/indexing.md:66, "REFUSED since protocol 18": a dated fact, still true.
  • objectstack-upgrade/SKILL.md:74, --from 16 --to 18: a worked example. See N1.

Also read and left alone, correctly: the upgrade skill's L91 ('^17' to --from 17, the floor of a range), L108 (a branch name), L119 to L122 (17.x installs and the 18 catalog), L178 to L183 (18.3 and 18.2 release facts), and the upgrade eval's '^16' and --to 17 forms.

The upgrade skill's --from and --to guidance with step 19 present — holds, checked against packages/cli/src/commands/migrate/meta.ts:

  • --to defaults to CHAIN_TERMINUS_MAJOR, which is now 19, so "replay 16 → current" (L142) and "--to defaults to the highest major this build carries a step for" (L406) are true as written.
  • "--from the target major proves nothing … or it holds only the next major's step" (L406 to L410): --from 19 is an empty range and answers replayedNothing with widestRange: null; --from 18 holds step 19 alone, which is one semantic entry and no conversion. Both readings are what the text says.
  • "Take the floor" (L90 to L92) matches declaredTargetMajor, which is also what the refusal's own migrate meta --from N prints.
  • The support floor "16 today" (L103) matches MIGRATE_META_SUPPORT_FLOOR = 16.
  • Tried to break L74 on a 19 runtime with a manifest already at '^19': planProtocolRange caps at min(--to, PROTOCOL_MAJOR) = 18, reads '^19' as declaring a major at or above the target and returns nothing, so the range is never lowered and no edit is reported. Hops 17 and 18 run, so replayedNothing is absent. The command does what its comment says.

No must-fix, no should-fix.

Nits (none changes correctness or the contract on this head):

  • N1 (nit) — skills/objectstack-upgrade/SKILL.md L74, the quickstart's acceptance replay, stays --from 16 --to 18 while steps 1 and 2 of the same quickstart replay to the default terminus, now 19, and §3.3 teaches --to the target major. Today the two give the same applied, because step 19 has conversionIds: []. The first major-19 conversion makes L74 an incomplete acceptance, and no gate ties the line to the terminus. Left as an accepted deviation on this head; it wants a follow-up card whose trigger is the first conversion registered at step 19. Do not fix it here: a fix moves the head.
  • N2 (nit) — L89 says "every scaffold and example writes … '^19'". At this head packages/create-objectstack/src/templates/blank/objectstack.config.ts:38 still writes '^18'; template-consistency.test.ts pins it to the scaffolder's own major, and the version pass stamps it. The same holds for the frontmatter (compatibility: … 18.x, version: "18.6.0"), which the version pass also stamps. The skills and the scaffolder are in one fixed group, so the sentence is true in every published release. Carried from L1 7170084508 N2; accepted.
  • N3 (nit) — the PR body, the dev report and the final-head comment say all three skill files are byte-identical to c9ad209e. objectstack-platform/SKILL.md is not (see ①); it carries main's merged hunks, and only this PR's hunk in it is unchanged. The body's reason for not re-running check:skill-examples locally rests on that sentence; CI's run on this head covers it. The body also says the chain "composes hops only for majors that carry a step (17 and 18)", and MIGRATION_MAJORS is now 17, 18 and 19. Both are seat-side body edits, before the hand-off.

Landing: skills/** is Tier H, so this record does not land the PR; the maintainer's approval does.

Implemented-by: claude/issue-37229-skills-protocol-19
Reviewed-by: session_01Utp6CYtTDvfPQDzMbZnN5X

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

维护者速读

  • 改了什么:技能包里应用配置示例声明的协议大版本从 '^18' 改为 '^19',评测题同步改成 19,升级技能里「脚手架写什么」那句也改成 19。共 3 个文件 4 行,外加一个 changeset。
  • 为什么:协议版本已升到 19(feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314 已合入),19 运行时启动会拒绝 '^18'。技能照旧教 18,AI 写出的新项目就起不来。
  • 风险:纯文字改动,不改行为,可直接撤回。技能 token 总量不变。
  • 要你做什么:批准合并。契约复核 PASS 在评论 7185603360,Head-sha 3536f9ac1c83edb66f981fb1105beef2e2409843。

席位意见:ACCEPT。'^19' 与 main 上的 PROTOCOL_VERSION 一致,changeset 里 step 19 那句在代码里成立,评测的题目、期望和断言三者一致。

席位核对

Head-sha: 3536f9ac1c83edb66f981fb1105beef2e2409843
ACCEPT — L1, seat repo:objectstack#5

  1. Shape: open draft against main, 4 files (+14/−4), Fixes #37460, Clause-②: no, Metadata-protocol: none, @objectstack/skills patch. Tier H (skills/**, 3 of 4 paths). The delta since c9ad209e is a clean main merge (a46efa8c62) and the S1 changeset sentence.
  2. Premise: PROTOCOL_VERSION is '19.0.0' on main (packages/spec/src/kernel/protocol-version.ts:27), and the handshake refuses '^18' (OS_PROTOCOL_INCOMPATIBLE). Step 19 has conversionIds: [] and exactly one semantic entry, protocol-18-range-refused. The --from/--to guidance holds against migrate/meta.ts.
  3. Gates: check-runs at 3536f9ac1c: 30 success, 18 skipped, 0 failed. Plan Test Core shards was re-run once after a checkout network failure, with the flake judgement recorded on the PR by the area. Lint & Repo Gates runs check:skill-examples at this head.
  4. Accepted deviations (contract record 7185603360):
    • N1: L74's --from 16 --to 18 replay gives the same result as the default terminus 19 while step 19 has no conversion.
    • N2: L89 says every scaffold writes '^19', but the create-objectstack blank template is stamped by the version pass (carried from seat-4 L1 N2).
    • N3: the PR body's "byte-identical" and "steps only for 17 and 18" sentences were corrected by the seat before this ACCEPT (body patch, no head move).
  5. Out of scope and where it went: N1 matters only once step 19 carries a conversion. That conversion's own PR updates L74, so no card is needed now.
  6. Landing terms: Tier H, whole PR. L2 at CONTRACT_REVIEW_TIER: PASS, comment 7185603360, same head, no open must-fix or should-fix. Security-touching: no. It waits for the approver. The seat lands it after approval: ready, auto-merge, queue.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

Probe Reading
check-governed-merges --pr 37298 GOVERNED, Tier S: every governed path is on a Tier S surface; 18 lines ≤ 3000; no narrowing declared
landing-k --pr 37298 K = 0 < 15
pr-state --pr 37298 at 3536f9ac1c newest run of every name success (the two cancelled runs at 07:35:15Z were superseded by the 07:35:40Z successes after the body patch) · 0 pending
os-regen paths in diff none

Correction to ACCEPT 7185641704 item 6: this PR is Tier S, not Tier H. label-write --handoff refused it: 「Tier S 不交人」. The owning seat lands it on the current-head at-tier record, which is contract review PASS 7185603360 (CONTRACT_REVIEW_TIER, Head-sha 3536f9ac1c83edb66f981fb1105beef2e2409843). No approver is requested. Action: ready + auto-merge. Closes #37460 on merge.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 26, 2026 07:39
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit c2b2e4f Nov 26, 2026
84 of 87 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-37229-skills-protocol-19 branch November 26, 2026 08:11
Nenzyz pushed a commit to Nenzyz/objectstack that referenced this pull request Dec 1, 2026
…dshake reads '^19' (objectstack-ai#37314)

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Fixes objectstack-ai#37229
Clause-②: yes (narrowing)
Metadata-protocol: narrowed
Skills-docs: follow-up objectstack-ai#37298

## 维护者速读

- 协议版本从 18 升到 19:仓库里每个示例应用、连接器应用和文档示例都改为声明 19,新建项目模板在出预发布版时自动改成 19;只有装
19 预发布版的人会碰到。
- 属于「19.0.0 大版本」路线(你选的方案「A」第 2 项);它解开 19.0.0-next 的版本
PR:出版本的流水线不接受顺手改协议版本,所以由这一单先改好。
- 装了 19 预发布版、但应用仍声明 18 的人,启动时会被拒绝并提示改成
19(单一配置文件的应用有一条命令可自动改;多包组合的应用要逐个包手改);18.x 正式版用户不受影响;撤回即还原本单。
- 按你对冲突的裁决「A」,本单还改了一道检查:预发布模式下且 spec 已排定大版本时,下架提示写「19.0.0」不再被拦;五条下架提示因此写
19.0.0。
- 要你做的:「进入预发布模式」那一单已合并;本单是大版本变更,请你亲自把关合并。「Check
Changeset」是有意的红:本单改了别人已合并的两条变更说明(各改一处事实)。另一单 objectstack-ai#37298 改三个技能文件,在本单合入之后合并。

## What changes

On the shape of the v18 move (objectstack-ai#22215, commit `4e9fe9f`), minus
`skills/**`.

- **`packages/spec/src/kernel/protocol-version.ts`:** `PROTOCOL_VERSION
= '19.0.0'`. The docblock names protocol 19 as the pre-mode lockstep
exception (ruling records 6049734955 and 7153441862), and says the blank
template follows at the version pass and the published skills' examples
in a change of their own.
- **Handshakes:** 85 sites in 67 files move `engines.protocol` from
`'^18'` to `'^19'`. Each is a manifest that stands for "an app on the
current protocol", and none of them asserts on the range.

| Directory | Files | Sites |
|---|---|---|
| `examples/` (crm, showcase, todo, starter, multi-package ×2) | 6 | 6 |
| `packages/apps/connector-{docusign,github,stripe}` | 3 | 3 |
| `packages/cli` (tests) | 40 | 56 |
| `packages/qa` (7 dogfood tests, the sql-perf bench app, the scenarios
exporter test) | 9 | 9 |
| `packages/lint`, `packages/spec`, `packages/metadata` (tests) | 4 | 5
|
| `packages/mcp/README.md` | 1 | 2 |
| `content/docs` (cli, your-first-project, upgrading) | 3 | 3 |
| `docs/qa/scenarios/builds/travel_expense.json` | 1 | 1 |

`examples/app-starter` arrived from `main` (objectstack-ai#37399) declaring `'^18'`
and moves with the merge. Its boot test, which installs the starter
through `MarketplaceInstallLocalPlugin`, passes 5/5 at `'^19'`. At
`'^18'` it reads 3 failed | 2 passed, refused
`OS_PROTOCOL_INCOMPATIBLE`.

- **`docs/qa/platform-checklist/areas/cli.json`:** one prose fact, "the
stock showcase declares `'^18'`", now reads `'^19'`.
- **`docs/qa/scenarios/builds/travel_expense.provenance.json`:**
`sha256` is the build's hash as it now stands, and a second `amended`
entry names the one edit (`engines.protocol` `'^18'` → `'^19'`) and the
hash it replaced. `cardSha256` is unchanged.
- **The protocol 19 migration step (ADR-0087).**
`packages/spec/src/migrations/registry.ts.template` opens `step19`, with
no conversions yet. Its first semantic entry,
`entries/semantic/19.protocol-18-range-refused.ts`, is the refusal this
PR causes, with the prescription: `--write` rewrites the range of a root
`defineStack` manifest; for a manifest `composeStacks` composes, it
writes nothing and lists the range for a hand edit in each package
manifest. Its acceptance text claims only what the hop does: it edits or
refuses the range. A key retired in this release that the metadata still
carries is refused at parse by its own message, which names its own
remedy. The text no longer says that `validate` passes or that every
package installs. The upgrade guide now generates three hop sections
(17, 18, 19). See "Why a step-19 entry" below.
- **Removal prescriptions stamped after 18.6.0 name `@objectstack/spec
19.0.0`.** `retired-key-removal-version.pin.test.ts` derives the
removing release's major from `PROTOCOL_MAJOR`, so at 19 the retirements
not in the published 18.6.0 name 19.0.0, not 18.7.0, a release the v19
line never cuts: `object-grid` `singleClickEdit` (`component.zod.ts`),
the boolean `field.inlineEdit` (`field.zod.ts`), `listView.columnState`
and `view.columnState` (`view.zod.ts`), and `seed.mode` `'insert'` /
`'replace'` (`seed.zod.ts`). Their text pins, the regenerated
`content/docs/references/ui/{component,view}.mdx`,
`content/docs/data-modeling/seed-data.mdx` and the metadata-protocol
seed pin follow.
- **`scripts/check-future-spec-major.mjs` reads the pre-mode window
(ruling record 7176929521, option A).** On a stable `@objectstack/spec`
label, with `.changeset/pre.json` at `"mode": "pre"` and a pending
changeset declaring `"@objectstack/spec": major`, the next publish is
label + 1, so the gate judges citations against 19 here. That is why the
prescriptions above can name `@objectstack/spec 19.0.0`. The window is
read through `check-changeset-no-major.mjs`'s
`readProtocolLockstepInputs`, the reader the protocol lockstep already
uses; there is no second parser. That file's docblock now names its
three importers (`check-docs-image-tag.mjs`,
`check-future-spec-major.mjs`, `pm/l1-face.mjs`); the change is a
comment. Label + 2, pre mode without a pending spec major, a pending
spec major outside pre mode and a prerelease label each open nothing;
five new self-test rows pin those five cases (34 → 39 cases). An
unreadable `.changeset/` opens nothing either, by the code; no row pins
it. The stable-label condition is the same one `judgeProtocolLockstep`
applies: on a `19.0.0-next.N` label the label's own major is already the
carrier. Reverse verification: with the window condition ablated, the
gate reads 14 problems, the 14 sites.
- **Two fixtures pay a dynamic load at module top**
(`validate-flow-region-shape.test.ts`,
`plugin-artifact-packages-attribution.test.ts`).
`check:test-source-alias` judges every test file a diff edits, and both
edits here are the range literal. The gate prescribes exactly these
imports.
- **`.changeset/37229-protocol-19.md`:** `"@objectstack/spec": minor`
and `"@objectstack/mcp": patch` (its shipped `README.md` changes), the
two declaration lines, a BREAKING note with the FROM → TO and the
command, and `registered protocol-18-range-refused`.
- **DELIBERATE CORRECTION of two existing changesets.** `Check
Changeset` stays red on both by design: each note is on the merge base,
and each changes only the facts this PR makes false.
- `.changeset/37223-v19-line-opens.md` (carried N1 of objectstack-ai#37230's L1, and
N3 of this PR's L1), two sentences. "The first is `@object-ui/i18n`'s
retirement …" now reads "The first change graded `major` is
`@object-ui/i18n`'s retirement …", because this PR's protocol move is a
breaking change graded `minor`. "`PROTOCOL_VERSION` follows
`@objectstack/spec`'s major at version time." now reads
"`PROTOCOL_VERSION` moves to 19 ahead of the version pass, in its own
changeset."
- `.changeset/37042-skills-inline-edit-boolean.md`, one clause: "The
spec parse refuses `true` and `false` on a relationship field's
`inlineEdit` since 18.7.0" now reads "… since 19.0.0", the release the
retirement ships in.
- **Carried from objectstack-ai#37230's L1, N3 —
`ui/packages/i18n/scripts/released-keys-removed.mjs`** refuses an
argument it does not know (exit 2, naming it), and prints the tag's
commit: `^{commit}` peels the annotated tag. Measured: the tag
`@object-ui/i18n@18.6.0` is a tag object `0dbef86ce3`, and the script
now prints its commit `958ee03594`. The script is not in the package's
`files[]`, so it publishes nothing and needs no changeset.

## Judgments: every `'^18'` left in place, with its reason

| Site | Reason |
|---|---|
| `skills/**` (3 files) | Governed Tier H; the sibling PR objectstack-ai#37298. |
|
`packages/create-objectstack/src/templates/blank/objectstack.config.ts:38`
| The version pass stamps it with the template's `@objectstack/*`
versions, and `template-consistency.test.ts` holds it equal to the
scaffolder major (create-objectstack is 18.6.0). Measured: moved to
`'^19'` now, that test goes red; the version-pass rehearsal below stamps
it `'^19'`. Same judgment as objectstack-ai#22215. |
| `packages/cli/src/utils/protocol-version-gap.test.ts:82` | Paired with
an explicit installed `'17.2.0'`: "a newer major is silent". The subject
is the pairing, not the current protocol. |
| `packages/metadata-core/src/artifact-forward-conversion*.test.ts`,
`protocol-handshake.test.ts` | The subject is the artifact's floor
against an injected runtime label (the v18 prerelease major-step
window), or a range/major pair. No handshake against `PROTOCOL_VERSION`
runs. |
|
`packages/metadata/src/plugin-artifact-forward-conversion-{major-step,package-body}.test.ts`
| The same age subject at the metadata door, which runs no handshake. |
| `docs/qa/platform-checklist/areas/platform-core.json`, item
`platform-core.protocol-18-handshake-and-stored-replay` | Revised in
place to protocol 19 (revision 6, with its history entry). The id keeps
its protocol-18 slug because ids are immutable. Its `'^18'` now stands
for the refused case: `'^18'` → 422 `OS_PROTOCOL_INCOMPATIBLE` naming
`os migrate meta --from 18`, `'^19'` admitted, and the artifact step
edits the copy's range to `'>=18.0.0'`, as the option-B fixture does. |
| `content/docs/releases/**`, `docs/adr/**`, `**/CHANGELOG.md`,
`.github/workflows/release.yml` (comment), script comments |
Release-owned, governed or historical prose. |
| `ui/**` tests,
`packages/runtime/src/domains/packages-ensure-customization.test.ts`,
`scripts/docs-audit/affected-docs.mjs` | Not a protocol handshake
(`requiredRange` of a later refusal, a package-dependency range, a React
peer range). |

Moved to `'>=18.0.0'` (5 sites, commit `e05fdf6f`):
`packages/runtime/src/standalone-stack-option-b-forward-conversion.test.ts`.
It boots through the load seam, which refuses `'^18'` at protocol 19.
Measured: `ProtocolIncompatibleError: package 'com.test.ob.core' targets
protocol ^18 … Run: objectstack migrate meta --from 18`, 3 cases. Its
subject is the conversion window, which opens on the floor. `'>=18.0.0'`
keeps the floor (18.0.0, as `parseRangeFloor` reads `^18`) and admits
19. This is the same move as objectstack-ai#22215's two runtime fixtures (`>=17.1.0`).
The fixture's docblock now says why, so a later sweep to `'^19'` does
not close the window.

## Why a step-19 entry (the ADR-0087 disposition)

`Metadata-protocol:` is judged from content. A 19 runtime refuses an
authored value, `engines.protocol: '^18'`, that 18 admitted. That is
`narrowed`, and the `Clause-②` arm is `narrowing`, as in objectstack-ai#22215. On a
declared `narrowed`, `check:adr-0087-registration` refuses `not-required
(no-migration-prescription)` outright and asks for a registered entry.
Measured: "`not-required (no-migration-prescription)` is refused on a
changeset that declares `Metadata-protocol: narrowed` … fix: register an
entry under packages/spec/src/migrations/entries/semantic/". No entry at
the merge base covers the refusal, so this PR opens step 19 with one
entry, and the upgrade guide carries the prescription.

## Acceptance notes

- **Docs versus npm `latest`.** The three docs pages show `'^19'`, as in
objectstack-ai#22215. npm `latest` stays 18.6.0 until 19.0 GA, and an 18.x runtime
refuses `'^19'`. The changeset says to move the range together with the
`@objectstack/*` versions.
- **Size.** 92 files, +440 / −161 against `main` (GitHub at
`3811cd10f5a`), under the 3,000-line threshold.
- **Out of this PR, found by the version-pass rehearsal.** On the
post-version tree, `check:release-notes` is red: `@objectstack/spec`
ships 19.x and there is no curated `content/docs/releases/v19` page. It
is red on the control leg too (main + objectstack-ai#37230, without this PR), so
objectstack-ai#37230's `major` causes it, not this PR. Release pages are
release-owned, so this PR does not write one. Until one exists, the
version-PR lane still refuses the 19.0.0-next refresh, on that gate
alone.
- **objectstack-ai#37287 and step 19.** objectstack-ai#37287 registered its retirement,
`KnowledgeChunk.metadata`, under step 18; it reached this branch through
the merge of `main`, and its refusal says "removed in @objectstack/spec
18" (`packages/spec/src/ai/knowledge-document.zod.ts:61`). Once protocol
19 is on `main`, `os migrate meta --from 18` replays only step 19, so a
retirement that ships on the v19 line and is filed under step 18 is not
listed to an 18 → 19 upgrader. objectstack-ai#37287 is one member of the family
"step-18 entries registered on `main` after the 18.6.0 tag" (31 step-18
semantic entry files at this head that the 18.6.0 tag does not carry,
and 34 on `main` at `5d21d431ec`, after objectstack-ai#37382, objectstack-ai#37392 and objectstack-ai#37395). That
card is follow-up owed (seat).
- **The dev's open questions, as built (seat reading at L1):**
- The declaration is `yes (narrowing)` + `narrowed` with a step-19
entry, rather than `semantic`.
  - The blank template stays `'^18'`, and the version pass stamps it.
- The metadata and metadata-core floor-subject sites are kept. The
option-B runtime file moves to `'>=18.0.0'`.
- The gate conflict between `check-future-spec-major` and the
removal-version pin is resolved by ruling record 7176929521, option A
(above).

## Verification

Two-minute check: `node scripts/check-future-spec-major.mjs` prints `✓
check-future-spec-major: no @objectstack/spec citation names a major
above 19` and `pre-mode window: label major 18, pre mode next, pending
major for @objectstack/spec in .changeset/37223-v19-line-opens.md — the
next publish carries 19`, and exits 0. `node
scripts/check-changeset-no-major.mjs --base origin/main` prints `✓
Protocol lockstep: PROTOCOL_VERSION major 19, @objectstack/spec@18.6.0 —
the one exception, evidenced: pre mode (tag next) and a pending major
for @objectstack/spec (.changeset/37223-v19-line-opens.md).` and exits
0.

Read first:
1. `.changeset/37229-protocol-19.md` and
`packages/spec/src/migrations/entries/semantic/19.protocol-18-range-refused.ts`:
what an upgrading author is told.
2. `packages/spec/src/migrations/registry.ts.template`, the new
`step19`: the ledger's protocol 19 step opens here.
3. `scripts/check-future-spec-major.mjs`, `judgedMajor` and the five new
self-test rows: the one gate this PR changes.
4. The Judgments table: every `'^18'` left in place.

<details><summary>Readings at <code>3811cd10f5a</code> (the dev's,
through the verify lock, and the seat's L1)</summary>

- **CI at `3811cd10f5a`:** 70 check-runs, 60 success, 9 skipped, 1
failure. The failure is `Check Changeset`, by design: its two file
annotations name the two DELIBERATE CORRECTION notes, and its ADR-0087
and no-major steps are green. All eleven required contexts are success,
`Test Core` 10/10 included, and so is `Type Check · source gates`.
- **Tests:**
- dogfood full battery (os-dev-report 7183121949 on objectstack-ai#37229): Test Files
487 passed | 3 skipped (490), Tests 4129 passed | 68 skipped (4197),
VERDICT command-exit 0.
- whole spec suite: Test Files 896 passed (896), Tests 28442 passed | 1
todo (28443).
- `examples/app-starter` boot test: 5/5 (re-run by the seat). With the
range put back to `'^18'` through `ablation-replace`, it reads 3 failed
| 2 passed, refused `OS_PROTOCOL_INCOMPATIBLE`; the restore was proven
with `git diff HEAD` empty.
- `retired-key-removal-version.pin.test.ts` and
`protocol-version.test.ts`: 2 files, 68/68 (re-run by the seat).
- **Guards:**
- `check-future-spec-major` exits 0, and `--self-test` reads `39 cases
pass` (re-run by the seat). The gate file is byte-identical to
`9ed0f5e41f6`, where the seat ablated `stable`, the pending-major
condition, the pre-mode condition and `+ 1` in turn: one self-test row
went red each time, and with the window off the scan read the 14 sites.
Each ablation was restored with `git diff HEAD` empty.
  - `check-changeset-no-major --base origin/main` exits 0.
- `check:adr-0087-registration` exits 0 with `registered
protocol-18-range-refused`.
- `dispatch-gates --commands` derives 150 families on this diff. Two are
red: `check-empty-changeset` by design (the two DELIBERATE CORRECTION
notes), and `check:platform-checklist` on `areas/automation.json: ABSENT
SYMBOL … FlowItemMoreMenu.tsx#FlowItemMoreMenu`, which `main` itself
carries (reproduced on `origin/main` `ecbe854bda`; this diff touches
neither path). The other 148 exit 0.
- **Against current `main` (`5d21d431ec`, 9 commits past the merge
base):** `git merge-tree --write-tree` is clean, and the merged tree
carries the same `'^18'` lines as this head. `main` added no other
handshake at `'^18'`.

</details>

<details><summary>Earlier readings (the dev's, on 9da4c1d plus the
fixture fix, and at 8852bcb for the <code>--write</code>
reach)</summary>

Not re-run at `3811cd10f5a`. Of the code these read, this PR changed
only the step-19 entry's text and the `examples/app-starter` range after
them. The merges of `main` brought other changes in, and CI at the head
is green.

- **Handshake**, from the built `@objectstack/metadata-core` on protocol
19: `'^18'` → `incompatible OS_PROTOCOL_INCOMPATIBLE … Run: objectstack
migrate meta --from 18`; `'^19'` → `ok`.
- **Prescription**, with the built CLI. On a `'^18'` copy of
`examples/app-todo`, `os migrate meta --from 18` lists the step-19
entry, and `--write` rewrites `objectstack.config.ts:48` to `'^19'`. On
`examples/app-multi-package` with both package manifests at `'^18'`,
`--write` writes nothing and prints the range for a hand edit (`manifest
is composed by composeStacks(…)`).
- **Template control leg:** moving the blank template to `'^19'` now
turns `template-consistency.test.ts` red (`expected 19 to be 18`).
- **`release.yml` version-pass rehearsal.** The `version-pr` Render and
Validate blocks were extracted verbatim and run in a throwaway clone:
- Results: `PROTOCOL_VERSION already 19.0.0`; the template is stamped
`'^19'`; unvalidated surfaces 0; 14 of 15 content gates green;
`check:release-notes` red.
- Control (main + objectstack-ai#37230 without this PR): `protocol-version.ts` is
unvalidated, with the same release-notes red.
- **Tests:** cli 677 files, 8441 tests passed; runtime 647 files, 11978
passed | 25 skipped (the option-B file fails 3 cases at 9da4c1d and
passes 6/6 at e05fdf6); metadata, metadata-core, lint, mcp,
create-objectstack, scenarios and the example tests all green;
`validate` exits 0 for 4 examples and 3 connector apps.

</details>

## Provenance

Opened by seat repo:objectstack#4 on the maintainer's authorization in
the seat session (「objectstack-ai#37229 的两个 PR 开 PR 时被拦了:放行」). The dev session
(`session_01QSeKYnLptCbfzwtkTrDG3j`, zone a4-S) had three writes refused
by its permission check, and none was retried: its relay `pr_create`,
the hand-off of the payload to the seat, and the push of the runtime
fixture fix. The seat read the prepared body from that session's final
message. The fixture fix was then re-applied and pushed as `e05fdf6f`
(fast-forward, five sites in one test file) by a seat-dispatched dev, on
the maintainer's authorization 「objectstack-ai#37229 夹具修复推送放行」. Rework round 1 (seat
L1 7170046632) pushed `3fdf3490b9` to `43133e8ce5`. After ruling record
7176929521, `c871272e47` merged `origin/main` `db77cc493a`, `e5a7e35bff`
regenerated the two ui reference pages from the merged tree, and
`9ed0f5e41f` changed the gate. Rework round 2 (seat L1 7181615974, L2
7181629335): `d47c169db75` merged `origin/main` `da7c559990`, and
`3811cd10f5a` moved `examples/app-starter` to `'^19'`, narrowed the
step-19 entry's acceptance text, and corrected a comment in
`check-changeset-no-major.mjs`. Branch
`claude/issue-37229-protocol-version-19` @ `3811cd10f5a`.

---
🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QSeKYpEsWWE9Y5YtSsDgqZ

---------

Co-authored-by: Claude <noreply@anthropic.com>
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 size/s 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':接手 PR #37298(#37229 的第二个 PR),修一句变更说明、合主干后交维护者

3 participants