Repository navigation
Description
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.
维护者速读
- 问题:check-adr-0087-registration: refuse a newly added ADR-0087 migration entry whose major prefix is below PROTOCOL_MAJOR, so an upgrade note cannot land where
--from <previous major>never shows it #38240 的检查只拦“新加的”迁移条目放错了版本号。有两种情况它拦不到:一是协议版本号往上升的那一刻,之前已登记但还没发布的条目会被留在旧版本号下(spec migrations: 34 more ADR-0087 semantic entries first ship in a 19 prerelease but sit under major 18, soos migrate meta --from 18never shows them (follow-up of #38142) #38256 那 34 条就是这样卡住的);二是把条目改名挪到更低的版本号,因为改名不算“新加”。 - 做什么:在协议版本号上升的那个 PR 上加一次检查,凡是任何已发布 tag 里都没有的条目,不许留在新版本号之下;同时把“改名挪到更低版本号”也拦下。
- 出错会怎样:只影响 CI 的一个检查;最坏是协议升版的 PR 多被要求挪几个文件。
- 要你做什么:无。
What happens (read on origin/main after #38436)
scripts/check-adr-0087-registration.mjsrefuses an added migration entry whose prefix is belowPROTOCOL_MAJOR(feat(adr-0087): refuse an added migration entry filed below PROTOCOL_MAJOR #38436). Added-ness is decided by key against the merge base, so an R100 rename is not added and is not judged (pins EM-G3, EM-G6).- Shape 1, the protocol move: the 34
semantic/18.*entries spec migrations: 34 more ADR-0087 semantic entries first ship in a 19 prerelease but sit under major 18, soos migrate meta --from 18never shows them (follow-up of #38142) #38256 carries were each filed whilePROTOCOL_MAJORread 18. When the major moved to 19 they stayed at 18 though no released tag held them. The added-entry rule cannot see this, because nothing is added at the move. - Shape 2, a downward rename:
19.X.tsrenamed to18.X.tskeeps its key, so it passes. - Shape 3, a stale PR:
pr-automation.ymlruns onpull_requestevents only, so a PR whose last run predates a protocol move and lands after it is never re-judged. - Shape 4, remedy drift:
build-schemas.tsnames the package major (CURRENT_MAJOR) in its registration remedies, whileprotocol-version.tssaysPROTOCOL_MAJORmay run ahead of the package. In that window a file named as the remedy says is refused by feat(adr-0087): refuse an added migration entry filed below PROTOCOL_MAJOR #38436. Today both read 19.
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.
- 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 thegit mv. Reuse feat(adr-0087): refuse an added migration entry filed below PROTOCOL_MAJOR #38436's backfill line as the one escape. - Judge an R100 rename whose new prefix is lower than its old one the same way as an added entry below the major.
- Make the
build-schemas.tsregistration remedy name the same major the gate reads (shape 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-backfillline, and--listprints the backfill declarations. - Two nits left in the gate (delta L2 7250195970 N1, N5): the
retired-defs/refusal still states the tombstone-aging cost, butretired-defs/has no tombstone clock (set membership only), so give it its own reason; and the placeholder clause refuses any reason containingPATCH,MINORorWHYin capitals, so narrow it to the printed example's placeholders. - 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
objectstack-fleet commentedon Nov 29, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Triage: lands in
scripts/check-adr-0087-registration.mjsand its self-test, thebuild-schemas.tsremedy 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;mainhas noPROTOCOL_MAJORleg. 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.