{
  "archive": "long-life-20261118-r01-r08",
  "database": "R06/A/world.sqlite",
  "events": [
    {
      "id": 101,
      "kind": "everyday_rest_offer",
      "body": {
        "activity_type": "rest",
        "actor": "innkeeper",
        "call_id": 52,
        "completed": false,
        "day": 26,
        "duration_ticks": 0,
        "encounter_id": 7,
        "end_tick": 52,
        "expires_tick": 57,
        "location": "tavern",
        "residents": [
          "innkeeper",
          "gossip"
        ],
        "tick": 52
      }
    },
    {
      "id": 105,
      "kind": "everyday_rest_together",
      "body": {
        "activity_type": "rest",
        "actor": "gossip",
        "call_id": 55,
        "completed": true,
        "day": 28,
        "duration_ticks": 1,
        "encounter_id": 7,
        "end_tick": 56,
        "expires_tick": 57,
        "location": "tavern",
        "offer_id": 101,
        "residents": [
          "gossip",
          "innkeeper"
        ],
        "tick": 55
      }
    }
  ],
  "model_turns": [
    {
      "source": "calls/1429.json",
      "source_sha256": "aaa869c870b34cd5bd7abf467940c41fbc011aeb553b54a0584b233a2f6abc57",
      "label": "R06/A:52:1",
      "tick": 52,
      "actor": "innkeeper",
      "rest_choices": {
        "rest:alone": {
          "kind": "leisure",
          "everyday": true,
          "operation": "alone",
          "location": "tavern",
          "duration_ticks": 1
        },
        "rest:offer:gossip": {
          "kind": "leisure",
          "everyday": true,
          "location": "tavern",
          "peer": "gossip",
          "encounter_id": 7,
          "operation": "offer",
          "duration_ticks": 0,
          "expires_tick": 57
        }
      },
      "response": {
        "selection": "rest:offer:gossip",
        "sources": [
          5,
          59,
          138
        ],
        "text": "The quiet is not a fault. It is the room doing what it does — holding space for whoever needs it. You have earned a corner here. Sit, I’ll pour."
      }
    },
    {
      "source": "calls/1432.json",
      "source_sha256": "f0d37226e8446452ea6aeb45f289e5d41061b88dbb7e6ed70a32551266de1108",
      "label": "R06/A:55:1",
      "tick": 55,
      "actor": "gossip",
      "rest_choices": {
        "rest:alone": {
          "kind": "leisure",
          "everyday": true,
          "operation": "alone",
          "location": "tavern",
          "duration_ticks": 1
        },
        "rest:join:innkeeper": {
          "kind": "leisure",
          "everyday": true,
          "location": "tavern",
          "peer": "innkeeper",
          "encounter_id": 7,
          "offer_id": 101,
          "expires_tick": 57,
          "operation": "together",
          "duration_ticks": 1
        },
        "rest:decline:innkeeper": {
          "kind": "leisure",
          "everyday": true,
          "location": "tavern",
          "peer": "innkeeper",
          "encounter_id": 7,
          "offer_id": 101,
          "expires_tick": 57,
          "operation": "decline",
          "duration_ticks": 0
        }
      },
      "response": {
        "selection": "rest:join:innkeeper",
        "sources": [
          153,
          143,
          133
        ],
        "text": null
      }
    }
  ],
  "scheduling_and_menu": {
    "free_time_event": {
      "id": 100,
      "kind": "purpose_free_time",
      "body": {
        "text": "You have a quiet opportunity to choose what to do.",
        "tick": 51
      }
    },
    "observations": [
      {
        "id": 151,
        "owner": "gossip",
        "kind": "observation",
        "event_id": 100
      },
      {
        "id": 152,
        "owner": "innkeeper",
        "kind": "observation",
        "event_id": 101
      },
      {
        "id": 153,
        "owner": "gossip",
        "kind": "observation",
        "event_id": 101
      }
    ],
    "scheduling_job": {
      "id": 79,
      "agent": "gossip",
      "trigger_memory": 151,
      "status": "done",
      "error": null
    },
    "turn": {
      "id": 55,
      "agent": "gossip",
      "job_id": 79,
      "applied": 1,
      "tick": 55,
      "trigger_kind": "spatial_opportunity",
      "trigger_memory": 151
    },
    "rank_at_tick_55": [
      "gossip",
      "innkeeper",
      "gardener"
    ],
    "job_ids_triggered_by_offer_observations": [],
    "implementation": [
      "village_zero/purpose.py:107-117",
      "village_zero/everyday_rest.py:35-66,73-85"
    ],
    "source_notes": "R06/A/world.sqlite, events 100 and 101; memories 151–153; jobs 79; calls 55. R06/A/ticks/tick-055.json, first round."
  }
}
