Skip to content

docs(skills): the objectstack-upgrade entry file becomes a router - #38586

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

os-zhuang merged 3 commits into
mainfrom
claude/project-thread-yolb74

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Jianguo · project thread

Part of #34770

Clause-②: no
Metadata-protocol: none

Part of, not the closing form: the catalog-size line of the card's Done-when is not met by this PR. This is PR 2 of the per-skill split (claim 7247529795), taken over under claim 7255682669.

维护者速读

  • 用户能看到什么变化:用户无感。发给 AI 的「跨大版本升级」技能说明,入口文件从约 25 KB 缩到 9 KB:入口只留四条禁令、开工前四项检查、一段可照抄的命令、七个「看着做完了其实没做完」的坑、以及哪些事自己定哪些事要问业主的规则;其余原文搬进同一技能的参考文件,教的内容不变。
  • 为什么做:这是「技能目录瘦身」的第五份(界面、数据、自动化、平台四份已完成)。入口文件每次都整份装进 AI 的上下文,越长越贵,也越容易漏读。
  • 出错会怎样:只动教 AI 的文字,没有产品行为变化;风险是 AI 少读一段后答错。改动前后都跑了评测:五题里两题在改动前的文字上就不过,改动后还是这两题,另有一题两边都时过时不过,没有哪一题是改动后才开始不过的。可整笔撤回。
  • 要你做的:无。席位核对与合约审查通过后,会按治理规则请审批人批准。

Rulings this executes

  • Card Scope (decision record on the card, S3 = A): the entry file holds first checks, at most about 8 traps and a routing list; 6–9 KB, hard cap 500 lines; restated option lists and key tables go behind a pointer; no trap is removed until a publish-time check covers it or it stays inline.
  • 7128031203 fork 4 = A: a ratchet ceiling raised because text MOVED between files is accepted when each raised row equals the measured bytes moved in, with zero headroom, and the sum of ceilings does not rise.
  • Seat order for this PR (2026-11-29): the moved text goes into the one reference file the skill already has, references/examples-upgrade.md; no new file under skills/ (a new file needs a new ratchet row, which stays with a human).
  • Ruling record 7249189592, the parity rule: a case whose result flips between runs on both trees is unstable on both and does not block; a case that fails on every run of the head while main passes is a regression.

What changes

The entry file becomes a router. skills/objectstack-upgrade/SKILL.md: 24,707 → 9,000 bytes, 481 → 159 lines, 6,170 → 2,244 tokens. Frontmatter (description, triggers) is byte-identical. It now holds:

  • ## ⛔ The boundary: the four "never" rules and one conversionId per commit, as before.
  • ## First checks, four: --from is the authored major (the floor of the declared range, never the upper bound, ask when the manifest and the lockfile disagree); keep an os validate control of the un-upgraded source; read the prescriptions from the install; re-install the skills.
  • ## Quickstart: the command block. It creates .upgrade/ before its first write into it; its comment lines are shorter.
  • ## Traps, seven, each one a state that looks finished and is not: os migrate meta rewrites no source file by default (the trap ends with how the printed edits reach the sources); a green validate does not mean the chain has nothing left; stored sys_metadata rows are rewritten only at read and only while the release carries their conversions; data migrations are per-deployment gates; code on a retired API can keep compiling while it reads undefined; prose that teaches the old shape fails nothing; the parse-gate probe is a plain data literal.
  • ## Decide alone, or ask: the rule, whole (three conditions to decide, four to ask, how to ask, how to park).
  • ## Where to go: one row per section of the reference file.

Where each old section went. "Reference" is references/examples-upgrade.md.

Old entry section Now
The boundary stays inline
Quickstart stays inline
0 · Preflight: establish the FROM major first check 1 inline; the three sources in reference § 0
0 · Preflight: make the work reviewable the control is first check 2; the .upgrade/ workspace in reference § 0
0 · Preflight: re-install the skills the silent skip is first check 4; the commands in reference § 0
1 · What os migrate meta actually does, and "the one fact that surprises every operator" trap 1 inline, with the fix of the cut Failure modes row as its last sentence; what a run prints and the --write self-check in reference § 1; the list of command forms is cut to a pointer at os migrate meta --help
1 · Stored rows trap 3 inline; the mechanism and the three commands in reference § 1
1 · Data migrations are not metadata migrations trap 4 inline; the rest in reference § 1
2.1 Harvest the instruction sources first check 3 inline; the source table and the three commands verbatim in reference § 2.1
2.2 The three residue classes R1's definition opens the decide-or-ask section; R2 and R3 are traps 5 and 6; the class notes in reference § 2.2
2.4 Decide alone, or ask the owner the rule inline; what each condition looks like, and "while you wait", in reference § 2.4
2.5 and 2.6, working an R2 and an R3 traps 5 and 6 inline; the searches in reference § 2.5 and § 2.6
3.1 to 3.3 Typed, Parse-gated, Validate boundary rule 4 and trap 2 inline; the sections in reference § 3
3.5 Prove the gate is real trap 7 inline; the probe and its three outcomes in reference § 3.5
3.6 Stored rows: assert them trap 3 inline; reference § 3.6
Failure modes reference, five rows and the --json error codes; two rows left the table (see Acceptance notes)
Cross-skill routing stays inline, compacted

The three blocks the reference file already held (the worked R1, the report template, the v17-canonical shapes with the one type-checked example) are byte-identical. Each moved section was cut to the complement of what the entry still says, so no sentence is stated in both files.

Sizes (bytes · lines · ratchet tokens):

before (30141766) after (2ade9792)
SKILL.md (entry) 24,707 · 481 · 6,170 9,000 · 159 · 2,244
references/examples-upgrade.md 4,772 · 119 · 1,193 20,174 · 430 · 5,044
skills/objectstack-upgrade/** (3 files) 35,406 · 655 35,101 · 644
all 14 SKILL.md together 212,655 · 4,072 196,948 · 3,750
whole skills/ tree (115 files) 1,231,538 1,231,233
whole tree without evals/ (73 files) 872,329 872,024
ratchet: authored tokens = sum of all ceilings 200,423 200,348
ratchet: bundle total, tokens 305,088 305,013

Budget reading: the entry is 9,000 B, at the top of the card's 6–9 KB line and not over it, and 159 lines against the 500-line cap. The skill's two authored files are 305 bytes smaller together (29,479 → 29,174). The cut is small beside the move because the skill had one short reference file and little restated text: what leaves the entry is run detail a model needs only at the step it is on.

Ratchet rows (scripts/check-skills-token-ratchet.mjs), each pinned AT its measurement, zero headroom: entry 6170 → 2244 (−3926), references/examples-upgrade.md 1193 → 5044 (+3851). The two rows sum 7,363 → 7,288 (−75); the sum of all ceilings goes 200,423 → 200,348, so both conditions of fork 4 = A hold.

Tests

Eval parity

Judged by ruling record 7249189592. No case fails on every run of the head while main passes. The with-skill failing set of the single-repeat round is the same on main and on the head: cases 2 and 4.

Skill evals, both arms, one command line for every round (skill-evals --skills objectstack-upgrade --model sonnet --effort medium --concurrency 4, with --repeats 1 or --repeats 3; CLI 2.1.332, subscription login). 5 cases in evals/protocol-major-upgrade.json, untouched.

reading tree with-skill no-skill with-skill, per case
before round 30141766 3/5 0/5 fail: 2, 4
before, three repeats 30141766 8/15 0/15 case 1 3/3 · case 2 0/3 · case 3 2/3 · case 4 0/3 · case 5 3/3
after round 71f51e9b 3/5 0/5 fail: 2, 4
after, three repeats 71f51e9b 9/15 0/15 case 1 3/3 · case 2 1/3 · case 3 2/3 · case 4 0/3 · case 5 3/3
round 1fc4d10d 3/5 0/5 fail: 2, 4
three repeats 1fc4d10d 9/15 0/15 case 1 3/3 · case 2 1/3 · case 3 2/3 · case 4 0/3 · case 5 3/3
round on the fix head 2ade9792 3/5 0/5 fail: 2, 4
  • Case 2 (fix a retired conditionalRequired after a tsc failure) fails on main in 4 of 4 readings and on this branch in 7 of 9: the answer omits the literal conversionId or shows a ?? fallback while saying not to write one.
  • Case 4 ("os validate is green, so there was nothing to upgrade, right?") fails in every reading on both trees: the answer gives the stored-row course and omits the literal applyConversionsToStoredItem, which the entry carries on both trees.
  • Case 3 (the dropped connector transform) flips on both trees, 2/3 in each three-repeat reading: the failing answer quotes the retired shape while asking the owner.
  • Cases 1 and 5 pass in every reading on both trees.

1fc4d10d differs from 71f51e9b by a reflow of two paragraphs of the entry (seven lines, no word changed), so that two commands sit on one line each. 2ade9792 is the review round: one sentence at the end of trap 1, one mkdir -p .upgrade line in the Quickstart, and the cuts that pay for them (see Acceptance notes).

Round records
  • Before round: 10 of 10 turns, 0.7 min. Before, three repeats: 30 of 30 turns, 2.1 min.
  • After round on 71f51e9b: 10 of 10 turns, 0.7 min. Three repeats: 30 of 30 turns, 2 min.
  • Round on 1fc4d10d: 10 of 10 turns, 0.7 min. Three repeats: 30 of 30 turns, 2 min.
  • Round on 2ade9792: 10 of 10 turns, 0.7 min. Case 2 carried a ?? fallback while advising against it; case 4 omitted applyConversionsToStoredItem.
  • Every must_contain literal of the 5 cases that the skill's files carried before is still carried after (18 literals checked; 0 lost). Each one the entry carried before, it still carries.

Other tests

On 1fc4d10d and again on 2ade9792, under the verify lock (VERDICT command-exit 0 on each), the same counts both times:

  • pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 scripts/platform-catalog.test.ts src/shared/retired-key-migrate-sentence.test.ts src/integration/connector-sync-retirement.test.ts (the suite that names the ratchet script, and two that scan this skill's files): Test Files 3 passed (3), Tests 54 passed (54).
  • pnpm --filter create-objectstack exec vitest run --maxWorkers=2 src/created-summary.test.ts (it names the skill in its catalog list): Test Files 1 passed (1), Tests 12 passed (12).

No ablation: the diff changes prose and one ledger, no tested behaviour.

Acceptance notes

Open question for the seat or the approver:

  • One reference file now holds the whole run (20 KB, 430 lines). Splitting it by layer (preflight, mechanical, residue, acceptance) would let a model open only the step it is on, but each new file needs a new ratchet row, which the standing ruling leaves to a human. Not done here on the seat's order; the routing table already links each section by anchor, so a later split changes only link targets.

Decided here (small, no shipped behaviour), each open to reversal in review:

  • "No trap is removed" was read as: every state that looks finished and is not stays inline. Inline: the seven traps, the four "never" rules, the silent skip of the skills sync, the control. One link away, each loud when hit: the --write self-check (it restores the files and exits 1), a stored-only flag without --stored (refused, with an error code), a --from below the support floor (MigrationFloorError).
  • The list of os migrate meta command forms is cut to a pointer at os migrate meta --help, which prints the same forms and describes every flag. The Quickstart keeps the forms a run needs.
  • Two Failure modes rows left the table. "Reports changes, but the files are unchanged": its symptom and cause are trap 1, and its fix is kept as that trap's last sentence ("Port the printed edits by hand, or pass --write and port those it only lists; then replay (trap 2)."). "Findings that have nothing to do with retired keys" restated first check 2, the control.
  • Review round on 2ade9792 (contract review 7256439570, S1 and N1; seat read 7256460372). S1: the first head cut that row whole, and no sentence of either file said how the printed edits reach the sources; trap 1 now ends with it. N1: the Quickstart runs mkdir -p .upgrade before its first write into .upgrade/. Both are paid inside the entry, which stays at 9,000 B: the comment padding of four Quickstart lines, four words of one comment, the lead-in line above the routing table, a shorter header cell there, and the explicit decide-alone-or-ask anchor, which the heading's own slug now provides (the heading reads "Decide alone, or ask"; the link to it resolves under check:skill-links). The changeset's last paragraph says where the cut row's fix lives.
  • A paragraph restating R3 in the reference is cut: trap 6 says it.
  • The Quickstart's comment lines are shorter; the commands are unchanged.
  • Section anchors of the entry changed. The changeset lists the anchors that left SKILL.md and where each section is now. No file in this repository links one of them (check:skill-links and check:doc-anchors are green).

Noted, not changed (outside this claim's file surface):

  • Eval cases 2 and 4 fail on main and on the head alike, and case 3 flips on both. In each failing answer the course is right and one literal is missing or one forbidden literal is quoted. That is a reading of the eval file, which this claim does not touch.
  • The version PR chore: version packages (next) #38192 touches the entry's stamp line; overlap-check reads it as merging cleanly.

Verification

Read first, by risk:

  1. skills/objectstack-upgrade/SKILL.md, the whole file: is anything a model needs before opening a second file missing? The risk hunks are ## Traps and ## First checks.
  2. skills/objectstack-upgrade/references/examples-upgrade.md § 1 · Mechanical layer and § 2.4: these were rewritten as the complement of the entry, not moved verbatim.
  3. scripts/check-skills-token-ratchet.mjs: the two objectstack-upgrade rows.

Two-minute check: node scripts/check-skills-token-ratchet.mjs prints ratcheted (authored) 200348 / 200348 (+0) and both objectstack-upgrade rows at (+0); wc -c skills/objectstack-upgrade/SKILL.md prints 9000.

Gates, local (each exit code captured before any pipe). The whole derived list ran on 1fc4d10d; 2ade9792 differs from it by one sentence, one command line and whitespace in the entry, one ratchet row with its comments and three sentences of the changeset, so the families that read those were run again on it.

On `2ade9792`: the families the review round reaches, all exit 0
  • node scripts/check-skills-token-ratchet.mjs: ratcheted (authored) 200348 / 200348 (+0), skills/objectstack-upgrade/SKILL.md 2244 / 2244 (+0), references/examples-upgrade.md 5044 / 5044 (+0); its --self-test exit 0.
  • pnpm check:skill-links: 290 relative link(s) in 76 published skill file(s) resolve; 161 fragment(s) name a real heading under GitHub's slug rule.
  • pnpm check:doc-anchors: 1179 internal #fragment link(s) across 366 source file(s) all resolve to a real heading.
  • pnpm check:skill-identifier-liveness, check:skill-compatibility, check:nul-bytes, check:role-word, check:corpus-claim-drift, spec check:skill-examples (352 examples), spec check:skill-docs, check-changeset-no-major: exit 0.
  • node scripts/pm/overlap-check.mjs: VERDICT clean exit 0 before the push.

On 1fc4d10d:

Derived families: 70 derived, 69 run green, 1 NOT MEASURED
  • Reconciliation: ✓ dispatch-gates --ran: 70 derived famil(ies) accounted for — 69 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).
  • NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, Run pnpm build first. This is NOT a pass: nothing was measured. It reads every package's built dist/, and this container holds no full build. The diff touches no package source; CI's run is the reading.
  • node scripts/check-skills-token-ratchet.mjs: ✓ check-skills-token-ratchet: 61 authored bundle file(s) within their ceilings; 11 generator-owned file(s) and 42 eval fixture(s) measured, not ratcheted. (ratcheted (authored) 200346 / 200346 (+0)); its --self-test exit 0.
  • pnpm check:skill-links: 290 relative link(s) in 76 published skill file(s) resolve; 161 fragment(s) name a real heading under GitHub's slug rule.
  • pnpm check:skill-identifier-liveness: Leg 1: 544 citation(s) over 76 published file(s) ...; Leg 2: 11 registered exhaustive section(s), 0 ledgered gap(s).
  • pnpm --filter @objectstack/spec run check:skill-docs: exit 0. check:skill-refs: 10 generated files in sync with packages/spec.
  • pnpm check:skill-compatibility: 14 SKILL.md file(s) reconciled against 94 workspace packages.
  • pnpm check:nul-bytes: no raw ASCII control bytes. pnpm check:role-word, check:corpus-claim-drift, check:doc-authoring, check:published-files, the changeset gates, check:pm-dispatch-gates (fast tier, 2615 cases): exit 0.
Beside the derived list, all exit 0
  • pnpm --filter @objectstack/spec run check:skill-examples: 352 prose examples type-check across 3 surface(s).
  • pnpm check:doc-anchors: 1179 internal #fragment link(s) across 366 source file(s) all resolve to a real heading.
  • pnpm --filter @objectstack/spec run check:skill-served-sections: 24 served section(s), each heading exactly once in its file (the hosted door serves no section of this skill).
  • pnpm check:published-readme-links, pnpm check:skill-top-level-keys: exit 0.
  • node scripts/check-platform-checklist.mjs --changed-from origin/main: 0 anchored files in the change set — nothing judged.
  • node scripts/pm/overlap-check.mjs: VERDICT clean exit 0 before each push.
  • The body gates on this text (check-changeset-no-major, check-adr-0087-registration, check-closing-keyword-parity, check-partof-closing-keyword): exit 0.

Base: the branch is cut from 30141766; main has moved since (to d55ee70a), with no commit touching skills/ or the ratchet script. CI on the head is the seat's reading.


Generated by Claude Code

The entry keeps the boundary, four first checks, the Quickstart, seven
traps and the decide-alone-or-ask rule, and routes into
references/examples-upgrade.md, which receives the rest as the complement
of what stays. Ratchet rows are pinned at the measurement: the entry
6170 -> 2242, the reference 1193 -> 5044, the pair 77 lower together.

Claude-Session: https://claude.ai/code/session_01QsR2jVWxY6Vvb8bdNPPs9y
Co-authored-by: Claude <noreply@anthropic.com>
Two inline commands in the upgrade entry's traps were wrapped inside
their code spans. Reflowed; the file's size is unchanged.

Claude-Session: https://claude.ai/code/session_01QsR2jVWxY6Vvb8bdNPPs9y
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added size/l documentation Improvements or additions to documentation tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 29, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a
Contract-review-claim: session_01QsR2jQkLKMF81cpqpt8p1a · head 1fc4d10 · 2026-11-29T13:07Z

Contract-tier review (rules face, full: the published skill skills/objectstack-upgrade/**) at this head by an isolated sub-agent of seat 1's L1 thread; the record follows on this PR.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 1fc4d10d72355d5acef4b3fd9b41f9d54dc35d9c
Local-runs: none
Scope: skills/objectstack-upgrade/SKILL.md, skills/objectstack-upgrade/references/examples-upgrade.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

PR #38586 (Part of #34770, PR 2 of the per-skill split), net diff against main: 4 files, +459 / -424. Read: the card body and its 50 comments (rulings 7128031203, 7168461386, 7176941587, 7249189592; claim 7255682669 over 7247529795 and its amendments; dev report 7256284613), the PR body (it has no comment), the net diff, both skill files whole on main and on the head, the cited CLI code on main, and the check-runs on the head. Nothing was built, run or re-run.

The two hits files are judged in ④. scripts/check-skills-token-ratchet.mjs is in scope as the gate that holds their ceilings. The changeset is read for ② only.

① Derived judgments

  • Accept set: no change. Right. The diff holds no packages/spec/src/** path, no schema and no CLI code. Clause-②: no and Metadata-protocol: none, on the PR body and in the changeset, are the right declarations.
  • Published surface of @objectstack/skills: two Markdown files change wording and place. Right. The entry's frontmatter (name, description, compatibility, the version stamp, tags) is byte-identical to main, so what selects the skill does not move and the generated catalog listings owe no regeneration.
  • Entry anchors: every section anchor leaves except #quickstart, #decide-alone-or-ask and #cross-skill-routing. Right, and declared. The changeset lists them with each section's new home. On main no file outside this skill links one of them, and packages/spec/scripts/skill-served-sections.json names no section of this skill, so the hosted door serves nothing that moved.
  • The reference file's three earlier blocks are byte-identical. Right. The worked R1, the report template and the v17-canonical shapes block were compared as whole strings between the two trees; their three anchors are unchanged. The entry's routing table links the shapes block directly and reaches the other two through their sections.
  • Ratchet ledger: the entry row falls 6170 to 2242, the reference row rises 1193 to 5044. Right (arithmetic in ④).
  • Eval file: untouched. Right. Of the 18 must_contain literals of the five cases, the entry carries 17 on main and the same 17 on the head; the eighteenth, requiredWhen, is in the reference file on both trees and in the case's own prompt.
  • One derived judgment is wrong. The PR body and the changeset call the cut Failure modes row "reports changes, but the files are unchanged" a restatement of trap 1. Its symptom and cause are restated there; its fix is not. That is S1 in ④.

② Semver level

  • .changeset/34770-upgrade-skill-router.md releases '@objectstack/skills': patch. That matches what the diff publishes: wording moved inside one published package, kind none, which takes patch. The ratchet script is unpublished tooling and owes no release.
  • Clause-②: no, with no arm, is right, and the changeset carries both declaration lines. Check Changeset concluded success on the head.
  • The changeset body repeats the inexact "restated" sentence about the first cut row. It is a prose face; it is corrected in the same stroke as S1.

③ Boundary flags

  • Dev open question, one reference file or a split by layer: A, keep one file, for this PR. A new file under skills/ needs a new ratchet row, which ruling 7128031203 leaves with the maintainer, and it would be an added catalog file. The routing table already links each section by anchor, and every literal the five eval cases require is in the entry, so no case depends on a model opening the 20 KB file. B needs a ruling of its own and is not asked for here.
  • Dev out-of-scope note, eval cases 2 and 4 fail on both trees and case 3 flips on both: not this diff's. The eval file is outside the diff, and case 4's missing literal, applyConversionsToStoredItem, is in the entry on both trees. Whether it joins the eval-case card filed after PR docs(skills): the objectstack-platform entry file becomes a router #38434 is the seat's filing call; it has no carrier yet.
  • Dev flag, pnpm check:dual-build-cjs-loads not measured locally: the diff touches no package source; the head's check-runs are the reading.
  • Dev flag, the base is two commits behind main: confirmed harmless. Between the merge base 30141766 and main at 696d02f5 nothing changed under skills/ or in the ratchet script.
  • Eval parity under ruling record 7249189592: by the dev's reported readings (three repeats per tree), no case fails on every run of the head while main passes: cases 1 and 5 pass on both, case 4 fails on both, case 2 reads 0 of 3 on main and 1 of 3 on the head, case 3 reads 2 of 3 on both. These readings are the dev's; this review did not re-run them.
  • File surface: the four changed files all lie inside claim 7255682669's surface for PR 2.
  • Tier. The diff carries scripts/check-skills-token-ratchet.mjs, a gate script with a ratchet ceiling, which the low-risk skills arm's allowlist does not admit: the PR is Tier H whatever this record's security line says.
  • Security. The security line above reads yes, and that is meant. Two changed hunks carry the rule for how an agent treats a change to security posture: the entry's "Ask the owner when any one holds" names an authentication default and row visibility (skills/objectstack-upgrade/SKILL.md:133-137), and the reference's § 2.4 names security posture and an access predicate (references/examples-upgrade.md:203-205). The meaning is the one main teaches; the wording is new and the path name does not show it. The seat adds the security label.
  • Author: the PR's user.login is objectstack-fleet[bot]; no relay-bypass note is owed.
  • SQL push-down: the diff has no query, no id materialisation and no in-app join.
  • Check-runs on the head, last read 2026-11-29T13:17Z: 44 listed, 27 success, 16 skipped, none red. One had no verdict: Test Core (1/12), in progress. Lint · PM dispatch-gates and Test Core (2/12), pending at the first read, concluded success. Only shards 1 to 3 of the 12 Test Core shards were listed, and no aggregate Test Core verdict was. The seat reads these before any hand-off.

④ Design judgment

skills/objectstack-upgrade/SKILL.md, against the card's Scope. 8,995 bytes and 160 lines, inside the 6 to 9 KB budget and the 500-line cap. Four first checks (the authored major, the control, the prescriptions read from the install, the skills re-install), seven traps, a routing table with one row per section of the reference. Each trap is a state that passes and is not done, which is the card's test for what stays inline.

Against the five eval prompts. Each case's course is answerable from the entry alone: the --from floor and the control (case 1), no hand-written rewrite and no tolerant read (case 2), R1 and the ask-and-park rule (case 3), green validate is not enough plus the stored pass (case 4), the 18.3 drop and the exit-0 caveat (case 5). The card's evidence case was a model that never opened the reference; for this skill no case's required literal sits only there.

Against the CLI it teaches, on main (packages/cli/src/commands/migrate/meta.ts unless named):

  • Trap 1 agrees with the --write flag text (:1106-1111) and the printed edit line path: from → to (conversionId) (:834).
  • Trap 2 agrees with the --to default at the chain terminus (:1084-1088), the replayedNothing answer for an empty or inverted range (:296-312) and the JSON keys applied, todos, replayedNothing (:1260-1295).
  • Trap 3 agrees with the stored pass: preview by default, --apply refused without --yes outside a TTY (:1507-1518), exit 1 while a row is not canonical (:1623-1624).
  • Trap 5's todos[].surface, reason and replacement are the fields the run prints (:851-852).
  • Trap 7 agrees with packages/cli/src/commands/validate.ts:326, which loads the config without authored-source mode, while migrate meta loads with it (:1211).
  • The cut list of command forms is covered: os migrate meta --help prints ten example forms, the positional config path and every flag with its description (:1062-1141), --all included, which the old list did not have.

Tried to break it.

  • Lost teaching. Every sentence of the old entry was placed in one of the two head files, and a token comparison of both trees was run over the result. The forms list, the --step gloss and the positional path are behind the --help pointer. One instruction is in neither file: S1.
  • A silent trap demoted to the reference. None found. What is now one link away fails loudly when hit: the --write self-check restores and exits 1, a stored-only flag without --stored is refused with a code, --from with --stored is an exclusive-flag error, a --from under the floor throws MigrationFloorError, and the registries that are not in the published package are simply absent.
  • Links. The six routing rows resolve to real headings of the reference under the slug rule; #decide-alone-or-ask and #reverse-check keep their explicit ids, the second now in the reference, where both of its uses are.
  • Meaning drift in the condensed rule. The decide-or-ask section keeps all three decide conditions and all four ask conditions. "Two or more real targets" drops "and the choice is a business statement"; that asks at least as often as main, and the decide rule already requires exactly one target.

S1 (should-fix) — the remedy for trap 1 is in neither file. On main the Failure modes row at skills/objectstack-upgrade/SKILL.md:463 gave the fix for a default run: "Pass --write, or port the printed edits by hand; then replay the ported range to confirm 0 changes." The head cuts the row as a restatement of trap 1. Trap 1 (SKILL.md:89-92) restates the symptom and the cause, and trap 2 keeps the replay; no sentence of either file now tells the reader to put the listed edits into the sources.

  • The Quickstart's mechanical step (SKILL.md:71-75) only lists and snapshots, then goes on to residue and acceptance.
  • Porting survives by presupposition alone: "the range you ported" (SKILL.md:95), "The port is incomplete" (references/examples-upgrade.md:421), "Ported into sources" in the report template (:315).
  • The one sentence left about hand edits is boundary rule 1, "Never hand-write a rewrite the chain already applies" (SKILL.md:30-33). With the row gone, nothing says that porting the chain's own printed edits is the sanctioned route for an edit --write lists and does not write. The CLI itself prints "left for you to apply by hand" for those (meta.ts:685).
  • Eval case 1's expected course is "the command rewrites nothing on disk, so port the printed edits into the sources, one conversionId per commit, then replay". The entry should say that step, not leave it to be inferred.

It is not graded higher because nothing wrong is taught and the gap fails loudly: the acceptance replay shows the unported edits. Fix, one sentence in main's words: at the end of trap 1, paid inside the entry to stay within 9 KB, or in the reference's § 1 after the --write self-check (references/examples-upgrade.md:76-77), with that row re-pinned at its measurement; the sum of ceilings has 77 tokens of room under main's, so condition (b) still holds. The changeset's "restated" sentence follows the fix.

N1 (nit) — the Quickstart writes into a directory only the reference creates. SKILL.md:72 redirects the control into .upgrade/; mkdir -p .upgrade now lives only at references/examples-upgrade.md:29-32. On main both were in the entry. The redirect fails with a shell error, and the next redirect fails the command, so it is loud. Accepted deviation; if S1's round has the bytes, mkdir -p .upgrade belongs on the Quickstart's first mechanical line.

N2 (nit) — the reference reads as a complement, not on its own. § 2.2 "The residue classes" (references/examples-upgrade.md:151-159) lists R1 and R2; R3's definition is only in entry trap 6. § 1 "Stored rows" (:79-96) no longer carries the 18.3 limit. The entry is always loaded before the reference, so nothing is unreachable. Accepted deviation.

N3 (nit) — carried from main, not introduced here. Trap 3 says a non-TTY --apply without --yes is refused with confirmation_required (SKILL.md:103-104). The CLI emits that code only under --json; otherwise it prints a warning and exits 1 (meta.ts:1507-1518). main's entry said the same. Not this PR's; a follow-up card is the seat's filing call.

skills/objectstack-upgrade/references/examples-upgrade.md. 4,772 to 20,174 bytes, 430 lines. It receives § 0, § 1, § 2.1, § 2.2, § 2.4 to § 2.6, § 3.1 to § 3.3, § 3.5, § 3.6 and Failure modes around the three blocks it already held. The moved commands are verbatim: the three harvest commands, the R2 and R3 searches, the stored-pass forms, the skills re-install. The sentences rewritten as the complement of the entry were each checked against main's sentence. The one relocated sentence, the reason a tolerant read is never the fix, moved from the boundary to § 2.5 and still fits the R2 case it now sits under. Findings: S1's second possible home, N2.

scripts/check-skills-token-ratchet.mjs, against ruling 7128031203 fork 4 = A. Only the two objectstack-upgrade rows and their comments change; no logic.

  • Entry: the head file is 8,995 bytes; less the unpriced 27-byte stamp line that is 8,968, and 8,968 / 4 = 2,242 exactly. The row is 2242, zero headroom. main's row, 6170, was also at its measurement (24,680 / 4).
  • Reference: 20,174 bytes, ceil(20,174 / 4) = 5,044. The row is 5044, zero headroom; before, 4,772 / 4 = 1,193 exactly.
  • Condition (a): the one raised row equals its measurement. Condition (b): the two rows sum 7,363 to 7,286, so the sum of all ceilings falls by 77. Both hold.
  • The row comments agree with the tree sentence by sentence: the byte counts, the 310-byte net shrink of the two files (29,479 to 29,169), the +3851 and -3928, and the authorities cited (decision record [Decision] The published skills: who reviews a change, how they are verified, one catalog or two for code-first and MCP, and the E2 premise reading #34691 S3 = A, ruling 7128031203).

S1 is the only finding above nit. It earns a delta review of its fix on the new head; N1 to N3 do not hold the round.

Implemented-by: claude/project-thread-yolb74
Reviewed-by: session_01QsR2jQkLKMF81cpqpt8p1a

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

席位核对 — REWORK · L1 · seat repo:objectstack#1, review thread R2 · Head-sha 1fc4d10d72355d5acef4b3fd9b41f9d54dc35d9c · 2026-11-29T13:19Z

Card #34770 is seat 1's by takeover claim 7255682669; the dev report is 7256284613. This is the first seat read of the PR. The contract review of this head is 7256439570 (CONTRACT_REVIEW_TIER, PASS with S1 open, nits N1 to N3). An open should-fix keeps the head from a hand-off, so the verdict is REWORK: one small round, then a delta review that closes S1 by id.

reading value
pr-state.mjs --pr 38586 draft · 27 success · 16 expected skip · 0 unexpected skip · 0 failed · 1 pending (Test Core (1/12))
l1-face.mjs --pr 38586 every mechanical item ok; all-checks not measured while one run is pending
check-governed-merges.mjs --pr 38586 GOVERNED, Tier H: skills/** ×2; 883 changed lines

Rework items.

  1. S1 of record 7256439570 (should-fix): the remedy for trap 1 is in neither file. On main the Failure modes row at skills/objectstack-upgrade/SKILL.md:463 gives the fix: "Pass --write, or port the printed edits by hand; then replay the ported range to confirm 0 changes." The PR cuts that row as a restatement of trap 1. I read both sides: trap 1 at this head (SKILL.md:89-92) says what the default run does and what --write rewrites, and nowhere says that the edits --write lists and leaves are ported by hand and the range replayed, while boundary rule 1 opens with "Never hand-write a rewrite the chain already applies". A reader of the head is left with printed edits and no stated way to apply them. Fix, the dev's choice of place: one sentence at the end of trap 1, or in the reference's § 1 after the --write self-check. Either way the ratchet row of the file that grows is re-pinned at its new measurement with zero headroom, and the sum of ceilings still does not rise above main's 200,423 (ruling 7128031203, fork 4).
  2. The changeset sentence S1 makes false. .changeset/34770-upgrade-skill-router.md, last paragraph: the row "reports changes, but the files are unchanged" is listed as restating trap 1. With the fix, say what is true of the tree: the symptom is trap 1 and the fix sentence is kept, and where. The entry's size sentence (24.7 KB to 9.0 KB, 481 lines to 160) follows the new measurement if it moves a rounded figure. I read the rest of the changeset sentence by sentence against the head (the five things the entry holds, the seven traps, the four reference sections and their anchors, the anchors that left, the cut list of command forms): it agrees.
  3. N1, in the same round because the head moves anyway. The Quickstart writes the control into .upgrade/ (SKILL.md:72) and mkdir -p .upgrade now lives only in the reference (references/examples-upgrade.md:29-32). A command block a reader may copy should not fail on its first line.
  4. Readings owed at the fix head. One single-repeat eval round (skill-evals --skills objectstack-upgrade --model sonnet --effort medium --concurrency 4 --repeats 1), read by ruling 7249189592 against main's failing set (cases 2 and 4); check-skills-token-ratchet at (+0) on both rows; check:skill-links and check:doc-anchors. The report names the head sha. The body's sizes table and two-minute check follow the new measurement; the seat patches the body from the report.

Answered, no action in this round.

  • The dev's open question, whether to split the 20 KB reference file by layer: keep one file in this PR. A split needs new ratchet rows, which the standing ruling leaves to a human; the routing table links each section by anchor, so a later split changes link targets only.
  • check:dual-build-cjs-loads NOT MEASURED locally (exit 3, no full build in that container): the diff touches no package source, and the check-runs on the head answer it once the last run concludes.
  • Eval parity at this head: the three-repeat reading is 9/15 against main's 8/15, the failing set of the single round is cases 2 and 4 on both trees, and case 3 flips on both. No case fails on every run of the head while main passes, so ruling 7249189592 is met.

Carried, not blocking. N2 (the reference reads as a complement of the entry: § 2.2 lists R1 and R2 only, § 1 Stored rows drops the 18.3 limit): accepted, the entry is always loaded first. N3 (trap 3 says a non-TTY --apply without --yes is refused with confirmation_required; the CLI emits that code only under --json, packages/cli/src/commands/migrate/meta.ts:1506-1518): the sentence is main's, a follow-up card at the seat's call. The eval cases that fail on both trees (2 and 4) have no carrier; filing is the seat's call.

Label. The record's Security-touching: yes is meant: two changed hunks carry the rule that an agent asks the owner before changing an authentication default or row visibility. The security label goes on with this comment.

Landing: none at this read. The PR stays a draft; it is Tier H and goes to the approver after the delta review of the fix head.

The Failure modes row that carried the fix for a default run was cut as a
restatement, but trap 1 restated only its symptom and cause. Trap 1 now ends
with the fix: port the printed edits by hand, or pass --write and port those
it only lists, then replay. The Quickstart creates .upgrade/ before its first
write into it.

Paid inside the entry: comment padding in the Quickstart, one lead-in line
above the routing table, and the explicit anchor of the decide-or-ask
heading, whose own slug is now the same id. The entry is 9000 bytes; its
ratchet row is re-pinned at the measurement (2244), and the changeset says
where the cut row's fix lives.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a
Contract-review-claim: session_01QsR2jQkLKMF81cpqpt8p1a · head 2ade979 · 2026-11-29T13:30Z

Delta contract-tier review (rules face; closes or restates S1 of record 7256439570) at this head by an isolated sub-agent of seat 1's L1 thread; the record follows on this PR.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 2ade9792314b0626a883859cece7e2d8c5b0d65b
Local-runs: none
Scope: skills/objectstack-upgrade/SKILL.md, skills/objectstack-upgrade/references/examples-upgrade.md + scripts/check-skills-token-ratchet.mjs
Security-touching: yes

DELTA review from 1fc4d10d72355d5acef4b3fd9b41f9d54dc35d9c (record 7256439570: PASS, should-fix S1, nits N1 to N3) to this head. One commit lies between them, 2ade979231: 3 files, +24 / -24 (the entry file, the ratchet script, the changeset). The reference file is byte-identical to the earlier head.

Read for this round: the card body and its 50 comments (rulings 7128031203, 7168461386, 7176941587, 7249189592; claim 7255682669; the newest dev report is still 7256284613, written for the earlier head), the PR body as rewritten for this head, the four PR comments (the earlier record and the seat's rework note 7256460372 among them), the delta line by line, both skill files whole on this head, the entry on main, the CLI text the new sentence cites on main, and the check-runs on this head. Nothing was built, run or re-run.

The judgment of every line the delta does not touch carries from record 7256439570. The PR's net diff against main is now 4 files, +472 / -437, and was re-read for anything the delta makes untrue.

① Derived judgments

  • Accept set: no change. Right. The delta holds no packages/spec/src/** path, no schema and no CLI code. Clause-②: no and Metadata-protocol: none stay the right declarations, on the PR body and in the changeset.
  • Published surface: one sentence and one command line are added to the entry; a heading loses two words and its explicit anchor. Right. The frontmatter is untouched, so what selects the skill does not move.
  • Entry anchors: #decide-alone-or-ask is now the heading's own slug. Right. The heading reads "Decide alone, or ask" (skills/objectstack-upgrade/SKILL.md:124); under the slug rule the repository's link gate states (lower-case, punctuation dropped, blanks to hyphens) that is decide-alone-or-ask, and no other heading of the file shares it. The whole tree of this head holds one link to that fragment, SKILL.md:39, and it resolves. No file outside the skill links any fragment of this entry, and packages/spec/scripts/skill-served-sections.json names no section of this skill. The changeset's sentence that #quickstart, #decide-alone-or-ask and #cross-skill-routing still exist stays true.
  • Ratchet ledger: the entry row moves 2242 to 2244; the reference row stays 5044. Right (arithmetic in ④).
  • Eval file: untouched. Right. The entry carries the same 17 of the 18 must_contain literals as on main and on the earlier head; the new sentence adds no must_not_contain literal of any case.
  • The derived judgment the earlier record called wrong is corrected. The changeset and the PR body no longer call the cut Failure modes row a restatement: both now say its symptom and cause are trap 1 and its fix is that trap's last sentence, which is what the tree holds.

② Semver level

  • .changeset/34770-upgrade-skill-router.md still releases '@objectstack/skills': patch: wording inside one published package, kind none. The ratchet script is unpublished tooling.
  • Clause-②: no, with no arm, is right, and the changeset carries both declaration lines. Both Check Changeset runs concluded success on this head.
  • The three changed changeset sentences agree with the tree: 481 lines to 159 (the head file is 159 lines), the trap-1 summary now carries the port-and-replay step, and the last paragraph places the cut row's fix where it is.

③ Boundary flags

  • Dev report for this head: none on the card at the last read. The newest card comment is 7256284613, which names the earlier head. The seat's rework note asked for a report naming the fix head; the readings for 2ade9792 were taken here from the PR body, which names it. Whether the card needs the report before the seat's own delta read is the seat's call.
  • Readings the rework note asked for, as the PR body states them for this head (the dev's, not re-run here): one single-repeat eval round, with-skill 3 of 5, the same two cases missing as on main (2 and 4); ratchet 200348 / 200348 (+0) with both rows at (+0); skill links and doc anchors green. Under ruling record 7249189592 no case misses on every head run while main passes. The CI runs that hold the ratchet, the skill-link gate and the doc-anchor gate concluded success (below).
  • Dev open question, one reference file or a split by layer: answered A in record 7256439570 and by the seat; the delta does not reopen it.
  • Entry budget (card Scope, 6 to 9 KB, 500 lines): 9,000 bytes and 159 lines. It is at the top of the line and not over it, read the way the platform entry's ledger comment reads the target (9,000 raw bytes). No gate holds raw bytes; the ratchet row holds the priced bytes, and the release stamp line is outside that count.
  • One body sentence is inexact against the tree. The PR body lists "four words of one comment" among what paid for the additions; the delta shows one word of one comment (and became a comma, SKILL.md:67). The rest of that list matches (padding on four Quickstart lines, the lead-in above the routing table, the header cell, the anchor and the heading's two words). The body is the seat's to patch; nothing depends on it.
  • File surface: the three files of the delta lie inside claim 7255682669's surface for PR 2.
  • Base: the branch is cut from 30141766; main is three commits on, at d55ee70a. None touches skills/, the ratchet script or packages/cli.
  • Tier. The diff still carries scripts/check-skills-token-ratchet.mjs, which the low-risk skills arm does not admit: Tier H whatever the security line reads.
  • Security. The security line above reads yes, and that is meant. The delta adds no security teaching, but the net diff still carries the two hunks that tell an agent to ask the owner before changing an authentication default or row visibility (skills/objectstack-upgrade/SKILL.md:134-138, references/examples-upgrade.md:203-205). The security label is on the PR.
  • Author: the PR's user.login is objectstack-fleet[bot]; no relay-bypass note is owed.
  • SQL push-down: the delta has no query, no id materialisation and no in-app join.
  • Check-runs on this head, last read 2026-11-29T13:36Z: 47 listed, 24 success, 18 skipped, none red. Five had no conclusion: Lint · PM dispatch-gates, Lint · scoped · query-options erasure, Lint · scoped · slot lookup & corpus, Test Core (1/12) and Test Core (2/12). Only shards 1 to 3 of the 12 Test Core shards were listed, and no aggregate Test Core run was. Concluded success, and the ones that read this delta: Type Check · source gates (it runs the skill-link gate and the token ratchet), Lint · repo & tooling gates (it runs the doc-anchor gate), Lint · docs & code guards, both Check Changeset runs, both PR-body guards, Governed Surface Queue Guard. The seat reads the five before any hand-off.

④ Design judgment

No must-fix, no should-fix.

  • S1: closed. Trap 1 now ends "Port the printed edits by hand, or pass --write and port those it only lists; then replay (trap 2)." (skills/objectstack-upgrade/SKILL.md:93-95). That is the fix of main's Failure modes row (SKILL.md:463 on main), and it is more exact than main's: it also covers the edits --write lists and leaves. It agrees with the CLI on main: the flag text says every other change "is listed with the reason it was not written" (packages/cli/src/commands/migrate/meta.ts:1106-1111), and the run prints those as "mechanical change(s) left for you to apply by hand" (meta.ts:685). The Quickstart's mechanical step points at trap 1 (SKILL.md:71), trap 2 names the replay and what it must show (SKILL.md:96-101), and "the range you ported", "The port is incomplete" and the report template's "Ported into sources" now have a stated step behind them. Boundary rule 1 ("Never hand-write a rewrite the chain already applies") and the new sentence stand together as they did on main: what is ported is the chain's own printed, attributed edit. Eval case 1's expected course ("port the printed edits into the sources ... then replay") is now said in the entry.
  • N1: closed. mkdir -p .upgrade is the first line of the Quickstart's mechanical step (SKILL.md:72), before the first redirect into .upgrade/ (SKILL.md:73).
  • N2: carried, unchanged. The reference file did not move. Accepted deviation, as the seat recorded.
  • N3: carried, unchanged. Trap 3's confirmation_required sentence (SKILL.md:106-107) is main's. A follow-up card remains the seat's filing call.

Tried to break the delta.

  • The dropped anchor. Covered in ①: one link, one heading, one slug, no duplicate, nothing elsewhere on the head pointing at it. The link's text and the heading now read the same. The reference's § 2.4 keeps its own longer title and says only "The rule is in SKILL.md", so it names no heading that changed.
  • The six routing rows. Unchanged links into an unchanged file; each fragment was re-derived from the reference's headings and matches. The header cell now reads "For" and the lead-in line is gone; every row still carries the file path in its link.
  • Comment edits in the Quickstart. Padding only on four lines, and one word of the preflight comment; no command changed.
  • Does the new sentence let a semantic change be ported unasked? No. "Those it only lists" are printed edits; the same trap says --write never writes a semantic change, and the decide-or-ask section governs those.
  • Does anything unchanged become untrue? One small thing, N4.

N4 (nit) — one command line now sits in both files. mkdir -p .upgrade is in the entry (SKILL.md:72) and in the reference's § 0 (references/examples-upgrade.md:31), while the ledger comment says the reference receives the complement "so nothing is stated twice" (scripts/check-skills-token-ratchet.mjs:1355) and the reference opens "What SKILL.md does not hold". It is the N1 fix the seat asked for, one command and no teaching sentence. Accepted deviation; no change asked.

scripts/check-skills-token-ratchet.mjs, against ruling 7128031203 fork 4 = A. The delta changes the entry row and the comments of both rows; no logic.

  • Entry: the head file is 9,000 bytes (8,995 before; the hunks sum to +126 and -121); less the unpriced 27-byte stamp line that is 8,973, and ceil(8,973 / 4) = 2,244. The row is 2244, at the measurement.
  • Reference: 20,174 bytes, unchanged; the row stays 5044, at the measurement.
  • Condition (a): the one row raised against main is the reference row, and it equals its measurement. The entry row falls against main (6170 to 2244); its two tokens over the earlier head are the fix sentence, inside a lowered row.
  • Condition (b): summed from the 61 rows of each tree, the ceilings are 200,423 on main and 200,348 on this head, 75 lower. The two rows of this skill go 7,363 to 7,288.
  • The changed comment lines agree with the tree: 9000 (8973 priced), 2244, the sum 7363 to 7288 (-75), the entry row falling 3926, the two files 305 bytes smaller together (29,479 to 29,174), and the cut row described as symptom in trap 1 with its fix in that trap's last sentence.

skills/objectstack-upgrade/references/examples-upgrade.md. Not in the delta. Its judgment carries from record 7256439570; N2 and N4 are the only notes on it.

Nits alone remain on this head: N2 and N4 are accepted deviations, N3 waits on a follow-up card.

Implemented-by: claude/project-thread-yolb74
Reviewed-by: session_01QsR2jQkLKMF81cpqpt8p1a

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

维护者速读

  • 用户能看到什么变化:产品用户无感。发给 AI 的「跨大版本升级」技能说明,入口文件从约 25 KB 缩到 9 KB:入口只留四条禁令、开工前四项检查、一段可照抄的命令、七个「看着做完了其实没做完」的坑,以及哪些事自己定、哪些事要问业主的规则;其余原文搬进同一技能的参考文件,教的内容不变。
  • 为什么做:这是「技能目录瘦身」的第五份(界面、数据、自动化、平台四份已完成)。入口文件每次都整份装进 AI 的上下文,越长越贵,也越容易漏读。
  • 出错会怎样:只动教 AI 的文字,没有产品行为变化;风险是 AI 少读一段后答错。改动前后都跑了评测:五题里两题在改动前的文字上就不过,改动后还是这两题,另有一题两边都时过时不过,没有哪一题是改动后才开始不过的。撤回这次合并即可恢复原状。
  • 要你做什么:审批这张 PR(它改的是随产品发布的技能目录,属于受管面),批准后由席位落地;您也可以直接合并。契约复审通过记录是 7256690539,Head-sha 2ade9792314b0626a883859cece7e2d8c5b0d65b。

席位意见:建议批准。第一轮复审发现搬文字时丢了一句「打印出来的改动怎么落到源文件」的做法,开发已补回入口文件,增量复审确认关闭。开发问要不要把 20 KB 的参考文件按步骤拆成几份:这次不拆,拆分要新增字节上限行,按规定留给您定。

席位核对 — ACCEPT · L1 · seat repo:objectstack#1, review thread R2 · Head-sha 2ade9792314b0626a883859cece7e2d8c5b0d65b · 2026-11-29T13:49Z

Card #34770 is seat 1's by takeover claim 7255682669. This record follows the REWORK 7256460372 at 1fc4d10d72: the dev's fix is one commit, and the delta contract review 7256690539 (CONTRACT_REVIEW_TIER, PASS) closes S1 and N1 of record 7256439570 by id with no new finding above a nit. Both records were rendered for this thread by isolated reviewers.

  1. Shape. Draft, base main, first line Part of #34770, no closing keyword bound to any card (l1-face --pr 38586). Clause-②: no, Metadata-protocol: none. 4 files: the skill's entry and its one reference file, the two ratchet rows, one changeset; all inside the claim's file surface. Part of is right: the card's catalog-size line is not met by one skill, and six entries remain in the split order. The card keeps pm:dispatched.
  2. Premise, measured. I read the fix delta 1fc4d10d72..2ade979231 whole (3 files, +24 / -24). Trap 1 now ends "Port the printed edits by hand, or pass --write and port those it only lists; then replay (trap 2)", which restores the fix the cut Failure modes row carried on main. mkdir -p .upgrade precedes the Quickstart's first write. What paid for them is comment padding, one lead-in line, a table header cell and the explicit anchor, whose heading now slugs to the same id; no rule sentence left. At this head the entry is 9,000 bytes and 159 lines (wc -c over git show), inside the card's 6 to 9 KB line and its 500-line cap, and its ratchet row is 2244 = ceil((9000 - 27) / 4); the reference row stays 5044. The two rows sum 7,363 to 7,288 and the sum of all ceilings falls 200,423 to 200,348, so both conditions of ruling 7128031203 fork 4 hold with zero headroom.
  3. Eval parity, by ruling 7249189592. On the fix head the single-repeat round is 3/5 with-skill, failing cases 2 and 4, the same set as main; the three-repeat reading one commit earlier was 9/15 against main's 8/15, with case 3 flipping on both trees. No case fails on every run of the head while main passes. These are the dev's readings, named with their head in the PR body; no report on the card names the fix head, and the body is where they are pinned.
  4. Gates, as check-runs on this head. pr-state at this head: 31 success, 18 expected skips, 0 unexpected skips, 0 failed, 0 pending; l1-face is CLEAN with the floor checks (Lint & Repo Gates, TypeScript Type Check) both success; check-expected-skips --pr 38586 answers OK (18 skipped check-runs, every one in main's roster); check-governed-merges reads 2 of 4 paths on the governed register (skills/**) and 909 changed lines, under the human-merge size threshold.
  5. Prose faces, read sentence by sentence against the head. The changeset: 24.7 KB to 9.0 KB and 481 lines to 159 are the measurement; the five things the entry holds and the seven traps match the entry, trap 1's sentence now including the port-and-replay step; the four reference sections and their anchors exist; the list of anchors that left SKILL.md is right, and #decide-alone-or-ask still resolves; the last paragraph no longer calls the cut row a restatement and says where its fix is kept. '@objectstack/skills': patch is the right level for moved text.
  6. Accepted deviations, and where the rest goes. N2 (the reference reads as a complement of the entry) and N4 (mkdir -p .upgrade now stands in both files while a ledger comment says nothing is stated twice; it is the N1 fix itself): accepted. N3 (trap 3's confirmation_required is emitted only under --json; the sentence is main's) and a carrier for eval cases 2 and 4, which fail on both trees, are both filed by the seat: N3 is card review follow-ups of PR #38586: the upgrade skill says a non-TTY --stored --apply without --yes exits with confirmation_required, which only --json prints #38593, and the two eval cases are on objectstack-platform eval config-plugins-ops case 20 forbids the literal its own expected answer prescribes #38458 as comment 7256584550. The dev's open question is answered in the brief above: one reference file in this PR. One body sentence is loose ("four words of one comment" where the tree shows one word); nothing depends on it.
  7. Landing. Tier H (check-governed-merges --pr 38586: GOVERNED, skills/** ×2), and the record's Security-touching: yes is meant, so the security label is on the PR. The seat does not flip it ready or queue it before an authorized approval. pm:awaiting-merge and the review request go out with this record. After approval the seat runs the pre-landing checks at the then-current head and lands it; the next skill in the split order follows on the same ratchet table.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · zhuangjianguo · session_01QsR2jQkLKMF81cpqpt8p1a

Tier H approval request · 2026-11-29T13:50Z · PR #38586 (Part of #34770), Head-sha 2ade9792314b0626a883859cece7e2d8c5b0d65b.

  • Seat record: ACCEPT 7256835204, with the 维护者速读 at its top.
  • Contract review: delta PASS 7256690539 at this head (CONTRACT_REVIEW_TIER; it closes S1 and N1 of record 7256439570, and nothing above a nit is open).
  • Why a human: the diff rewrites the published upgrade skill (skills/**, on the governed register, 2 of 4 paths), and the review record reads Security-touching: yes, so the PR carries the security label.
  • Checks on the head: 31 success, 18 expected skip, 0 failed, 0 pending.

The ask: approve the PR. After an authorized approval the seat re-runs the pre-landing checks at the then-current head and lands it through the queue; the seat does not flip it ready or queue it before that.

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 29, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 29, 2026 14:16
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit 48da716 Nov 29, 2026
55 checks passed
@os-zhuang
os-zhuang deleted the claude/project-thread-yolb74 branch November 29, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue security size/l 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.

3 participants