tms-core-is-crash-safe

IN derived (depth 2)

The TMS core provides crash-free truth maintenance: deterministic termination, pure evaluation, and conservative failure semantics ensure correct results across all reachable nodes.

Summary

The truth maintenance engine will always finish its work and never crash, hang, or produce corrupt results. This guarantee comes from two properties working together: the propagation algorithm always reaches a stable stopping point in bounded time, and the justification logic is a simple pure function with no hidden state that could cause unexpected failures.

Justifications

SL — The engine's correctness guarantees (purity, termination, conservatism) hold only if all dependent references resolve — a dangling entry in `node.dependents` triggers an uncaught KeyError

Antecedents (all must be IN):

Unless (any of these IN defeats this justification):

  • propagate-assumes-dependents-exist — Every ID in `node.dependents` is accessed via `self.nodes[dep_id]` without a membership check; a dangling dependent reference will raise `KeyError` — this is intentional (broken invariant = bug)

Dependents

These beliefs depend on this one:

Details