validate() now reports children listed twice, pages with a parent, and nodes not reachable from a page (cycles, detached subtrees). repair() drops repeated children, clears page parents and removes every node not reachable from a page in one linear pass, replacing the orphan loop. Co-authored-by: Justin John <babyjjbabyjj549@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||