Skip to content

ADR-0087 registration gate: at a protocol move, refuse an unreleased migration entry left below the new major, and judge a rename to a lower major #38467

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Filing gate: ① (a) a follow-up two reviews agreed is real, filed at landing. Source: PR #38436 (Fixes #38240), "The rule's reach" and "Possible follow-up (not filed, the seat's call)"; L1-a ACCEPT 7249085688 names it a residual the seat files or declines; contract L2 7249162118 ③ finds both notes real (delta L2 7250195970 PASS on the landing head), adds shapes 3 and 4, and suggests one tree-state rule. Area o5-fleet.

维护者速读

What happens (read on origin/main after #38436)

Ask

The L2 suggests one rule on the tree's state covers shapes 1 to 3: every entry below PROTOCOL_MAJOR stands, under the same name, in a released tag of its major. Two more diff rules would each leave the other's gap. Consider that before items 1 and 2.

  1. On a diff that raises PROTOCOL_MAJOR, list every migration entry (all three entry directories, judged by key as feat(adr-0087): refuse an added migration entry filed below PROTOCOL_MAJOR #38436 does) whose key appears in no released tag, and refuse any whose prefix is below the new major. The refusal names each file and gives the git mv. Reuse feat(adr-0087): refuse an added migration entry filed below PROTOCOL_MAJOR #38436's backfill line as the one escape.
  2. Judge an R100 rename whose new prefix is lower than its old one the same way as an added entry below the major.
  3. Make the build-schemas.ts registration remedy name the same major the gate reads (shape 4).
  4. Prose and listing (L2 7249162118 N2, N3): the entries README's "Adding an entry" and ADR-0087 name the below-major refusal and the adr-0087-backfill line, and --list prints the backfill declarations.
  5. Two nits left in the gate (delta L2 7250195970 N1, N5): the retired-defs/ refusal still states the tombstone-aging cost, but retired-defs/ has no tombstone clock (set membership only), so give it its own reason; and the placeholder clause refuses any reason containing PATCH, MINOR or WHY in capitals, so narrow it to the printed example's placeholders.
  6. Self-test fixtures: a major bump that leaves an unreleased entry below (red), one where every below-major entry is in a released tag (green), and a downward rename (red).

Done when

Replaying the commit that moved PROTOCOL_MAJOR from 18 to 19 reds and names the stranded entries; the self-test pins the three fixtures.

Dedupe: is:issue is:open adr-0087 protocol move unreleased entry and is:issue is:open migration entry lower major rename return no card for this (#38256 is the 34-entry cleanup, not the check).
Suggested-grade: p2 · a gate gap whose last instance stranded 34 entries; no runtime effect.
Depends on: the reach note's amendment (7237892858) and the answer to #38277 (which major a late note for an 18.x change belongs to). By #38142's body a new check may need the maintainer to name it.
Clause-②: no · Metadata-protocol: none

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

    Triage: lands in scripts/check-adr-0087-registration.mjs and its self-test, the build-schemas.ts remedy and the entries README / ADR-0087 prose · area:fleet · domain:skills → domain:devx (the same gate file as #38240) · Task · p2 → p3 (fleet grade, not in flight) · pm:queue → pm:blocked · size L. Rationale: it extends the below-major rule that PR #38436 introduces, and that PR is open and unmerged; main has no PROTOCOL_MAJOR leg. The card passes the tooling gate on a measured instance: the 34 entries behind #38256 and the 3 in #38142. A tooling Task stays p3 unless it blocks dispatched work. ⛔ Item 1 (a new check leg at a protocol move) is a new required gate leg, which needs the maintainer to name it, and it also depends on #38277. Split it out, or route it to the decision box, before dispatch. Items 2, 4, 5 and 6 are in-bounds blind-spot fixes of the existing gate.
    Blocked-by: #38436

    Recorded 2026-11-29T03:49Z.

  3. added
    domain:devx
    pm:blocked
    tooling
    and removed
    domain:skills
    priority:p2
    pm:queue
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:fleetdomain:devxpm:blockedpriority:p3tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions