Two instance overrides with identical records resolve differently in Figma
Reading Preline UI (Community) against live Figma leaves two text nodes on the Alerts frame reading an override Figma ignores. Everything else on that frame and on the Preview frame matches.
Alerts (4318:45050) 2,14,0,3,2,0,0,3 figma "Button-sm" ours "Learn more"
2,29,0,3,2,0,0,3 figma "Button-sm" ours "Learn more"The target 3770:11715 ("Placeholder" inside _button-small) binds TEXT_DATA to variable 39035:123959 = "Button-sm". Two owners state the text:
4321:47822(the Button inside the_alertcomponent):textData: "Learn more"and a{variableField: "TEXT_DATA"}entry with no value, which unbinds.4325:58851(the placed_alert):textData: "Learn more"at the full path, with no consumption entry.
Figma keeps the binding and renders "Button-sm".
The blocker is that an override Figma honours has the same record shape. The "HTML" tag on the Input preview frame:
4275:72192(inner Badge):textData: "Badge"+ a clearingTEXT_DATAentry.5699:178089(placed Input):textData: "HTML", no consumption entry.- target
4268:26059bindsTEXT_DATAto39035:123964= "Badge".
Figma renders "HTML" and reports no binding on the node. Same shape, opposite outcome, so nothing in the override records distinguishes them. The only difference found so far is that the Alerts pair states the same literal at both levels while the HTML pair states different ones.
Four rules were implemented and measured against the whole document and live Figma; each is refuted:
| rule | nodes changed | result |
|---|---|---|
| a claim's clearing entry never unbinds | 2609 | Figma shows the literal for sampled nodes ("Global Component", "5") |
| an outer claim's value drops an inner claim's entry | 156 | changes nodes to the literal where Figma shows the variable |
| an outer claim without an entry restores the component's binding | 50 | fixes Alerts, breaks "HTML"/"CSS"/"JS", "Art ️", "v1.2" |
| text bound to a string variable resolves at read time | — | shipped; correct where only one owner states the field |
Authoring the shape directly in Figma confirms the normal path: setting characters on a bound text node unbinds it and the literal shows, at one level and through a nested component, and a same-component swap does not reset it. None of those reproduce the Alerts outcome.
What would settle it is authoring the two-owner shape in Figma, saving a local copy, and diffing the records against the Preline ones — the information that decides this is either outside symbolOverrides or outside the archive.
Reproduce with:
bun tools/generate/visual-oracles/src/operations/compare/interpreted-document.ts \
--file "Preline UI Figma (Community).fig" --node 4318:45050 \
--figma-key <key> --output scratch/oracle-alerts --allow-partial-assignmentsSource: open-pencil/open-pencil