+- **Now.** They read the one shared fold in `object-graph.ts`, as the field-path rules do since #30383: the declared fields plus every field an `objectExtensions` entry of any body adds, one entry per package per object. A field no body declares or adds keeps the same refusal, with the same rule id, severity and message. A field two packages write at the same deciding priority is a served name, but the expression passes judge neither its type nor whether it is nullable, since which definition wins is registration order. The write rules still leave an object that declares no field unjudged. The translation rule now keeps one entry per package per object too, so a key naming a field or rule only a replaced earlier entry of the same package adds is an orphan, as the registry serves it. The three readonly write rules (`flow-update-readonly-field`, `hook-api-update-readonly-field`, `action-api-update-readonly-when-field` and their siblings) judge an extension field's served definition too, so a body write to an extension field declared `readonly` or `readonlyWhen` is refused by the readonly rule, where it was refused as an unknown field before; for a hook's `ctx.api.object(...).update(...)` write that moves the finding from a `warning` (`hook-body-write-unknown-field`) to the readonly rule's `error`, the severity it already has for a declared readonly field. A field two packages tie on is not judged readonly. A misspelled field within edit distance 3 of an extension-added name now gets a did-you-mean naming that field.
0 commit comments