Files
orca/src
Jinwoo-H 6cd1f504c4 fix(terminal): let hydration heal a rootless layout, without letting it evict
collectLeafIdsInOrder returns nothing for a rootless layout, so the self-heal saw
none of their bindings and a duplicate that ownership resolution can see was one
hydration could never repair. Both rules now come from one module, which also names
why they differ: ownership reads a rootless layout generously, because over-counting
only costs a reveal that adopts instead of minting, while the heal reads it narrowly,
because a winner takes a binding away and a never-pruned map holds more than it owns.
The old fixture for the stranded-binding case built a rootless layout, not a stranded
one, so it was not testing the guard it named.
2026-09-21 00:23:22 -04:00
..