Skip to content

skills(objectstack-upgrade): the §3.3 acceptance replay names the last ported hop and can fail - #29751

Merged
os-zhuang merged 4 commits into
mainfrom
claude/project-thread-is4jki
Nov 3, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/project-thread-is4jki

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Requested by Irene · project thread

Fixes #29063

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:objectstack-upgrade §3.3 的验收回放不再从目标主版本起跑(在最高主版本上那是空区间,applied 永远是 [],检查永远过)。改为回放整段移植区间 --from <authored-major> --to <target-major> --json(与 quickstart 第 1 步同一区间),要求 applied: [] 且 JSON 里没有 replayedNothing(fix(cli): os migrate meta --json says when no migration step ran #29045 合入后,没跑任何一步时 --json 会带这个键)。quickstart 第 74 行与文内另三处同一回放的提法改成一致;两条练这项检查的 eval 的期望同步。提示框里举的 field-required-notnull-explicit 已在 conversions registry 撤回,提示框不再点名任何 conversion;报告模板(examples-upgrade.md)的示例行改用 registry 真有的 sharing-rule-access-level-full-to-edit,其 Verified 行改为全区间回放「replay 16 → 18」。
  • 为什么改:按原文执行的 agent 会记录一条从未检查任何东西的「元数据已规范」验收。
  • 风险与回滚:只改技能文本与其 eval;无代码、无门禁变动。回滚即 revert。
  • 先看:SKILL.md L74、L388–411;evals/protocol-major-upgrade.json 第 1、4 条;references/examples-upgrade.md L48、L54。
  • 棘轮:token 棘轮就地付账,无 re-wrap。SKILL.md 删了两处同文件复述(见下),6185 → 6160 tokens,天花板 6188 未动;examples-upgrade.md 1194 → 1189 / 1197。
  • 需要你做的:Tier H,等维护者的字。

What changes

  1. §3.3 Validate (skills/objectstack-upgrade/SKILL.md L397–411). The replay that closes the gap after a green validate is now os migrate meta --from <authored-major> --to <target-major> --json, the whole range the sources were ported through (the --from of §0, the range quickstart step 1 replays), and the criterion is applied must be [] and replayedNothing absent. composeMigrationChain keeps m > fromMajor && m <= toMajor, so a replay from the major below the target would leave out every earlier hop; the whole range is non-empty whenever the crossing has a step and sees every hop. The paragraph that followed, which said --to defaults to one past the installed major so only todos carries the next major's residue, is replaced: it explains that --from <target-major> proves nothing, because --to defaults to the highest major this build carries a step for, so the range is empty (no step runs, applied is [] whatever the metadata holds, and the JSON says so with replayedNothing, whose widestRange is null there because no wider range exists from that --from) or holds only the next major's step. todos stays Layer 2's business, not a failure. --to is in the command listing at L143 already.
  2. Quickstart L74 now reads os migrate meta --from 16 --to 18 --json # \applied` [] and no `replayedNothing` (see §3.3), which is §3.3's command for the quickstart's 16 → 18 crossing (step 1 replays --from 16). The card read L74 as unaffected; --to 18` pins the range so the two lines say the same thing on a build that already carries a later step.
  3. The callout's example (L388–394). field-required-notnull-explicit is withdrawn from packages/spec/src/conversions/registry.ts (its docblock exists to stop it being re-added), and every conversion this build ships is retiredFromLoadPath with its old shape refused at parse, so no migration-chain-only conversion exists on this head. The callout keeps the class and its reason, says this build ships none and a later one can, and names no conversion. The report template's example row (references/examples-upgrade.md L54, surface widened by the seat in 6594782842) named the same withdrawn id; it now shows the step-17 conversion sharing-rule-access-level-full-to-edit at the site shape the chain prints, sharingRules[0].accessLevel 'full' → 'edit' (mapCollection spells array sites by index; the conversion's own fixture is a sharingRules entry). No notnull-explicit mention remains under skills/. The same template's Verified line (L48, surface widened again in 6594814065) said "replay-from-17 applies 0 mechanical changes" under "Chain: 16 → 18", the last-hop form M1 retired; it now says "replay 16 → 18 applies 0 mechanical changes".
  4. Three other mentions of the same replay in the file, so no line still says "from the target major": the §3.5 evidence row ("Only the acceptance replay sees this class."), the failure-mode row for --write ("then replay the ported range to confirm 0 changes") and the row "Replay from the target major still applies changes" → "The acceptance replay still applies changes".
  5. Evals 1 and 4 (evals/protocol-major-upgrade.json) expect os migrate meta --from 16 --to 17 --json (a one-hop crossing, where the ported range is that hop) with applied: [] and no replayedNothing, and say why --from 17 alone checks nothing. Eval 4's must_contain gains replayedNothing and drops field-required-notnull-explicit; its expected_output no longer names a conversion. Eval fixtures are measured, not ratcheted.

The replayedNothing reading is taken from the merged CLI, packages/cli/src/commands/migrate/meta.ts: readReplayedNothing returns null when result.hops.length > 0, else { reason: 'empty-range' | 'inverted-range', widestRange: { from, to, applied, manual } | null }; --json spreads it into the payload only in that case, next to applied, todos and absentTodos. composeMigrationChain keeps the majors m > fromMajor && m <= toMajor, so --from 18 on this build (steps to 17 and 18, CHAIN_TERMINUS_MAJOR 18) composes zero steps.

Token ratchet (paid in place, no re-wrap)

skills/objectstack-upgrade/SKILL.md: 6185 → 6160 tokens, ceiling 6188 (headroom 3 → 28). references/examples-upgrade.md: 1194 → 1189 tokens, ceiling 1197 (headroom 3 → 8), one row replaced by a shorter one and one line reworded in place (+2 bytes), no re-wrap. The ceiling row in scripts/check-skills-token-ratchet.mjs is not touched (second file, out of surface). Two genuine deletions of same-file restatement pay for the added text:

deleted home
§1 bullet "Pending data migrations, when the chain crosses into a major with per-deployment data gates — see below." (2 lines) the §1 subsection "Data migrations are not metadata migrations", directly below, which says what the run prints and what to carry into the report
failure-mode row "validate green from the start, so 'there was nothing to upgrade' … validate green is necessary, not sufficient; see 3.3" (1 line) §3.3's own callout, titled "A green validate does NOT mean the chain has nothing left to do", which the row restated and pointed back to

Every other block is byte-identical to main. Line counts: SKILL.md 482 → 482, examples-upgrade.md unchanged.

Why

Card #29063 (filed from the #28947 dev, PR #29045): when the target is the highest major this build carries a step for, os migrate meta --from <target-major> --json is an empty range, so an agent following §3.3 records a canonical-metadata acceptance that never examined anything. Now that --json carries replayedNothing when no step ran, the skill can name a range that can fail and a key whose presence means the check never ran.

Verification

On head 55e64c9 (2063a6b is the contract-review delta for 6594719416: M1, S1 and the withdrawn-example point; 701f463 and 55e64c9 are the two template lines the seat widened the surface to, L54 and L48):

  • node scripts/check-skills-token-ratchet.mjs: exit 0 (SKILL.md 6160 / 6188, examples-upgrade.md 1189 / 1197), and its --self-test: exit 0.
  • pnpm check:pm-skill-id-lint, @objectstack/spec check:skill-docs, check:skill-frame-sync, check:skill-frame-freshness, check:skill-compatibility, check:skill-identifier-liveness, check-doc-route-spelling --advisory, check:doc-authoring, check:role-word, check:corpus-claim-drift: each exit 0.
  • node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD: exit 0 (four commits).
  • Full derived list on 55e64c9, node scripts/pm/dispatch-gates.mjs --commands → 35 families for the three paths, all run with a 900 s timeout each after pnpm install --frozen-lockfile (exit 0), exit codes recorded before any pipe (record in the project files as gates-55e64c92.txt):
    • 33 exit 0: check-closing-keyword-parity (+ self-test), check-comment-mask-corpus, check-doc-route-spelling --advisory (+ self-test), check-dts-emitted --self-test, check-skills-token-ratchet (+ self-test), the three scripts/ci/* self-tests, @objectstack/lint check:doc-formula-expressions (after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint), @objectstack/spec check:skill-docs, check:agent-test-spelling, check:ci-filter-parity, check:corpus-claim-drift, check:cross-package-test-inputs, check:doc-authoring, check:driver-memory-census, check:dts-closure and check:sourcemap-no-sources-content (both swept the 4 packages that build left in dist), check:gitlink-declared, check:merge-driver, check:nul-bytes, check:pm-governed-merges, check:pm-skill-id-lint, check:refd-timer-probe, check:role-word, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:watch-hint-literal.
    • 2 exit 3 (prerequisite, not a finding): check:dual-build-cjs-loads and check:lean-entry-closure want a full pnpm build of ~72 packages; the diff touches no packages/**, so CI's Build Core is their reading.
    • dispatch-gates --ran: 35 derived famil(ies) accounted for — 33 run, 2 NOT-MEASURED (2 DERIVED from a recorded exit 3), exit 0.

On head 1cb7088 (first head):

  • node scripts/check-skills-token-ratchet.mjs: exit 0 (SKILL.md 6147 / 6188).
  • node scripts/pm/check-skill-id-lint.mjs (with --self-test): exit 0, 108 files clean.
  • node scripts/pm/check-skill-line-ratchet.mjs: exit 0 (its roots do not include skills/**; run because the order named the line ratchet).
  • node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD: exit 0.
  • evals/protocol-major-upgrade.json parses.
Local gates on 1cb7088: 34 derived, 30 run exit 0, 4 NOT MEASURED (`dispatch-gates --ran`)
  • node scripts/pm/dispatch-gates.mjs --commands on this head derived 34 commands for the two paths. All 34 ran with a 900 s timeout each after pnpm install --frozen-lockfile; exit codes were recorded before any pipe.
  • 30 exited 0, including check-skills-token-ratchet (and its self-test), check:pm-skill-id-lint, check:skill-frame-sync, check:skill-identifier-liveness, check:skill-compatibility, @objectstack/spec check:skill-docs, check-comment-mask-corpus and check-doc-route-spelling. @objectstack/lint check:doc-formula-expressions first exited 3 in the fresh tree and exited 0 after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint.
  • 4 exited 3 (prerequisite, not a finding): check:dts-closure, check:dual-build-cjs-loads, check:lean-entry-closure, check:sourcemap-no-sources-content each want a full pnpm build of ~72 packages. The diff touches no packages/**; CI's Build Core is the reading for them.
  • --ran printed: 34 derived famil(ies) accounted for — 30 run, 4 NOT-MEASURED (4 DERIVED from a recorded exit 3), exit 0.
  • Not derived for these paths and not run locally: the type-check lanes, the whole-tree artifact rosters, and the main-only push battery (dogfood, temporal conformance).

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (no names added)
  • 3. No formatter ran; pnpm lint not run locally (docs-only diff; the derived gate families above are what ran). CI's Lint & Repo Gates is the reading.
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (skills docs only, skip-changeset)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English.
  • The Before Submitting list in CONTRIBUTING.md: the gate families derived for these paths ran (above); nothing else on the list applies to a two-file skills diff.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J8VVAoGi31QpTx8NiZpBWm

…ted hop, and reads replayedNothing as a check that never ran

The §3.3 criterion replayed from the target major. At the top migration
major that range is empty: no step runs, `applied` is `[]` whatever the
metadata holds, and the check passes without examining anything. The
replay now runs `--from <target-major − 1> --to <target-major>`, the hop
the sources were ported through, and requires `applied: []` with no
`replayedNothing` in the JSON — the key `os migrate meta --json` carries
when no step ran. The quickstart acceptance line and the three other
mentions of the same replay say the same thing, and the two evals that
exercise the check expect the ported hop and the absent key.

Token ratchet paid in place, no re-wrap: the §1 bullet restating the
"Data migrations are not metadata migrations" section below it, and the
failure-mode row restating §3.3's own callout, are deleted.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAoGi31QpTx8NiZpBWm
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 3, 2026
@huangyiirene huangyiirene self-assigned this Nov 3, 2026
@huangyiirene
huangyiirene self-requested a review November 3, 2026 03:18
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 3, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head 1cb7088 · 2026-11-03T03:18Z

The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1cb70884c0b3cf64fc43c58380f430ee04109664
Local-runs: probe — on a detached worktree of the head (merge-base with origin/main 87956dc; origin/main at c76c0e0 when fetched; neither skills/objectstack-upgrade/** nor packages/cli/src/commands/migrate/** moved on main since the merge-base): node scripts/check-skills-token-ratchet.mjs on the head (exit 0: SKILL.md 6147 / 6188, examples-upgrade.md 1194 / 1197, the eval fixture 1404 measured not ratcheted) and on a second detached worktree at the merge-base (exit 0: SKILL.md 6185 / 6188) plus its --self-test (exit 0); node scripts/pm/check-skill-id-lint.mjs (exit 0, 108 files clean); node scripts/pm/check-governed-merges.mjs --branch HEAD (exit 3, GOVERNED, Tier H, both paths hit skills/**, 32 changed lines); node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD (exit 0, one commit, no model identifier in the trailer pair); node -e require(...) over evals/protocol-major-upgrade.json on head and merge-base (parses; every must_contain string of every eval appears in its own expected_output on both trees); git grep over the head's skills/objectstack-upgrade/** for the retired wordings; gh api REST reads of the PR, its comments, card #29063 and its comments, and the head's check-runs. No evals runner exists in the repo (the ratchet classes the file as an eval fixture; the must_contain format has no local executor), so the evals are judged on parse and internal coherence only. Both worktrees were removed after the runs and the main checkout was not touched.
Scope: skills/objectstack-upgrade/SKILL.md (the governed hit: quickstart L74, the §3.3 callout L395–410, the §3.5 evidence row, two failure-mode rows, and the two deleted restatements) and skills/objectstack-upgrade/evals/protocol-major-upgrade.json (evals 1 and 4) + read, not reviewed: packages/cli/src/commands/migrate/meta.ts on the head (CHAIN_TERMINUS_MAJOR, readReplayedNothing, printReplayedNothing, the --to flag and the --json payload), packages/spec/src/migrations/registry.ts.template (MIGRATIONS_BY_MAJOR, MIGRATION_MAJORS, MIGRATION_SUPPORT_FLOOR), packages/spec/src/migrations/chain.ts (composeMigrationChain, MigrationFloorError), packages/spec/src/kernel/protocol-version.ts (PROTOCOL_VERSION), packages/spec/src/conversions/registry.ts (the conversion ids and the withdrawn-conversion docblock), packages/cli/test/migrate-meta-json-replayed-nothing.test.ts, scripts/check-skills-token-ratchet.mjs, card #29063 body, comments 6570929510 (lane pre-read), 6593446408 (triage) and 6594341655 (claim), PR #29751 body and its one comment 6594573567 (the seat's review claim on this head), the dev report (read as input)

Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub (REST reads only; nothing written, pushed or commented), fed the card body and comments, the PR body, the net diff against the merge-base, the head's check-runs, contract-review.md, review-checklist.md and lanes/skills.md. The dev report was read as input, not as conclusions; every count and every claim about the CLI below is this review's own reading of the head tree. No environment variable value is printed anywhere in this record.

① Derived judgments

  1. File surface. One commit (1cb7088, author Claude, PR author objectstack-fleet[bot], head repo = base repo, draft, base main, trailers Co-Authored-By: Claude + Claude-Session:, no model identifier). git diff --numstat 87956dcc 1cb70884, the PR body and the claim's file surface (6594341655: §3.3's check, the quickstart line, the evals where they exercise the check, stop on breach) agree on exactly two paths: skills/objectstack-upgrade/SKILL.md +13/−13 (482 → 481 lines) and skills/objectstack-upgrade/evals/protocol-major-upgrade.json +3/−3. The §3.5 row and the two failure-mode rows are outside the claim's literal surface (see ④ for whether that is overreach). Nothing else is touched. Correct.
  2. The CLI facts the new text asserts, read on the head. CHAIN_TERMINUS_MAJOR = Math.max(PROTOCOL_MAJOR, ...MIGRATION_MAJORS); PROTOCOL_VERSION is '18.0.0'; MIGRATIONS_BY_MAJOR holds exactly 17 and 18, so the terminus is 18. --to is Flags.integer with no cap and defaults to CHAIN_TERMINUS_MAJOR (meta.ts L1190); composeMigrationChain keeps m > fromMajor && m <= toMajor, so --from 18 composes zero steps, --from 17 --to 18 composes one, --from 16 --to 18 two, and a --to above the terminus (e.g. 19) simply runs every step up to 18 and reports to: 19 — no error, no empty range. readReplayedNothing returns null when hops.length > 0, else { reason: 'empty-range' | 'inverted-range', widestRange }, and the --json payload spreads replayedNothing only in that case, beside applied, todos, absentTodos. So the new criterion "applied must be [] and replayedNothing absent" is exactly "at least one step ran and it rewrote nothing". Correct, and the quickstart's --from 17 --to 18 --json is a non-empty range on this build. Correct.
  3. widestRange. Non-null only when toMajor < CHAIN_TERMINUS_MAJOR && fromMajor < CHAIN_TERMINUS_MAJOR (meta.ts L349–352; the e2e test pins --from T → { reason: 'empty-range', widestRange: null }). The new §3.3 paragraph describes the case --from <target-major> with the default --to, i.e. from = to = terminus — and says the JSON "says so with replayedNothing, whose widestRange names the range that would run". In that case widestRange is null: there is no wider range from that --from, which is the human face's "no wider range is available; check --from". The clause is false for the very command it explains. It does not affect the acceptance criterion (absence of the key), so S1, not M.
  4. The multi-major crossing. §3.3's callout (unchanged lines) says the class of conversion validate cannot see exists and names the 16 → 17 crossing as holding one; the new criterion then says "the criterion that closes the gap is a replay of the last hop you ported", and the quickstart is itself a 16 → 18 flow (step 1 replays --from 16, acceptance replays --from 17 --to 18). By composeMigrationChain, --from 17 --to 18 excludes step 17, so for the skill's own quickstart the acceptance replay is blind to exactly the hop the callout names as the reason the replay exists. The dev saw this (dev observation) and shipped the last-hop form, which the card body also proposed ("replay from the previous major ... as line 74 does"). The old --from <target-major> form was blind to every hop, so the defect is inherited, but this PR's wording is what newly scopes the promise to "the last hop" and newly pairs L74's --from 17 --to 18 with a --from 16 step 1 — the reader is handed a 16 → 18 recipe whose acceptance step cannot fail on a 16 → 17 chain-only residue while the paragraph above tells them that residue is why they are running it. A --from <authored-major> --to <target-major> range (the one step 1 replayed) is non-empty whenever the crossing has a step, catches every hop, and costs no extra words. Teaching defect in the lines this PR rewrites: M1.
  5. The three extra rewordings (§3.5 row "Only the acceptance replay sees this class."; failure-mode rows "then replay the ported hop to confirm 0 changes" and "The acceptance replay still applies changes"). On the merge-base each said "the replay from the target major". After this PR §3.3 says that replay proves nothing, so a row still prescribing it would contradict the rule it points to in the same file. git grep over the head's skills/objectstack-upgrade/** finds no surviving "target major" replay wording (the only "TARGET major" left is the front-matter compatibility: line, which is about the installed packages, not the replay). Same file, same rule, no new content: necessary consistency, not overreach. Accepted.
  6. Token ratchet. Measured: 6185 → 6147 tokens, ceiling 6188 untouched (the ratchet script is not in the diff), headroom 3 → 41; the ratchet exits 0 on both trees and its self-test passes. Paid line by line, no re-wrap: every hunk is a changed sentence or a deleted line, and the wrapped neighbours are byte-identical. Correct.
  7. Cut 1: the §1 bullet "Pending data migrations, when the chain crosses into a major with per-deployment data gates — see below." Its content (the run prints the pending per-deployment gates when the chain crosses into such a major) survives in the §1 subsection "Data migrations are not metadata migrations" directly below, which says the run "ends by naming each one, what staying un-run costs, and that --apply is the only writing mode" and that every printed gate goes into the report as pending. The bullet carried nothing the subsection lacks. Survives.
  8. Cut 2: the failure-mode row "validate green from the start, so 'there was nothing to upgrade' | A migration-chain-only conversion ... | Replay the chain anyway. validate green is necessary, not sufficient; see 3.3." Its content survives in §3.3's callout, which carries the class, the example, "necessary and not sufficient" and the replay command. What is lost is only the index entry: a reader scanning the symptom table for this symptom no longer finds a pointer to §3.3. §3.3 is on the acceptance path every reader of the skill walks (quickstart step 3 points at it), so the rule has a home. Survives; noted as the one cut with a real, small cost.
  9. Evals. The file parses on both trees; evals 1 and 4 now expect os migrate meta --from 16 --to 17 --json, applied: [] and replayedNothing absent, and say --from 17 alone names an empty range; eval 4's must_contain gains replayedNothing, which its expected_output contains. Both evals are 16 → 17 crossings, so the last-hop and whole-range forms coincide there and M1 does not change them. Each eval's must_contain strings appear in its own expected_output (head and base). Not touched by this PR but seen: eval 2's must_not_contain is ["??"] while its expected_output contains ?? — a fixture that an ideal answer would fail; pre-existing, outside the claim's surface, follow-up (③).
  10. A stale premise under the callout, not introduced here. packages/spec/src/conversions/registry.ts L1541 says field-required-notnull-explicit was deliberately WITHDRAWN (maintainer ruling, decision batch 85; the registry carries no such conversion and the docblock exists to stop it being re-added), and step 17's conversionIds are the three alias renames plus the sharing-rule full → edit, all retiredFromLoadPath: true and tombstoned (validate refuses them). So on this head the 16 → 17 crossing has no migration-chain-only conversion that validate passes, and §3.3's example (unchanged lines) and eval 4's must_contain name a conversion that does not exist. This PR neither adds nor removes that claim; it is outside the claim's surface and belongs on a follow-up card for the skills lane (③). It also means M1's practical exposure today is nil — the fix is owed to the teaching, not to a live residue class.
  11. PR body against the head. First content line Fixes #29063: this PR is the whole of the card's "Wanted" (a range that can fail, replayedNothing absent, L74 and §3.3 agreeing), so Fixes is the right verb and the PR-body guards check is success; the only other numbers in the body are cli: os migrate meta --json answers an empty (--from 18) or inverted (--from 19) range like a clean replay; the "replayed nothing" warning exists only on the human path #28947, fix(cli): os migrate meta --json says when no migration step ran #29045 and os migrate meta --from 17 — the invocation the spec 17 tombstones prescribe — reports Nothing to migrate for the conversions it is meant to list, because --to defaults to the current major and the conversions are toMajor: 18 #17134 as links, none beside a closing keyword. Clause-②: no and Metadata-protocol: none are right (no published package, no spec). The body's line numbers (L74, L397–411), the 6185 → 6147 / 6188 figures, 482 → 481, the two-path surface, the CLI description of readReplayedNothing and composeMigrationChain, and "every other block byte-identical to main" all reproduce. skip-changeset is right for a skills-docs diff and Check Changeset is success. Correct.
  12. Governance. check-governed-merges.mjs --branch HEAD: 2 of 2 paths hit skills/**, Tier H, 32 changed lines, exit 3 as designed; the PR is a draft, auto_merge null, labels documentation, size/s, skip-changeset. Landing is the maintainer's hand or an authorized approval; this record does not lift it.

② Semver level

None. No published package, no packages/spec/src/**, no TypeScript: the published skills catalog (skills/**) and one eval fixture. skip-changeset is the right declaration and Check Changeset is success on the head.

③ Boundary flags

  • Dev open_questions: none in the report. The dev's own observation (a 2+ major crossing's last-hop replay cannot see an earlier hop's chain-only conversion) is answered as M1: the fix is in the lines this PR rewrites and costs no tokens.
  • Follow-up owed, not this PR's: §3.3's example conversion field-required-notnull-explicit was withdrawn from the conversions registry and no chain-only conversion remains on the 16 → 17 step; the callout's unchanged example sentence and eval 4's must_contain name a conversion the CLI does not carry. New card for domain:skills, reference ①.10. If the class is now empty on this build, the callout should say which conversion it is guarding against or teach the class without a live example.
  • Follow-up owed, not this PR's: eval 2's must_not_contain: ["??"] contradicts its own expected_output (①.9).
  • PR assignee and requested reviewer are both huangyiirene (the maintainer); cr26's "no assignee or reviewer, per the contract" does not hold here. Noted for the seat; no judgment made on it.
  • Independence: PR author objectstack-fleet[bot], commit author Claude; no off-relay author note is owed. The PR thread carries the seat's Contract-review-claim: for this head (6594573567) and no other record.
  • Tier H: this record does not lift the landing; the maintainer's hand or an authorized approval does. A FAIL record on a draft with no auto-merge armed owes no disarm.

④ Design judgment

Per hits file, against the card's scenario (an agent following §3.3 records a canonical-metadata acceptance that never examined anything; after PR #29045 the JSON names a run that replayed nothing):

  • skills/objectstack-upgrade/SKILL.md, §3.3: requiring replayedNothing absent is the right second half — it is the CLI's own statement that a step ran, read from one function both faces share, so the skill no longer teaches a reader to infer a check happened from applied: []. The first half, which range to replay, is where the design falls short: "the last hop you ported" is correct for a one-major crossing and silently narrower than the crossing for every other one, while the text around it promises the replay "closes the gap" the callout describes. The card suggested the last-hop form and the dev followed it; the card also said "and/or" and asked for "a range that can fail", which --from <authored-major> --to <target-major> satisfies for every crossing. The quickstart L74 --from 17 --to 18 pairs correctly with §3.3 as written, and would pair just as correctly, as --from 16 --to 18 --json, with the whole-range form, so the "two lines agree" requirement holds either way. The explanatory paragraph is right on --to's default, on the empty range and on todos; wrong on widestRange for the command it explains (①.3). Holds except M1 and S1.
  • skills/objectstack-upgrade/SKILL.md, §3.5 row and two failure-mode rows: the right minimal rewording; each now names the acceptance replay abstractly instead of a specific range, so they follow §3.3 wherever it lands (under M1, "the ported hop" in the --write row becomes "the ported range" — one word, no token cost). Holds.
  • skills/objectstack-upgrade/SKILL.md, the two cuts: both are same-file restatements with a surviving home (①.7, ①.8). The lane's test — a cut whose content has no other home loses a rule — is met for both. Holds.
  • skills/objectstack-upgrade/evals/protocol-major-upgrade.json: evals 1 and 4 are the two that exercise the check, the new expected_output says what §3.3 says and says why the old command was vacuous, and the must_contain addition is a string a correct answer must carry. Holds; untouched by M1 (16 → 17 crossings).

Must-fix: M1 — in §3.3 (L397–399 of the head) replace "a replay of the last hop you ported" / os migrate meta --from <target-major − 1> --to <target-major> --json with "a replay of the range you ported" / os migrate meta --from <authored-major> --to <target-major> --json (the --from established in §0, the same range quickstart step 1 replays), and change L74 to os migrate meta --from 16 --to 18 --json # \applied` [] and no `replayedNothing` (see §3.3); in the --writefailure-mode row change "replay the ported hop" to "replay the ported range". Reason:composeMigrationChainkeepsm > fromMajor, so the last-hop replay excludes every earlier step, and the skill's own quickstart (16 → 18) then cannot see the 16 → 17 class the callout names as the replay's purpose. Evals 1 and 4 are unchanged by this (one-hop crossings). Token cost: net zero to a few tokens; headroom is 41. Should-fix: S1 — in the same §3.3 paragraph, the clause "whose widestRangenames the range that would run" is false for--from with the default--to(from = to = terminus ⇒widestRange: null, meta.ts L349–352, pinned by migrate-meta-json-replayed-nothing.test.ts); either drop the clause or say "widestRangeisnullthere: no wider range exists from that--from`" — the key's presence is the criterion, not its body.

Check-runs at record time (2026-11-03T03:30Z): 46 check-runs on 1cb7088, 28 success, 18 skipped, 0 failure, 0 in progress on the second read; the first read three minutes earlier had 26 success and 1 in progress (Test Core 2/8), which completed success, with no non-success completion at either read. Success: Lint & Repo Gates, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · ESLint, Lint · scoped · tooling self-tests, Lint · scoped · slot lookup & corpus, Lint · scoped · query-options erasure, TypeScript Type Check, Type Check · workspace / source gates / debt ledger / consumer gates, Build Core, Governed Surface Queue Guard, Dogfood Regression Gate, Test UI, Test Core (1/8 and 2/8), Plan Test Core shards, Live E2E UI, PR-body guards, Check Changeset, Check PR Size, Auto Label, filter. Skipped by path filter or opt-in: Build Docs, Build UI Deps, Build & E2E UI, Lint UI, Type Check UI, UI Published Artifacts, Dogfood Verify CLI, Temporal Conformance, Schedule gate, 18.x upgrade harness, Packed-tarball smoke, and the matrix-templated placeholder rows for Test UI and the Dogfood shards plus the duplicate Check Changeset / Check PR Size / Auto Label rows from a second workflow trigger. Every check-run on the head is complete; the full-battery test lanes ran on a diff that touches no package source and came back green. mergeable_state unknown at read time, draft, auto_merge null, labels documentation, size/s, skip-changeset; Tier H (skills/**), landing by the maintainer's hand or an authorized approval, not by this record.

Implemented-by: claude/project-thread-is4jki
Reviewed-by: session_01J8VVAnMUWA9rufXzFaEh4J

VERDICT: FAIL


Generated by Claude Code

…orted range, and the callout invents no conversion

Contract-review delta. The replay from the major below the target left
out every earlier hop (`composeMigrationChain` keeps `m > fromMajor`),
so the quickstart's own 16 → 18 crossing could not see a 16 → 17
chain-only residue. §3.3 and the quickstart now replay
`--from <authored-major> --to <target-major>`, the range step 1 replayed,
and the `--write` failure-mode row says "the ported range".

`widestRange` is `null` when `--from` is the terminus, so the paragraph
says that instead of promising a range that would run.

The callout's example, `field-required-notnull-explicit`, is withdrawn
from the conversions registry and no conversion this build ships is of
the chain-only class; the callout now says so and teaches the class
without a live example, and eval 4 no longer requires the name.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAoGi31QpTx8NiZpBWm
…a conversion the registry carries

The mechanical-table example in the report template named the withdrawn
`field-required-notnull-explicit`. It now shows the step-17 conversion
`sharing-rule-access-level-full-to-edit` at the site shape the chain
prints (`sharingRules[0].accessLevel`, `'full'` → `'edit'`).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAoGi31QpTx8NiZpBWm
…s the full-range replay

The template's acceptance line said "replay-from-17" under a 16 → 18
chain, the last-hop form the acceptance criterion no longer uses. It now
reads "replay 16 → 18 applies 0 mechanical changes", the range the
chain was ported through.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J8VVAoGi31QpTx8NiZpBWm
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract-review-claim: session_01J8VVAnMUWA9rufXzFaEh4J · head 55e64c9 · 2026-11-03T03:48Z

The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent (the seat session is not at that tier).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 55e64c920daf79f50c41873e1cd237a4dcd7ac2c
Local-runs: probe — delta review on a detached worktree of the head (merge-base with origin/main 87956dc, unchanged since cr37; origin/main moved c76c0e0 → 3eeb81d and the one commit on the paths cr37 read, a5fcd06, touches packages/spec/src/conversions/refused-shapes.ts and two step-18 refused-shape detectors only — not meta.ts, not the conversion registry, not MIGRATIONS_BY_MAJOR, not protocol-version.ts, and nothing under skills/objectstack-upgrade/**): node scripts/check-skills-token-ratchet.mjs on the head (exit 0: SKILL.md 6160 / 6188, examples-upgrade.md 1189 / 1197, the eval fixture 1401 measured not ratcheted) and its --self-test (exit 0, 97 cases); the same ratchet on two further detached worktrees at 1cb7088 (6147 / 6188, 1194 / 1197) and at the merge-base 87956dc (6185 / 6188, 1194 / 1197); node scripts/pm/check-skill-id-lint.mjs (exit 0, 108 files clean); node scripts/check-skill-identifier-liveness.mjs --self-test and the gate itself (both exit 0: Leg 1 486 citations over 71 published files, 0 ledgered exemptions; Leg 2 8 exhaustive sections, 0 gaps); node scripts/pm/check-governed-merges.mjs --branch HEAD (exit 3, GOVERNED, Tier H, 3 of 3 paths hit skills/**, 44 changed lines); node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD (exit 0, four commits, no model identifier in the trailer pair); node -e require(...) over evals/protocol-major-upgrade.json on the head (parses; every must_contain string of every eval appears in its own expected_output); LC_ALL=C awk byte lengths of examples-upgrade.md L48 at both heads; git grep over the head's skills/** for the retired wordings and the withdrawn id; gh api REST reads of the PR, its commits and comments, the two widening comments on card #29063, the head's check-runs and combined status; the dev's gate record read from /mnt/project-files/pr-29063/gates-55e64c92.txt as input. All three worktrees were removed after the runs and the main checkout was not touched.
Scope: skills/objectstack-upgrade/SKILL.md (the governed hit: quickstart L74, the §3.3 callout L389–410, the --write failure-mode row L464), skills/objectstack-upgrade/evals/protocol-major-upgrade.json (eval 4) and skills/objectstack-upgrade/references/examples-upgrade.md (L48 and L54, the two lines the seat widened the surface to) + read, not reviewed: packages/cli/src/commands/migrate/meta.ts on the head (readReplayedNothing L346–362, the widestRange docblock L307–311, printReplayedNothing L373–395), packages/spec/src/conversions/registry.ts (sharingRuleAccessLevelFullToEdit L599–640 and the WITHDRAWN docblock L1541), packages/spec/src/conversions/walk.ts (mapCollection L491–499), packages/spec/src/migrations/registry.ts.template (step17 L100–, MIGRATIONS_BY_MAJOR L3576–3577), scripts/check-skills-token-ratchet.mjs, scripts/check-dual-build-cjs-loads.mjs and scripts/check-lean-entry-closure.mjs (what the two NOT-MEASURED gates read), .claude/skills/pm-dispatch/references/lanes/skills.md L20, card #29063 comments 6594782842 and 6594814065 (the two widenings), PR #29751 body as patched by the seat and its three comments (6594573567 claim on 1cb7088, 6594719416 this reviewer's cr37, 6594953829 claim on this head), the dev's gate record (read as input)

Reviewer: an isolated contract reviewer at CONTRACT_REVIEW_TIER, read-only on GitHub (REST reads only; nothing written, pushed or commented). This is a DELTA record: it judges 1cb7088 → 55e64c9 (three commits: 2063a6b the fixes for cr37's M1, S1 and the withdrawn-example point; 701f463 and 55e64c9 the two template lines the seat widened the surface to) and carries forward the full review of 1cb7088 (comment 6594719416, FAIL), whose judgments ①.1–2, ①.5–9, ①.11–12, ② and the ③ items not named below are unchanged by this delta; cr37's M1, S1 and the withdrawn-id follow-up are re-judged here. The dev report and the dev's gate record were read as input, not as conclusions; every count and every claim about the CLI below is this review's own reading of the head tree. No environment variable value is printed anywhere in this record.

① Derived judgments

  1. Delta surface. git diff --numstat 1cb70884 55e64c92 is exactly three files: skills/objectstack-upgrade/SKILL.md +11/−11 (three hunks: L74; L392–409 inside the §3.3 callout; L464 the --write row), skills/objectstack-upgrade/evals/protocol-major-upgrade.json +2/−2 (eval 4's expected_output and must_contain), skills/objectstack-upgrade/references/examples-upgrade.md +2/−2 (L48 and L54, one hunk, the five lines between them context-identical). Against the merge-base the PR is now +17/−17, +3/−3, +2/−2 over the same three paths; the REST listing agrees (changed_files 3, +22/−22). Each commit's parent is the previous head (87956dc → 1cb7088 → 2063a6b → 701f463 → 55e64c9). Every hunk is one of: cr37's M1 (L74, L398, L401, L464), cr37's S1 (L408–409), cr37's ③ withdrawn-id point (L392–394, L396, eval 4), widening 1 (examples L54), widening 2 (examples L48). Nothing outside the fixes and the two widenings.
  2. M1 closed. §3.3 L398 now reads "the criterion that closes the gap is a replay of the whole range you ported:" and L401 os migrate meta --from <authored-major> --to <target-major> --json; L74 reads os migrate meta --from 16 --to 18 --json # \applied` [] and no `replayedNothing` (see §3.3), which is §3.3's command for the quickstart's own 16 → 18 crossing (step 1 replays --from 16); L464 reads "then replay the ported range to confirm 0 changes". By composeMigrationChain (m > fromMajor && m <= toMajor) --from 16 --to 18composes steps 17 and 18, so the acceptance replay now sees every hop of the quickstart's crossing including the 16 → 17 hop the callout names as its purpose.git grepover the head'sskills/objectstack-upgrade/**fortarget-major − 1, from 17 --to 18, replay-from-17, last hop, ported hop, from the target majorand finds only L401 (the new command), L405 (the "--from proves nothing" explanation, which names the vacuous form in order to retire it) and the evals' "replay the ported hop,os migrate meta --from 16 --to 17 --json" (evals 1 and 4). Both evals are one-hop 16 → 17 crossings (eval 1's prompt: engines: { protocol: '^16' }→ v17; eval 4's: "bumped @objectstack/spec 16 → 17"), so there the ported hop is the whole range and--from 16 --to 17misses no step; it is not a last-hop form. No other skill file names a 17 → 18 replay (the only--from 1xoutside this skill isskills/objectstack-data/rules/indexing.mdL31,--from 16`, unchanged). Closed.
  3. S1 closed. L408–409 now read "replayedNothing (its widestRange is null there: no wider range exists from that --from)". On the head readReplayedNothing returns { reason, widestRange: null } when toMajor >= CHAIN_TERMINUS_MAJOR || fromMajor >= CHAIN_TERMINUS_MAJOR (meta.ts L349–351), and --from <target-major> with the default --to is from = to = terminus, so the new clause is true for the command it explains; the widestRange docblock (L307–309) and the human face (L375–378, "no wider range is available; check --from") say the same thing. Closed.
  4. The withdrawn id. grep -rn notnull-explicit skills/ on the head returns nothing: §3.3 L392–394 now say "This build ships none (every conversion it carries is tombstoned, so the parse refuses the old shape too), but a later one can, and the chain, not the parse, is what knows", L396 "only such a shape" replaces "only that shape", eval 4's expected_output says "(this build ships none, but the chain, not the parse, is the authority)" and its must_contain drops the id, examples L54 names a different conversion (①.5). The claim "every conversion it carries is tombstoned" is true on the head: step 17's conversionIds are the three alias renames plus sharing-rule-access-level-full-to-edit, each retiredFromLoadPath: true (registry.ts L602 for the sharing-rule one). The remaining field-required-notnull-explicit mentions in the repo are the registry's own WITHDRAWN docblock (L1541), its census, CHANGELOGs, a CLI e2e test and two driver-sql files — none under skills/** and none in this PR's surface. Liveness: check-skill-identifier-liveness (self-test and gate) exits 0 on the head; a hand cross-check of every hyphenated identifier the three files name against id: '...' in the conversion registry finds exactly two conversion ids, connector-sync-keys-removed (eval 3, pre-existing) and sharing-rule-access-level-full-to-edit (examples L54), both live. cr37's ③ follow-up on the withdrawn id is closed by this head rather than by a new card; the seat's widening (6594782842) made it this PR's surface.
  5. Widening 1, examples-upgrade.md L54. The row now reads | \sharingRules[0].accessLevel` | `'full'` → `'edit'` | `sharing-rule-access-level-full-to-edit` |. The registry carries sharingRuleAccessLevelFullToEditwithid: 'sharing-rule-access-level-full-to-edit', toMajor: 17, surface: 'sharingRule.accessLevel', applyviamapCollection(stack, 'sharingRules', …)emitting{ from: 'full', to: 'edit', path: `${path}.accessLevel` }, and mapCollection(walk.ts L499) spells the item path${key}[${i}], so the chain prints exactly sharingRules[0].accessLevel: full → editfor the first rule; the conversion's own fixture is a singlesharingRulesentry goingaccessLevel: 'full'→'edit'. toMajor: 17` sits inside the template's "Chain: 16 → 18" (L47), so the example's step and major match the registry. The widening comment's surface was "the line that names the withdrawn conversion only"; the hunk is that line only. Correct.
  6. Widening 2, examples-upgrade.md L48. Old: "Verified: os validate green · tsc --noEmit green · replay-from-17 applies 0 mechanical changes" (104 bytes). New: "Verified: os validate green · tsc --noEmit green · replay 16 → 18 applies 0 mechanical changes" (106 bytes, the "+2 bytes" the PR body states). It sits under "Chain: 16 → 18" at L47 and now names the same range L74 and §3.3 prescribe. L47 and L49–53 are byte-identical to 1cb7088 (the hunk's context lines); no neighbouring line touched. Correct.
  7. Ratchet. Measured with the repo's own script: SKILL.md 6185 (merge-base) → 6147 (1cb7088) → 6160 (head), ceiling 6188, headroom 28; examples-upgrade.md 1194 → 1194 → 1189, ceiling 1197, headroom 8; both files exit 0 on all three trees and the self-test passes (97 cases). The ceiling rows are untouched (the ratchet script is not in the diff). Paid line by line: every hunk is a changed sentence or a replaced row, line counts are unchanged (SKILL.md 482 at the merge-base, at 1cb7088 and at the head — git diff --numstat is 13/13 and 11/11, so cr37's "482 → 481" was a miscount on cr37's part and the PR body's "482 → 482" is the measured figure; examples-upgrade.md 119 throughout). The one place where unchanged words crossed a line break is inside the edited §3.3 paragraph, L408–410: the new parenthetical is longer than the clause it replaces, so "or it holds only the next major's step. todos is semantic residue, Layer 2's business, not a failure." reflows across the following two lines of the same paragraph, three lines to three lines. That is the edited sentence's own paragraph settling, not a re-wrap of untouched text to raise lines; no line was gained and no neighbouring paragraph moved. L392–394 is likewise a three-line sentence replaced by a three-line sentence. No re-wrap (lanes/skills.md L20 「棘轮逐行付账,⛔ re-wrap 筹行」 holds).
  8. Evals. The file parses on the head; five evals; every must_contain string of every eval appears in its own expected_output; eval 4's must_contain is now ["applied", "replayedNothing", "--stored", "--yes", "applyConversionsToStoredItem"]. Eval 2's must_not_contain: ["??"] still contradicts its own expected_output — unchanged by this delta, pre-existing, carried forward as the one open ③ follow-up.
  9. PR body against the head. The 维护者速读 and "What changes" items 1–5 reproduce on the head: L74's text, L397–411 for §3.3 (command at L401, explanation L405–410), the callout L388–394 (heading L387, body L389–394), widestRange null and why, "replay the ported range", "The acceptance replay still applies changes" (L465), eval 4's changes, examples L54 and L48 as quoted, "No notnull-explicit mention remains under skills/", mapCollection spelling array sites by index, --to already listed at L143 (os migrate meta --from 16 --to 17). The ratchet figures (6185 → 6160 / 6188, headroom 3 → 28; 1194 → 1189 / 1197, headroom 3 → 8; "+2 bytes"; SKILL.md 482 → 482) all match this record's measurements. The Verification section names the three delta commits and their roles correctly; "four commits" matches the REST listing and the trailers gate. The gate record gates-55e64c92.txt has 35 lines, 33 exit 0 and 2 exit 3 (check:dual-build-cjs-loads, check:lean-entry-closure), as the body says. Fixes #29063, Clause-②: no, Metadata-protocol: none, skip-changeset stand (①.11 of cr37). Correct.
  10. The two NOT-MEASURED gates. scripts/check-dual-build-cjs-loads.mjs reads packages/**/package.json and the emitted dist/**/*.cjs (its own header L52, L152–156) and exits 3 without a dist/; scripts/check-lean-entry-closure.mjs reads the closure packages it lists at L156–162 (packages/objectql/**, packages/spec/**, packages/core/**, …) and the same dist/ precondition (L97). Neither reads skills/**; this diff touches no packages/** path, so neither gate's verdict can change on it, and both run inside Build Core, which is success on this head. Prerequisite, not a finding, as the body says.
  11. Local re-runs of the representative subset (Local-runs): ratchet + self-test exit 0, id-lint exit 0 (108 files), liveness self-test + gate exit 0, governed-merges exit 3 GOVERNED Tier H (3 of 3 paths skills/**, 44 lines), trailers exit 0. Each agrees with the dev's record.
  12. Governance and thread. Draft, mergeable true, mergeable_state blocked, auto_merge null, labels documentation, size/s, skip-changeset, assignee and requested reviewer huangyiirene, author objectstack-fleet[bot], commit author Claude. The PR thread carries the seat's claim on this head (6594953829) and no record naming it before this one; cr37 (6594719416) names 1cb7088. Tier H: landing is the maintainer's hand or an authorized approval; this record does not lift it.

② Semver level

None. Unchanged from cr37: no published package, no packages/spec/src/**, no TypeScript — the published skills catalog (skills/**), one of its references and one eval fixture. skip-changeset is the right declaration; the Check Changeset check-runs on this head are skipped (two rows, the label short-circuits them), where on 1cb7088 one row was success — an expected skip, not a regression.

③ Boundary flags

  • cr37's M1 and S1 are closed by this head (①.2, ①.3). cr37's ③ follow-up on the withdrawn field-required-notnull-explicit example is closed by this head under the seat's first widening (①.4, ①.5); no card is owed for it.
  • Carried forward, still owed, not this PR's: eval 2's must_not_contain: ["??"] contradicts its own expected_output (①.8; cr37 ①.9).
  • Correction to cr37: its ①.1 said SKILL.md went 482 → 481 lines on 1cb7088; measured here, the file is 482 lines at the merge-base, at 1cb7088 and at the head (numstat 13/13, 11/11). The PR body's "482 → 482" is right.
  • Dev open_questions: none in the report. The dev's observation from the first head is answered in the lines this delta rewrites.
  • Independence: Implemented-by: and Reviewed-by: differ; the delta was reviewed in an isolated subagent at tier. PR assignee and requested reviewer are both the maintainer (noted in cr37; no judgment made on it).
  • Tier H: this record does not lift the landing. A PASS on a draft with no auto-merge armed arms nothing.

④ Design judgment

Per hits file, against the card's scenario (an agent following §3.3 records a canonical-metadata acceptance that never examined anything):

  • skills/objectstack-upgrade/SKILL.md, §3.3 and L74: the range is now the one the sources were actually ported through, so the acceptance replay can fail on every hop of the crossing, and the key whose presence means the check never ran is still the second half of the criterion; the explanation of why --from <target-major> proves nothing is now true in every clause, including the widestRange one. The callout no longer teaches a conversion the CLI does not carry; saying "this build ships none … but a later one can, and the chain, not the parse, is what knows" keeps the class and the reason without inventing an instance, which is the honest teaching on a head where the class is empty. L74 and §3.3 agree on the quickstart's own 16 → 18 crossing. The --write row follows §3.3 with the one-word change cr37 asked for. Holds.
  • skills/objectstack-upgrade/references/examples-upgrade.md, L48 and L54: the report template now shows a Verified line that names the same replay the skill prescribes and a Mechanical row an agent can reproduce by running the chain on a sharingRules entry with accessLevel: 'full' — a live step-17 conversion inside the template's declared 16 → 18 chain, at the exact path spelling the chain prints. Paid in place within an 8-token headroom, no neighbouring line touched. Holds.
  • skills/objectstack-upgrade/evals/protocol-major-upgrade.json, eval 4: the expected_output says what §3.3 now says, and must_contain no longer requires a string a correct answer must not produce. The one-hop command is the whole range for the eval's own crossing. Holds.

Must-fix: none. Should-fix: none.

Check-runs at record time (2026-11-03T03:57Z): 44 check-runs on 55e64c9, 26 success, 17 skipped, 0 failure, 0 cancelled, 1 in progress (Test Core 1/8) on the second read; the first read three and a half minutes earlier had 43 check-runs, 24 success, 17 skipped and 2 in progress (Test Core 1/8, Type Check · consumer gates), the second of which completed success, with no non-success completion at either read. Success: PR-body guards (claim · duplicate · Part-of · single-writer path), Governed Surface Queue Guard, Lint & Repo Gates, Lint · repo & tooling gates, Lint · CI, release & engine gates, Lint · PM dispatch-gates, Lint · docs & code guards, Lint · ESLint, Lint · scoped · tooling self-tests, Lint · scoped · slot lookup & corpus, Lint · scoped · query-options erasure, Type Check · workspace, Type Check · source gates, Type Check · debt ledger, Type Check · consumer gates, Build Core, Plan Test Core shards, Test Core (2/8), Test UI, Dogfood Regression Gate, Live E2E UI, Check PR Size, Auto Label, filter. Skipped by path filter, label or opt-in: Check Changeset (both rows, skip-changeset), Build Docs, Build UI Deps, Build & E2E UI, Lint UI, Type Check UI, UI Published Artifacts, Dogfood Verify CLI, Temporal Conformance, Schedule gate, 18.x upgrade harness, Packed-tarball smoke, and the matrix-templated placeholder rows for Test UI and the Dogfood shards plus the duplicate Auto Label / Check PR Size rows from a second workflow trigger. Combined status pending (statuses API, 0 statuses). Test Core (1/8) is the one check-run still running on a diff that touches no package source; the same shard completed success on 1cb7088. mergeable true, mergeable_state blocked, draft, auto_merge null, labels documentation, size/s, skip-changeset; Tier H (skills/**), landing by the maintainer's hand or an authorized approval, not by this record.

Implemented-by: claude/project-thread-is4jki
Reviewed-by: session_01J8VVAnMUWA9rufXzFaEh4J

VERDICT: PASS


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#1 · huangyiirene · session_01J8VVAnMUWA9rufXzFaEh4J

维护者速读

  • 改了什么: objectstack-upgrade §3.3 的验收回放改为整段移植区间 os migrate meta --from <authored-major> --to <target-major> --json,要求 applied 为 [] 且无 replayedNothing;quickstart L74 改为 --from 16 --to 18;eval 1、4 与 examples-upgrade.md L48、L54 同步。3 个文件,+22/−22。
  • 为什么改: 原文从目标主版本起跑,在最高主版本上是空区间,applied 恒为 [],验收从不检查任何东西(skills(objectstack-upgrade): the §3.3 acceptance check os migrate meta --from <target-major> --json with applied must be [] can never fail at the top migration major #29063)。
  • 风险与回滚: 只改技能文本与 eval,无代码、无门禁。token 棘轮就地付账,无 re-wrap(SKILL.md 6160/6188,examples-upgrade.md 1189/1197)。可整 PR revert。
  • 先看: SKILL.md L397–411(§3.3 回放与 widestRange 一句)。
  • 两分钟验证: grep -rn "field-required-notnull-explicit\|--from 17 --to 18" skills/objectstack-upgrade/ 无结果。
  • 需要你做的: skills/** 是受治理 Tier H 面,需 os-zhuang 或 hotlong 批准。达档复核:全量 6594719416(FAIL,M1/S1),增量 6595068679 PASS,Head-sha 55e64c920daf79f50c41873e1cd237a4dcd7ac2c。批准后本席落地。
  • 席位意见: ACCEPT。

席位核对 — ACCEPT · domain:skills#1 · head 55e64c920daf79f50c41873e1cd237a4dcd7ac2c

  1. 形态: draft → main,Fixes #29063;skip-changeset;作者 objectstack-fleet[bot];3 个文件,在卡面加两次加宽(6594782842 L54、6594814065 L48)之内。
  2. 前提实测: M1 已闭(回放整段区间,无残留末跳形式);S1 已闭(widestRange 为 null 一句与 meta.ts 一致);已撤回的 field-required-notnull-explicit 不再出现;L54 的 sharing-rule-access-level-full-to-edit 在 registry 中存活、落在 16 → 18 链内。
  3. 门禁(钉 head 55e64c92): 派生门禁 35 族,33 exit 0,2 个需全量构建(dual-build-cjs-loads、lean-entry-closure)不读 skills/**,由 CI Build Core 读出 success。复核时 check-runs 44 条,failure 0,1 条 Test Core 在跑;落地前检再读一次全绿。check-governed-merges:Tier H(3/3 路径 skills/**)。
  4. 接受的偏差: 无。
  5. 范围外去向: eval 2 的 must_not_contain: ["??"] 与其 expected_output 冲突是 main 上原有问题,不属本 PR,另行立卡。Skills-docs: self。
  6. 落地条款: Tier H。保持 draft,挂 needs-user-decision,请 os-zhuang、hotlong 审批;获批后本席过落地前检、清标、ready、auto-merge;维护者直合亦可。

Generated by Claude Code

@objectstack-fleet objectstack-fleet Bot added the needs-user-decision Blocked on a maintainer decision — do not dispatch; decision cards only, never on a PR label Nov 3, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 3, 2026 04:15
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 57a2612 Nov 3, 2026
51 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-is4jki branch November 3, 2026 04:31
@objectstack-fleet objectstack-fleet Bot removed the needs-user-decision Blocked on a maintainer decision — do not dispatch; decision cards only, never on a PR label Nov 3, 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 size/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

3 participants