import-topo-sort-tolerates-cycles

IN premise

`_topo_sort_claims` attempts topological ordering but appends remaining nodes when progress stalls, gracefully handling dependency cycles instead of erroring

Summary

When the wiki builder sorts claims to figure out what order to process them in, it tries to respect dependency relationships but does not crash if those dependencies form a loop. Instead, it just tacks any stuck nodes onto the end, which means circular reasoning chains will still get processed rather than blocking the entire build.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/23/reasons_lib-import_agent.md