import-two-phase-truth-maintenance

IN premise

Import/sync adds all nodes first, then runs `recompute_all()` to propagate truth values, then performs explicit retractions — this ordering prevents incorrect cascades from partially-constructed networks

Summary

When loading or syncing belief data from an external source, the system follows a careful three-step sequence: first it loads all the nodes into the network, then it recalculates which ones should be believed based on the complete picture, and only after that does it process any retractions. This matters because if retractions were processed while the network was only half-loaded, nodes might get incorrectly marked as unsupported simply because their justifications hadn't been imported yet, leading to cascading errors that would be difficult to undo.

Dependents

These beliefs depend on this one:

Details

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