{
  "handle": "Proprioception",
  "mechanism": "Continuous self-monitoring of position in the {{task}} graph. An {{agent}} periodic 'ping' to itself to verify {{context}}, active tool state, and depth in recursion. Prevents 'getting lost' in long chains of thought. It maintains internal {{state}} awareness, using {{somatic_marker}} to detect recursion depth limits or resource fatigue.",
  "gloss": "Self-location awareness within the task graph",
  "failure_modes": [
    "Stagnation: {{agent}} remains in same node > N ticks.",
    "Orphaned: Parent {{task}} ID not found or unresponsive.",
    "Hallucinated {{context}}: Stack {{trace}} does not match environmental reality."
  ],
  "invariants": [
    "{{context}} Continuity: {{agent}} knows its parent {{task}} ID",
    "Liveness: Parent.status == ACTIVE",
    "{{state}} Recovery: Can reconstruct stack {{trace}} from logs"
  ],
  "parameters": [
    {
      "name": "max_recursion_depth",
      "type": "PositiveInteger",
      "range": "unspecified",
      "description": "Default: 10"
    },
    {
      "name": "stagnation_threshold",
      "type": "Int",
      "range": "[1, 100]",
      "description": "Ticks before abort"
    }
  ],
  "_meta": {
    "tier": 3,
    "ring": 2,
    "supersedes": [
      "sema:Proprioception#mh:SHA-256:2fbfba79d07478050b86020f08cb42f18c93e896052dccba0311db0168b549a0",
      "sema:Proprioception#mh:SHA-256:b2d70e4416d6b55a8b9f1fe6e9b462855a6efb710eab02138b493aa047424001",
      "sema:Proprioception#mh:SHA-256:33337af3c2616cf01b7ceaf3725c094d76c3643e6b89bbff130ea7536e91ad9b"
    ],
    "path": [
      "Mind",
      "Memory"
    ]
  },
  "sema_id": "sema:Proprioception#mh:SHA-256:d0e9504515812dc3406f58619c71e240ae407b847bb740d529cd91efaba4930f",
  "sema_ref": "Proprioception#d0e9",
  "sema_stub": "d0e9",
  "dependencies": {
    "references": {
      "agent": "sema:Agent#mh:SHA-256:e127459069739fffc96a71d54ef6e8c97ca53471d5349c16aa72a092a33756cd",
      "context": "sema:Context#mh:SHA-256:c1b72256dc4732033ee42cc07ff5d9fb60a7f1a3e5634449c343692a33340756",
      "somatic_marker": "sema:SomaticMarker#mh:SHA-256:25c9f71e623cfc2114e71c853ddea757abbfc319880ab654d2b875feec99973a",
      "state": "sema:State#mh:SHA-256:4f25e6a16ccd37dc0bc154cccc7055cb504d49daa8b712f372a425eb6c7b8cb2",
      "task": "sema:Task#mh:SHA-256:a85010f508f85055170c396c8fa390125c1206888c565ac10651f3969a339f8d",
      "trace": "sema:Trace#mh:SHA-256:b68d64423aa72b13a06714aa182baab79eb49a5a856dce56dd554fd63b41c2a9"
    }
  },
  "sema_layer": "Mind",
  "sema_category": "Memory",
  "used_by": {}
}
