Expand description
Per-transition preconditions and predictions (§8 TransitionSpec, the
pure half). Shared by the diagnoser, which builds proposals, and the
executor, which checks that a proposal’s expected refines predict
(§12 step 3). Derivation of facts needs the evaluated generation and lives
in exec.
Constants§
Functions§
- dependents
- Units with a
Requiresedge tounit, transitively: systemd stops or restarts them along with it. - precondition
- predict
- What the transition is expected to achieve. For generation operations the
set of units that may change is only known after evaluation;
predictleavesmay_changeempty withothers_unchanged = false, and the executor bounds it by the derivedaffected_unitsinstead. - refines
- §12 step 3:
claimedmust agree withpredictedon every unit the prediction names, must not broadenmay_change, and must not relaxothers_unchanged. For generation operations (others_unchanged = falsein the prediction)boundlimitsmay_changeinstead.