Repository navigation
docs(spec,qa): OS_PROTOCOL_INCOMPATIBLE ledger comment and manifest-install-contract acceptance[1] name when migrateCommand is absent - #34026
Conversation
…eCommand is absent The row comment said the remedy is `objectstack migrate meta --from N` and listed migrateCommand among the details unconditionally. The shipped refusal leaves it out ahead of the runtime and below the migrate-meta support floor (16), and carries targetMajor on every arm. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
…Command to the migrate-meta floor Below the support floor (16) the shipped refusal carries no migrateCommand and names the two remedies in its message; every refusal carries targetMajor. Revision 10 -> 11 with a history row. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
📓 Docs Drift CheckThis PR changes 1 package(s): 18 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 9 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 173 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 82d9b318a2767a9e7c2224e7c85de9919c63321e && git checkout 82d9b318a2767a9e7c2224e7c85de9919c63321e
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin b4eea885058321e56776ab2b690e4f35e29b7a0c 1c403d0d7fb17e10a6c8de34eb48726e00698240 && git checkout -B drift-repro b4eea885058321e56776ab2b690e4f35e29b7a0c && git merge --no-ff 1c403d0d7fb17e10a6c8de34eb48726e00698240
node scripts/docs-audit/affected-docs.mjs --json b4eea885058321e56776ab2b690e4f35e29b7a0c
|
|
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5 Request: review · PR #34026 · area S3 · Fixes #33618 · head dcda950 (green, final) Ordinary ACCEPT read, plus a CONTRACT_REVIEW_TIER record, because Generated by Claude Code |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM Review claim (review-a, S3) · head dcda950 · 2026-11-15T17:07Z |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM Contract reviewServed-tier: PR #34026 (card #33618), net diff against merge base ① Derived judgments
② Semver level
Clause-②: no. Held. The PR body, the changeset and the claim all say ③ Boundary flags
④ Design judgment
Holds:
Tried to break it: a Findings:
No must-fix. Finding 1 does not change the wire, the accept-set or the Implemented-by: VERDICT: PASS |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM Review — PASS (should-fix owed before landing)Head-sha: Contract face: Should-fix (from the record; delta review after the fix)
What holds
Nits (no re-review needed)
Gates: at review time 57 success, 11 skipped, none red, so every check is green. |
…ound without the absolute The remedy is a different body, or for a package ahead of the runtime a runtime upgrade, which is a deployment change, not environment state. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5
|
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5 Request: delta review · PR #34026 · area S3 · Fixes #33618 · head 27ef04d (green, final) The delta is dcda950..27ef04d, the should-fix from 6898184206. One comment block in Generated by Claude Code |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM Contract review — deltaServed-tier: Delta Should-fix 1: fixedThe false sentence ("the remedy is a change to the package, not to the environment") is gone. Its replacement names the runtime upgrade for a package ahead of the runtime, so the passage no longer contradicts the AHEAD sentence lower in the same comment. The 422 ground is now stated as "the same body never succeeds on this runtime", which is the handshake jsdoc's own ground (lines 151 to 157) without the absolute. Each sentence checkedAgainst
Did anything else moveNo. The word-level diff shows exactly the replaced clause plus comment-marker reflow on four following lines. No schema, FindingsNo must-fix. No should-fix.
Prior nits 2 and 3 (6898175107) are outside the delta and stand as recorded. GatesCheck-runs on Implemented-by: VERDICT: PASS |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTjrNnh6b2BkCXFugM Review — PASS (delta)Head-sha: Should-fix 1: fixed. The 422 ground now reads: the same body never succeeds on this runtime; the remedy is a different body, or, for a package ahead of the runtime, a runtime upgrade, which is a deployment change rather than environment state. That agrees with the AHEAD arm's message and with the comment's own later sentence. The delta contract record is comment 6898629363 (PASS, Nits (no re-review needed)
Gates: at review time 57 success, 11 skipped, none red, so every check is green. The PR can land. |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5 席位核对ACCEPT and landing · area S3 · 2026-11-15T17:46Z · head
Ready + auto-merge under the area S3 landing line (maintainer, project thread, 2026-11-15T11:06Z) and the pm-dispatch landing procedure (maintainer, 2026-11-15T15:56Z). Generated by Claude Code |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 43747945979 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5 Queue ejection · area S3 · 2026-11-15T19:13Z · head Queue build 43747945979 failed on Generated by Claude Code |
|
domain:server#5 · zhuangjianguo · session_01QsR2jTEivi2wogPpeo3xd5 Re-arm · area S3 · 2026-11-15T23:13Z · head The run-date.test.ts flake that ejected this PR is fixed on main (#34104, anchor #34081). This head is a clean main merge of Generated by Claude Code |
Requested by Steedos · project thread
Fixes #33618
Clause-②: no
Metadata-protocol: none
维护者速读
OS_PROTOCOL_INCOMPATIBLE那一行的注释,以及测试清单platform-core.manifest-install-contract的 acceptance[1](rev 10 → 11)。两处都改为与已发布的拒绝一致:迁移命令只在迁移下限(16)到运行时主版本之间给出,低于下限或高于运行时都不给。migrate meta --from N,但这两处文字仍写着"总会给迁移命令",照着读的 agent 和 QA 会得出错误预期。*.zod.ts随包发布,所以带一个 patch changeset。回滚即还原本 PR。packages/spec/src/api/error-code-ledger.zod.ts的OS_PROTOCOL_INCOMPATIBLE注释;②docs/qa/platform-checklist/areas/platform-core.json该项 acceptance[1] 与新增 history 行;③ changeset。node scripts/check-platform-checklist.mjs,预期退出码 0 且打印 OK。What changes
packages/spec/src/api/error-code-ledger.zod.ts, the comment on theOS_PROTOCOL_INCOMPATIBLErow. The comment said the remedy isobjectstack migrate meta --from N, and listedmigrateCommandamong theerror.detailsmembers unconditionally. It now states the shipped shape, read fromcheckProtocolCompat(packages/metadata-core/src/protocol-handshake.ts) at base895783a1e8:requiredRange,rangeSource,protocolVersionandtargetMajorare on every refusal.migrateCommandisobjectstack migrate meta --from Nfor a target major from the support floor up to the runtime's. The floor isMIGRATE_META_SUPPORT_FLOOR= 16, which a test holds equal to the spec'sMIGRATION_SUPPORT_FLOOR.migrateCommandis the bareobjectstack migrate metawhen the target major is null.This is a line comment, not a
.describe(), so no generator reads it. The row and the code are unchanged.docs/qa/platform-checklist/areas/platform-core.json, itemplatform-core.manifest-install-contract.migrateCommandto the floor. At or above the floor and at or below the runtime, the refusal carries--from TARGET. Below the floor, it carries none, and the message names a build for this runtime's protocol, or reaching protocol 16 by another path and then--from 16. The clause also says every refusal carriestargetMajor.^(RT-1)probe targets 17, which is above the floor..changeset/33618-protocol-incompatible-ledger-comment.md: a@objectstack/specpatch.src/**/*.zod.tsis in the spec'sfiles[], so the comment ships.Tests
No behaviour changed, so there is no new test and no ablation. Both diffs are text, and os-dev.md does not ablate docs or comments.
node scripts/check-platform-checklist.mjs: exit 0,OK — 16 areas, 429 items.platform-core.jsonat origin/main and at HEAD. Item order is unchanged (47 items). Onlyplatform-core.manifest-install-contractdiffers, and only inacceptance(index 1 alone),revision(10 → 11) andhistory(10 → 11 rows).Acceptance notes
Overlap with qa(checklist): re-point bare-name-one-holder-refusal to a namespace-less holder after the connector narrowing #33931. qa(checklist): re-point bare-name-one-holder-refusal to a namespace-less holder after the connector narrowing #33931 (checklist: platform-core.bare-name-one-holder-refusal acceptance[0] and [3] still drive connector as the one-holder-per-deployment type, but #33431 narrowed connector per namespace and no covered type is left #33860) edited a different item in the same area file,
platform-core.bare-name-one-holder-refusal. Neither path is routed to a merge driver (git check-attr mergeanswersunspecifiedfor both), sogit merge-treegives the textual answer. Before qa(checklist): re-point bare-name-one-holder-refusal to a namespace-less holder after the connector narrowing #33931 merged, both runs exited 0 and printed only the tree id, with no conflicted path:qa(checklist): re-point bare-name-one-holder-refusal to a namespace-less holder after the connector narrowing #33931 then landed on main as de905cc. This branch merged origin/main at 03b4d2d without conflict (head dcda950). A semantic diff against main still shows only
manifest-install-contractchanged: acceptance[1], revision 10 → 11, and one more history row.git merge-tree --write-tree --name-only HEAD origin/mainat a3aa1d2 also exits 0.docs/adr/0087-metadata-protocol-upgrade-contract.mdstill teaches the old shape in three places. These are reported to the skills carrier, not edited here:objectstack migrate meta --from N, D3)".objectstack migrate meta --from 10composes the steps".migrate meta --from 10therefore reaches protocol 15".With the floor at 16, the CLI refuses
--from 10.Verification
All readings are at head
dcda950ef9, after the merge of origin/main03b4d2d1f4. The spec, formula and lint closure was rebuilt under the verify lock first.Derived gate families: 89 derived, 87 exit 0, 2 NOT MEASURED (exit 3), 0 UNRUN
Neither gate reads a source comment or a checklist file. Both are left to CI's Lint and Repo Gates.
spec package, checklist validator, lint
The merge brought no change to either file, so the spec test and typecheck reading at 1ca1a70 holds for these paths. CI's Test Core and TypeScript Type Check rerun them on the head.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QsR2jTEivi2wogPpeo3xd5