The slot-qualified review key, for a host that federates models as stable
SLOTS (one discipline model per slot, pinned per coordination round). Each
element is keyed by (slot, key), so the same file opened in two slots never
shares a decision, and the key carries the rule's semantic revision, so
editing a rule's selectors or tolerance under the same rule id never
re-attaches a decision taken under the old meaning.
A separate function rather than a second parameter of clashReviewKey,
because callers pass that one straight to Array.prototype.map, which would
hand it the element index as a second argument.
Returns null when either element's key is repeated within its model
(keyAmbiguous): such a pair has no identity that survives a re-run, so it
gets no carried decision rather than one guessed by per-load ref. It also
returns null when slotOf has no slot for an element's model.
The slot-qualified review key, for a host that federates models as stable SLOTS (one discipline model per slot, pinned per coordination round). Each element is keyed by
(slot, key), so the same file opened in two slots never shares a decision, and the key carries the rule's semantic revision, so editing a rule's selectors or tolerance under the same rule id never re-attaches a decision taken under the old meaning.A separate function rather than a second parameter of
clashReviewKey, because callers pass that one straight toArray.prototype.map, which would hand it the element index as a second argument.Returns
nullwhen either element's key is repeated within its model (keyAmbiguous): such a pair has no identity that survives a re-run, so it gets no carried decision rather than one guessed by per-load ref. It also returnsnullwhenslotOfhas no slot for an element's model.Old (unqualified) keys stay readable: see parseClashReviewKey.