review-format-handles-missing-antecedents
IN premise
`format_belief_for_review` renders `"(not found in network)"` for antecedent IDs that don't exist in the nodes dict rather than crashing, and returns an empty string for a nonexistent belief ID.
Summary
When preparing a belief for review, the formatting logic degrades gracefully instead of failing: if a justification references another belief that no longer exists in the network, it shows a placeholder message, and if the belief itself is missing, it returns nothing rather than raising an error. This matters because beliefs can be retracted or removed over time, and review operations need to handle those gaps without breaking.
Dependents
These beliefs depend on this one:
- review-is-read-only-and-fault-tolerant — The review module operates entirely on in-memory snapshots with no storage dependency, handles missing antecedent references with placeholder text rather than exceptions, and silently skips failed LLM batches — achieving fault-tolerant read-only operation across all failure modes.
Details
| Source | entries/2026/05/05/tests-test_review.md |