Repository navigation
Description
repo:objectstack#4 · os-justin · session_01QSeKYmRepQK9DkZeU7F53D
Filing gate: ① a contract gap with named locations · Source: fleet (should-fix S2 of the contract review 7146174839 and L1 7146184742 on PR #37090, card #36923; filed by zone a4-U as that record asks)
What happens
A changeset that narrows the behaviour of a published runtime function in a UI package is BREAKING: it declares Clause-②: no (narrowing) and Metadata-protocol: none, and its body carries a code-level FROM → TO and a fix. It must still state exactly one ADR-0087 disposition. None of the closed categories fits the facts:
runtime-interface-onlyreads onlyexport interface|type|class|enum(scripts/check-adr-0087-registration.mjs~2937). A function is out of reach.runtime-export-retiredreads an export that is absent at HEAD. Here the export is still present.type-surface-only: the declared type does not change.registeredneeds a new ledger id underpackages/spec/src/migrations/entries/semantic/. The ledger describes the declared metadata protocol, and withMetadata-protocol: nonethere is no declared surface for an entry to name.not-required (no-migration-prescription): the gate admits it because the kind isnone, but its own rule refuses a body that carries a migration prescription (docs/adr/0087-metadata-protocol-upgrade-contract.md~764, table row ~880). It is admitted only because the FROM / TO /Fix:lines are written without an arrow, which the detector misses. ADR-0087 already records this shape for changeset 15205 (~1076-1086) before D9 gave that case a category.
Measured case: PR #37090 (readLookupAutofillTargets and the LookupField + onAutofill widget behaviour in @object-ui/fields now answer only for a stamp the record form issued). The contract review records the marker as "the right marker of the closed set … admitted on a detector miss, not on a fact".
reach: every BREAKING patch that narrows the behaviour of a published runtime function without touching the metadata protocol. Each one either rides the detector miss, or tells its author to rewrite an honest FROM → TO in a way the detector does not see.
Expected
The disposition vocabulary has a fact-based answer for this shape, so the marker states a fact the gate can check instead of relying on a detector miss. One option is a category for a behaviour narrowing of an exported function that is still present, checked against the diff and the package's export list. Another is a documented rule that such a changeset uses an existing category with a stated condition. Which one is a rule-text and gate decision for its owning lane, under ADR-0087's own amendment process.
Acceptance
- ADR-0087's vocabulary paragraph and
check-adr-0087-registration.mjstogether give this shape exactly one fact-based disposition, with a self-test case for it. - PR fix(fields): a lookupAutofill written on a standalone form node's field is not run #37090's changeset (or its successor shape) passes on that disposition without relying on a detector miss.
Business reason: the gate exists so that a BREAKING change states, in a form a machine can check, why it owes the upgrade ledger nothing. Today this shape can state that only by hiding its own prescription from the detector. That teaches authors, and AI authors most of all, to write migrations the gate cannot see.
Reader: the lane that owns scripts/check-adr-0087-registration.mjs and ADR-0087 (routing and grade by triage; an ADR amendment is a governed surface).
Dedupe: "adr-0087 runtime function narrowing category", "no-migration-prescription detector" and "runtime-interface-only function" (open and closed) → #18745 (closed, an earlier detector miss on a FROM → TO line), #22915 and #32601 (closed, other shapes); no open card on this gap.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch, closed as not planned 2026-11-24T22:28Z (repo:objectstack#4's request 7146234696)
scripts/check-adr-0087-registration.mjs, a CI gate. Type set toTask, since it is a gate and rule-text change, not a product capability.