mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 00:02:31 +00:00
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.