Step
Atomic action with pre/post conditions
Mechanism
A unit of action that declares its own boundaries. It specifies: 1. Preconditions (what must be true before), 2. Action (what to do), 3. Postconditions (what will be true after), 4. Rollback (how to undo if needed). It acts as a node in a causal graph.
Invariants
- Declares whether it can be rolled back, and how. A step that cannot be undone says so.
- Causal closure: preconditions are satisfiable by prior steps or the initial state.
Failure modes
- Precondition violation: executed when preconditions were not met.
- Postcondition failure: completes without achieving its postconditions.
- Rollback failure: the declared undo does not restore the prior state, so the step is neither done nor undone.
Where this came from
—
Used by
- Plan references
- Realizable references
- Workflow references
Related
Identity
- Ref:
Step#fa20 - Hash: sema:Step#mh:SHA-256:fa207e6f70e14a67e3baa7e4ad4df9ece59ba4d07083fbbcc992332959e1520a
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository