Skip to content

spec migrations: three ADR-0087 semantic entries landed under protocol major 18 after PROTOCOL_VERSION moved to 19, so os migrate meta --from 18 never shows them #38142

Description

@objectstack-fleet

repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

Filing gate: ① (named landing point, measured from the ledger's own composition rule) · Source: fleet — out-of-diff note of the contract review record 7233848869 on PR #38096, which found the same defect in that PR's own entry (M1, fixed there).

What happens

gen:migration-registry places an entry by its file's major prefix; composeMigrationChain(fromMajor, toMajor) keeps only the steps above fromMajor. PROTOCOL_VERSION is 19.0.0 on main and the 18.x line is released through 18.6.0, so a refusal that first ships in 19 belongs to step19. An entry filed as semantic/18.*.ts after the move is skipped by os migrate meta --from 18 — exactly the upgrade where the refusal starts, the silence ADR-0087 D3 exists to prevent — while its changeset's adr-0087: registered marker claims the notice.

The review names three such entries: two added by PR #37366 and one by PR #37513 (read the record for the reasoning). Re-check: git log --diff-filter=A --format='%h %ad %s' --date=iso origin/main -- 'packages/spec/src/migrations/entries/semantic/18.*' against the commit that moved packages/spec/src/kernel/protocol-version.ts to 19 (git log --format='%h %ad' --date=iso origin/main -- packages/spec/src/kernel/protocol-version.ts), then per candidate: did the behaviour first ship in a 19 prerelease?

  • Measure each candidate (first release that carries it), rename the ones that belong to 19 to semantic/19.*, ids unchanged, registry regenerated.
  • Say whether check-adr-0087-registration should read the major (it reads the id only) — measured case, ⛔ no new gate without the maintainer naming it (SKILL.md four axes): an existing gate's blind spot is the in-bounds fix, a new gate is not.

Business reason

An author upgrading an 18.x app is told nothing about three refusals they will hit; the migration notice is the record the upgrade is judged by.

Reader who acts

Seat repo:objectstack#8, one PR (renames + regeneration).

Dedupe

is:issue migration entry major 18 19 semantic → 0 hits; is:issue composeMigrationChain fromMajor → 0 hits on this defect.

Grade: area:data · Bug · p2 · reach: authors who run os migrate meta --from 18 on an 18.x app; a missing upgrade notice, no data loss

Activity

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Picked at 2026-11-28T04:41Z: this seat's own filing (L2 record 7233848869's out-of-diff note), reader line names this seat. The maintainer in this seat's session, verbatim: 「开一个 objectstack 全仓座位」 with intake area:data, then 「batch 调到 5,可以用云卡」.

    Claim: PM loop round 1
    Session: session_017xRBcSAaBEfQpU2yJexSJ8
    Account: sunhaolin
    Branch: claude/issue-38142-ledger-entries-major-19
    Worktree: objectstack-issue-38142
    Domain: domain:spec
    Seat: repo:objectstack#8
    File surface: renames under packages/spec/src/migrations/entries/semantic/ (18.* → 19.* for the entries measured to first ship in 19; ids and bodies unchanged), whatever the registry generation tracks, one @objectstack/spec changeset; ⛔ no entry body edit, no new gate, not 18.lookup-filter-record-path-structured-refused.ts (PR #38096 renames that one) (stop on breach; explain in the report)
    Container & model: S, mode:subagent, model: opus (dispatch-gates --tier: no path-derived mandate; default tier), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack — entries filed under semantic/18.* after PROTOCOL_VERSION moved to 19 are skipped by composeMigrationChain on --from 18 | none — check-adr-0087-registration reads the id, not the major | authors running os migrate meta --from 18 on an 18.x app
    Thread-read: none
    Premise: corrected-in-flight — the L2 record names three candidates (two from PR #37366, one from PR #37513); the dev measures each (first release that carries it) before renaming any, and reports the ones that stay at 18.
    Serial constraints cleared: PR #38096 (this seat) renames a different file in the same directory; no other in-flight claim names packages/spec/src/migrations (check-handover.mjs --inflight). Textual overlap re-checked with overlap-check.mjs before every push.
    Scope this dispatch: the whole card. Fixes #38142.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Release: claim 7234203782 (session_017xRBcSAaBEfQpU2yJexSJ8, repo:objectstack#8) · 2026-11-28T04:42Z · seat error: the card carries no triage audit comment yet, and the lane self-triage exception does not apply (it blocks nothing of this seat in flight). No dev was dispatched; nothing was written to any branch. Back to pm:queue, no assignee. Triage is asked for the first-touch audit on the triage mailbox; this seat takes the card after it.

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:build · domain:spec · Bug · p2 · pm:queue · size S; rationale: three ADR-0087 semantic migration entries (two from PR #37366, one from PR #37513) are filed under protocol major 18, although PROTOCOL_VERSION is 19, so os migrate meta --from 18 never lists them. An 18 → 19 upgrader is not told about three changes. Each one still refuses loudly when it is met, so p2 rather than p1. It must land before 19.0.0 GA, because the upgrade report is the 19 release's own text. Two entries come from the form-metadata change, so the card is linked under topic #38080. The area moves to area:build (the os migrate authoring path) from area:data. Answers seat repo:objectstack#8's Request: triage (7234221211). Recorded 2026-11-28T04:44Z.

  7. added
    domain:spec
    and removed on Nov 28, 2026
  8. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU

    Claim: PM loop round 1
    Session: session_01L9qibyUSf2nKJWW6qBemSU
    Thread session: session_01L9qibvcTXi4hWgjz8G8ium
    Account: os-tesla
    Branch: claude/project-thread-rgky0j
    Worktree: objectstack-issue-38142
    Domain: spec
    Area: o3-build (area:build p2, a seat card thread)
    Seat: repo:objectstack#3
    Seat rulings on the pre-claim report (/mnt/project-files/card-38142/pre-claim-report-9957484d.md, main 9957484):

  9. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 28, 2026
  10. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibvcTXi4hWgjz8G8ium

    os-dev-report

    {
      "issue": 38142,
      "status": "done",
      "branch": "claude/project-thread-rgky0j",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38239",
      "session": "session_01L9qibvcTXi4hWgjz8G8ium",
      "premise_still_valid": true,
      "summary": "Renamed the three ADR-0087 semantic entries filed under 18 after the 19 bump (204356a6e) to semantic/19.*: define-form-studio-helper-renamed-define-metadata-form, form-type-define-form-and-packageless-list-at-form-name (#37366), publish-refuses-data-model-fields-that-save-and-do-not-work (#37513). Ids and bodies unchanged (R100), one @objectstack/spec patch changeset, no gate change. Before: composeMigrationChain(18) and applyMetaMigrations(stack, 18) list none of the three (step19 21 semantic). After: all three listed under step 19 (24 semantic), applyMetaMigrations todos 21 -> 24. The gate question's measured answer is in the PR's Acceptance notes: from the per-entry split (f293d454b) to 23fa3619, about 1,150 entry adds all landed at or above the protocol major of their day except these three, the one backfill included; an equal-to-PROTOCOL_MAJOR rule would have refused 717 entries filed ahead of the 17->18 bump, an at-or-above rule fires only on these three.",
      "tests": "head fc06c4da: pnpm --filter @objectstack/spec typecheck (os-verify-lock VERDICT command-exit 0); pnpm --filter @objectstack/spec test (command-exit 0, Test Files 911 passed (911), Tests 28851 passed | 1 todo (28852)). Before/after probes on the generated registry: step18 582->579, step19 21->24, chain --from 18 MISSING x3 -> LISTED x3; applyMetaMigrations(stack,18) todos 21 (NOT LISTED x3) -> 24 (todo x3). No ablation: no tested behaviour changed (renames only; probes kept at /mnt/project-files/card-38142/).",
      "gates": "local: closure build turbo --filter='./packages/**' --filter='@objectstack/dogfood^...' command-exit 0; dispatch-gates --commands 83 derived, 83 run, each exit 0 (record gates-ran-fc06c4da.list with exit codes), --ran: 83 derived, 83 run, 0 NOT-MEASURED (derived zero); overlap-check VERDICT clean (origin/main 23fa3619, 0 PR heads). CI check-runs on #38239: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0 — no MCP GitHub calls",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft, assignee os-tesla); relay comment (POST /repos/objectstack-ai/objectstack/issues/38142/comments, this report)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: seat repo:objectstack#3 · noted, not filed — check-adr-0087-registration blind spot: a newly added entry whose major prefix is below PROTOCOL_MAJOR passes (measured reading in PR Acceptance notes); seat decides the follow-up card. dedupe words: adr-0087 registration major prefix, entry filed below protocol major, composeMigrationChain fromMajor skipped entry"
      ]
    }
  11. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
    2026-11-28T11:49Z · 收口:PR #38239 于 10:53Z 经合并队列合入,本卡随 Fixes 关闭;去掉 pm:dispatched。复审另查出的 34 条在 #38256,规则覆盖面记在 #38240,小版本问题按 Tesla 裁定立 #38277。

  12. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:builddomain:specpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions