{
  "handle": "NarrativeStateInjection",
  "ref": "NarrativeStateInjection#7889",
  "stub": "7889",
  "semaId": "sema:NarrativeStateInjection#mh:SHA-256:788991b0f28ec54c847a05f7a393c25fed91259a722f247fde75a26147cff757",
  "layer": "Mind",
  "category": "Memory",
  "gloss": "Give a model its internal state as a short story and rewrite it every turn",
  "mechanism": "Numeric state such as anger 8 out of 10 carries no meaning to a language model. Instead the state is expressed as a short prose account of what the agent feels and how its responses change. The prior account is deleted from the history and replaced each turn, so context holds only the current one.",
  "invariants": [
    "Exactly one current state narrative is present in context",
    "Old narratives are removed, not appended"
  ],
  "failureModes": [
    "Stale narratives left in history contradict the current state",
    "Narrative overstates the state and forces caricatured behavior"
  ],
  "ring": 2,
  "tier": 3,
  "aliases": {},
  "buildsOn": [],
  "usedBy": [
    {
      "handle": "LimbicAdapterLayer",
      "type": "composes_with",
      "alias": "narrative",
      "url": "/knowledge-graph/LimbicAdapterLayer/",
      "json": "/knowledge-graph/LimbicAdapterLayer.json"
    }
  ],
  "sources": {
    "research": [],
    "works": [],
    "homePage": false
  },
  "url": "/knowledge-graph/NarrativeStateInjection/",
  "graphUrl": "/knowledge-graph#NarrativeStateInjection",
  "directory": "/knowledge-graph/patterns.json"
}
