---
library: "bootstrap"
slug: "WorldReversible"
name: "WorldReversible"
ref: "WorldReversible#462e"
hash: "sema:WorldReversible#mh:SHA-256:462e0937acf2ebdd37d4da4048487b92495b86cb663ec5badb91c747c3373566"
type: "Strategy"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/WorldReversible"
---

# WorldReversible

Designing for zero-cost undo

Mind · Strategy

## Mechanism

A safety constraint where the agent must design the system such that every action can be perfectly inverted, and its inverse located. This forces the use of immutable logs, versioning, and 'soft deletes' instead of destructive updates.

## Invariants

- Lossless undo: [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md)(T) can be fully restored from [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md)(T+1).
- Every action has a discoverable inverse; an action whose undo cannot be located is not reversible.

## Preconditions

- Storage is sufficient for history

## Postconditions

- Irreversible actions wrapped in 'Commit' gates

## Failure modes

- Storage explosion (keeping all history).

## Where this came from

—

## Builds on

- [State](https://semahash.org/vocabularies/bootstrap/patterns/State.md) (references)

## Used by

- [ReversibilityCheck](https://semahash.org/vocabularies/bootstrap/patterns/ReversibilityCheck.md) (references)
- [TimeWarpLog](https://semahash.org/vocabularies/bootstrap/patterns/TimeWarpLog.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: WorldReversible#462e
- Hash: sema:WorldReversible#mh:SHA-256:462e0937acf2ebdd37d4da4048487b92495b86cb663ec5badb91c747c3373566

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/WorldReversible
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/WorldReversible.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
