{
  "archive": "long-life-20261118-r01-r08",
  "source": "R01/B/world.sqlite. Events and supply_steps keyed by event ID.",
  "wire_excerpts": [
    {
      "source": "calls/0060.json",
      "sha256": "6ae9c9808e1bd72032297ca365cce2c3d79f0c25a6002ae8c8d49ebd04d2c9eb",
      "label": "R01/common:36:1",
      "tick": 36,
      "resident": "merchant",
      "response": {
        "selection": "reply:innkeeper:132",
        "sources": [
          132,
          108
        ],
        "text": "It is. One crate, two coins — here you go."
      },
      "response_notebook": null,
      "buy_options_in_prompt": [],
      "displayed_memory_ids": [
        6,
        20,
        96,
        104,
        108,
        120,
        128,
        130,
        132
      ],
      "recall_candidates": [
        120,
        132,
        20
      ],
      "last_read": {
        "request_id": 33,
        "service": "memories",
        "requested_tick": 33,
        "as_of_tick": 36,
        "status": "completed",
        "query": "innkeeper crate price 2 coins supply tavern",
        "filters": {},
        "match_count": 3,
        "shown_count": 3
      }
    },
    {
      "source": "calls/0111.json",
      "sha256": "dbaef0b57698abefeab39d3e6f5249c477e7e978bf8dc78b705ad1af70989b9c",
      "label": "R01/B:51:1",
      "tick": 49,
      "resident": "innkeeper",
      "response": {
        "selection": "reply:merchant:134",
        "sources": [
          134,
          103
        ],
        "text": "Two coins for one crate — that is fair. Thank you, friend."
      },
      "response_notebook": null,
      "buy_options_in_prompt": [],
      "displayed_memory_ids": [
        55,
        65,
        75,
        103,
        105,
        119,
        134,
        137,
        144,
        149,
        160
      ],
      "recall_candidates": [
        55,
        65,
        75
      ],
      "last_read": {
        "request_id": 48,
        "service": "memories",
        "requested_tick": 48,
        "as_of_tick": 49,
        "status": "completed",
        "query": "market bell day 24 open stalls",
        "filters": {},
        "match_count": 3,
        "shown_count": 3
      }
    },
    {
      "source": "calls/0112.json",
      "sha256": "c3d5ddfdafe9f1d113d102acd75550cb8c56e23a9366cf16427d0c3ee9141fa9",
      "label": "R01/B:52:1",
      "tick": 50,
      "resident": "innkeeper",
      "response": {
        "selection": "work:request:2",
        "sources": [
          103,
          119,
          134
        ],
        "text": null
      },
      "response_notebook": null,
      "buy_options_in_prompt": [],
      "displayed_memory_ids": [
        55,
        65,
        75,
        103,
        105,
        119,
        134,
        154,
        156,
        160,
        163
      ],
      "recall_candidates": [
        55,
        65,
        75
      ],
      "last_read": null
    },
    {
      "source": "calls/0113.json",
      "sha256": "cea6478c8c797f05283535890b46f4169b3dc5b1d4acca89f40afea91cf27ffc",
      "label": "R01/B:53:1",
      "tick": 50,
      "resident": "merchant",
      "response": {
        "selection": "work:offer:cash:2:1",
        "sources": [
          167,
          162,
          132
        ],
        "text": null
      },
      "response_notebook": null,
      "buy_options_in_prompt": [],
      "displayed_memory_ids": [
        6,
        58,
        104,
        108,
        120,
        132,
        162,
        164,
        167
      ],
      "recall_candidates": [
        58,
        120,
        132
      ],
      "last_read": null
    },
    {
      "source": "calls/0115.json",
      "sha256": "5c5750d908392df797178859109ce101452b7e3f99ff0376feba5be9de3b55d7",
      "label": "R01/B:55:1",
      "tick": 51,
      "resident": "innkeeper",
      "response": {
        "selection": "work:accept_offer:2",
        "sources": [
          168,
          166,
          119
        ],
        "text": null
      },
      "response_notebook": null,
      "buy_options_in_prompt": [
        "work:accept_offer:2"
      ],
      "displayed_memory_ids": [
        103,
        105,
        109,
        119,
        134,
        163,
        166,
        168,
        170
      ],
      "recall_candidates": [],
      "last_read": null
    }
  ],
  "memories": [
    {
      "id": 134,
      "owner": "innkeeper",
      "kind": "message",
      "text": "It is. One crate, two coins — here you go.",
      "sender": "merchant",
      "call_id": 36
    }
  ],
  "tick_49_accounts": {
    "tick": 49,
    "stock": {
      "gardener": 2,
      "gossip": 0,
      "innkeeper": 0,
      "merchant": 2,
      "smith": 0
    },
    "coins": {
      "gardener": 4,
      "gossip": 2,
      "innkeeper": 6,
      "merchant": 3,
      "smith": 4
    }
  },
  "events": [
    {
      "id": 108,
      "kind": "supply_request",
      "body": {
        "action": {
          "kind": "request",
          "proposal_id": 1,
          "units": 2
        },
        "actor": "innkeeper",
        "day": 25
      }
    },
    {
      "id": 109,
      "kind": "supply_offer",
      "body": {
        "action": {
          "kind": "offer",
          "payment": "cash",
          "proposal_id": 2,
          "request_id": 1,
          "units": 2
        },
        "actor": "merchant",
        "day": 25,
        "deadline_tick": 53,
        "expires_day_exclusive": 27,
        "place": "market",
        "tick": 50
      }
    },
    {
      "id": 112,
      "kind": "supply_accept_offer",
      "body": {
        "action": {
          "kind": "accept_offer",
          "offer_id": 2,
          "payment": "cash",
          "price": 4,
          "request_id": 1,
          "units": 2
        },
        "actor": "innkeeper",
        "day": 26
      }
    }
  ],
  "world_transactions": [
    {
      "event_id": 112,
      "call_id": 55,
      "kind": "accept_offer",
      "source_id": "merchant",
      "destination_id": "innkeeper",
      "item_id": "supply_crate",
      "quantity": 2,
      "amount": 4,
      "offer_id": 2,
      "payment_method": "cash",
      "status": "committed"
    }
  ],
  "supply_steps_event_112": {
    "before_state": {
      "stock": {
        "gardener": 2,
        "gossip": 0,
        "innkeeper": 0,
        "merchant": 2,
        "smith": 0
      },
      "coins": {
        "gardener": 4,
        "gossip": 2,
        "innkeeper": 6,
        "merchant": 3,
        "smith": 4
      }
    },
    "after_state": {
      "stock": {
        "gardener": 2,
        "gossip": 0,
        "innkeeper": 2,
        "merchant": 0,
        "smith": 0
      },
      "coins": {
        "gardener": 4,
        "gossip": 2,
        "innkeeper": 2,
        "merchant": 7,
        "smith": 4
      }
    }
  }
}