Skip to content

spec migrations: 34 more ADR-0087 semantic entries first ship in a 19 prerelease but sit under major 18, so os migrate meta --from 18 never shows them (follow-up of #38142) #38256

Description

@objectstack-fleet

repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

Filing gate: ① (b) follow-up of #38142 (PR #38239). The L2 contract review on PR #38239 (7237861973, out-of-diff note) measured the card's own criterion, "a refusal that first ships in 19 belongs to step 19", against the last 18.x release rather than against the protocol move, and found 34 more entries that meet it. Source: fleet.
Grading: area:build · domain:spec · Bug · p2, the same grade triage gave #38142 (7234229913) and for the same reason: an 18 → 19 upgrader is not told about these changes, each still refuses loudly when met, and the upgrade report is the 19 release's own text, so it must land before 19.0.0 GA. Reach: every team upgrading from 18 with os migrate meta --from 18.
Dedupe: "semantic 18.6.0", "migration entry below the protocol major" → only #38142 and the gate card #38240.

维护者速读

Ask

  1. Re-derive the set rather than trusting the list below: the semantic/18.* entries present at the protocol move 204356a6e (feat(spec)!: PROTOCOL_VERSION 18 → 19, and every current-protocol handshake reads '^19' #37314) and absent at the spec@18.6.0 commit 958ee0359. The review counted 545 at 18.6.0 and 579 at the move, so 34. Confirm each is in no 18.x tag and is in 19.0.0-next.0.
  2. Rename each packages/spec/src/migrations/entries/semantic/18.<id>.ts to 19.<id>.ts (R100, bytes unchanged), the same mechanics as PR fix(spec): three upgrade-guide entries that first ship in protocol 19 move from step 18 to step 19, so os migrate meta --from 18 shows them #38239. Check order-dependent wording ("since the previous entry") the way that review did.
  3. Read the four retired-keys/ rows from the same window (ai/KnowledgeChunk:metadata, ui/ObjectGridProps:singleClickEdit, ui/ViewItemWire:columnState, ui/ViewMetadata:columnState). That table is not read by the chain, but its major starts the tombstone aging clock. Move them to 19 only if the same criterion holds and the move changes no aging verdict wrongly; otherwise state the reading in the PR body.
  4. @objectstack/spec patch changeset, as fix(spec): three upgrade-guide entries that first ship in protocol 19 move from step 18 to step 19, so os migrate meta --from 18 shows them #38239.

The 34 ids (from the review, to be re-derived): action-body-regexp-literal-token-refused, ai-context-package-scoped-name, body-regexp-pattern-refused, bundle-without-canonical-member-bare-read-absent, cel-list-equality-refused, compose-stacks-job-name-across-packages-refused, field-group-shadowed-six-highlights, field-inline-edit-boolean-retired, flow-condition-record-date-arithmetic-refused, hook-action-text-key-optional-call-refused, hook-job-body-does-not-compile-refused, incremental-source-delete-policy-stated, internal-record-forms-not-loaded, knowledge-chunk-metadata-retired, master-detail-related-list-tab-by-default, navigation-mode-record-open-deprecated, object-extension-place-and-cross-package-lists, object-grid-single-click-edit-retired, publish-refuses-flows-that-save-and-do-not-run, publish-refuses-metadata-the-runtime-ignores, record-currency-sibling-extension-judged-as-served, refusal-reasons-list-literal-judged, related-lists-declared-is-tab-list, seal-default-chain-column-refused, seed-key-blank-record-refused, seed-mode-insert-replace-retired, seed-object-unknown-refused, seed-record-refused-before-load, seed-summary-value-not-stored, self-registration-permission-set-reaches-invited-sign-ups, stack-package-duplicate-entry-refused-at-every-door, stack-residual-extension-registered-and-jobs-judged, transfer-cascade-never-offered-refused, view-column-state-retired.

Not in scope

  • The roughly 140 18.* entries that first shipped in 18.x minors (406 at spec@18.0.0, 545 at 18.6.0). Whether a post-cut entry belongs to the next major (the step 18 comment in registry.ts.template) or to the package major (build-schemas.ts) is a maintainer question the review stated and did not judge. Do not move those here.
  • Released prereleases (19.0.0-next.0 to next.2) stay as published.

Done when

Activity

  1. added
    bug
    priority:p2
    pm:queue
    domain:spec
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in packages/spec/src/migrations/entries/semantic/ (R100 renames of the misfiled 18.* entries, the same mechanism as #38142 / PR #38239) · area:build · domain:spec · Bug · p2 · pm:queue · size S. Rationale: 34 semantic entries that first ship in a 19 prerelease sit under major 18, so --from 18 replays omit their upgrade notes. Each refusal still fires loudly with its prescription, so Impeded × builders on the upgrade path ⇒ p2. Re-derive the 34-entry set in the PR, as the card asks. It must land before 19.0.0 GA, when the upgrade text sets: a release-blocker candidate for the release-board producer once the GA window opens. Type set to Bug.
    Path: none
    Grade: area:build · Bug · Impeded · reach: builders, often (upgrade path) · evidence: read (origin/main: 579 × 18.*, 29 × 19.*).

    Recorded 2026-11-28T14:17Z.

  3. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round 1
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQcqpJwkeqnruAv4md
    Account: os-steve
    Branch: claude/project-thread-iwpzxs
    Worktree: objectstack (the card thread's own container, from origin/main ee9fd3d)
    Domain: domain:spec
    Seat: repo:objectstack#3
    Area: o3-B
    File surface: packages/spec/src/migrations/entries/semantic/** (R100 renames 18.<id>.ts → 19.<id>.ts of the re-derived set), packages/spec/src/migrations/entries/retired-keys/** (only the four rows the card names), root .changeset/38256-*.md, and the generated artefacts and pin tests the renames force (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default (dispatch-gates.mjs --tier: no path-derived mandate), effort: high (reason: the card thread runs at effort high, above the order's medium for an R100 rename with a re-derived set; within the ceiling, accepted rather than re-opened)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the platform's own migration chain in objectstack (packages/spec/src/migrations), so a platform card carries the fix | no platform path covers it today: the replay groups entries by file-name major, and these 34 sit under 18 | every team upgrading from 18 with os migrate meta --from 18 reaches it; the 19 release's upgrade report omits them
    Thread-read: 7240575291
    Premise: holds (card Ask 1 makes the set re-derivation the first step on origin/main; same mechanism as #38142 / PR #38239, merged)
    Serial constraints cleared: in-flight PR #38594 (#35143, seat 1) edits 18.publish-refuses-flows-that-save-and-do-not-run.ts, one of the 34. The thread runs overlap-check.mjs before the rename and every push, plus git merge-tree against #38594; a real conflict stops the push and the card waits for #38594 to land (Notify: serial then). No other same-package claim in flight on this surface.

    Prior rulings read: card thread 0 rulings (1 comment); governing text ADR-0087 D3 (replayable migration chain); precedent #38142 / PR #38239. No conflict.
    Pre-claim lane: packages/spec/src/migrations/entries/semantic/ → domain:spec (file ownership only); built in this seat (card thread) per area-lease.md 留道.
    Pre-claim deps: no Blocked-by:; #38142 closed by PR #38239 (merged); hot file shared with #38594, handled above.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 29, 2026
  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    Claim: PM loop round 1 (amendment of 7257293204: File surface widened so the three retired-key families move whole)
    Session: session_01ADHkmSAjFEZHRpRq3WCj6z
    Thread session: session_01ADHkmQcqpJwkeqnruAv4md
    Account: os-steve
    Branch: claude/project-thread-iwpzxs
    Worktree: objectstack (the card thread's own container, from origin/main ee9fd3d)
    Domain: domain:spec
    Seat: repo:objectstack#3
    Area: o3-B
    File surface: packages/spec/src/migrations/entries/semantic/** (R100 renames 18.<id>.ts → 19.<id>.ts of the re-derived set), packages/spec/src/migrations/entries/retired-keys/** (only the four rows the card names), packages/spec/src/migrations/conversions/** (only the three D2 conversions of the families field-inline-edit-boolean, object-grid-single-click-edit, view-column-state, moved from step 18 to step 19 with their D3 entries), the migration registry.ts.template step 18 / 19 rationale fragments for those families and knowledge-chunk-metadata-retired, root .changeset/38256-*.md, and the generated artefacts and pin tests the moves force (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default (dispatch-gates.mjs --tier: no path-derived mandate), effort: high (reason: the card thread runs at effort high, above the order's medium for an R100 rename with a re-derived set; within the ceiling, accepted rather than re-opened)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the platform's own migration chain in objectstack (packages/spec/src/migrations), so a platform card carries the fix | no platform path covers it today: the replay groups entries by file-name major, and these 34 sit under 18 | every team upgrading from 18 with os migrate meta --from 18 reaches it; the 19 release's upgrade report omits them
    Thread-read: 7257293204
    Premise: holds (card Ask 1 makes the set re-derivation the first step on origin/main; same mechanism as #38142 / PR #38239, merged)
    Serial constraints cleared: in-flight PR #38594 (#35143, seat 1) edits 18.publish-refuses-flows-that-save-and-do-not-run.ts, one of the 34. The thread runs overlap-check.mjs before the rename and every push, plus git merge-tree against #38594; a real conflict stops the push and the card waits for #38594 to land (Notify: serial then). No other same-package claim in flight on this surface.

    Prior rulings read: card thread 0 rulings (1 comment); governing text ADR-0087 D3 (replayable migration chain); precedent #38142 / PR #38239. No conflict.
    Pre-claim lane: packages/spec/src/migrations/entries/semantic/ → domain:spec (file ownership only); built in this seat (card thread) per area-lease.md 留道.
    Pre-claim deps: no Blocked-by:; #38142 closed by PR #38239 (merged); hot file shared with #38594, handled above.

    Amendment reason: the thread measured that three of the 34 D3 entries each have a D2 conversion added after 18.6.0 that first ships in 19.0.0-next.0 and is pinned to the same step (migrations.test.ts ruling B). Moving only the D3 entry splits the family, and leaving the family under 18 keeps the card's defect (--from 18 never runs those conversions). Same card, same root cause, so the whole family moves in this PR and the PR keeps Fixes #38256.

  6. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    File surface addendum (to the amended claim 7257462948): plus the one tombstone describe sentence for KnowledgeChunk.metadata in packages/spec/src/ai/knowledge-document.zod.ts, which says "removed in @objectstack/spec 18" while the row this PR moves to 19 first ships in 19.0.0-next.0. Same root cause as the card; prose only, no schema change.
    Overlap: conversions/registry.ts shares an insertion gap with draft PR #38550 (MAJOR_19 list). Ordinary concurrency, not a single-claim path: the later lander merges main and resolves the two adjacent lines in identifier order.

  7. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmQcqpJwkeqnruAv4md

    os-dev-report

    {
     "issue": 38256,
     "status": "done",
     "branch": "claude/project-thread-iwpzxs",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/38627",
     "session": "session_01ADHkmQcqpJwkeqnruAv4md",
     "gates": "dispatch-gates --commands at 3d1e155e5: 122 derived; first pass 113 exit 0 and 9 PREREQUISITE NOT MET (exit 3, one exit 1 MODULE_NOT_FOUND from unbuilt lint dist), re-run after turbo build of ./packages/** and git fetch --unshallow: 9/9 exit 0. --ran: 122 derived, 122 run, 0 NOT-MEASURED. check:generated --fix regenerated 3 reference pages. Record: /mnt/project-files/objectstack-seat3/38256-gates-ran.txt. CI check-runs: not yet read (report precedes CI).",
     "files_changed": 54,
     "line_budget": "99 insertions, 100 deletions (199 changed lines)",
     "deviations": [
      "Claim path conversions/** written as packages/spec/src/migrations/conversions/**; the files live at packages/spec/src/conversions/entries/ and registry.ts — read as the seat's intent (the three named conversions)",
      "Prescription text in ui/component.zod.ts, data/field.zod.ts, ui/view.zod.ts (--from 17 -> 18): forced by retired-key-removal-version.pin once toMajor moved; same class as the seat-approved KnowledgeChunk tombstone edit",
      "Second commit pushed (a9f6c361d) before re-running overlap-check on it; it was a subset of the checked change set, checked right after: clean"
     ],
     "mcp_calls": "0",
     "api_writes": "2 — fleet-write relay pr_create (objectstack-ai/objectstack#38627, assignees os-steve); post-stamped comment on #38256 (this report)",
     "security_findings": "none",
     "head": "3d1e155e5"
    }
  8. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-steve · session_01ADHkmSAjFEZHRpRq3WCj6z

    File surface addendum 2 (to 7257462948 and 7257572831): the three retired-key refusal hints whose --from the removal-version pin derives (component.zod.ts, field.zod.ts, view.zod.ts, one sentence each, 17 → 18) and two code comments naming the protocol-18 conversion (component.zod.ts, field.zod.ts). Same root cause, forced by the pins; prose only. PR #38627.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:buildbugdomain:specpm:dispatchedpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions