Simulation
A virtualized execution
Mechanism
Forks the current World State (W) into W', executes an action in W', discards W' and returns the Outcome. W remains immutable. The fork is what provides isolation, which is also its limit: only effects that flow through W are contained, so a Sandbox is required wherever simulated code can reach resources the fork did not copy.
Invariants
- Isolation within the fork: side effects on W' do not propagate to W.
- Isolation extends only to state captured by the fork. Effects reaching resources outside W require a Sandbox boundary.
Preconditions
- W is forkable — the world state can be snapshotted at the fidelity the simulation requires
Where this came from
—
Builds on
Used by
- CognitiveEcho references
- EmpathySim references
- Estimate references
- HypothesisEngine references
- MentalSim references
- PropheticQuorum references
- SimulationTrace references
Identity
- Ref:
Simulation#1058 - Hash: sema:Simulation#mh:SHA-256:1058e7090079e846251ed480d7afec0328809d22bebb6b205425b2de614787c3
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository