{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "MentalSim",
 "ref": "MentalSim#c28c",
 "hash": "sema:MentalSim#mh:SHA-256:c28c84db7597a2e8cef38b73dc9780b6f8fe28c9d45700c4431b3a7a2ac3b8fc",
 "stub": "c28c",
 "layer": "Mind",
 "type": "Strategy",
 "summary": "Predictive modeling of system dynamics",
 "mechanism": "System#f8eb 2 Simulation#1058. Agent#e127 constructs a causal graph of the target system. It executes a 'Dry Run' of the proposed plan within that graph, inside an isolated AgentSandbox#1594, to predict State#4f25(t+1) — toggling between fast HeuristicSnap#d683 and rigorous Deep#16b0 simulation modes.",
 "invariants": [
  "Builds a causal graph of the target System#f8eb before running anything.",
  "The Simulation#1058 produces no side effects in the production context.",
  "Costs at most `cost_fraction` of executing the plan for real."
 ],
 "parameters": [
  {
   "name": "cost_fraction",
   "type": "Ratio",
   "range": "(0.0, 0.5]",
   "description": "Share of real execution cost the simulation may consume before simulating is not worth it."
  },
  {
   "name": "fidelity",
   "type": "Enum",
   "range": "{Low, High}",
   "description": "Whether the causal graph models coarse dynamics or detailed ones."
  },
  {
   "name": "steps",
   "type": "Integer",
   "range": "[1, 10]",
   "description": "How far ahead the dry run looks."
  }
 ],
 "signature": [],
 "preconditions": [
  "Causal model of target system available",
  "Initial state known"
 ],
 "postconditions": [
  "Probabilistic outcome vector generated"
 ],
 "failure_modes": [
  "Map-Territory Error: Simulation#1058 diverges from reality (Hallucinated Physics).",
  "Overconfidence: Agent#e127 trusts the simulation execution log more than real-world feedback."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "MentalSim",
 "builds_on": [
  {
   "alias": "heuristic_snap",
   "relation": "references",
   "library": "bootstrap",
   "slug": "HeuristicSnap",
   "ref": "HeuristicSnap#d683",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/HeuristicSnap"
  },
  {
   "alias": "agent",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Agent",
   "ref": "Agent#e127",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Agent"
  },
  {
   "alias": "state",
   "relation": "references",
   "library": "bootstrap",
   "slug": "State",
   "ref": "State#4f25",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/State"
  },
  {
   "alias": "system",
   "relation": "references",
   "library": "bootstrap",
   "slug": "System",
   "ref": "System#f8eb",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/System"
  },
  {
   "alias": "deep",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Deep",
   "ref": "Deep#16b0",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Deep"
  },
  {
   "alias": "simulation",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Simulation",
   "ref": "Simulation#1058",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Simulation"
  },
  {
   "alias": "agent_sandbox",
   "relation": "references",
   "library": "bootstrap",
   "slug": "AgentSandbox",
   "ref": "AgentSandbox#1594",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/AgentSandbox"
  }
 ],
 "related": [
  {
   "alias": null,
   "relation": "related",
   "library": "bootstrap",
   "slug": "ProphetFanOut",
   "ref": "ProphetFanOut#8711",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/ProphetFanOut"
  }
 ],
 "used_by": [
  {
   "slug": "SimulationTrace",
   "relation": "references",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/SimulationTrace"
  }
 ],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/MentalSim",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/MentalSim.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
