Reversibility
Condition: Can this action be undone?
Mechanism
Evaluates whether the post-state of an action allows a return to the pre-state. Two tests in order: whether the information needed to reconstruct the pre-state still exists, and only then whether restoring it costs less than the caller's declared limit. Returns TRUE for Type 2 decisions (reversible) and FALSE for Type 1 (one-way doors).
Invariants
- A post-state that destroyed the information yields FALSE at any cost limit.
- The verdict names the cost limit and information-loss tolerance it was judged against, both Constraints supplied by the caller.
Parameters
- cost_limit: type=PositiveInteger, range=unspecified, description=Maximum acceptable cost to reverse, in a unit the caller states.
Failure modes
- False reversibility: the action created externalities the pre-action analysis omitted.
- Cost drift: the tolerance was declared before the reversal is attempted.
Where this came from
—
Builds on
- Constraint references
Used by
- ReversibilityCheck references
- Translate references
- Trialhaven references
Related
Identity
- Ref:
Reversibility#cb35 - Hash: sema:Reversibility#mh:SHA-256:cb359b693e6f3e674083df81b207143179d19330d5c3ce6e1832674901074b37
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository