The devices a patchbay must DRAW that no live node backs, from two independent sources.
Identity legs first, and they are the better source. A leg stored as {box, input} states
which box it meant and survives that box leaving, so its ghost carries a boxId rather than a
guess, the registry answers with the operator's own name, and a replacement maps ordinal to
ordinal because the ordinal IS the leg's input.
Stranded port strings are the other source. A leg that carries no identity names no box,
so its ghost shows the node address — honest, and visibly different from a named one.
A box that appears in BOTH is one box: the identity ghost wins, because it knows more. Two
ghosts for one box is the mis-patch this mechanism exists to prevent.
The devices a patchbay must DRAW that no live node backs, from two independent sources.
Identity legs first, and they are the better source. A leg stored as
{box, input}states which box it meant and survives that box leaving, so its ghost carries aboxIdrather than a guess, the registry answers with the operator's own name, and a replacement maps ordinal to ordinal because the ordinal IS the leg'sinput.Stranded port strings are the other source. A leg that carries no identity names no box, so its ghost shows the node address — honest, and visibly different from a named one.
A box that appears in BOTH is one box: the identity ghost wins, because it knows more. Two ghosts for one box is the mis-patch this mechanism exists to prevent.