{
  "kind": "callback_request",
  "expect": "valid",
  "description": "session.ending event signaling impending shutdown",
  "data": {
    "schema_version": "lifeloop.v0.2",
    "event": "session.ending",
    "event_id": "evt-session-ending-1",
    "adapter_id": "codex",
    "adapter_version": "0.1.0",
    "integration_mode": "native_hook",
    "invocation_id": "inv-8",
    "harness_session_id": "session-123",
    "sequence": 7,
    "metadata": { "lifeloop_run_id": "lfl-run-1" }
  }
}
