{
  "handle": "Simulation",
  "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.",
  "gloss": "A virtualized execution",
  "_meta": {
    "tier": 1,
    "ring": 0,
    "supersedes": [
      "sema:Simulation#mh:SHA-256:80351d81041c870beacea4186f56e1f8703daf12578345859a7daf35a7dea270",
      "sema:Simulation#mh:SHA-256:ebb11496dccf2bb9e9f483633e9fa618751af7dddcd5d6f8d0377e8d74b7aacf",
      "sema:Simulation#mh:SHA-256:1476bfa1b0f3290a98ba6f83a3d44865d7fd148af9a1343508e0f066b5ab30d9"
    ],
    "path": [
      "Mind",
      "Strategy"
    ]
  },
  "sema_id": "sema:Simulation#mh:SHA-256:1058e7090079e846251ed480d7afec0328809d22bebb6b205425b2de614787c3",
  "sema_ref": "Simulation#1058",
  "sema_stub": "1058",
  "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"
  ],
  "dependencies": {
    "references": {
      "outcome": "sema:Outcome#mh:SHA-256:753768dae28040f1291ee2849d2aac2a08bbffd836cfab679bdbea9a6ff7ec03",
      "sandbox": "sema:Sandbox#mh:SHA-256:7106e315b4bf7c5bd418fbab5c18e54be940367f77b8bde4756d1cb95beaa16b",
      "state": "sema:State#mh:SHA-256:4f25e6a16ccd37dc0bc154cccc7055cb504d49daa8b712f372a425eb6c7b8cb2"
    }
  },
  "sema_layer": "Mind",
  "sema_category": "Strategy",
  "used_by": {
    "references": {
      "CognitiveEcho": "sema:CognitiveEcho#mh:SHA-256:c84c09c719fa97e50268c901a737cf5812e92cfe9d8f81b69d4a5e511d565954",
      "EmpathySim": "sema:EmpathySim#mh:SHA-256:33c4c1083c17544686139953481e1467b780ec974093cbe6831cc710a5621d0a",
      "Estimate": "sema:Estimate#mh:SHA-256:3bacc0606623a0603b271a835b54157c2e86389c4282af86d88cd1ddd9ecf917",
      "HypothesisEngine": "sema:HypothesisEngine#mh:SHA-256:f9e8f765ed6e5bca5355567747f7ea9acf4c9836a8f287df8831a9e18c179e3e",
      "MentalSim": "sema:MentalSim#mh:SHA-256:c28c84db7597a2e8cef38b73dc9780b6f8fe28c9d45700c4431b3a7a2ac3b8fc",
      "PropheticQuorum": "sema:PropheticQuorum#mh:SHA-256:f7fff3a87881c7f923e067c30eee122443ae6ab47c2831edac0eccc1f1e01230",
      "SimulationTrace": "sema:SimulationTrace#mh:SHA-256:e18789d2ae0413d7f4a4429598f9a12c6f2b9fe4b515eef176d855dcadc0d987"
    }
  }
}
