Repository navigation
docs(skills): the upgrade skill replays from the project's own floor and names the 18 → 19 steps as they ship - #39178
Conversation
…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>
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head d2ab4e3 · 2026-12-02T21:55Z First full record at |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract reviewServed-tier: PR #39178, card #38926. Face: governed rules text ( 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 judgmentsWhat was read, and how. The diff; the card; the PR body; the report; Claims about the CLI on the PR's base, each judged:
Claims about the published
"Writes none of that project's edits" is verified by construction (every collection of the template goes through Evals. No assertion is removed or loosened. Case 1 (evals:6-12): The two Token ratchet. Read off blob sizes: Head check-runs at read time: 21 success, 18 skipped, 4 in progress ( ② Semver level
③ Boundary flags
④ Design judgmentAgainst the card: the quickstart reads the floor off must-fix: none. should-fix
nit (no effect on correctness or the contract)
维护者速读:没有发现教错的句子,评测没有被放宽, Implemented-by: 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>
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract-review-claim: session_01QSeKYnrQ7UMtHofKQVjcH2 · head c9b579d · 2026-12-02T22:33Z Delta record at |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract reviewServed-tier: Delta read of 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 judgmentsThe four should-fix items, each read against the code it cites:
Nits of the first record:
This round's trims, and the home found for each:
No rule lost its only home. Evals: case 1 gains one Sizes, from blob bytes and the script's formula: Head check-runs at read time: 27 success, 20 skipped, 2 in progress, none failed. The all-green read is the seat's.
② Semver levelUnchanged: ③ Boundary flags
④ Design judgmentThe delta holds against the code it cites and against the card. The 18 → 19 run now names every step the release page and must-fix: none. should-fix: none. nit (no effect on correctness or the contract)
维护者速读:上一轮的四条 should-fix 全部关闭,新增的每句话都对照代码核过,属实。这一轮为省字数做的删减,每条规则都还有别的出处。剩四个不影响正确性的小点,可以不改。本 PR 仍涉及权限教学,须人工合并。 Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 Contract reviewServed-tier: Delta read of 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 judgmentsThe four items S1 to S4, each read against the code it cites:
Nits of the first record:
This round's trims, and the home found for each:
No rule lost its only home. Evals: case 1 gains one Sizes, from blob bytes and the script's formula: Head check-runs at read time: 27 success, 20 skipped, 2 in progress, none failed. The all-green read is the seat's.
② Semver levelUnchanged: ③ Boundary flags
④ Design judgmentThe delta holds against the code it cites and against the card. The 18 → 19 run now names every step the release page and No must-fix, no should-fix. S1: closed. S2: closed. S3: closed. S4: closed. nit (no effect on correctness or the contract)
维护者速读:上一轮的四条待修项(S1 到 S4)全部关闭,新增的每句话都对照代码核过,属实。这一轮为省字数做的删减,每条规则都还有别的出处。剩四个不影响正确性的小点,可以不改。本 PR 仍涉及权限教学,须人工合并。 Implemented-by: VERDICT: PASS |
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 L1 ACCEPT · PR #39178 (#38926) · head 席位核对ACCEPT · repo:objectstack@os-justin · head
|
|
repo:objectstack@os-justin · os-justin · session_01QSeKYnrQ7UMtHofKQVjcH2 维护者速读(交接 · 2026-12-02T22:58Z)
Head-sha: |
Fixes #38926
Clause-②: no
Metadata-protocol: none
维护者速读
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, headc9b579d36117828935057b8fd168bc0e6ed6233a(fix round 1 on the contract review, report 7360802079).What changes
The shipped
objectstack-upgradeskill 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.mdengines.protocol('^18'→ 18). Step 1 runsos migrate meta --from 18with--step,--jsonand--out. Step 3 replaysos migrate meta --from 18 --to 19 --jsonand readsapplied[]with noreplayedNothing.'^18'→--from 18, and a two-sided range whose floor is 16 →--from 16.os build, then--update-access-matrixonly on "Access matrix drift", with the owner reviewing the diff; and per deploymentos migrate planthenos migrate apply --yes,os migrate protocol --to 19then--apply --yesbefore a 19os serve,os migrate meta --storedthen--stored --apply --yes.skills/objectstack-upgrade/references/examples-upgrade.mdA 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
8d4395b7and, for thenext.3half, against the published19.0.0-next.3CLI tarball:'^18'before it loads anything,OS_PROTOCOL_INCOMPATIBLE; afternext.3,os validateandos buildrefuse it too; take the control with the 18 CLI, before the pins movepackages/cli/src/commands/validate.ts(findProtocolRangeRefusal, exit 1 before the rules run); thenext.3tarball'svalidate.jscarries no such refusal--writeonnext.3exportsOf(…); writes none of a scaffolded project's edits; lists eachnot written [helper]; exits0dist/utils/authored-source-codemod.js(refuse('helper', …), no wrapper module) anddist/commands/migrate/meta.js(exit 1 only when the write status is notwritten)--writeafternext.3Wrote N of M mechanical change(s); exits1while an edit or the range is leftpackages/cli/src/utils/authored-source-wrappers.ts;meta.ts(leftByHand, theWrote … of …line)os buildandos compilerun the gate;os validatedoes not;os build --update-access-matrix; the owner reviews and commits the matrix diffpackages/cli/src/commands/compile.tsstep 3e;validate.tshas no matrix read;migrate-access-matrix-drift.ts(ADR-0090 D7: the diff is the human review artifact)os migrate apply --yes--yesa non-interactive shell applies nothing and exits1packages/cli/src/commands/migrate/apply.ts(Confirmation required, exit 1)--apply --yes; afternext.3, exit1while a row would be served invalidmeta.tsstored path (servedInvalid,exitCode = 1)os migrate protocol --to 19--apply --yes; until the switch is recorded, a 19os serve,os devoros startrefuses to start on a database an earlier release createdcontent/docs/upgrading.mdx;packages/cli/src/commands/migrate/protocol.tsviewAllFieldsReview, exit0; the owner decides each entry and addsviewAllFields: truethrough the metadata APIconversions/stored.ts(STORED_ROWS_NOT_REWRITTEN);stored-migration.tsThe 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 18cannot 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 retiredtypeandpartialsaysos migrate meta --from N, N the floor ofengines.protocol, where it said--from 16.skills/objectstack-upgrade/evals/protocol-major-upgrade.json: case 1 is a'^18'project moving to 19. Itsmust_containmovesos migrate meta --from 16to--from 18and gains--update-access-matrix,--storedandos migrate protocol --to 19; itsmust_not_containmoves--from 17 --applyto--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.mdsaid--writerestores every file when its re-run disagrees. Afternext.3it keeps the edits that stand alone and restores every file only for a disagreement it cannot tie to one edit (disagreeingUnitsinmeta.ts). The new--writebullet replaces the sentence.examples-upgrade.md3.3 and eval case 4 said "this build ships none" of the migration-chain-only conversions. Protocol 19 shipspermission-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.16 → 17andChain: 16 → 18. It is now a FROM → TO placeholder pair (angle-bracket placeholders in the file, like the template's other fields).upgrade/protocol-19, wasupgrade/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.
skills/objectstack-upgrade/SKILL.mdskills/objectstack-upgrade/references/examples-upgrade.mdskills/objectstack-data/rules/indexing.mdskills/objectstack-upgrade/evals/protocol-major-upgrade.json(eval fixture, not ratcheted)SKILL.mdWhat left to pay for it, and what answers it now:
SKILL.mdtrap 7 (prove the parse gate once, with a plain data literal, nodefine*call) leaves the entry file.examples-upgrade.md3.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.mdtrap 2 no longer repeats the replay command and its criterion; quickstart step 3 holds both.SKILL.mdfirst check 4 no longer names the lock entry'ssourceType: github; the reference's "Re-install the skills" section says which entries the sync skips. The spec-changes harvest is onecpin place of anode -eone-liner.examples-upgrade.md2.4: the "One target", "Observable without a test failing" and "Two or more real targets" bullets, "While you wait" and "How to ask" restatedSKILL.md's "Decide alone, or ask", which keeps all of them.validategreen, 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.--helppointer sentence, 2.3's two asides, 2.5's opening, 3.6's opening, the list of.upgradefile names, and the note onobjectstack-pm-dispatchin the skills re-install.Read first
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.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.skills/objectstack-upgrade/evals/protocol-major-upgrade.json: case 1'smust_containgains three tokens, case 4 one any-of group.Tests
pnpm --filter @objectstack/scenarios skill-evals --case …), atc9b579d3: 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:
descriptionstill 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.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.skills add). An 18.x project re-runs the sync after the pin bump; the section does not say so.mainis 16 commits past the branch at9a13387ded. None touchesskills/, the changeset, the ratchet script,protocol.tsorstored.ts; two add to the citedmeta.tsandstored-migration.ts, and the taught sentences still hold there (delta review). The branch was not merged forward.Verification
Two-minute check, one command:
Expected: exactly two hits, both deliberate.
SKILL.md:51(the floor-reading example, a two-sided range whose floor is 16) andexamples-upgrade.md:23(the multi-major sentence).Gates: 52 derived, 51 run at exit 0, 1 not measured
node scripts/pm/dispatch-gates.mjs --commandsatc9b579d3, no paths passed: 52 commands. Each was run with its exit code captured before any pipe, then reconciled: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.c9b579d3every command ran once, with no second runs. (Atd2ab4e3b, five had answered exit 0 only on a second run, after a prerequisite was built.)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-docsandcheck:skill-refsare green with nothing regenerated: the diff changes no frontmatter and the skill is aprocessskill with no generated index.Token ratchet rows at c9b579d
🤖 Generated with Claude Code
https://claude.ai/code/session_01QSeKYnrQ7UMtHofKQVjcH2