|
| 1 | +--- |
| 2 | +'@objectstack/skills': patch |
| 3 | +--- |
| 4 | + |
| 5 | +docs(skills): the objectstack-upgrade entry file becomes a router |
| 6 | + |
| 7 | +Clause-②: no |
| 8 | +Metadata-protocol: none |
| 9 | + |
| 10 | +`skills/objectstack-upgrade/SKILL.md` goes from 24.7 KB to 9.0 KB (481 lines to 159). It now holds five things: the boundary (the four "never" rules and one `conversionId` per commit), four first checks (the authored major, the `os validate` control, where the prescriptions ship, the skills re-install), the Quickstart command block, seven traps that each look finished and are not, and the rule for when you decide a residue item alone and when you ask the owner. A table at the end says which section of the reference file to open. No rule's teaching changes. Text moved, and this entry says where it went. The skill's two authored files are 0.3 KB smaller together (29.5 KB to 29.2 KB). |
| 11 | + |
| 12 | +**What the entry keeps.** The seven traps: `os migrate meta` rewrites no source file by default, so the printed edits are ported by hand, or `--write` is passed and the edits it only lists are ported, then the range is replayed; a green `validate` does not mean the chain has nothing left, so replay `--from <authored-major> --to <target-major> --json` until `applied` is `[]` with no `replayedNothing`; stored `sys_metadata` rows are rewritten only at read and only while the release carries their conversions, so run the `--stored` pass before you leave it; data migrations are per-deployment gates the report carries as `pending`; code on a retired API can keep compiling while it reads `undefined`; prose that still teaches the old shape fails nothing; and the parse-gate probe is a plain data literal with no `define*` call. |
| 13 | + |
| 14 | +**What left, and where it is now.** `references/examples-upgrade.md` now holds the whole run in order, around the three blocks it already had (the worked R1, the report template, the v17-canonical shapes, all unchanged): |
| 15 | + |
| 16 | +- `0 · Preflight` (`#0--preflight`): the three sources of the FROM major, the `.upgrade/` workspace, the commands that re-install the skills. |
| 17 | +- `1 · Mechanical layer` (`#1--mechanical-layer`): what a run does and prints, stored rows, data gates. |
| 18 | +- `2 · Semantic residue` (`#2--semantic-residue`): where the prescriptions ship and how to harvest them, the residue classes, what each decide-or-ask condition looks like, the R2 and R3 searches. |
| 19 | +- `3 · Acceptance` (`#3--acceptance`): typed, parse-gated, validate, the reverse check (`#reverse-check`) with its three outcomes, the stored-row assertion. |
| 20 | +- `Failure modes` (`#failure-modes`) and the `--json` error codes. |
| 21 | +- Anchors that no longer exist in `SKILL.md`: `#-the-boundary--read-this-before-the-first-command` (now `#-the-boundary`), `#0--preflight`, `#establish-the-from-major--do-not-guess-it`, `#make-the-work-reviewable-before-you-change-anything`, `#re-install-the-skills-from-the-moved-catalog`, `#1--mechanical-layer--invoke-the-chain`, `#what-os-migrate-meta-actually-does`, `#-the-one-fact-that-surprises-every-operator`, `#stored-rows-rehydration-replays-what-the-release-carries`, `#data-migrations-are-not-metadata-migrations`, `#2--semantic-residue--the-part-that-is-yours` and its `2.1` to `2.6` sections, `#3--acceptance--what-upgraded-means` and its `3.1` to `3.6` sections, `#reverse-check`, `#failure-modes`. `#quickstart`, `#decide-alone-or-ask` and `#cross-skill-routing` still do. |
| 22 | + |
| 23 | +**Not carried over, because something else already says it.** The list of `os migrate meta` forms (`os migrate meta --help` prints the same forms and describes every flag; the Quickstart keeps the ones a run needs), and two `Failure modes` rows. "Reports changes, but the files are unchanged": its symptom and cause are trap 1, and its fix (pass `--write`, or port the printed edits by hand, then replay) is kept as that trap's last sentence. "Findings that have nothing to do with retired keys" restated first check 2, the control. |
0 commit comments