Repository navigation
feat(adr-0087 gate): the eighth disposition category runtime-member-retyped (D9 sibling) - #38366
Closed
objectstack-fleet[bot] wants to merge 4 commits into
Closed
objectstack-fleet[bot] wants to merge 4 commits into
objectstack-fleet[bot] wants to merge 4 commits into
Conversation
…nto shared helpers No behaviour change: the self-test's 871 assertions hold. The member/export branch of no-metadata-surface and the whole of from-operands-named become functions the eighth category (runtime-member-retyped) can call. Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn Co-authored-by: Claude <noreply@anthropic.com>
A published member kept on an exported type while its declared type changes, concrete to concrete. D9's sibling: the same operands (<package>#<Type>.<member>), the same compiler reader at both revisions, predicates no-metadata-surface and from-operands-named shared with runtime-export-retired, and predicate 1 swapped for present-at-both-type-differs. Self-test batteries RMR and RMR-N. Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn Co-authored-by: Claude <noreply@anthropic.com>
…er reader TypeScript 6 already defaults strict on; measured that strictNullChecks false prints T | null as T and refuses RMR-G3. Claude-Session: https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn Co-authored-by: Claude <noreply@anthropic.com>
…ntime-member-retyped
This was referenced Nov 28, 2026
Contributor
Author
|
repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn Folded into PR #38365 · 2026-11-28T16:27Z · seat repo:objectstack#5 route ruling, combine, reason = #8299 lockstep pin (recorded on #37447 and #38328). This branch's three non-merge commits were cherry-picked unchanged onto #38365 (gate file byte-identical, blob |
Nenzyz
pushed a commit
to Nenzyz/objectstack
that referenced
this pull request
Dec 1, 2026
…d — ADR text (D10) and the registration gate (objectstack-ai#38365) <!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_ Fixes objectstack-ai#38328 Fixes objectstack-ai#37447 Claims: objectstack-ai#38328 (7240075259) and objectstack-ai#37447 (re-posted 7242295202, naming this branch). Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户能看到什么变化:用户无感。「元数据协议升级契约」这份架构决定记录新增第八种申报类别(已发布类型上的成员留着、但声明的类型改了),登记检查同一笔学会核验它。 - 为什么做:你在决策卡上选了「新增第八类」,这里把它写成成文规则;此前这类改动没有一个如实可选的申报类别,写破坏性变更说明的开发者只能卡住。 - 出错会怎样:只有写破坏性变更说明的开发者会照这段文字申报,运行中的系统不受影响;文字有误可以直接撤回这一笔。 - 要你做什么:审阅并批准合并(Tier H)。文字与门禁两半已按座位路由裁定并进本 PR(门禁的词表钉要求两边同一笔,任一半单独合并都会报红);objectstack-ai#38366 已并入关闭。 ## What changes Two files, both halves of one decision, combined by the seat's route ruling (recorded on objectstack-ai#37447 and objectstack-ai#38328: combine, reason = the objectstack-ai#8299 lockstep pin): - `docs/adr/0087-metadata-protocol-upgrade-contract.md`: +199 −4 (1538 to 1733 lines) — the ADR half (objectstack-ai#38328), described below. - `scripts/check-adr-0087-registration.mjs`: +922 −93 — the gate half (objectstack-ai#37447 item 2), cherry-picked from `claude/issue-37447-runtime-member-retyped` (closed PR objectstack-ai#38366; os-dev report 7241851254 on objectstack-ai#37447) and then reworked on this branch for L2 record 7242485283 and L2 delta record 7243871018 (os-dev reports 7243462155 and 7244464363 on objectstack-ai#38328): `runtime-member-retyped` in `CATEGORIES`, `verifyRuntimeMemberRetyped` with `RUNTIME_MEMBER_RETYPED_PREDICATES` (`present-at-both-type-differs`, `no-metadata-surface`, `from-operands-named`), D9's predicates 2–3 lifted into shared helpers with no behaviour change, an explicit `strictNullChecks`, and the self-test batteries RMR (83) and RMR-N (3). The rework adds reading (b) of predicate 1 (see the table below). `type-surface-only` and its predicate 4 are unchanged apart from one hint line in an existing refusal. The ADR's changeset disposition vocabulary gains its eighth category, `runtime-member-retyped`, for a member that stays on a published type while its declared type changes. Five places move together: 1. **Status line.** The 2026-11-28 amendment entry: the card and its parent, the decision's own words 「新增第八类」, and where the decision is recorded. 2. **Vocabulary block** (2026-08-13 addendum). The eighth marker line, `runtime-member-retyped PACKAGE#TYPE.MEMBER`. 3. **The two prose enumerations beside that block.** The list of categories resting on a checked fact, which the 2026-11-12 amendment offers a refused narrowing, and the sentence that names each added category and the addendum that explains it. 4. **A dated note under D8's predicate 4.** The retyped-member class got a category of its own instead of a limb on predicate 4, which reads exactly as it did. 5. **A new addendum (2026-11-28) with D10.** Provenance, the dead end the category closes (measured), the operands, the three predicates by name, what the category inherits and what it leaves alone, the worked example, and what it does not decide. No untouched text is rewritten, and no existing category's wording changes. **The category, as written.** It is D9's sibling. The operand is a member of a type the package's published entry exports (or a member of an exported value, read on that value's type as D9's reader reads it), `PACKAGE#TYPE.MEMBER`, or `PACKAGE/SUBPATH#TYPE.MEMBER` behind a literal subpath key. An export operand and the whole-package operand are refused by name. Three predicates, checked by name: | predicate | what it asks | |---|---| | `present-at-both-type-differs` | The type is exported at the merge base and at HEAD, the member is on it at both, and the type the checker prints for the member (with its optionality, under `strictNullChecks`) differs. A vanished member, an added member, and a declaration naming a type the reader cannot resolve are refused. Reading (b), added in the L2 rework: also refused as unprovable, at either revision, a member whose printed type names a type with no declaration behind it, or carries more `any` than the member's own declarations write. An `any` the declaration writes is still compared as written. The refusal covers what leaves a trace (the member's own declaration, the printed type); a type that rests on something unresolved without a trace is compared, on three named roads carried by objectstack-ai#38379. | | `no-metadata-surface` | D9's predicate 2, asked at both revisions. | | `from-operands-named` | D9's predicate 3, unchanged. | It inherits the `no-migration-prescription` refusal as D9 does, it does not go through D8's text walker, and D8's predicate 4 gains no limb. **Agreement with the gate half.** The text was first read against the gate branch for objectstack-ai#37447 at `a2b044f1fb` and `e657c303b2`. The gate in this PR is no longer that file: the L2 reworks changed it on this branch (blob `e56281db17` first, `15df493f67` at `e2661365c1`, `bc082d7904` at `8c1017d6d2` and this head), and the ADR changed with it each time: predicate 1 corrected and scoped to traces, and "What this does not decide" gaining the trace-less item and one scoped clause. Category name, operand forms, the three predicate names and each predicate's reading agree, and neither half departs from the decision's design. **The vocabulary pin is green on this head.** The gate pins the categories the ADR documents to the categories it accepts, both ways; either half alone was red (`documented but not accepted` / `documented nowhere`), which is why they are one PR. **Read first** (by risk) 1. The three predicates under D10, from "An author may claim the category when". Predicate 1's reading is the part the gate has to implement word for word. 2. The paragraph "D8's predicate 4 is not weakened" and the 2026-11-28 note under D8. The risk is any wording that could be read as a limb on predicate 4. 3. The table under "The dead end it closes". Two of its rows record admissions, not refusals: `already-registered` on any old id, and the two catch-all categories on a body the detector does not read. **Two-minute check.** Run `node scripts/check-adr-0087-registration.mjs --self-test` on this branch: it prints 960 assertions (V3 included) and exits 0. ## Tests The gate's suite is its own `--self-test` (no test file names the script). The L2 rework changes behaviour, so it carries new pins and ablations: - New pins: RMR-R12 / R12b (inferred `any` at both revisions, refused as unprovable, not "the SAME"), RMR-R13 (`any` at one revision, refused), RMR-R14 (annotation naming a local alias over an unresolved name), RMR-R15 (a mapped type's member), RMR-G4 (a written `any` is still compared and its retyping admitted); for the nits RMR-G5, R16, G6, R17. Round 3 adds RMR-C1 (road b, a named compare on the `keyof` shape, to turn red when the road is closed), RMR-G7 and G7b (a member of an exported value; the `any` count over an initialiser), RMR-R17's wording pin with R17b and R17c (the private-package refusal names a retyping; D9's sentence unchanged), and one pin each on RMR-R12 and R13 for the remedy line. RMR goes from 44 to 83 cases, its floor with it; the self-test from 921 to 960 assertions. - Ablations at `e2661365c1` (accept-set; the arm did not move after it), direction written before each run, restored each time (`git diff HEAD` empty): (A) the new arm off: predicted 14, observed 14 red; (C1) the `any` rule alone off: 8 / 8; (C2) the name rule alone off: 6 / 6; (D) the written-`any` allowance zeroed: 1 / 1 (RMR-G4); (B) RMR floor at 73: refused, fixing the battery at exactly 72. At `8c1017d6d2` (the gate blob of this head): (N7) the wording handed back to D9's: 2 / 2; (N8a) the merge-base clause off: 1 / 1; (N8b) the clause always on: 1 / 1; (D) the written-`any` allowance zeroed: 3 / 3 (RMR-G4, G7, G7b); (B) the floor at 84: refused, fixing the battery at 83. - On the real `@objectstack/client`, `ObjectStackClient.connect` was refused as "the SAME at both revisions" at `31596e5b6e` and is now refused as unprovable, naming `GetDiscoveryResponse`. On the real `@object-ui/auth`, `AuthClient.updateUser` is still verified and `AuthClient.signOut` still "the SAME". - **What predicate 1 does not refuse, stated and carried.** The refusal covers what leaves a trace. A type that rests on something unresolved without one is compared, on three roads, each measured through the shipping gate: (a) the `any` count is a count, not a position, and the produced `any` arrives through a local alias or by inference; (b) an operator such as `keyof` consuming an unresolved type behind a local alias (pinned by RMR-C1 as a named compare); (c) inference through a local overloaded function. Predicates 2 and 3 hold on all three. The ADR and the gate header both state this and name the carrier, objectstack-ai#38379; until it lands, that item is the contract. Road b was left stated, not closed: following every local alias would refuse the by-design named compare. <details> <summary>The dead end, measured: the worked example under every existing disposition</summary> Method: the net diff of PR objectstack-ai#37433 (head `ac218b2489`) applied on `4cb162bfb9` in a detached comparison worktree, the changeset's marker and its FROM / TO spelling rewritten per variant, each variant committed locally and judged by the shipping gate's own `assertInputs` and `scan`. Nothing from that worktree was pushed. | variant | marker | how the fix is spelled | outcome | |---|---|---|---| | V0 | `type-surface-only`, bare | the PR's own two-line pair | refused, predicate 4 | | V1 | `type-surface-only`, dotted member path | two-line pair | refused, predicate 4 | | V2 | `no-migration-prescription` | two-line pair | admitted | | V3 | `runtime-interface-only` | two-line pair | admitted | | V4 | `runtime-export-retired`, member operand | two-line pair | refused, predicate 1 | | V5 | `unpublished` | two-line pair | refused | | V6 | `registered`, an id not in the diff | two-line pair | refused | | W1, W3 | the two catch-all categories | one arrowless FROM … TO line | admitted | | W2, W4 | the two catch-all categories | an arrow line under no migration label | admitted | | W5, W6 | `runtime-export-retired`, member operand | arrowless line, arrow line | refused, predicate 1 | | W7 | `already-registered`, a real id older than the merge base | two-line pair | admitted | | X1, X2 | the two catch-all categories | a labelled FROM → TO arrow line | refused by the prescription detector | | X3 | `type-surface-only`, bare | labelled arrow line | refused, predicate 4 | </details> <details> <summary>The two halves in one tree: green, and the worked example is accepted</summary> Joint tree `e121e0e10c`, a local-only merge of the gate branch at `a2b044f1fb` with this branch at `819cdf7cd0`. This reading predates the L2 rework: the ADR and the gate both changed at `e2661365c1`, so the 921 below is that tree's number, not this head's (960). R2 and R6 were re-measured on this head's gate and still hold. - `node scripts/check-adr-0087-registration.mjs --self-test` printed `✓ check-adr-0087-registration --self-test: 921 assertions over real temp git repos (real scan()/assertInputs() path)`, exit 0. - `node scripts/check-adr-0087-registration.mjs --base origin/main` exit 0. Each half alone: - This branch: exit 1, `category documented but not accepted: runtime-member-retyped`; the self-test reports one failure, `V3`. - The gate branch at `e657c303b2`: exit 1, `category documented nowhere: runtime-member-retyped`. The worked example on the joint tree, same driver: | variant | marker and how the fix is spelled | outcome | |---|---|---| | R1 | `runtime-member-retyped @object-ui/auth#AuthClient.updateUser`, the PR's own two-line pair | refused by predicate 3: the body carries a vertical FROM / TO pair, which this category does not read | | R2 | same marker, one FROM … TO … line with `AuthClient.updateUser` on the FROM side | accepted; the gate prints the member's declared type at both revisions | | R3 | same marker, an arrow line | accepted | | R4 | an export operand | refused by name | | R5 | the whole-package operand | refused by name | | R6 | a member the diff did not retype, `AuthClient.signOut` | refused, predicate 1: the same type at both revisions | | R7 | `type-surface-only`, bare | still refused by predicate 4 | </details> <details> <summary>The compiler delivers the break (D10's channel argument)</summary> TypeScript 6.0.3 on the worked example's shape. A caller that reads the result gets `TS2339` (the property does not exist on type void). A host that passes its own implementation returning a Promise of AuthUser gets `TS2322` (not assignable to a Promise of void). </details> ## Acceptance notes - **Done-when, first bullet.** The ADR names the eighth category with its three predicates, and every enumeration of the vocabulary carries it: the marker block and the two prose lists beside it. The status line carries the amendment entry. Every occurrence of the seventh category's name was read to find a list that omits the eighth; there is none. The ADR counts categories by ordinal only (fifth, sixth, seventh, now eighth), so no count word needed changing. - **"The two land in either order" does not hold.** This branch alone fails the vocabulary pin, and the gate half alone fails it in the other direction. The two agree and are green together, in one merged tree only. - **One sentence on the parent card is narrower than it reads.** It says the two catch-all categories are refused for a body that carries a FROM → TO. Measured, that depends on how the pair is spelled: the detector reads a labelled arrow line and refuses, and it reads neither the two-line pair PR objectstack-ai#37433 carries nor an arrowless line, so both categories are admitted there. The ADR records the measured outcomes. Across the 114 pending changesets, two carry a two-line pair the detector does not read, and both describe behaviour in prose and prescribe no rewrite. Noted, not filed. - **PR objectstack-ai#37433 needs one edit beyond its marker.** Under the new category its two-line pair is refused by predicate 3 (R1), and one FROM … TO … line is accepted (R2). The ADR's worked-example paragraph says so; the edit itself belongs to that PR. - **The gate half is no longer carried unchanged.** The L2 reworks changed it on this branch (blob `e56281db17` before, `bc082d7904` at this head). Its header now follows the ADR's measured table on the two catch-all categories: refused on a labelled arrow line the detector reads; admitted on the two-line pair, an arrowless line, and an arrow line under no migration label (the ADR's row names the first two). It also corrects the old reason for the unresolved-name refusal: "two unresolved names print alike" is measured false on TypeScript 6.0.3; the true reason is that a name is only its spelling, so one spelling can be two types at two revisions. - **Ablations of the gate half** were run by its dev on its branch (report 7241851254 on objectstack-ai#37447): each new refusal reds its own case when removed. The rework's ablations were run on this branch (see Tests). - **The private-package refusal names a retyping.** Under this category it reads "no published entry to retype a member on" (L2 delta N7, L1 item 2); D9's own sentence and its pin REX-R9 are unchanged. - **Landing pointer for PR objectstack-ai#37433.** Under this category objectstack-ai#37433's two-line `FROM:`/`TO:` pair is refused by predicate 3 (R1); it lands only with one `FROM … TO …` line naming `AuthClient.updateUser` before TO (R2). The seat posts that pointer on objectstack-ai#37433 when this PR lands; the edit belongs to that PR. ## Verification Local, head `1f7fcfd66c` (merge base `eef1cbfe4a`, 0 behind main at the run): the 44 commands of `dispatch-gates --commands` for the two-file diff, under the shared verify lock (`VERDICT command-exit 0` in two holds, 976 s and 485 s), each exit captured before any pipe. - 44 of 44 exit 0, among them `check-adr-0087-registration --base origin/main`, its `--self-test` (960 assertions), `pnpm check:changeset-gate-self-tests` (167 + 960 + 456) and `pnpm check:pm-dispatch-gates` (fast tier, 2385 cases). - Reconciliation: `dispatch-gates --ran: 44 derived famil(ies) accounted for - 44 run, 0 NOT-MEASURED`. - `overlap-check` before the push: `VERDICT clean exit 0`, against origin/main and 0 PR heads. NOT MEASURED locally, CI-owned: the slow tier of the dispatch-gates self-test, the type-check lanes, the governed-merges audit over workflow variables. No changeset: both files ship in no package. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_ <!-- signed: repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn --> --------- Co-authored-by: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Leehom · project thread
Refs #37447 (item 2)
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
scripts/check-adr-0087-registration.mjsgains the eighthnot-requiredcategory,runtime-member-retyped: a published member that stays on an exported type while its declared type changes (the founding case isAuthClient.updateUserin@object-ui/auth, Promise of AuthUser to Promise of void, PR #37433). It is D9's sibling, exactly as item 1 of the card designs it.Operand.
PACKAGE#TYPE.MEMBER, orPACKAGE/SUBPATH#TYPE.MEMBERon a literalexportskey (D9's bound from record 6885400963, "only literal subpath keys", inherited through the sharedparseExportOperandandsourceEntryAt). A member only:PACKAGE#EXPORTandPACKAGE#*are refused by name.The three predicates, by name (
RUNTIME_MEMBER_RETYPED_PREDICATES, pinned by the RMR-N battery), so the ADR half (#38328, PR #38365) can be held to them:present-at-both-type-differs(the swapped predicate 1). D9's compiler reader (readExportSurfaceplusmembersOf) reads the package's published entry at the merge base AND at HEAD. The type must be exported at both, the member must be on it at both (getPropertiesOfType), and the member's declared type must differ. "Declared type" is the checker'stypeToStringof the member (NoTruncation) with its optional marker, compared as text, and the Program is compiled withstrictNullChecks: trueso that null and undefined unions count. Refused, never guessed: a member that vanished at HEAD (the refusal namesruntime-export-retired), a member the diff adds, a type that left the entry, a member whose declaration names a type the reader cannot resolve at either revision (two unresolved names print alike), and a member whose declared type is the same at both revisions.no-metadata-surface: D9's predicate 2, unchanged, lifted intoexportMetadataSurfaceReadand asked at BOTH revisions, because the operand exists at both.from-operands-named: D9's predicate 3, unchanged, lifted intofromOperandsNamedProblems. It inherits theno-migration-prescriptionrefusal exactly as D9 does.type-surface-onlystays the only category exempt from that refusal.It does not go through the
type-surface-onlytext walker.type-surface-onlyand its predicate 4 are not touched. The only addition on that path is one hint line in predicate 4's existing refusal that names the new category. The ruling 「豁免的安全性由谓词④承载,保持豁免是收窄而非洞」 stands.Wiring:
CATEGORIES, the scan dispatch (the lazy compiler load vianeedsExportReader, as for D9),FIXIT, the narrowed-refusal list and the prescription-refusal text. Two behaviour-neutral refactors back it, in their own commit (c7ab556): D9's predicate 2 export/member branch and its predicate 3 become shared helpers. The pre-existing 871 self-test assertions held unchanged after that commit.Read first (by risk):
verifyRuntimeMemberRetypedandmemberTypeAt: predicate 1, the new judgement.exportMetadataSurfaceReadandfromOperandsNamedProblems: D9's predicates moved, not changed. The risk is a D9 regression; the REX, SP, WP and DX batteries cover it.readExportSurfaceextraOptionsparameter: only this category passes it.Tests
RMR (#37447)(44 assertions) andRMR-N(3), both pinned inSELF_TEST_BATTERIES.ui/packages/*package), a method signature on a type-literal alias, and a dropped null union.*.zod.ts(R6), export, whole-package and empty operands (R7a-c), a vertical FROM / TO pair (R8), an out-of-range FROM operand (R9), an unresolved type (R10), and a type that left the entry (R11).needsExportReader.Self-test (green only beside the ADR text, see Acceptance notes)
check-adr-0087-registration --self-test: 921 assertions over real temp git repos,VERDICT command-exit 0. That run used gate a2b044f. Since then the gate has changed in comments only (git diff a2b044f1 HEADhas no non-comment line).V3: docs/adr/0087-metadata-protocol-upgrade-contract.md must document the runtime-member-retyped category. That is the ADR-0087's changeset disposition has no category for published runtime TS interfaces with no metadata surface — the #8277 exemption argument is correct, unverifiable, and will be re-litigated #8299 vocabulary-drift pin, and it is red by design until the ADR half is on the same tree.Ablation (one-off, through scripts/ablation-replace.mjs, each restored to the HEAD blob f13cfb56ef09 with git diff HEAD empty)
memberTypeAtreports an absent member as present with a placeholder type. The self-test went red on RMR-R1 and RMR-R2, each with "expected RED, got green" and three message pins.strictNullChecks: truewas replaced by an empty object. The self-test stayed green (921), because TypeScript 6.0.3 already defaultsstricton. WithstrictNullChecks: falsethe RMR-G3 fixture is refused:getSessionwith and without the null union prints the same type. The option is therefore explicit so that the reading does not depend on a compiler default, and its comment says so (ccb23f9).Acceptance notes
runtime-member-retyped @object-ui/auth#AuthClient.updateUserin place of itstype-surface-onlymarker): refused, by predicate 3 only. Its body writes the pair as**FROM:**and**TO:**on two lines (a vertical FROM / TO pair), and the member then has no FROM side. Predicates 1 and 2 held.AuthClient.updateUser... TO ...): exit 0,verified: @object-ui/auth#AuthClient.updateUser (updateUser: (data: Partial of AuthUser) => Promise of AuthUser -> updateUser: ... => Promise of void, ui/packages/auth/src/types.ts).assertInputsrefuses a verdict unlessCATEGORIESand the categories ADR-0087 documents are the same set, in both directions. So this PR alone redscheck-adr-0087-registrationon every run ("category documented nowhere: runtime-member-retyped"), and feat(adr-0087): the eighth disposition category runtime-member-retyped — ADR text (D10) and the registration gate #38365 alone would red it the other way ("category documented but not accepted"). Neither order of separate landing is green. The landing shape is the seat's call.anyorunknownbase that becomes concrete also satisfies predicate 1 when the member stays. The ruling's predicate is "present at both, type differs", and no fourth condition was added.type-surface-onlykeeps its own predicates for that shape.skip-changeset: the diff touches onlyscripts/, which no package publishes.Verification
Derived gate families (head e657c30)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 34 families, and all 34 ran locally.pnpm check:pm-dispatch-gatesran under the lock: fast tier 2385 cases,VERDICT command-exit 0.node scripts/check-adr-0087-registration.mjs --base origin/main(exit 1, "category documented nowhere: runtime-member-retyped"),--self-test(exit 1, V3 only), andpnpm check:changeset-gate-self-tests(exit 1, the same V3). Its third member,check-changeset-no-major --self-test, was run alone: exit 0, 456 assertions.dispatch-gates --ran:34 derived famil(ies) accounted for, 34 run, 0 NOT-MEASURED (a DERIVED zero).overlap-check:VERDICT clean exit 0.Two-minute check: on a tree that carries this branch and #38365 together, run
node scripts/check-adr-0087-registration.mjs --self-test. Expect921 assertionsand exit 0.Generated by Claude Code