Skip to content

docs(skills): the upgrade skill replays from the project's own floor and names the 18 → 19 steps as they ship - #39178

Merged
os-zhuang merged 4 commits into
mainfrom
claude/issue-38926-upgrade-skill-19
Dec 2, 2026
Merged

os-zhuang merged 4 commits into
mainfrom
claude/issue-38926-upgrade-skill-19

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #38926

Clause-②: no
Metadata-protocol: none

维护者速读

  • 用户能看到什么变化:让 AI 助手照着升级技能做 18 升 19 的客户,现在拿到的是 18 到 19 这一段的步骤,连同这一趟多出来的几步;以前助手照抄的是 16 到 18 的旧例子。
  • 为什么做:属于「19 正式版升级路径」这一批,替每个让 AI 助手带着升级的客户项目解决“抄错版本区间、验证了也等于没验”的问题。
  • 出错会怎样:只改说明文字和评测题,不动任何运行代码;写错的话助手会给出不对的升级步骤,整个改动可以直接撤回。
  • 要你做什么:这是对外发布的技能包,需要你亲自审阅并合并。

Landing: skills/** is a governed surface, so this pull is Tier H. It lands by a human merge, after the seat's contract-tier L2. Nothing here readies, arms or queues it.

Opened by the seat repo:objectstack@os-justin on the maintainer's go-ahead (2026-12-02), from the card thread's prepared body: the thread's own create was refused by its harness, so it stopped. Built by the card thread session_01QSeKYncPzgSFHKV9Uuv8p6, head c9b579d36117828935057b8fd168bc0e6ed6233a (fix round 1 on the contract review, report 7360802079).

What changes

The shipped objectstack-upgrade skill taught a 16 → 18 move. An agent copying its quickstart on an 18.x project asked for the wrong range, and the replay it taught proved nothing about 19.

skills/objectstack-upgrade/SKILL.md

  • The quickstart is a generic recipe with 18 → 19 as its worked example. Step 0 reads the floor off engines.protocol ('^18' → 18). Step 1 runs os migrate meta --from 18 with --step, --json and --out. Step 3 replays os migrate meta --from 18 --to 19 --json and reads applied [] with no replayedNothing.
  • The floor-reading check keeps its rule (the floor of the range, never the upper bound, never guessed from the installed spec) and shows it on current ranges: '^18' → --from 18, and a two-sided range whose floor is 16 → --from 16.
  • A fourth quickstart step names what an 18 → 19 run also owes. Each bare line is safe to run and its comment names the write: os build, then --update-access-matrix only on "Access matrix drift", with the owner reviewing the diff; and per deployment os migrate plan then os migrate apply --yes, os migrate protocol --to 19 then --apply --yes before a 19 os serve, os migrate meta --stored then --stored --apply --yes.
  • The control is taken in preflight, before the pins move (first check 2 says so): the target's CLI only refuses the old range. The acceptance step names the reverse check.
  • "Where to go" gains a row for the new reference section.

skills/objectstack-upgrade/references/examples-upgrade.md

A new section, "The 18 → 19 run, as it ships", holds one bullet per step and links the v19 release page (rewritten in #39151) for each step in full. Each sentence was read against the code at 8d4395b7 and, for the next.3 half, against the published 19.0.0-next.3 CLI tarball:

Step What the section says Where it was read
Handshake a 19 runtime refuses '^18' before it loads anything, OS_PROTOCOL_INCOMPATIBLE; after next.3, os validate and os build refuse it too; take the control with the 18 CLI, before the pins move packages/cli/src/commands/validate.ts (findProtocolRangeRefusal, exit 1 before the rules run); the next.3 tarball's validate.js carries no such refusal
--write on next.3 does not follow exportsOf(…); writes none of a scaffolded project's edits; lists each not written [helper]; exits 0 tarball dist/utils/authored-source-codemod.js (refuse('helper', …), no wrapper module) and dist/commands/migrate/meta.js (exit 1 only when the write status is not written)
--write after next.3 follows that wiring; keeps each edit that stands alone; Wrote N of M mechanical change(s); exits 1 while an edit or the range is left packages/cli/src/utils/authored-source-wrappers.ts; meta.ts (leftByHand, the Wrote … of … line)
Access matrix os build and os compile run the gate; os validate does not; os build --update-access-matrix; the owner reviews and commits the matrix diff packages/cli/src/commands/compile.ts step 3e; validate.ts has no matrix read; migrate-access-matrix-drift.ts (ADR-0090 D7: the diff is the human review artifact)
os migrate apply --yes without --yes a non-interactive shell applies nothing and exits 1 packages/cli/src/commands/migrate/apply.ts (Confirmation required, exit 1)
Stored rows the stored pass with the 19 CLI, a dry run then --apply --yes; after next.3, exit 1 while a row would be served invalid meta.ts stored path (servedInvalid, exitCode = 1)
os migrate protocol --to 19 a preview, then --apply --yes; until the switch is recorded, a 19 os serve, os dev or os start refuses to start on a database an earlier release created content/docs/upgrading.mdx; packages/cli/src/commands/migrate/protocol.ts
Stored permission sets never rewritten; listed under viewAllFieldsReview, exit 0; the owner decides each entry and adds viewAllFields: true through the metadata API conversions/stored.ts (STORED_ROWS_NOT_REWRITTEN); stored-migration.ts

The card's two named lines: the R2 search now reads os migrate meta --from 18 --json (was line 222). "Arriving several majors late" (line 23) keeps --from 16, judged and left as it is: its subject is the multi-major replay, which --from 18 cannot show, and 16 is the chain's support floor (MIGRATION_SUPPORT_FLOOR = 16), so the sentence is true on a 19 build.

skills/objectstack-data/rules/indexing.md: the note on the retired type and partial says os migrate meta --from N, N the floor of engines.protocol, where it said --from 16.

skills/objectstack-upgrade/evals/protocol-major-upgrade.json: case 1 is a '^18' project moving to 19. Its must_contain moves os migrate meta --from 16 to --from 18 and gains --update-access-matrix, --stored and os migrate protocol --to 19; its must_not_contain moves --from 17 --apply to --from 19 --apply. Case 4 is an 18 → 19 bump; it gains one any-of group, viewAllFields; its other lists are unchanged. No assertion is removed or loosened.

Same-class fixes beyond the card's named lines

All four sit in files this card already owns. Each is the same defect, a statement that is stale or false for an 18 → 19 reader:

  • examples-upgrade.md said --write restores every file when its re-run disagrees. After next.3 it keeps the edits that stand alone and restores every file only for a disagreement it cannot tie to one edit (disagreeingUnits in meta.ts). The new --write bullet replaces the sentence.
  • examples-upgrade.md 3.3 and eval case 4 said "this build ships none" of the migration-chain-only conversions. Protocol 19 ships permission-view-all-fields-beside-record-bypass, whose own header calls it "A DEFAULT FLIP, not a rename or a delete". Both now name it. Moving case 4 to 18 → 19 would otherwise have re-asserted the false sentence about 19.
  • The report template's header pinned 16 → 17 and Chain: 16 → 18. It is now a FROM → TO placeholder pair (angle-bracket placeholders in the file, like the template's other fields).
  • The example branch name is upgrade/protocol-19, was upgrade/protocol-17.

Size: no ceiling moves

All three teaching files sat at zero headroom. Every addition is paid by deleting restatement in the same file, so no row of the token ratchet changes and its script is not touched.

File Lines before → after Tokens before → after (ceiling)
skills/objectstack-upgrade/SKILL.md 159 → 160 2244 → 2244 (2244)
skills/objectstack-upgrade/references/examples-upgrade.md 430 → 429 5044 → 5044 (5044)
skills/objectstack-data/rules/indexing.md 260 → 260 2495 → 2495 (2495)
skills/objectstack-upgrade/evals/protocol-major-upgrade.json (eval fixture, not ratcheted) 56 → 56 1481 → 1761
Whole bundle, every SKILL.md 2145 → 2146 ratcheted total 182414 → 182414

What left to pay for it, and what answers it now:

  • SKILL.md trap 7 (prove the parse gate once, with a plain data literal, no define* call) leaves the entry file. examples-upgrade.md 3.5 holds it in full, with the outcome table; the quickstart's acceptance step and the "Where to go" row both tell the reader to run it. This is the one whole rule that moved out of the always-loaded file.
  • SKILL.md trap 2 no longer repeats the replay command and its criterion; quickstart step 3 holds both.
  • SKILL.md first check 4 no longer names the lock entry's sourceType: github; the reference's "Re-install the skills" section says which entries the sync skips. The spec-changes harvest is one cp in place of a node -e one-liner.
  • examples-upgrade.md 2.4: the "One target", "Observable without a test failing" and "Two or more real targets" bullets, "While you wait" and "How to ask" restated SKILL.md's "Decide alone, or ask", which keeps all of them.
  • 2.5 "never a tolerant read" restated the boundary; 2.6's "the conventions file matters most" restated trap 6; 2.1's "measure each number again" restated first check 3; 3.6's "valid only on the release you are leaving" restated trap 3.
  • The failure-mode row "validate green, but a feature silently stopped working" restated trap 5. Its fix column's "exercise the path for real" is the one phrase with no other home; it is cut.
  • Shortened with no rule lost: the data-migration paragraph, 2.1's opening, 3.1, 3.4's opening, the --help pointer sentence, 2.3's two asides, 2.5's opening, 3.6's opening, the list of .upgrade file names, and the note on objectstack-pm-dispatch in the skills re-install.

Read first

  1. skills/objectstack-upgrade/SKILL.md, the Traps hunk: trap 7 is deleted, and the reverse check is named in quickstart step 3 and in the Acceptance row. This is the riskiest hunk, a teaching move out of the entry file.
  2. skills/objectstack-upgrade/references/examples-upgrade.md, the hunk that adds "The 18 → 19 run, as it ships": every sentence is a claim about shipped behaviour.
  3. skills/objectstack-upgrade/evals/protocol-major-upgrade.json: case 1's must_contain gains three tokens, case 4 one any-of group.

Tests

  • The two moved eval cases, one repetition each on both arms (pnpm --filter @objectstack/scenarios skill-evals --case …), at c9b579d3: case 1 with-skill pass, no-skill fail (it missed all eight tokens); case 4 with-skill pass, no-skill fail. One repetition is a reading, not a pass rate. Cases 2, 3 and 5 were not re-run; their text and assertions are unchanged.
  • skill-evals --skills objectstack-upgrade --dry-run: the strict reader accepts the file, 5 cases.
  • check:skill-examples (not in the derived list; run because two of the changed files carry type-checked blocks): exit 0, "344 prose examples type-check across 3 surface(s)".

Acceptance notes

Noted, not changed here:

  • The skill's frontmatter description still offers "upgrade to v17" as a trigger phrase. That is the routing face, which the open router restructure (skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770) owns for this file.
  • The reference's worked R1 (transform) and "The v17-canonical shapes" are protocol-16 examples upgraded to 17. They stay true as worked examples and are not this card's range.
  • The reference's "Re-install the skills" section teaches the 17.x → 18 move (skills installed with skills add). An 18.x project re-runs the sync after the pin bump; the section does not say so.
  • Section 3.3's paragraph on the default flip is unchanged; the stored caveat sits in the 18 → 19 section and in 3.6.
  • Trade-off on record: keeping every ceiling where it is cost one trap in the entry file. The other route, deleting restatement first and raising the row by the measured remainder, needs an edit to the ratchet script, which is outside this card's file surface.
  • main is 16 commits past the branch at 9a13387ded. None touches skills/, the changeset, the ratchet script, protocol.ts or stored.ts; two add to the cited meta.ts and stored-migration.ts, and the taught sentences still hold there (delta review). The branch was not merged forward.

Verification

Two-minute check, one command:

git grep -n -e "--from 16" -e "--to 17" -e "--to 18" -- skills/

Expected: exactly two hits, both deliberate. SKILL.md:51 (the floor-reading example, a two-sided range whose floor is 16) and examples-upgrade.md:23 (the multi-major sentence).

Gates: 52 derived, 51 run at exit 0, 1 not measured

node scripts/pm/dispatch-gates.mjs --commands at c9b579d3, no paths passed: 52 commands. Each was run with its exit code captured before any pipe, then reconciled:

Run reconciliation — 52 derived, 51 run, 1 NOT-MEASURED, 0 UNRUN.
✓ dispatch-gates --ran: 52 derived famil(ies) accounted for — 51 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3).
  • NOT MEASURED: pnpm check:dual-build-cjs-loads, exit 3, "PREREQUISITE NOT MET — this gate reads built output, and some package has no dist/". It needs the whole workspace built; this diff touches no package. CI's build job covers it.
  • At c9b579d3 every command ran once, with no second runs. (At d2ab4e3b, five had answered exit 0 only on a second run, after a prerequisite was built.)
  • The skill families among the 51: check-skills-token-ratchet (and its self-test), check:skill-docs, check:skill-refs, check:skill-links, check:skill-compatibility, check:skill-frame-sync, check:skill-identifier-liveness, check:doc-authoring, check:doc-formula-expressions, check:nul-bytes.
  • check:skill-docs and check:skill-refs are green with nothing regenerated: the diff changes no frontmatter and the skill is a process skill with no generated index.
Token ratchet rows at c9b579d
skills/objectstack-data/rules/indexing.md                    2495 /   2495   (+0)
skills/objectstack-upgrade/SKILL.md                          2244 /   2244   (+0)
skills/objectstack-upgrade/evals/protocol-major-upgrade.json   1761 /      —   (eval fixture)
skills/objectstack-upgrade/references/examples-upgrade.md    5044 /   5044   (+0)
ratcheted (authored)                                       182414 / 182414   (+0)

🤖 Generated with Claude Code

https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2

…loor, with 18 → 19 as the worked example

Claude-Session: https://claude.ai/code/session_01QSeKYncPzgSFHKV9Uuv8p6
Co-authored-by: Claude <noreply@anthropic.com>
…hip, and its evals move to that run

Claude-Session: https://claude.ai/code/session_01QSeKYncPzgSFHKV9Uuv8p6
Co-authored-by: Claude <noreply@anthropic.com>
…f the skills package

Claude-Session: https://claude.ai/code/session_01QSeKYncPzgSFHKV9Uuv8p6
Co-authored-by: Claude <noreply@anthropic.com>
@github-actions github-actions Bot added the size/m label Dec 2, 2026
@github-actions github-actions Bot added 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 Dec 2, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head d2ab4e3 · 2026-12-02T21:55Z

First full record at CONTRACT_REVIEW_TIER (face: governed rules text, skills/**), by an isolated reviewer subagent of this seat, over the card thread's report 7353032689 on #38926.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Rendered 2026-12-02T22:05Z by an isolated reviewer subagent of the seat, on claim 7359995479 (claimed 2026-12-02T21:55Z).

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d2ab4e3b1ea83a27eecb6031a231408b026a74da
Local-runs: none
Scope: skills/objectstack-data/rules/indexing.md, skills/objectstack-upgrade/SKILL.md, skills/objectstack-upgrade/evals/protocol-major-upgrade.json, skills/objectstack-upgrade/references/examples-upgrade.md + none
Security-touching: yes
Rule-change-verified: none

PR #39178, card #38926. Face: governed rules text (skills/**). Diff read against merge base 8d4395b7d6fa457d9a5be1a58db3488c2e11dd98; every line number below is the file at the head, and every code citation is the file at that base unless it says "tarball". The card thread's report 7353032689 and the PR body were read as claims.

Findings: 0 must-fix, 4 should-fix, 6 nits. No sentence the diff teaches was found false against the shipped code; the four should-fix items are things the 18 → 19 text leaves out or stops saying.

① Derived judgments

What was read, and how. The diff; the card; the PR body; the report; packages/cli/src/commands/{validate,compile,build,dev}.ts, commands/migrate/{meta,apply,protocol}.ts, utils/{protocol-version-gap,authored-source-wrappers,migrate-access-matrix-drift}.ts; packages/spec/src/conversions/entries/19/permission-view-all-fields-beside-record-bypass.ts and conversions/stored.ts; packages/metadata-protocol/src/stored-migration.ts; packages/lint/src/build-access-matrix.ts; content/docs/releases/v19/index.mdx and content/docs/upgrading.mdx. The published @objectstack/cli@19.0.0-next.3 tarball was fetched with npm pack into an empty directory and read with grep and sed; nothing in it was executed, and nothing of the PR was built or run.

Claims about the CLI on the PR's base, each judged:

Sentence (file:line at head) Verdict Evidence
'^18' → --from 18; a two-sided range with floor 16 → --from 16 (SKILL.md:50-51) TRUE --from is "the protocol major the metadata was authored against" (meta.ts:1407-1410); MIGRATION_SUPPORT_FLOOR = 16 (packages/spec/src/migrations/registry.ts.template:79)
cp node_modules/@objectstack/spec/spec-changes.json .upgrade/ (SKILL.md:78) TRUE spec-changes.json is in the package's files (packages/spec/package.json:264); the scaffold depends on @objectstack/spec directly (create-objectstack/src/templates/blank/package.json:20)
replay --from 18 --to 19 --json: applied [], no replayedNothing; --from 19 names an empty range (SKILL.md:83, evals:7, :37) TRUE PROTOCOL_VERSION = '19.0.0'; --to defaults to CHAIN_TERMINUS_MAJOR (meta.ts:118, :1517); replayedNothing only when no step ran (meta.ts:1597, :1633)
A 19 runtime refuses '^18', OS_PROTOCOL_INCOMPATIBLE; after next.3 os validate and os build refuse it too (examples-upgrade.md:78-80) TRUE validate.ts:350-385 and compile.ts:363-387 call findProtocolRangeRefusal and exit 1 before any content check
--write rewrites a root defineStack manifest's range (examples-upgrade.md:81-83) TRUE --write flag text (meta.ts:1433-1438); planProtocolRange rides the write plan (meta.ts:1573, :1585)
After next.3 --write follows exportsOf(…), keeps each edit that stands alone, prints Wrote N of M mechanical change(s), exits 1 while an edit or the range is left (examples-upgrade.md:87-89) TRUE authored-source-wrappers.ts:1-40; disagreeingUnits and the hold loop (meta.ts:622-649, :1738-1799); meta.ts:847; leftByHand and the exit (meta.ts:711-713, :1647, :1692)
Only os build runs the access-matrix gate, os validate does not; the 19 edits add viewAllFields: true, so a committed access-matrix.json drifts; os build --update-access-matrix, the owner reviews and commits (examples-upgrade.md:90-94; SKILL.md:87) TRUE for validate and for the drift; "only" is loose, see nit 1 step 3e (compile.ts:1204-1249); no matrix read in validate.ts; the matrix carries viewAllFields (packages/lint/src/build-access-matrix.ts:71); the conversion writes the bit (permission-view-all-fields-beside-record-bypass.ts:83-107); the diff is the human review artifact (migrate-access-matrix-drift.ts:28-34)
os migrate apply --yes after os migrate plan: without --yes a non-interactive shell applies nothing and exits 1 (examples-upgrade.md:95-96; SKILL.md:88) TRUE apply.ts:671-686
Stored pass: a dry run, then --stored --apply --yes; after next.3 exit 1 while a row would be served invalid, each row's fix named (examples-upgrade.md:97-99; SKILL.md:89) TRUE preview by default and the --yes gate (meta.ts:1441-1459, :1873-1887); storedMigrationClean (stored-migration.ts:370-373); meta.ts:1991-1992, :2053-2063
Protocol 19 ships a migration-chain-only default flip: View All (eval: or Modify All) with no viewAllFields still parses and no longer reads every field (examples-upgrade.md:283-289; evals:37) TRUE the conversion's header: "A DEFAULT FLIP, not a rename or a delete", retiredFromLoadPath: true (permission-view-all-fields-beside-record-bypass.ts:50-57, :75). The sentence it replaces ("this build ships none") was false
os migrate meta --from N, N the floor of engines.protocol (indexing.md:31-33) TRUE as row 1

Claims about the published 19.0.0-next.3 tarball, each verified (not taken from the report):

Sentence Verdict Evidence (tarball package/dist/…)
next.3's os validate / os build do not refuse '^18' VERIFIED commands/validate.js and commands/compile.js hold 0 uses of findProtocolRangeRefusal; only the advisory checkProtocolVersionGap (validate.js:1200, compile.js:1376)
--write does not follow exportsOf(…) VERIFIED no exportsOf in utils/*.js, no authored-source-wrappers.js; a non-literal call is refused as helper (utils/authored-source-codemod.js:594)
lists each not written [helper], exits 0 VERIFIED commands/migrate/meta.js:546; a plan with nothing to write is status: 'written' (meta.js:1174-1175) and the only write exit is write.status !== 'written' (meta.js:1094-1095, :1126-1127)
the stored pass on next.3 has no served-invalid exit VERIFIED no servedInvalid in meta.js
os migrate apply without --yes in a non-TTY applies nothing, exit 1 (holds on next.3 too) VERIFIED commands/migrate/apply.js:601-609

"Writes none of that project's edits" is verified by construction (every collection of the template goes through exportsOf, create-objectstack/src/templates/blank/objectstack.config.ts:16), not by running a scaffolded project.

Evals. No assertion is removed or loosened. Case 1 (evals:6-12): --from 16 → --from 18, --from 17 --apply → --from 19 --apply (the same target-major guard on the new range), two tokens added (--update-access-matrix, --stored), which tightens it. Case 4 (evals:36-41): prompt and expected text move to 18 → 19, the three assertion lists are byte-identical to the base. Case 4's new text is true about protocol 19's conversions (last CLI row above). Cases 2, 3 and 5 are unchanged.

The two --from 16 lines kept on purpose. SKILL.md:51: right to keep; the example needs a floor that is not the upper bound, and 16 is the chain's support floor, so the command it shows runs. examples-upgrade.md:23-25: right to keep; its subject is the multi-major replay, --from 18 cannot show one, and "down to the chain's support floor, 16 today" is true.

Token ratchet. Read off blob sizes: SKILL.md 9000 → 9003 bytes (2244 tokens by the script's own formula, ceiling 2244), examples-upgrade.md 20174 → 20175 (5044 / 5044), indexing.md 9980 → 9980. No file under scripts/ is in the diff.

Head check-runs at read time: 21 success, 18 skipped, 4 in progress (Test Core (1/12), Test Core (2/12), Lint · docs & code guards, Lint · CI, release & engine gates), none failed. The all-green landing check is the seat's, on a later read.

② Semver level

@objectstack/skills: patch is right: skill text, an eval fixture and a changeset; no export, schema or code moves. Clause-②: no and Metadata-protocol: none hold (no path under packages/spec/src/**; nothing in the published acceptance set changes). The changeset is a prose face and outside this record's scope; one of its sentences is stronger than the code, see nit 2.

③ Boundary flags

  • Security-touching is yes, and was meant. The diff teaches permission behaviour in four places: the View All / Modify All field-vote flip (examples-upgrade.md:283-289, evals:37), the access-matrix snapshot and who reviews it (SKILL.md:87, examples-upgrade.md:90-94), and the deletion of the reference's "observable without a test failing: security posture, row visibility" bullet (2.4; the rule itself stays at SKILL.md:134-136). No hunk teaches credential, token or authentication handling. The low-risk skills arm must not land this pull.
  • Rule-change-verified: none: no path under .claude/** is in the diff, and no hunk changes what an agent may do without the maintainer.
  • PR author is objectstack-fleet[bot]: no off-relay author to name.
  • Independence, stated plainly: the diff was built by the card thread session_01QSeKYncPzgSFHKV9Uuv8p6 on the branch below; the seat session that adopts this record also opened the pull, from the thread's prepared body, and says so in the PR body. This reviewer drafted nothing and was fed the report as claims. The seat's go-ahead from the maintainer is the PR body's claim; not verified here.
  • Report open question 1 (who opens the pull): closed by the pull existing.
  • Open question 2 (trap 7 leaves the entry file): answered in ④, should-fix 1. Option B touches the ratchet script and the maintainer's standing ruling; that choice is his, and this pull is Tier H, so he reads it.
  • Open question 3 (two added eval tokens): keep. They pin the card's own Expected and only tighten the case. One repetition per arm is a reading, as the report says; more repetitions are the seat's call before ACCEPT.
  • Open question 4 (os migrate protocol --to 19): not "leave it out". See should-fix 4.
  • Open question 5 (frontmatter still says "upgrade to v17", SKILL.md:11-12): leave to skills: SKILL.md becomes a router with a size budget, and points to the contract instead of restating it #34770, as the report recommends; it is the routing face and no sentence there is false.
  • Report deviation "SKILL.md edits reach beyond the quickstart block": each was read. First check 4 (SKILL.md:60-61), trap 5 (:116-119) lose no rule; trap 1 loses a little, nit 3; trap 7 is should-fix 1.
  • PR body, two sentences that do not match what was read: "Where to go names it as the reverse check" describes a row that was already there at the base and is unchanged (SKILL.md:152); and "--write does not restore every file when its re-run disagrees" is nit 2.
  • SQL push-down check: the diff holds no code, so no id materialisation or in-app join is added.

④ Design judgment

Against the card: the quickstart reads the floor off engines.protocol and shows 18 → 19; the four steps the card names (--write may write nothing, the access-matrix rebuild, os migrate apply --yes, --stored) are all named; the evals move with it; indexing.md:31 and the R2 search move; the two kept --from 16 lines are judged in ①. The card's Expected is met.

must-fix: none.

should-fix

  1. skills/objectstack-upgrade/SKILL.md:92-122 (trap 7 deleted). The move does make a customer agent meaningfully more likely to skip the reverse check. At the base the entry file held one imperative for it (trap 7, base SKILL.md:121-123, with its ⛔); at the head it holds none. What is left in the always-loaded text is a noun phrase in a table, "the reverse check's outcomes" (SKILL.md:152), and that row predates this pull. Nothing downstream catches the skip: the quickstart's acceptance block (SKILL.md:80-84) never ran the probe, the report template's Verified: line has no slot for it (examples-upgrade.md:308), and no eval case mentions it (0 hits for "probe", "reverse check" or "data literal" in the eval file). The rule itself is intact and complete where it moved (examples-upgrade.md:346-369, and 3.2 at :266-269 still says the gate has to be proved live), so an agent that opens section 3 for the report template walks past it. Cost of the skip is bounded: weaker evidence, not a wrong upgrade (tsc tombstones and the replay still stand). Smallest fix: one imperative line back in the entry file that points at 3.5, for example a comment in the quickstart's step 3, paid by another trim or by the maintainer's ceiling ruling.

  2. skills/objectstack-upgrade/references/examples-upgrade.md:97-99, :283-289, :378-382; evals/protocol-major-upgrade.json:37. The text now names protocol 19's default flip for sources and, in the same breath (eval case 4), sends the reader to the stored pass for production rows, without saying that the stored pass never rewrites that flip. A permission set stored in sys_metadata is read with the 19 meaning and is never rewritten (packages/spec/src/conversions/stored.ts:101-132, STORED_ROWS_NOT_REWRITTEN); os migrate meta --stored only lists it under viewAllFieldsReview, and a review list never makes the run unclean (stored-migration.ts:370-373). So --stored --json exits 0, which examples-upgrade.md:378 glosses as "every row canonical" and :381 as the deployment being on protocol N, while holders of a stored View All set have lost field reads. The direction is fewer fields seen, never a field opened, and the CLI prints the list, which is why this is not a must-fix; but it is exactly the "observable with no test failing: row visibility" class the skill sends to the owner (SKILL.md:134-136). One sentence in the "Stored rows" bullet closes it: stored permission sets are listed, not rewritten, and the owner decides each.

  3. skills/objectstack-upgrade/SKILL.md:54-55, :72; references/examples-upgrade.md:79-81. The new handshake bullet says, truly, that after next.3 a control taken with the 19 CLI "is that one refusal" (validate.ts:350-385 exits before any rule runs). The quickstart still takes its control that way, on the '^18' source it now shows as the worked example (SKILL.md:72), and first check 2 still reads the control for pre-existing rule findings (SKILL.md:54-55), which a file holding one refusal cannot show. The reference states the consequence and gives no way to a usable control. Say when to take it (before the pins move, or after the range moves), or say the control is void for this crossing.

  4. skills/objectstack-upgrade/SKILL.md:86-89; references/examples-upgrade.md:73-99. "18 → 19 also owes" and "The 18 → 19 run, as it ships" read as the list, and one per-deployment step is missing: os migrate protocol --to 19 (preview) then --apply --yes. Until that switch is recorded a protocol-19 os serve, os dev and os start refuse to start on a database an earlier release created (content/docs/upgrading.mdx:173-185; packages/cli/src/commands/migrate/protocol.ts:81, :143-145), and the stored pass does not move stored forms either (stored.ts, view-forms-to-form-items in STORED_ROWS_NOT_REWRITTEN). The refusal is loud and names the command, so the agent recovers; a follow-up card is an acceptable route if the maintainer keeps this pull to the card's four steps.

nit (no effect on correctness or the contract)

  1. references/examples-upgrade.md:90: "Only os build runs this gate". Step 3e sits in Compile (compile.ts:1204-1249); Build subclasses it without touching the gate (build.ts:5-13), and os dev compiles at boot (dev.ts:607-616; whether that compile stops on drift was not traced). The contrast the sentence needs is with os validate, which is true; the release page words it the same way.
  2. references/examples-upgrade.md:84-89 drops the whole-file restore. It still exists: a disagreement no written unit can be tied to restores every file and exits 1 (meta.ts:1787-1797), and on next.3 any disagreement does (tarball commands/migrate/meta.js:1204-1210). The new bullet is not false; the changeset's and PR body's "does not restore every file" is stronger than the code.
  3. SKILL.md:97-98: "Port by hand what it lists" now reads as --write's leftover list only; the base also told the reader of a default run to port the printed edits.
  4. SKILL.md:87-88: the quickstart block now holds two writing commands as bare runnable lines, guarded only by their comments. --update-access-matrix writes unconditionally and creates the snapshot in an app that never opted in (compile.ts:1217-1220); os migrate apply --yes skips the prompt. The frontmatter still routes physical drift to objectstack-platform (SKILL.md:13-14).
  5. Small losses from the trims, each still held elsewhere or minor: 3.6's "valid only on the release you are leaving" (examples-upgrade.md:381-382; trap 3 keeps the fact, SKILL.md:111-112); the literal sourceType: github marker (SKILL.md:60-61); the failure-mode row's "exercise the path for real"; 2.1's "measure again in the report".
  6. evals/protocol-major-upgrade.json:40: must_contain_any still offers 18.3, which an 18 → 19 answer has no reason to say. Unchanged from the base, so not a weakening.

维护者速读:没有发现教错的句子,评测没有被放宽,next.3 的说法都对照已发布的包核实过。四条 should-fix 都是“少说了”:trap 7 搬走后入口文件里没有任何一句要求做反向验证;存库的权限集不会被 --stored 改写、退出码 0 也不代表它们没变窄;19 CLI 下对照基线只剩一条拒绝;每个部署还欠 os migrate protocol --to 19。本 PR 涉及权限教学,须人工合并。

Implemented-by: claude/issue-38926-upgrade-skill-19
Reviewed-by: session_01QSeKYnrQ7UMtHofKQVjcH2

VERDICT: PASS

…ontrol and what the stored pass leaves to the owner

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head c9b579d · 2026-12-02T22:33Z

Delta record at CONTRACT_REVIEW_TIER (face: governed rules text, skills/**), by the same isolated reviewer that wrote 7360213578, over fix round 1 (report 7360802079, d2ab4e3b..c9b579d3).

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Rendered 2026-12-02T22:36Z by an isolated reviewer subagent of the seat: the delta read on record 7360213578, over fix round 1 (report 7360802079).

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c9b579d36117828935057b8fd168bc0e6ed6233a
Local-runs: none
Scope: skills/objectstack-data/rules/indexing.md, skills/objectstack-upgrade/SKILL.md, skills/objectstack-upgrade/evals/protocol-major-upgrade.json, skills/objectstack-upgrade/references/examples-upgrade.md + none
Security-touching: yes
Rule-change-verified: none

Delta read of d2ab4e3b1ea83a27eecb6031a231408b026a74da..c9b579d36117828935057b8fd168bc0e6ed6233a (one commit; SKILL.md, the reference, the eval file and the changeset; indexing.md is unchanged this round). Line numbers are the files at this head; code is cited at the merge base 8d4395b7d6fa457d9a5be1a58db3488c2e11dd98. The report was read as claims. Everything record 7360213578 judged outside this delta stands as written there.

Findings: 0 must-fix, 0 should-fix, 4 nits. S1 to S4 are closed. No sentence added this round was found false against the code.

① Derived judgments

The four should-fix items, each read against the code it cites:

Item Now reads (file:line) Verdict Evidence
S1 reverse check SKILL.md:81 "all four, then the reverse check (reference 3.5)"; SKILL.md:152 "run the reverse check (3.5)" CLOSED Two imperatives in the always-loaded file, both pointing at the section that holds the rule in full (examples-upgrade.md:346-369). Eval case 1's expected answer names it too (evals:7), not as an assertion
S2 stored permission sets examples-upgrade.md:102-106, :377, :380-381; evals:37, :41 CLOSED, TRUE Never rewritten: STORED_ROWS_NOT_REWRITTEN (packages/spec/src/conversions/stored.ts:101-132). Listed only: viewAllFieldsReview is "REPORT ONLY ... moves no count and no verdict" (packages/metadata-protocol/src/stored-migration.ts:270-278). Exit 0: storedMigrationClean reads pending, failed and servedInvalid only (:355-373). "Read no field another set hides" and "through the metadata API" are the pass's own printed words (:626-644). 3.6 no longer says "every row canonical"
S3 usable control SKILL.md:54-56, :66-70, :72; examples-upgrade.md:77-78; evals:7 CLOSED, TRUE The control now sits in step 0, before the pins move, so the installed 18 CLI takes it; step 1 opens "the pins moved". The reason given holds after next.3 (validate.ts:350-385)
S4 protocol switch SKILL.md:90; examples-upgrade.md:96-98; evals:7, :10 CLOSED, TRUE Preview by default, writes nothing; --apply runs the switch; a non-TTY needs --yes (packages/cli/src/commands/migrate/protocol.ts:81-135, :154-158, :202-206). The served boot refuses a database without the recorded switch and names the command (packages/runtime/src/form-type-switch-boot-guard.ts:12-40; composed in serve.ts:4499-4506); os dev and os start per content/docs/upgrading.mdx:183-185

Nits of the first record:

  • N1 done and true: examples-upgrade.md:89-90 names os build and os compile (compile.ts:1204-1249; build.ts subclasses it).
  • N2 done and true: examples-upgrade.md:87-88 keeps the whole-file restore (meta.ts:1787-1797); the changeset now says the same.
  • N3 done: SKILL.md:99-100 covers the edits a default run prints and the ones --write only lists.
  • N4 holds. Every bare line of step 4 (SKILL.md:88-91) is a build or a preview: os build writes only its artifact and stops on drift without the flag (compile.ts:1217-1246); os migrate plan is a dry run (plan.ts:142-143); os migrate protocol --to 19 previews and writes nothing; os migrate meta --stored is a preview (meta.ts:1441-1454). Each write (--update-access-matrix, apply --yes, --apply --yes) appears only in a comment.
  • N5 skip accepted: the four small losses each have a home or are minor, and one of them is now better covered (3.6's 0 is qualified at examples-upgrade.md:380-381).
  • N6 skip accepted: 18.3 in case 4's first any-of group is unchanged from the base; dropping an alternative would tighten an assertion nobody asked to change.

This round's trims, and the home found for each:

Trimmed Home
Trap 2's replay command and its criterion SKILL.md:84 (the command, applied [], no replayedNothing), which trap 2 now points at (:103); the why in examples-upgrade.md:291-296. See nit 1
2.4 "Two or more real targets" SKILL.md:134; the worked transform case in 2.3
2.4 "How to ask" SKILL.md:140-142 (one message per item: site, prescription verbatim, options and costs, recommendation, what will be verified)
2.3's two asides No rule in either
2.5's opening Folded into one sentence in place; same instruction
3.6's opening ("the four artifacts cover the authored sources") examples-upgrade.md:110 ("sys_metadata rows are the other subject")
The .upgrade file-name list Each file is named where it is written: SKILL.md:70, :75, :76, :78; examples-upgrade.md:245
The objectstack-pm-dispatch note The remove command still lists the name (examples-upgrade.md:48) and "a missing name is skipped" stays; only the explanation left
"Not a warning to dismiss", "the diff, already attributed", two cells of 2.1's table, the step list in the "Where to go" row, per-line "per deployment" No rule in the first four; the last is the step header (SKILL.md:87)

No rule lost its only home.

Evals: case 1 gains one must_contain token (evals:10), case 4 gains one any-of group (evals:41). Both tighten. Nothing is removed or loosened.

Sizes, from blob bytes and the script's formula: SKILL.md 9002 bytes, 160 lines, 2244 of 2244; examples-upgrade.md 20174 bytes, 429 lines, 5044 of 5044. No file under scripts/ is in the diff. The eval file's 1761 is the report's figure, not re-measured.

Head check-runs at read time: 27 success, 20 skipped, 2 in progress, none failed. The all-green read is the seat's.

main moved 16 commits past the base. They touch meta.ts and stored-migration.ts additively (an own-field-row list beside Modify All); skills/, the ratchet script, protocol.ts, stored.ts, compile.ts and validate.ts are untouched. Every sentence above still holds on main.

② Semver level

Unchanged: @objectstack/skills: patch, Clause-②: no, Metadata-protocol: none.

③ Boundary flags

  • Security-touching stays yes, and more so: this round adds the stored permission-set bullet and an eval group on viewAllFields. The low-risk skills arm must not land this pull.
  • Rule-change-verified: none: no path under .claude/**.
  • The report's open_questions is empty. Its four deviations are process notes (a cross-session message checked against GitHub, four eval turns, main not merged, the worktree kept); none changes the diff.
  • PR author is still objectstack-fleet[bot]. Independence is as the first record states it.
  • The PR body matches the diff at this head in its step table (both new rows read true), size table, "Read first" and the lists of what left, with two exceptions, both in nit 3.
  • SQL push-down check: no code in the diff.

④ Design judgment

The delta holds against the code it cites and against the card. The 18 → 19 run now names every step the release page and upgrading.mdx name for a deployment, the control is one an agent can use, and the reverse check is an instruction in the entry file again.

must-fix: none.

should-fix: none.

nit (no effect on correctness or the contract)

  1. skills/objectstack-upgrade/SKILL.md:102-104: trap 2 no longer shows the replay in its generic form. The only replay command left in the entry file is the 18 → 19 literal (:84); step 1 says "18 → 19 shown" (:72) and step 3 does not, so an agent on another crossing has to carry that over itself.
  2. skills/objectstack-upgrade/evals/protocol-major-upgrade.json:7: "a 19 CLI only refuses a '^18' range" is true after next.3; the published 19.0.0-next.3 passes it with a warning. The reference states the cut (examples-upgrade.md:76-78); the expected answer does not.
  3. PR body, not the diff: "main advanced three commits (8d4395b7 → a294369c)" is stale, it is 16 now and they touch the cited CLI files, additively; and "what left" omits this round's smallest trims (the printed-output phrases, the "Where to go" step list).
  4. skills/objectstack-upgrade/references/examples-upgrade.md:92: one line was left unwrapped.

维护者速读:上一轮的四条 should-fix 全部关闭,新增的每句话都对照代码核过,属实。这一轮为省字数做的删减,每条规则都还有别的出处。剩四个不影响正确性的小点,可以不改。本 PR 仍涉及权限教学,须人工合并。

Implemented-by: claude/issue-38926-upgrade-skill-19
Reviewed-by: session_01QSeKYnrQ7UMtHofKQVjcH2

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2
Rendered 2026-12-02T22:57Z by an isolated reviewer subagent of the seat: the delta read on record 7360213578, over fix round 1 (report 7360802079).
This record supersedes 7360946670; its findings and verdict are unchanged, only the wording of the grade lines.

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: c9b579d36117828935057b8fd168bc0e6ed6233a
Local-runs: none
Scope: skills/objectstack-data/rules/indexing.md, skills/objectstack-upgrade/SKILL.md, skills/objectstack-upgrade/evals/protocol-major-upgrade.json, skills/objectstack-upgrade/references/examples-upgrade.md + none
Security-touching: yes
Rule-change-verified: none

Delta read of d2ab4e3b1ea83a27eecb6031a231408b026a74da..c9b579d36117828935057b8fd168bc0e6ed6233a (one commit; SKILL.md, the reference, the eval file and the changeset; indexing.md is unchanged this round). Line numbers are the files at this head; code is cited at the merge base 8d4395b7d6fa457d9a5be1a58db3488c2e11dd98. The report was read as claims. Everything record 7360213578 judged outside this delta stands as written there.

No must-fix, no should-fix. Four nits. The four items the first record raised, S1 to S4, are closed. No sentence added this round was found false against the code.

① Derived judgments

The four items S1 to S4, each read against the code it cites:

Item Now reads (file:line) Verdict Evidence
S1 reverse check SKILL.md:81 "all four, then the reverse check (reference 3.5)"; SKILL.md:152 "run the reverse check (3.5)" CLOSED Two imperatives in the always-loaded file, both pointing at the section that holds the rule in full (examples-upgrade.md:346-369). Eval case 1's expected answer names it too (evals:7), not as an assertion
S2 stored permission sets examples-upgrade.md:102-106, :377, :380-381; evals:37, :41 CLOSED, TRUE Never rewritten: STORED_ROWS_NOT_REWRITTEN (packages/spec/src/conversions/stored.ts:101-132). Listed only: viewAllFieldsReview is "REPORT ONLY ... moves no count and no verdict" (packages/metadata-protocol/src/stored-migration.ts:270-278). Exit 0: storedMigrationClean reads pending, failed and servedInvalid only (:355-373). "Read no field another set hides" and "through the metadata API" are the pass's own printed words (:626-644). 3.6 no longer says "every row canonical"
S3 usable control SKILL.md:54-56, :66-70, :72; examples-upgrade.md:77-78; evals:7 CLOSED, TRUE The control now sits in step 0, before the pins move, so the installed 18 CLI takes it; step 1 opens "the pins moved". The reason given holds after next.3 (validate.ts:350-385)
S4 protocol switch SKILL.md:90; examples-upgrade.md:96-98; evals:7, :10 CLOSED, TRUE Preview by default, writes nothing; --apply runs the switch; a non-TTY needs --yes (packages/cli/src/commands/migrate/protocol.ts:81-135, :154-158, :202-206). The served boot refuses a database without the recorded switch and names the command (packages/runtime/src/form-type-switch-boot-guard.ts:12-40; composed in serve.ts:4499-4506); os dev and os start per content/docs/upgrading.mdx:183-185

Nits of the first record:

  • N1 done and true: examples-upgrade.md:89-90 names os build and os compile (compile.ts:1204-1249; build.ts subclasses it).
  • N2 done and true: examples-upgrade.md:87-88 keeps the whole-file restore (meta.ts:1787-1797); the changeset now says the same.
  • N3 done: SKILL.md:99-100 covers the edits a default run prints and the ones --write only lists.
  • N4 holds. Every bare line of step 4 (SKILL.md:88-91) is a build or a preview: os build writes only its artifact and stops on drift without the flag (compile.ts:1217-1246); os migrate plan is a dry run (plan.ts:142-143); os migrate protocol --to 19 previews and writes nothing; os migrate meta --stored is a preview (meta.ts:1441-1454). Each write (--update-access-matrix, apply --yes, --apply --yes) appears only in a comment.
  • N5 skip accepted: the four small losses each have a home or are minor, and one of them is now better covered (3.6's 0 is qualified at examples-upgrade.md:380-381).
  • N6 skip accepted: 18.3 in case 4's first any-of group is unchanged from the base; dropping an alternative would tighten an assertion nobody asked to change.

This round's trims, and the home found for each:

Trimmed Home
Trap 2's replay command and its criterion SKILL.md:84 (the command, applied [], no replayedNothing), which trap 2 now points at (:103); the why in examples-upgrade.md:291-296. See nit 1
2.4 "Two or more real targets" SKILL.md:134; the worked transform case in 2.3
2.4 "How to ask" SKILL.md:140-142 (one message per item: site, prescription verbatim, options and costs, recommendation, what will be verified)
2.3's two asides No rule in either
2.5's opening Folded into one sentence in place; same instruction
3.6's opening ("the four artifacts cover the authored sources") examples-upgrade.md:110 ("sys_metadata rows are the other subject")
The .upgrade file-name list Each file is named where it is written: SKILL.md:70, :75, :76, :78; examples-upgrade.md:245
The objectstack-pm-dispatch note The remove command still lists the name (examples-upgrade.md:48) and "a missing name is skipped" stays; only the explanation left
"Not a warning to dismiss", "the diff, already attributed", two cells of 2.1's table, the step list in the "Where to go" row, per-line "per deployment" No rule in the first four; the last is the step header (SKILL.md:87)

No rule lost its only home.

Evals: case 1 gains one must_contain token (evals:10), case 4 gains one any-of group (evals:41). Both tighten. Nothing is removed or loosened.

Sizes, from blob bytes and the script's formula: SKILL.md 9002 bytes, 160 lines, 2244 of 2244; examples-upgrade.md 20174 bytes, 429 lines, 5044 of 5044. No file under scripts/ is in the diff. The eval file's 1761 is the report's figure, not re-measured.

Head check-runs at read time: 27 success, 20 skipped, 2 in progress, none failed. The all-green read is the seat's.

main moved 16 commits past the base. They touch meta.ts and stored-migration.ts additively (an own-field-row list beside Modify All); skills/, the ratchet script, protocol.ts, stored.ts, compile.ts and validate.ts are untouched. Every sentence above still holds on main.

② Semver level

Unchanged: @objectstack/skills: patch, Clause-②: no, Metadata-protocol: none.

③ Boundary flags

  • Security-touching stays yes, and more so: this round adds the stored permission-set bullet and an eval group on viewAllFields. The low-risk skills arm must not land this pull.
  • Rule-change-verified: none: no path under .claude/**.
  • The report's open_questions is empty. Its four deviations are process notes (a cross-session message checked against GitHub, four eval turns, main not merged, the worktree kept); none changes the diff.
  • PR author is still objectstack-fleet[bot]. Independence is as the first record states it.
  • The PR body matches the diff at this head in its step table (both new rows read true), size table, "Read first" and the lists of what left, with two exceptions, both in nit 3.
  • SQL push-down check: no code in the diff.

④ Design judgment

The delta holds against the code it cites and against the card. The 18 → 19 run now names every step the release page and upgrading.mdx name for a deployment, the control is one an agent can use, and the reverse check is an instruction in the entry file again.

No must-fix, no should-fix.

S1: closed.

S2: closed.

S3: closed.

S4: closed.

nit (no effect on correctness or the contract)

  1. skills/objectstack-upgrade/SKILL.md:102-104: trap 2 no longer shows the replay in its generic form. The only replay command left in the entry file is the 18 → 19 literal (:84); step 1 says "18 → 19 shown" (:72) and step 3 does not, so an agent on another crossing has to carry that over itself.
  2. skills/objectstack-upgrade/evals/protocol-major-upgrade.json:7: "a 19 CLI only refuses a '^18' range" is true after next.3; the published 19.0.0-next.3 passes it with a warning. The reference states the cut (examples-upgrade.md:76-78); the expected answer does not.
  3. PR body, not the diff: "main advanced three commits (8d4395b7 → a294369c)" is stale, it is 16 now and they touch the cited CLI files, additively; and "what left" omits this round's smallest trims (the printed-output phrases, the "Where to go" step list).
  4. skills/objectstack-upgrade/references/examples-upgrade.md:92: one line was left unwrapped.

维护者速读:上一轮的四条待修项(S1 到 S4)全部关闭,新增的每句话都对照代码核过,属实。这一轮为省字数做的删减,每条规则都还有别的出处。剩四个不影响正确性的小点,可以不改。本 PR 仍涉及权限教学,须人工合并。

Implemented-by: claude/issue-38926-upgrade-skill-19
Reviewed-by: session_01QSeKYnrQ7UMtHofKQVjcH2

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

L1 ACCEPT · PR #39178 (#38926) · head c9b579d36117828935057b8fd168bc0e6ed6233a · read 2026-12-02T22:58Z

席位核对

ACCEPT · repo:objectstack@os-justin · head c9b579d36117828935057b8fd168bc0e6ed6233a

  1. Shape. l1-face --pr 39178 is CLEAN: 13 items, none flagged. Fixes #38926 is right.
  2. Contract review. Delta record 7361376982 at CONTRACT_REVIEW_TIER reads PASS at this head: S1–S4 of 7360213578 closed, each new sentence read true against the code it cites (stored.ts STORED_ROWS_NOT_REWRITTEN, stored-migration.ts, migrate/protocol.ts, form-type-switch-boot-guard.ts). It supersedes 7360946670, same findings, reworded for the record reader. N5/N6 skips judged acceptable; this round's trims each have a named home. Security-touching: yes (it teaches permission-set handling).
  3. Fix round 1. Report 7360802079: S1–S4 and N1–N4 in one commit; the token ratchet stays flat (2244/2244, 5044/5044), no file under scripts/ in the diff. Evals only tighten: case 1 gains a token, case 4 an any-of group; both pass with-skill and fail no-skill (one repetition each).
  4. Body. The seat applied the report's twelve body edits and corrected the main-drift note (16 commits; none touches skills/, the ratchet script, protocol.ts or stored.ts). Read back identical. The two-minute check (git grep -n -e "--from 16" -e "--to 17" -e "--to 18" -- skills/) gives exactly the two deliberate hits at this head.
  5. Gates at this head. CI: 32 success, 22 expected skip, 0 failed, 0 pending; mergeable clean. Gates reconciled 52 derived, 51 at exit 0, 1 not measured (check:dual-build-cjs-loads, needs a full build; CI's build covers it). check-governed-merges: governed, skills/** ×4, Tier H; not the low-risk arm because the record reads Security-touching: yes. 271 changed lines.
  6. Open nits, not blocking (delta record): trap 2 shows only the 18 → 19 replay literal; eval case 1's expected answer states the post-next.3 refusal; examples-upgrade.md:92 one unwrapped line. They go to a review follow-ups card after merge.

Clause-②: no · Metadata-protocol: none

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2

维护者速读(交接 · 2026-12-02T22:58Z)

  • 是什么:对外发布的升级技能(objectstack-upgrade)从教"16 升 18"改为教"18 升 19"。AI 助手带客户升级时,不会再抄错版本区间;还会补上这一趟多出来的几步:切换协议记录、处理存库数据、审阅权限矩阵差异。
  • 这一轮改了什么:契约复审提的 4 条必改全部修好,增量契约复审 PASS(评论 7361376982,Head-sha 同下)。其中包括:要在换版本号之前先取对照基线;19 的服务在数据库切换记录写入前会拒绝启动;存库里的权限集不会被自动改写,要由负责人逐条决定。
  • 风险:
    • 只改说明文字和评测题,不动运行代码,可以整体撤回。
    • 涉及权限教学(Security-touching: yes),不适用低风险技能放权,按规则须由你合并。
    • 字数上限没有抬高:新增内容都靠删掉同一文件里的重复表述来抵消,每条删掉的规则在别处都还有。
  • 要你做什么:

Head-sha: c9b579d36117828935057b8fd168bc0e6ed6233a

@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 Dec 2, 2026
@objectstack-fleet
objectstack-fleet Bot requested a review from os-zhuang December 2, 2026 22:59
@os-zhuang
os-zhuang marked this pull request as ready for review December 2, 2026 23:01
@os-zhuang
os-zhuang added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 1e26342 Dec 2, 2026
62 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-38926-upgrade-skill-19 branch December 2, 2026 23:22
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 size/m tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

3 participants