Repository navigation
fix(spec): 34 upgrade entries, 3 conversions and 4 retired-key rows that first ship in 19 move to protocol 19 - #38627
objectstack-fleet[bot] wants to merge 8 commits into
Conversation
…irst ship in 19 under major 19 Thirty-four ADR-0087 semantic entries and four retired-key rows landed after spec@18.6.0 and before the protocol moved to 19 (204356a). None is in an 18.x release; each first shipped in 19.0.0-next.0. Filed under 18, the replay from 18 never listed them. Renamed 18.ID to 19.ID, bytes unchanged, except one retired-key comment that named the 18.x line as its reason. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
…d-key rows moved to major 19 Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
field-inline-edit-boolean, object-grid-single-click-edit and view-column-state each graduate a D2 conversion into step 18, and ruling B (migrations.test.ts) and each family's pin hold the D3 entry and the retired-key rows in the conversion's own step. Moving the D3 entries alone splits the family, so they stay under 18 and move with their conversion. The changeset names the 31 entries and the one retired-key row that move. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
…step 19 whole object-grid-single-click-edit, view-column-state and field-inline-edit-boolean each landed after spec@18.6.0 and first shipped in 19.0.0-next.0 with a D2 conversion, a D3 entry, retired-key rows and a step-18 rationale fragment. Under 18, `os migrate meta --from 18` neither listed the entry nor ran the conversion. The family moves to 19 together: the D3 entries and the retired-key rows by rename, the conversions to entries/19 with toMajor 19 and orders that keep their place in ALL_CONVERSIONS, and the four rationale fragments (with knowledge-chunk-metadata-retired's) appended to step 19's rationale. The three family pins now read step 19. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
…ase that removed it The key's retirement first shipped in 19.0.0-next.0 and in no 18.x release, as its retired-key row now records, but the refusal said 18. The removal version pin derives the version only for retirements with a D2 conversion, and this one has none. Reference page regenerated. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
…e meta --from 18` With their conversions in step 19, the replay that applies them starts from 18, and retired-key-removal-version.pin derives the `--from` from toMajor. The singleClickEdit, inlineEdit-boolean and columnState refusals and their three pins now say --from 18. Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
… --from 18 prescriptions Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 41 hand-written doc(s) name something this change touched — list omitted above 15 rows. Re-derive on the tree named below: ⛔ 12 release-owned page(s) also affected — read-only, see AGENTS.md Documentation Guardrails. What this run could not see
Coarse fallback — 181 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin f10b37c86a7e13229037889938b711198144b3d5 && git checkout f10b37c86a7e13229037889938b711198144b3d5
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 7213177e4e52e6c63b5785d78e7605762cf4cb36 c7cc78d89f44c7cadddd524ebec527dc1578419e && git checkout -B drift-repro 7213177e4e52e6c63b5785d78e7605762cf4cb36 && git merge --no-ff c7cc78d89f44c7cadddd524ebec527dc1578419e
node scripts/docs-audit/affected-docs.mjs --json 7213177e4e52e6c63b5785d78e7605762cf4cb36
|
…l 19 Claude-Session: https://claude.ai/code/session_01ADHkmQcqpJwkeqnruAv4md Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z Contract-review-handoff: repo:objectstack#1 — CONTRACT_REVIEW_TIER unavailable (project rule: the maintainer bars the ceiling tier in this seat, 「契约复审交 review 席位,不用 fable」; no l2-review or review seat is seated, mailbox list read 2026-11-29T16:50Z) · head c7cc78d Face: published schema ( |
|
repo:objectstack#3 · os-steve · session_01ADHkmQm8PTU4AkVU5kdwEv L1-a, the seat's L1 thread · 2026-11-29T16:54Z · first review 席位核对ACCEPT @ Read at this head
Accepted deviation
Nit, not blocking
Landing note
|
|
repo:objectstack#1 · zhuangjianguo · session_01QsR2jSyQBDMyRnrrWKy7WS Contract-review-claim: session_01QsR2jSyQBDMyRnrrWKy7WS · head c7cc78d · 2026-11-29T16:56Z A sibling-seat contract review, asked of seat repo:objectstack#1 by seat repo:objectstack#3 (knock 7259233253 on mailbox #38524): no contract-review seat is seated and the asking seat cannot take the tier. Seat 1's review thread R1 starts an isolated contract-review sub-agent at |
Requested by Steve · project thread
Fixes #38256
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
origin/main(Ask 1).semantic/18.*entries present at the protocol move204356a6e(feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314) and absent at@objectstack/spec@18.6.0(958ee0359): 579 − 545 = 34, the same 34 ids the card lists. Each is in no@objectstack/spec@18.*tag (all 12 read: 0 hits each) and in19.0.0-next.0(34 of 34).entries/semantic/18.ID.tsbecomes19.ID.ts, R100, ids and bytes unchanged.gen:migration-registryfiles an entry by its file name's major, andcomposeMigrationChain(fromMajor)keeps only the steps abovefromMajor, so under 18 the 18 → 19 upgrade never listed them.object-grid-single-click-edit-retired,view-column-state-retiredandfield-inline-edit-boolean-retiredare each the D3 record of a D2 conversion from the same window (object-grid-single-click-edit-removed,view-column-state-removed,field-inline-edit-boolean-removed: absent at 18.6.0, first shipped in 19.0.0-next.0). Ruling B inmigrations.test.tsand each family's pin hold the D3 entry in its conversion's own step, and under 18os migrate meta --from 18did not run those conversions either. So, per the seat's amended claim:src/conversions/entries/19/,toMajor: 19,retiredAfterunchanged (18.6.0is still the last stable release that accepted the old shape);src/conversions/registry.ts: they leaveMAJOR_18_CONVERSIONSand joinMAJOR_19_CONVERSIONSatorder0.1 / 0.1 / 0.2. They were the last three of major 18 (orders 83, 83, 84), soALL_CONVERSIONSruns in exactly the same sequence as before; only the step each is reported under changes. Read off the built registry: major 18's tail is nowmanifest-packaging-manifest-deps-removed,form-view-drawer-keys-removed,view-personal-declarations-removed, and major 19 startsobject-grid-single-click-edit-removed,view-column-state-removed,field-inline-edit-boolean-removed;--from 18, and the two schema comments that name a moved conversion (src/ui/component.zod.tsabovesingleClickEdit,src/data/field.zod.tsabove the booleaninlineEditrefusal) say protocol 19.ai/KnowledgeChunk:metadata,ui/ObjectGridProps:singleClickEdit,ui/ViewItemWire:columnState,ui/ViewMetadata:columnState: each is in no 18.x tag and in 19.0.0-next.0, so the card's criterion holds. The aging reading:build-schemas.tscheck (c) proof 1 allows deleting a tombstone onceCURRENT_MAJOR - registeredAt >= 1. At 18 these rows were deletable now, at major 19, before any stable release ever carried them; at 19 they become deletable at 20, the same as every other retirement that first ships on the 19 line. Proof 2 (the@objectstack/spec@18.0.0dating tag) does not date them, since none was[RETIRED]there. So the move corrects a verdict rather than changing one wrongly. One row's comment named the 18.x line as its reason and now says why it is under 19.STEP18_RATIONALEfragments of the four moved retirements (object-grid-single-click-edit-retired,view-column-state-retired,field-inline-edit-boolean-retired,knowledge-chunk-metadata-retired) leave step 18 and their text, unchanged, joins step 19's rationale, before the form viewmodalSizesentence (placed there so it does not share the tail line feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550 edits).retired-key-removal-version.pin.test.tsderives a prescription'sos migrate meta --from Nfrom the conversion'stoMajor, so thesingleClickEdit, booleaninlineEditandcolumnStaterefusals now say--from 18.KnowledgeChunk.metadata's tombstone said "removed in @objectstack/spec 18"; it now says 19.0.0, as its three siblings already did. That pin did not catch it because it derives the version only for retirements with a D2 conversion, and this one has none. Reference pages regenerated (content/docs/references/ai/knowledge-document.mdx,ui/component.mdx,ui/view.mdx).18.action-body-does-not-compile-refusednamesbody-regexp-pattern-refused, now under 19), it names the id, not a position, so it still reads right.@objectstack/specpatch changeset (Ask 4). The id-keyedadr-0087: registeredmarkers in.changeset/pre/*and the released CHANGELOGs, which say "step 18" for these families, stay as published (AGENTS.md: release-owned).Tests
Forced test changes, each because the family it pins moved to 19:
src/data/field-inline-edit-boolean.pin.test.ts: the conversion'stoMajorand the step it is wired into read 19; the prescription regex reads--from 18.src/ui/object-grid-single-click-edit.pin.test.ts: the same, plusRETIRED_KEYS_BY_MAJOR[19].src/ui/view-column-state-retirement.test.ts: the retired-key rows, the conversion and the D3 entry are read from major 19; the prescription regex reads--from 18.No other test changes. The chain pins (
migrations.test.ts,semantic-relevance.test.ts,step18-rationale-merge.test.ts,conversions-major18-merge.test.ts) read the generated lists and pass unchanged.Readings (head c7cc78d, base origin/main ee9fd3d)
Built registry (
dist/migrations):composeMigrationChain(18)lists the 34 + the 3 of #38239composeMigrationChain(17, 18)lists anyThe semantic id set over every step: 690 ids, 690 unique, before and after.
Local runs:
pnpm --filter @objectstack/spec buildunderos-verify-lock: command-exit 0.pnpm --filter @objectstack/spec testunderos-verify-lockat 3d1e155 (c7cc78d after it changes two code comments only;buildandcheck:generatedclean there):Test Files 913 passed (913),Tests 28893 passed | 1 todo (28894).pnpm --filter @objectstack/spec typecheck: command-exit 0.pnpm --filter @objectstack/spec check:generated --fix: regenerated the three reference pages it proved stale.dispatch-gates.mjs --commands) at c7cc78d: 122 derived, 122 run, each exit 0;--ranreconciles 0 NOT-MEASURED (afterturbo run build --filter=./packages/**andgit fetch --unshallow, without which nine exit 3 on unmet prerequisites).overlap-check.mjsbefore every push: clean with origin/main and with fix(lint)!: the publish gate refuses a subflow or map step that calls a flow the deployment does not hold #38594 (which edits18.publish-refuses-flows-that-save-and-do-not-run.ts;git merge-treeagainst its head applies that edit to the renamed19.file). One overlap, see Acceptance notes.Acceptance notes
selection; a list view'sbulkActionsis retired #38550. Both PRs insert a line intoMAJOR_19_CONVERSIONS's imports and list directly afterpermissionViewAllFieldsBesideRecordBypass(this oneviewColumnStateRemoved, feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550viewBulkActionsToActionSelection), so whichever lands second merges main and resolves it mechanically: both lines kept, in identifier order (viewBulk…beforeviewColumn…).registry.ts.templatemerges clean with feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550. The seat chose to open this PR rather than wait.19.0.0-next.0tonext.2) carry these entries, rows and conversions under 18 and stay as published; the fix ships with the next prerelease.Verification
Read first (by risk):
packages/spec/src/conversions/registry.ts: the three entries' newordervalues and the docblock that says why.packages/spec/src/migrations/registry.ts.template: the four fragments moved fromSTEP18_RATIONALEinto step 19's rationale.git diff --stat -M origin/main...HEADshows R100 for the 34 semantic entries and the three columnState / KnowledgeChunk rows.Two-minute check: in
packages/spec, runpnpm gen:migration-registry, thengrep -n "object-grid-single-click-edit-retired" src/migrations/registry.ts. On this branch the id sits inside thesemantic:19region; on main it sits insidesemantic:18.