mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-26 11:26:50 -06:00
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>