pg-api-what-if-never-mutates

IN premise

`PgApi.what_if_retract()` and `what_if_assert()` are read-only operations — they return cascade analysis (changed/went_in/went_out) without modifying database state, verified by checking `get_status()` before and after

Summary

The what-if analysis functions let you preview the consequences of retracting or asserting a belief without actually doing it. This means you can safely explore hypothetical changes to the belief network — seeing what would cascade — without any risk of corrupting the current state.

Dependents

These beliefs depend on this one:

Details

Sourceentries/2026/04/29/tests-test_pg.md