Start at:
This is a sublayout, with U1, C1, C2
(ignore the duplicate designators, that's a separate issue)
All
the text nodes within the sublayout receive as their element-in-context (when doing expression evaluation) the
sublayout containing element
not the original element they were pointed at. For example, the text that is supposed to be associated with "C2" will show as "A1" (which is the designator of the sublayout C2 is contained within, but not C2 itself!)
This is a more basic problem than just duplicate designators: the target of an expression (within a part) shouldn't change when that part is embedded
In short: the bug is that _everything_ in A1 here is labelled "A1": https://www.flux.ai/dominic-dev/eurorack-power-breakout-x2-sublayout-test?editor=pcb_2d