Skip to content

Project introduction

A world in five views

Five language-model residents share a clock, four places and a finite stock of goods. Mara can invite Nessa to take a break. Will Nessa get a turn to answer, and will the two spend that time together? We built Village Zero to study how choices made from different points of view can become coordinated action. [1] [4]

Village Zero / Networked Software Systems Laboratory / Technion

Field atlas

The village on day 24

R06 · Tick 48

Choose a resident’s point of view

Choose a resident

Mara Innkeeper

At the tavern with Nessa.

Message from Nessa · Memory 117

“I’ve been sitting in that corner so long I think I’ve memorized the grain in the table.”

Nessa Village gossip

At the tavern with Mara.

Message from Mara · Memory 116

“I’ve got a quiet corner with a good view of the well — come sit.”

Talia Gardener

At the houses. No other resident is here.

Observation · Event 49 · Memory 64

Talia packed a crate from the garden reserve here on tick 15.

Ilan Merchant

At the market with Toren.

Observation · Event 8 · Memory 6

Ilan’s history records an encounter with Toren in the market on tick 1.

Toren Smith

At the market with Ilan.

Observation · Event 19 · Memory 22

Toren’s history records a crate transferred from Ilan to him here on tick 4.

Positions and travel times come from a saved world. Select a resident to see who was within speaking distance and one item in their private record. The drawings illustrate the four locations. [2]

The project

What would count as a society?

One resident’s decision can change another resident’s options. We want to know when the coordination that follows can survive a missed turn, a separation or a change of circumstances. [1]

Consider three ways to put an innkeeper in software. In a chat, we can ask her to describe a lively evening. In a scripted game, a designer can arrange for guests to arrive when the player opens the door. In Village Zero, an innkeeper can invite someone who is actually present. That resident has a private history, other things to attend to, and the option to decline. The designer specifies the ways an invitation can work. Whether the two spend time together is an experimental outcome. [1] [3] [4]

We use autonomy in a specific sense. The experimenter sets the geography, character profiles, available actions and clock. Once an autonomous run begins, the residents choose how to use the opportunities they get. A village that talks all afternoon and gets nothing else done is a possible result. The Long-Life protocol explicitly kept such quiet stretches in the study. [1] [7]

This question belongs to a broader line of research. Park and colleagues followed social coordination in a town of 25 generative agents. In Village Zero we can take a proposed explanation of one interaction and work backwards. What was each participant told? Was a response possible? Which change did the engine commit? Five residents are enough to study that sequence. Evidence about larger societies will require larger experiments. [1] [3]

Place does real work here. Mara keeps the tavern, Ilan trades, Talia gardens, Toren is the smith and Nessa is the village gossip. At the checkpoint above, Mara and Nessa shared the tavern. Talia was alone at the houses. To reach the tavern from there, she would need two ticks to reach the square and one more to reach the tavern. While she travels, another resident can act and an invitation can expire. Co-presence makes a local exchange possible. It leaves the choice to the people involved. [2] [3]

Architecture

Inside one resident’s turn

A language model is good at producing several plausible things an innkeeper might do. A village also needs an unambiguous answer to where she is, how many crates she has and whether her guest is still there. We give those jobs to different parts of the system. [1] [3]

Decision loopFrom a shared world to one choice and back
  1. World EngineThe current locations, clock and events determine what can happen. Arrivals are applied when due.
  2. SchedulerA resident with eligible work gets a decision slot.
  3. Context BuilderLocal perception, allowed actions and selected private records become that resident’s prompt.
  4. Language modelThe resident proposes a structured choice and can supply words to say.
  5. Validation and commitThe engine checks the choice, records its outcome and delivers any resulting observations.

After a choice is committed, the world delivers observations to eligible recipients. An observation can give another resident work to attend to. If a slot remains in the tick, the Scheduler can choose that resident next. [3]

One world has to settle disagreements

The World Engine keeps locations, journeys, stocks, money and event records in SQLite. Talia can pack a harvest at home when reserves and storage permit it. A purchase requires a live offer and an eligible buyer. A journey can finish as the clock advances without a fresh model decision. Deterministic rules let us trace where an object went or when two people met. They also define the limits of the society we can observe. Residents may describe activities for which we have never implemented a state change. [2] [3]

One local model, qwen3.8:27b, supplied all five residents’ decisions in the Long-Life Run. Each turn authorizes choices for one resident. If Mara wants Nessa to do something, she has to reach her through the world and leave the answer to Nessa. Their roles, records, locations and available choices distinguish their turns. Sharing a model makes it feasible to follow the village for many days. It also gives the residents a common source of habits and errors. [1] [3] [7]

Who could know this, and when?

A resident’s history distinguishes an observation, a message from somebody else and a personal interpretation. A notebook entry or a plan can persist across turns. A recipient can remember what Mara said even if Mara was mistaken. Keeping the owner and source of each record lets us ask a precise question about a later claim. Did the resident observe the event, hear an account of it, or have only an earlier inference to go on? [1] [2] [3]

Searching those records combines word matching with similarity between embeddings, numerical representations of text. The Context Builder gives the current task and required evidence room first, then fits selected history into the prompt. The Long-Life model had a 16,384-token context window, but its native input budget was 4,096 tokens. A bounded view makes long runs practical and their inputs inspectable. The cost is scientific as well as technical. A relevant memory can exist, miss retrieval, or be retrieved and still fail to influence a choice. Each possibility calls for a different test. [1] [3] [5]

Attention takes village time

The Scheduler ranks residents with eligible work using the saved queue, waiting time and priority rules. A deadline can pass while somebody else is acting. When the schedule allows several turns in the same tick, the engine commits each result and refreshes the queue before choosing the next resident. This makes a prompt answer possible and makes scheduling policy part of the experiment. Counting refusals, for example, requires knowing how often a resident actually received a choice. [3] [7] [8]

A compact model of one turn

pᵢ = PackB(local view, legal menu, selected memories)
aᵢ ∼ Model(pᵢ)
S′ = Apply(S, i, aᵢ)

Here i is the scheduled resident, B is the input budget and S is the committed world before the choice. The model samples a proposal from the prompt. Application can record a rejection. S′ is the state after that decision, which may still be in the same tick. This notation summarizes the implemented sequence. [3]

Method

What would convince us?

First decide which record could answer the question. A delivered message establishes who said what to whom. A saved intention establishes that someone recorded a plan. To count a shared activity, we require a committed event that names the participants. [1] [4]

In R06/A a free-time event put Nessa in the queue at tick 51. One tick later Mara invited her to rest at the tavern. The invitation added a legal choice and created no new job. At tick 55 the scheduler selected Nessa’s earlier job. Her prompt contained both joining and declining. She chose to join. The resulting event names both residents, identifies the tavern and points back to Mara’s invitation. We can count one shared rest. Their feelings about each other remain an open question. [4]

Next choose what to hold fixed. A controlled snapshot can put two residents in a position to cooperate and ask whether they ever complete the task. A longer run can ask how often that position arises on its own. For a paired comparison we copy an entire world, including memories and pending work, before changing a rule. The pair is the comparison unit. Successive decisions inside one village share a history. [6] [7]

Finally, preserve the turn. Before dispatch the world database stores the full logical request. A separate transport journal records each attempt and its request hash, then the reply or failure when available. The world database records the applied result. Checkpoints identify both databases by their hashes. Recovery can use a verified saved response without drawing another one. A fresh continuation from the same point serves a different purpose. It samples another possible future. That distinction lets us both audit what happened and investigate what might have happened. [1] [3] [7] [8]

Evidence

What the village has taught us

Access to a fact and use of it are measurable separately

An early telephone-game experiment used an innkeeper, a gossip and a merchant, all played by Gemma 4 12B. A sealed blue parcel contained six silver coins. Seven details of the incident were defined in advance. Across six seeds, the merchant received either the full account, a retelling passed from Mara through Nessa, or reports from two residents who started with complementary information. The archived scoring distinguishes facts fully present in his incoming material from those fully stated in his answer. [5]

Experiment 2 · Information

How much of the parcel story arrived?

In incoming materialIn the spoken answer
Fully preserved details, incoming and spoken. Direct 42 and 6, retold 11 and 3, split sources 12 and 2, each out of 42.
Counts of fully preserved details, out of 42 in each condition (seven details × six seeds). A partial account earns no full-detail credit. [5]
Read the counts
Fully preserved details, out of 42.
Source at the startIncomingSpoken
Full account426
Mara → Nessa → merchant113
Two partial accounts122

Even with the complete account, the merchant often spoke in general terms. In one direct run he mentioned the well and the delivery to Mara while omitting the six coins. His words establish what he reported. Whether he had forgotten anything would take a separate test. A single unblinded Codex reviewer scored the seven related details, and the labels have no independent validation. [5]

Two participants can contribute to a real outcome

A tavern experiment used those same three resident roles with two model families, Gemma 4 12B and Qwen 3.5 9B. It defined a three-part task. A supplier had to prepare stock, the innkeeper had to collect it, and an evening service had to consume it. In twelve controlled worlds Mara began with a prepared request. In four autonomous worlds no resident action was scripted. The table follows the original runs to their own endpoints. [6]

Experiment 21 · Cooperation

Where the evening preparations stopped

Starting conditionPreparedCollectedServed
Prepared request12 worlds12 / 1212 / 127 / 12
Autonomous start4 worlds4 / 42 / 40 / 4
Each cell counts worlds with a linked event for that stage. The controlled series includes gift, cash and prior-help conditions. Later diagnostic extensions are excluded. [6]

The controlled runs establish that two residents’ choices can produce a shared result. The autonomous runs show how a chain can stop after useful work has already happened. In one, the records connect preparation to collection and end without a service receipt. The controlled worlds allowed pickup at the tavern. In the autonomous worlds the pickup was at the market, so serving also required a return journey. Comparing the completion rates cannot isolate the effect of Mara’s request. [6]

More opportunities change some outcomes much more than others

The Long-Life Run began with eight histories grown separately from one template. At day 24 we copied each into two continuations and ran both for 72 more simulated days, at two ticks per day. A allowed one resident decision per tick. B allowed up to three different residents to act in sequence. B delivered more messages in every pair. The median paired change in shared rests was zero. [7]

Long-Life Run · Paired histories

What changed with a wider schedule?

Differences B minus A. Delivered messages increased in all eight pairs. Changes in joint rests were +12, +1, +4, 0, −5, −8, 0 and 0.
Each row is one paired history. A bar is the count under B minus the count under A during the 72 days after the split. The two panels have different scales. Totals were 277 versus 1,057 messages and 32 versus 36 completed shared rests (A, B). [7]
Read the counts for both schedules
Post-split counts per history and schedule.
HistoryMessages AMessages BRests ARests B
R013053012
R029221213
R034515615
R046730100
R056928772
R0675691
R07196722
R083111511

B used 2,943 model calls against A’s 1,152. The recorded GPU time for processing inputs and generating outputs was about 388 versus 149 minutes. Equal village time gave B substantially more computation. The extra conversation is a measured outcome. It leaves open whether residents became more cooperative when given comparable opportunities. [7]

For Experiment 72 we returned to the moment after Ilan offered a crate and asked whether Toren would buy it if his turn came one tick later. [8]

Research direction

What would count as progress?

Village Zero can already preserve different points of view, run them forward together and reconstruct the consequences. The harder question is whether the residents can sustain useful patterns of activity as circumstances change. Four tests would move us closer to an answer. [1] [3] [7]

  • A relationship that survives separation. Give a resident comparable chances to visit two people after time apart. Prior contact should predict whom they seek out even after accounting for distance, availability and who was offered a turn.
  • Cooperation that can renew itself. After a successful evening, change who holds supplies or when a partner is available. Measure whether residents can initiate a new division of work and complete it over several cycles.
  • Behaviour that changes with experience. From the same checkpoint, vary which of a resident’s own earlier records reaches the prompt. Keep menu, text budget and generation seeds comparable. Measure the choice and its later consequences alongside any citation to memory.
  • Autonomy at a sustainable cost. Compare scheduling and retrieval policies at fixed simulated time and again at matched inference budgets. Track quiet periods, recovery, missed opportunities and completed joint work per unit of computation.

A long run can tell us that two residents met again. A well-chosen replay can ask whether an earlier meeting made the difference. Building a village where both questions have an observable answer is the reason for this project.

Research materials

Source notes

Inspect the underlying records here, including source code, technical documentation and the data behind the figures. Embedded excerpts travel with this page.

[1]The project brief and its research context

The project brief Village Zero, lines 3–16, states the research aim and the distinction between a promise and an executed action. The current Architecture and boundaries, lines 11–92, documents the running profile, information boundaries, verification and recovery. The local brief and technical document excerpts are embedded with their file digests.

For the related research mentioned in the introduction, see Park et al., Generative Agents: Interactive Simulacra of Human Behavior (2023). The Technion faculty directory lists NSSL.

Inspect the embedded records
{
  "project_brief": {
    "document": "Village Zero.md",
    "file_sha256": "664e677fdeba1f991172920591dfd1dc2c1bc444c3e1deefe8901d0c6512a05f",
    "excerpts": [
      {
        "lines": "3–16",
        "verbatim": "**Исследовательский проект Networked Software Systems Laboratory (NSSL), факультет ECE, Технион.**\n\n## Зачем мы это делаем\n\nVillage Zero — эксперимент по созданию **небольшого автономного общества**, а не игры с заранее написанным сюжетом. Мы исследуем, могут ли независимые персонажи на базе локальной языковой модели, живя в общем изменяющемся мире, самостоятельно принимать решения, пользоваться прошлым опытом, заводить знакомства, договариваться и постепенно выстраивать собственную жизнь.\n\nНас интересует не правдоподобие красивых рассказов само по себе, а **возникновение проверяемых действий и последствий**: персонаж может пообещать помощь, но выполнение подтверждается только изменением состояния мира.\n\n## Основные принципы\n\n- **Независимые жители.** У каждого есть характер, личная память, занятия, интересы и право отказаться или передумать.\n- **Мир живёт по собственным правилам.** Время, места, ресурсы, перемещения, сделки и другие объективные изменения контролирует World Engine.\n- **Никакой телепатии или режиссуры.** Жители узнают о других через доступные наблюдения, разговоры и публичные источники; движок не навязывает дружбу, торговлю или совместные цели.\n- **Проверяемость.** Мы сохраняем решения, источники информации, результаты действий и воспроизводимые экспериментальные данные. Положительные и отрицательные результаты одинаково важны."
      },
      {
        "lines": "18–20",
        "verbatim": "## Где мы сейчас\n\nВ деревне живут пять персонажей: **Мара, Илан, Нэсса, Талия и Торен**. Уже проверены память, разговоры, самостоятельное перемещение, производство, торговля, услуги и отдельные формы досуга. **Способность к некоторым совместным действиям подтверждена**, но устойчивое развитие отношений и насыщенная автономная общественная жизнь пока остаются открытыми исследовательскими задачами."
      }
    ]
  },
  "technical_document": {
    "document": "Village Zero · Architecture and boundaries",
    "file_sha256": "1ed4ff237d523756bbef38eaf8db4bf293ab57888d4e6873e80b98a21e4d856c",
    "excerpts": [
      {
        "lines": "11–38",
        "verbatim": "### World engine and resident state\n\n- The engine owns the authoritative state in SQLite. [World](village_zero/world.py)\n  handles events and core transitions. [LivingWorld](village_zero/living.py)\n  layers places, journeys, co-location, supplies, local work and everyday rest\n  onto the earlier engine. Eligibility is checked in the relevant engine module.\n  Rules can produce events without an NPC model call, for example arrivals and\n  eligible tavern evening service.\n- Resident IDs and character seeds are pinned by the world profile. In the\n  five-resident profile Mara keeps the tavern, Ilan is the merchant, Nessa is the\n  village gossip, Talia is the gardener and Toren is the smith. Each call is scoped\n  to one resident. The model receives that resident's view and menu, including\n  eligible options to speak, move, work, rest, read or stay.\n- An event can produce observations visible to authorized recipients. Committed\n  messages travel through a durable queue and generate a local memory, a\n  delivery receipt and a recipient job as applicable. Message/source links are\n  inspectable. Spatial speech requires the applicable co-location and reply\n  constraints. [Message delivery](village_zero/propagation.py) ·\n  [Spatial dialogue](village_zero/spatial.py) · [Resident reads](village_zero/services.py)\n- A resident's memories and beliefs are stored separately. The hybrid index uses\n  lexical retrieval and `embeddinggemma:300m` vectors scoped to the resident.\n  Context packing prioritizes the required current view and selects eligible\n  history within budget. Source IDs can verify access and provenance. The\n  semantic accuracy of a paraphrase or inference requires separate evaluation.\n  Private plans, beliefs and future intentions are records of resident state.\n  A plan alone records an intention. A subsequent world transition needs its\n  own evidence. [Memory index](village_zero/memory_index.py) ·\n  [Context builder](village_zero/context.py) · [Future intentions](village_zero/future_intentions.py)"
      },
      {
        "lines": "40–59",
        "verbatim": "### Scheduler and model\n\nThe [Scheduler](village_zero/fair_attention.py) ranks residents with eligible\nlocal work using the saved queue, time since service and the profile's ranking\nrules. In the Long-Life Run, arm A allowed one resident decision per tick. Arm B\nallowed up to three **serial** decisions by different residents at the same tick.\nAfter each round, effects and deliveries are committed and eligible work is\nrefreshed before the next prompt is built. An available recipient can therefore\nrespond before the next tick. Each resident gets at most one decision per tick.\nVacancies stay empty. The shared history uses A's one-decision limit. The study\nuses two ticks per game-day. Branch widths change opportunities and call cost\nwhile the underlying action and world rules are shared. [Decision rounds](temporal_experiment63.py#L122) ·\n[Run coordinator](long_life_run.py)\n\nThe run used Ollama with `qwen3.8:27b` (`q4_K_M`), `think:false`, temperature\n`0.6`, `num_ctx=16384` and `num_predict=460`. The native context packer budget\nwas 4,096 input tokens. The runner checked actual input against that limit,\nGPU placement and the transport log for truncation. The Qwen instance ran in a\nseparate experiment service on A5000. The hybrid memory index used the embedding\nservice for retrieval. [Native context implementation](village_zero/native_context.py) ·"
      },
      {
        "lines": "62–92",
        "verbatim": "### Action validation, receipts and recovery\n\n1. The runner reserves a logical call and its scheduled work, persists the exact\n   request, then records a transport attempt. A reply is saved before application.\n2. The handler checks the response against its contract, actor and scoped\n   sources. The engine rechecks the selected action and its preconditions in\n   the current world. It applies a legal transition in SQLite with its result\n   and job update. Delivery then records receipt and recipient state through the\n   durable queue. A rejected action retains diagnostic evidence.\n3. Use committed engine events and ledgers for claims about world state.\n   `world_transactions` lists committed transfers. Journey records support\n   movement and arrivals. Activity and service use their engine events. A\n   delivered message confirms who said what and when. A saved plan confirms\n   that the plan was recorded. The resident receipt interface can query\n   eligible visible events by ID. [Action application](village_zero/social.py#L269) ·\n   [Action receipts](village_zero/action_receipts.py) ·\n   [Transaction projection](village_zero/objects.py)\n4. The registered runner allows one writer per run directory. Its\n   [TurnJournal and tick cursor](mid_tick_runner.py) preserve prepared and\n   finished ticks, request hashes, attempts and event/call watermarks. On resume\n   the coordinator reconciles saved transport records with the pinned logical\n   call. A verified saved response can be applied without new inference.\n   Applied actions return their recorded result. Recovery preserves the tick\n   and the already used resident slots. A possibly sent request without a\n   verified reply consumes budget. The state/journal checks stop advancement if\n   the evidence is inconsistent.\n5. Checkpoints hash the world SQLite file and the transport journal. The\n   cohort gate checks hashes, SQLite integrity and foreign keys, then restores\n   each phase's last decision checkpoint on a copy and verifies replay without\n   fresh inference. It also checks the first paired prompts, delivered\n   conversations and objective receipts. This is a local durability boundary."
      }
    ]
  },
  "profile_readme": {
    "document": "Village Zero · Decentralized LLM Society Simulator",
    "file_sha256": "910e135b331c2ca5090dc6a72215e00007bca4092c2be546e620288ee7b60e25",
    "excerpts": [
      {
        "lines": "3–7",
        "verbatim": "Village Zero is an independent, text-based research simulator written in Python.\nA deterministic SQLite world engine applies rules and keeps an audit trail.\nLanguage models choose resident actions from local observations, memories and\nlegal options. The interactive CLI and registered research runners use different\nprofiles."
      }
    ]
  },
  "registered_revision": "4f5a2bf3e2331bde4b88f4d69917c6e1409e2a19"
}
[2]Day 24, four locations and five private histories

Long-Life archive, R06/A/checkpoints/tick-048.sqlite, with the matching checkpoint digest. The atlas reads resident_locations and all six directed rows in location_connections. Travel costs are in ticks. The engine defines co-presence in village_zero/spatial.py, lines 74–86.

The sample memories are Mara 117, Nessa 116, Talia 64, Ilan 6 and Toren 22 in memories. The first two are received words. Events 49, 8 and 19 underlie the other three observations. The atlas shows earlier material stored by the checkpoint. The building drawings are AI-generated illustrations.

Inspect the embedded records
{
  "archive": "long-life-20261118-r01-r08",
  "source": "R06/A/checkpoints/tick-048.sqlite",
  "checkpoint_sha256": "0759668ecba1f609e94b82c0999ce2d66a25b82a9f765d94f97c3d94afbc7ef7",
  "clock": {
    "tick": 48,
    "day": 24
  },
  "location_connections": [
    {
      "origin_id": "homes",
      "destination_id": "village",
      "cost": 2
    },
    {
      "origin_id": "market",
      "destination_id": "village",
      "cost": 1
    },
    {
      "origin_id": "tavern",
      "destination_id": "village",
      "cost": 1
    },
    {
      "origin_id": "village",
      "destination_id": "homes",
      "cost": 2
    },
    {
      "origin_id": "village",
      "destination_id": "market",
      "cost": 1
    },
    {
      "origin_id": "village",
      "destination_id": "tavern",
      "cost": 1
    }
  ],
  "resident_locations": [
    {
      "resident_id": "gardener",
      "location_id": "homes"
    },
    {
      "resident_id": "gossip",
      "location_id": "tavern"
    },
    {
      "resident_id": "innkeeper",
      "location_id": "tavern"
    },
    {
      "resident_id": "merchant",
      "location_id": "market"
    },
    {
      "resident_id": "smith",
      "location_id": "market"
    }
  ],
  "selected_owned_memories": [
    {
      "id": 6,
      "owner": "merchant",
      "kind": "observation",
      "text": "{\"kind\": \"encounter\", \"place\": \"market\", \"residents\": [\"merchant\", \"smith\"], \"tick\": 1}",
      "event_id": 8,
      "sender": null,
      "call_id": null
    },
    {
      "id": 22,
      "owner": "smith",
      "kind": "observation",
      "text": "{\"action\": {\"from\": \"merchant\", \"kind\": \"local_trade\", \"location\": \"market\", \"offer_id\": 1, \"payment\": \"cash\", \"price\": 2, \"tick\": 4, \"to\": \"smith\", \"units\": 1}, \"actor\": \"smith\", \"day\": 2, \"kind\": \"supply_local_trade\"}",
      "event_id": 19,
      "sender": null,
      "call_id": null
    },
    {
      "id": 64,
      "owner": "gardener",
      "kind": "observation",
      "text": "{\"action\": {\"destination\": \"gardener\", \"kind\": \"pack_harvest\", \"location\": \"homes\", \"source\": \"garden_reserve\", \"tick\": 15, \"units\": 1}, \"actor\": \"gardener\", \"day\": 8, \"kind\": \"supply_pack_harvest\"}",
      "event_id": 49,
      "sender": null,
      "call_id": null
    },
    {
      "id": 116,
      "owner": "gossip",
      "kind": "message",
      "text": "Right on time. I’ve got a quiet corner with a good view of the well — come sit. I’ve been meaning to ask how you’ve been settling in.",
      "event_id": null,
      "sender": "innkeeper",
      "call_id": 35
    },
    {
      "id": 117,
      "owner": "innkeeper",
      "kind": "message",
      "text": "Settling in — well, I’ve been sitting in that corner so long I think I’ve memorized the grain in the table. I’m fine, but I’d rather hear how *you’ve* been keeping the place going. The shutter’s held, the crates are stacking — what’s the one thing you haven’t told anyone yet? I’ll keep it, I promise.",
      "event_id": null,
      "sender": "gossip",
      "call_id": 36
    }
  ],
  "events": [
    {
      "id": 7,
      "kind": "encounter",
      "body": {
        "place": "tavern",
        "residents": [
          "gossip",
          "innkeeper"
        ],
        "tick": 1
      }
    },
    {
      "id": 8,
      "kind": "encounter",
      "body": {
        "place": "market",
        "residents": [
          "merchant",
          "smith"
        ],
        "tick": 1
      }
    },
    {
      "id": 19,
      "kind": "supply_local_trade",
      "body": {
        "action": {
          "from": "merchant",
          "kind": "local_trade",
          "location": "market",
          "offer_id": 1,
          "payment": "cash",
          "price": 2,
          "tick": 4,
          "to": "smith",
          "units": 1
        },
        "actor": "smith",
        "day": 2
      }
    },
    {
      "id": 49,
      "kind": "supply_pack_harvest",
      "body": {
        "action": {
          "destination": "gardener",
          "kind": "pack_harvest",
          "location": "homes",
          "source": "garden_reserve",
          "tick": 15,
          "units": 1
        },
        "actor": "gardener",
        "day": 8
      }
    }
  ],
  "source_note": "Map shows committed positions. The sample memories were stored by this checkpoint. No claim of retrieval or simultaneous decisions is made."
}
[3]Source code for the decision loop

The Long-Life launch revision is 4f5a2bf3e2331bde4b88f4d69917c6e1409e2a19. The embedded extracts include original line numbers and SHA-256 digests of the source files. For R06/A call 55, the hash of the full request in world.sqlite matches the attempt hash in transport.sqlite.

Trace locality through spatial.py and local_perception.py, memory ownership and ranking through memory_index.py, and prompt selection through context.py. See fair_attention.py and temporal_experiment63.py:135–152 for the scheduler. living.py, everyday_rest.py, social.py and propagation.py connect legal options to committed changes and deliveries.

The profile comes from R06/A/config.json and the actual model request in calls/1432.json. The input limit in this profile is context_native_tokens. Journal and restore excerpts come from mid_tick_runner.py and long_life_run.py.

Inspect the embedded records
{
  "registered_revision": "4f5a2bf3e2331bde4b88f4d69917c6e1409e2a19",
  "implementation": [
    {
      "document": "village_zero/spatial.py",
      "file_sha256": "dde8c6cb0791ebd82a3e99ca1e3fd7e961018f52283f901ca7e773a622ecb7dd",
      "excerpts": [
        {
          "lines": "12–15",
          "verbatim": "PLACES = {'village':'Village Square','tavern':'Tavern','market':'Market','homes':'Residential Area'}\nSTART = {KEEPER:'tavern', SELLER:'market', 'gossip':'tavern'}\nVENUES = {KEEPER:'tavern', SELLER:'market', 'gossip':'village'}\nEDGES = {'tavern':1,'market':1,'homes':2}"
        },
        {
          "lines": "60–65",
          "verbatim": "                for place,name in PLACES.items():\n                    self.db.execute('INSERT OR IGNORE INTO location_nodes VALUES (?,?)',(place,name))\n                self.db.execute(\"UPDATE location_nodes SET name='Village Square' WHERE id='village'\")\n                for place,cost in EDGES.items():\n                    for origin,destination in (('village',place),(place,'village')):\n                        self.db.execute('INSERT OR IGNORE INTO location_connections VALUES (?,?,?)',(origin,destination,cost))"
        },
        {
          "lines": "74–86",
          "verbatim": "    def position(self, resident):\n        journey = self.db.execute('SELECT destination,arrival FROM journeys WHERE resident=? AND arrived_event IS NULL',\n                                  (resident,)).fetchone()\n        if journey:\n            return {'id':None,'status':'in_transit',**dict(journey)}\n        place = self.db.execute('SELECT location_id FROM resident_locations WHERE resident_id=?',(resident,)).fetchone()\n        if not place:\n            raise ValueError('Unknown resident location')\n        return {'id':place[0],'status':'present'}\n\n    def together(self, first, second):\n        origin = self.position(first)['id']\n        return origin is not None and origin==self.position(second)['id']"
        }
      ]
    },
    {
      "document": "village_zero/local_perception.py",
      "file_sha256": "a6aa887664e62d82eb0d462f1e70675b25c676b96ed7414466d49570b3065013",
      "excerpts": [
        {
          "lines": "10–23",
          "verbatim": "def visible(world, resident, detail=\"present\"):\n    if detail not in (\"present\",\"passing\"):\n        raise ValueError(\"Unknown observation detail\")\n    if resident not in world.config[\"personas\"]:\n        raise ValueError(\"Unknown observer\")\n    place = world.position(resident)[\"id\"]\n    if place is None:\n        return None\n    objects = []\n    for encounter in world.encounters(resident):\n        peer = encounter[\"peer\"]\n        if world.together(resident,peer):\n            objects.append(dict(id=\"resident:\"+peer,seen=\"present\",source_event=encounter[\"id\"]))\n    if place==\"village\" and world.config.get(\"local_market_board\"):"
        }
      ]
    },
    {
      "document": "village_zero/propagation.py",
      "file_sha256": "81306acb056842c1c4607673153e600f854c81fa08008241b03b12182dd78645",
      "excerpts": [
        {
          "lines": "180–202",
          "verbatim": "    def dispatch(self, message_id, recipient):\n        envelope = self.db.execute('SELECT * FROM envelopes WHERE message_id=?',(message_id,)).fetchone()\n        if not envelope or recipient not in self.config['personas'] or recipient == envelope['sender']:\n            raise ValueError('Invalid message delivery')\n        old = self.db.execute('SELECT memory_id FROM deliveries WHERE message_id=? AND recipient=?',\n                              (message_id,recipient)).fetchone()\n        if old:\n            self.db.execute('INSERT INTO delivery_attempts(message_id,recipient,status) VALUES (?,?,?)',\n                             (message_id,recipient,'duplicate_suppressed'))\n            return old[0]\n        route = self.db.execute(\"\"\"\n            SELECT q.accepted_call FROM message_queue q JOIN calls c ON c.id=q.accepted_call\n            WHERE q.message_id=? AND q.recipient=? AND c.applied=1\n            \"\"\",(message_id,recipient)).fetchone()\n        if not route:\n            raise ValueError('Message route has no committed acceptance')\n        mid = self.memory(recipient,'message',envelope['text'],sender=envelope['sender'],\n                          parents=json.loads(envelope['parents']),call_id=route['accepted_call'])\n        self.db.execute('INSERT INTO deliveries VALUES (?,?,?)',(message_id,recipient,mid))\n        self.db.execute('INSERT INTO delivery_attempts(message_id,recipient,status) VALUES (?,?,?)',\n                         (message_id,recipient,'delivered'))\n        return mid\n"
        }
      ]
    },
    {
      "document": "village_zero/living.py",
      "file_sha256": "6c4a47fc06b061777c9c61bea9842e8d5099123e27c91b4ec2e908af8e523ced",
      "excerpts": [
        {
          "lines": "148–169",
          "verbatim": "    def living_actions(self, actor):\n        place = self.position(actor)['id']\n        if place is None:\n            return {}\n        state = self.state()\n        choices = {}\n\n        def add(name, operation, **terms):\n            choices['local:'+name] = dict(kind='local_work',operation=operation,location=place,**terms)\n\n        stock = state['stock'][actor]\n        day = state['day']\n        if (actor==GARDENER and place=='homes' and stock<TAVERN_CAPACITY\n                and state['garden_reserve'] and state['garden_packed_day']!=day):\n            add('pack','pack_harvest',units=1)\n        active = self.active_local_offers(state)\n        if stock and not any(o['from']==actor for o in active):\n            for peer in self.config['personas']:\n                if peer!=actor and {actor,peer}!=set(PARTIES) and self.together(actor,peer):\n                    add('offer:'+peer,'local_offer',peer=peer,units=1,price=PRICE)\n                    if self.config.get('flexible_trade_prices'):\n                        for price in CASH_UNIT_PRICES:"
        },
        {
          "lines": "178–196",
          "verbatim": "                add(f\"take:{offer['id']}\",'local_trade',peer=seller,offer_id=offer['id'],units=1,price=offer['price'])\n        if place=='tavern':\n            units = state.get('evening_crates',0)\n            if (actor==KEEPER and self.config.get('tavern_service_now') and day>0 and units\n                    and stock>=units and state.get('tavern_served_day')!=day\n                    and self.config.get('daily_tavern_supply') and self.config.get('world_dynamics')\n                    and 'visitor_coins' in state):\n                add('serve_tavern_now','serve_tavern_now',units=units,service_day=day,\n                    effect='Run today’s regular tavern service now using your stock, once per day')\n            if actor==KEEPER and state['shutter']=='loose':\n                add('request_shutter','request_shutter')\n            elif actor==SMITH and state['shutter']=='requested' and self.together(actor,KEEPER):\n                add(f\"repair:{state['shutter_request']}\",'repair_shutter',\n                    peer=KEEPER,request_id=state['shutter_request'])\n        if self.config.get('local_market_board'):\n            from .market_board import choices as board_choices\n            choices.update(board_choices(self,actor,state,place))\n        return choices\n"
        }
      ]
    },
    {
      "document": "village_zero/memory_index.py",
      "file_sha256": "6544316c0ba2f1bf7ecaa4360b076d60f923fe50d2ea96060cbf04d0a503d629",
      "excerpts": [
        {
          "lines": "182–194",
          "verbatim": "    def search_memories(self, owner, query, *, filters=None, limit=5, mode='lexical', exclude=()):\n        self._owner(owner)\n        filters = {} if filters is None else filters\n        check_query(query,filters,limit)\n        if mode not in MODES or (mode!='lexical' and not self.embedder):\n            raise ValueError('Unavailable memory search mode')\n        rows = self.world.rows('''SELECT d.*, m.kind,\n            COALESCE(t.game_day,json_extract(e.body,'$.day')) AS day\n            FROM memory_documents d JOIN memories m ON m.id=d.memory_id\n            LEFT JOIN memory_times t ON t.memory_id=m.id LEFT JOIN events e ON e.id=m.event_id\n            WHERE m.owner=?''',(owner,))\n        candidates = {}\n        exclusions = set(exclude)"
        },
        {
          "lines": "207–229",
          "verbatim": "        tokens = list(dict.fromkeys(words(query)))[:64]\n        ranks = {}\n        if mode!='semantic' and tokens:\n            expression = ' OR '.join(f'\"{word}\"' for word in tokens)\n            hits = self.world.rows('''SELECT f.rowid AS id,f.tokens FROM memory_fts f\n                JOIN memories m ON m.id=f.rowid WHERE memory_fts MATCH ? AND m.owner=?''',(expression,owner))\n            hits = {r['id']:set(r['tokens'].split()) for r in hits if r['id'] in candidates}\n            df = Counter(token for text in hits.values() for token in text.intersection(tokens))\n            ranks['lexical'] = sorted(hits,key=lambda mid:(-sum(\n                math.log1p(len(candidates)/df[t]) for t in hits[mid].intersection(tokens)),mid))\n        if mode!='lexical':\n            model = self.embedder\n            vector, = model.encode([query.encode()[:1600].decode(errors='ignore')],query=True)\n            vector = normalized(vector,model.dimensions)\n            stored = self.world.rows('''SELECT v.* FROM memory_vectors v JOIN memories m ON m.id=v.memory_id\n                                       WHERE m.owner=? AND v.version=?''',(owner,model.version))\n            scores = {r['memory_id']:sum(a*b for a,b in zip(vector,struct.unpack(f'<{model.dimensions}f',r['vector'])))\n                      for r in stored if r['memory_id'] in candidates}\n            ranks['semantic'] = sorted(scores,key=lambda mid:(-scores[mid],mid))\n        if mode=='hybrid':\n            terms = ' '+' '.join(tokens)+' '\n            metadata = sorted((mid for mid,(_,tags) in candidates.items()\n                               if any(words(tag) and ' '+' '.join(words(tag))+' ' in terms"
        }
      ]
    },
    {
      "document": "village_zero/context.py",
      "file_sha256": "053b20b3e48d52f2018e10e532ae8cf8d30e4cb5595293886e433fde49dac004",
      "excerpts": [
        {
          "lines": "20–30",
          "verbatim": "    original = request['view']\n    memories = {m['id']:m for m in original['memories']}\n    trigger = request['trigger']\n    required = {trigger[k] for k in (\n        'memory_id','relay_source','self_model_required_source','experience_required34'\n    ) if trigger.get(k) is not None}\n    required.update(item['memory_id'] for item in trigger.get('batch',[]))\n    required.update(item['memory_id'] for item in trigger.get('attention',[]))\n    perception = trigger.get('local_perception',[])\n    if len(perception)>2 or any(p['memory_id'] not in memories for p in perception):\n        raise ValueError('Perception evidence is outside resident view')"
        },
        {
          "lines": "113–126",
          "verbatim": "    selected = set(memories) if mode=='full' else required.copy()\n    envelope,body = assemble(selected)\n    window = body['options']['num_ctx']\n    generation = body['options']['num_predict']\n    reserve = config.get('context_template_reserve',512)\n    target = (config.get('context_native_tokens',4096) if native else config.get('context_input_budget',4900)) if mode=='bounded' else window\n    recent_share = config.get('context_recent_percent',60)\n    if (type(reserve) is not int or reserve<256 or type(target) is not int or target<1\n        or type(recent_share) is not int or not 0<=recent_share<=100\n        or type(generation) is not int or generation<=0):\n        raise ValueError('Invalid context budget settings')\n    capacity = min(target,window-generation-reserve)\n    # An experimental metadata reserve is shared by both arms.\n    limit = capacity - (config.get('temporal_metadata_reserve',0) if native and mode=='bounded' else 0)"
        },
        {
          "lines": "179–197",
          "verbatim": "        def fill(candidates, ceiling, label):\n            nonlocal envelope,body,cost\n            for i in candidates:\n                if i in selected:\n                    continue\n                proposed,transport = assemble(selected|{i})\n                size = measure(transport)\n                if size<=ceiling:\n                    selected.add(i)\n                    envelope,body,cost = proposed,transport,size\n                    label.append(i)\n        # A selected read returns before optional background. Required evidence and limit stay fixed.\n        if config.get('requested_recall_first') and trigger.get('recall_origin')=='requested':\n            fill(recalled,limit,relevant)\n        fill([p['memory_id'] for p in perception],limit,relevant)\n        fill(reply_ids,limit,relevant)\n        fill(history_ids,limit,relevant)\n        fill(trigger.get('self_model_sources',[]),limit,relevant)\n        if native:"
        }
      ]
    },
    {
      "document": "village_zero/fair_attention.py",
      "file_sha256": "0eb922dcf08601d01b1dc70782c6a23dd0cd7ba0b552cfc7836c4e7e5c4b3145",
      "excerpts": [
        {
          "lines": "56–84",
          "verbatim": "def resident_order(world, order, budget):\n    tick = world.clock()[\"tick\"]\n    turns = world.rows(\"\"\"\n        SELECT agent, max(json_extract(request,'$.trigger.tick')) AS last_turn\n        FROM calls\n        WHERE json_extract(request,'$.contract') IN\n            ('busy','associative','reflection','managed_revision','cooperation')\n        GROUP BY agent\n    \"\"\")\n    last = {row[\"agent\"]: row[\"last_turn\"] for row in turns if row[\"last_turn\"] is not None}\n    budget = min(budget, world.config[\"max_social_per_tick\"]\n                 - sum(value == tick for value in last.values()))\n    if budget <= 0:\n        return []\n\n    deadline_aware = world.config.get(\"deadline_aware_fair_attention\", False)\n    candidates = []\n    for index, owner in enumerate(order):\n        if last.get(owner) == tick or not world.spatial_actions(owner):\n            continue\n        ready = pending(world, owner)\n        if not ready:\n            continue\n        for row in ready:\n            row[\"deadline\"] = deadline(world, row)\n        lead = personal_order(ready, tick, 1, deadline_aware)[0]\n        response = protect_response(world,owner,ready,tick)\n        if response is not None and not protect_waiting(tick):\n            lead = response"
        }
      ]
    },
    {
      "document": "temporal_experiment63.py",
      "file_sha256": "3a8d630c6f144546a890a1eb2254fc5787c933cf0367d4562476176359e5da72",
      "excerpts": [
        {
          "lines": "135–152",
          "verbatim": "    used = world.db.execute(\"\"\"SELECT count(DISTINCT agent) FROM calls\n        WHERE json_extract(request,'$.contract')=? AND json_extract(request,'$.trigger.tick')=?\"\"\",\n        (sim.spatial.contract,tick)).fetchone()[0]\n    for index in range(used,width):\n        world.sync_opportunities()\n        world.sync_attention()\n        available=resident_order(world,order,1)\n        first=floor(world,\"calls\")\n        results=sim.tick(limit=1)\n        rows=world.rows(\"SELECT id,agent,kind,applied,error,result FROM calls WHERE id>=? ORDER BY id\",(first,))\n        assert len(rows)==len(results)<=1\n        assert world.clock()[\"tick\"]==tick and world.state()[\"day\"]==day\n        if not rows:\n            break\n        assert available and rows[0][\"agent\"]==available[0]\n        attempts.append(dict(ordinal=index+1,rank=available,**rows[0]))\n    assert len({v[\"agent\"] for v in attempts})==len(attempts)\n    return attempts"
        }
      ]
    },
    {
      "document": "village_zero/social.py",
      "file_sha256": "b787e66ee053dbe9f5ab0f0e1eb4a2ab0ac1bbb22e04e86a6c6719a21aef9c27",
      "excerpts": [
        {
          "lines": "269–284",
          "verbatim": "    def apply_saved(self, call_id):\n        \"\"\"The only effect boundary for a recorded turn. Replays return its receipt.\"\"\"\n        w = self.world\n        call = w.db.execute('SELECT * FROM calls WHERE id=?',(call_id,)).fetchone()\n        if not call or call['error'] or call['response'] is None:\n            raise ValueError('Call has no applicable response')\n        request = json.loads(call['request'])\n        if request.get('contract')!=self.contract:\n            raise ValueError('Action contract mismatch')\n        if call['applied']:\n            return json.loads(call['result'])\n        agent = call['agent']\n        view, trigger = request['view'], request['trigger']\n        job = call['job_id']\n        try:\n            if job is not None:"
        },
        {
          "lines": "313–342",
          "verbatim": "                raise ValueError('Automatic relay must cite the incoming memory')\n            result = dict(action,call_id=call_id,accepted_messages=[])\n            with w.db:\n                if action['quest']:\n                    w.propose(agent, **action['quest'])\n                for message in action['messages']:\n                    if hasattr(w, 'send'):\n                        accepted = w.send(agent,message['to'],message['text'],message['sources'],call_id)\n                        result['accepted_messages'].append(accepted)\n                    else:\n                        w.memory(message['to'], 'message', message['text'], sender=agent,\n                                 parents=message['sources'], call_id=call_id)\n                reflection = action['reflection']\n                if reflection:\n                    before = view['attitude_to_player']\n                    delta = reflection['attitude_delta']\n                    if hasattr(w, 'attitude_delta'):\n                        delta = w.attitude_delta(agent, reflection['sources'], delta, call_id)\n                    after = max(-10, min(10, before + delta))\n                    w.db.execute('UPDATE agents SET attitude=? WHERE name=?', (after, agent))\n                    w.db.execute('INSERT INTO beliefs(agent,text,sources,delta,before_value,after_value,call_id) VALUES (?,?,?,?,?,?,?)',\n                        (agent, reflection['belief'], dump(reflection['sources']), reflection['attitude_delta'], before, after, call_id))\n                result.update(self.apply_extra(agent, trigger, view, extra, call_id))\n                if (service_lifecycle.enabled(w) and 'service_read' in result and 'tick' in trigger):\n                    service_lifecycle.register(w,call_id,agent,result['service_read'],trigger['tick'])\n                w.db.execute('UPDATE calls SET applied=1,result=? WHERE id=?',(dump(result),call_id))\n                self.finish_jobs(job,batch,result)\n            return result\n        except Exception as exc:\n            self._fail(call_id,exc)"
        },
        {
          "lines": "83–96",
          "verbatim": "        w = self.world\n        with w.db:\n            if kind=='llm' and w.db.execute(\"SELECT count(*) FROM calls WHERE kind='llm'\").fetchone()[0]>=w.config['max_calls']:\n                raise ValueError('Persistent LLM call budget exhausted')\n            if retry_of is not None:\n                w.db.execute(\"UPDATE calls SET error='Interrupted before response was saved' WHERE id=?\",(retry_of,))\n            cid = w.db.execute(\"\"\"\n                INSERT INTO calls(agent,request,job_id,kind,retry_of,response) VALUES (?,?,?,?,?,?)\n                \"\"\",(request['view']['resident'],json.dumps(request,ensure_ascii=False),job,kind,retry_of,\n                     dump(response) if response is not None else None)).lastrowid\n            from .attention_delivery import record\n            record(w,cid,request,'selected')\n            if service_lifecycle.enabled(w):\n                service_lifecycle.reserve(w,cid,request,kind)"
        }
      ]
    },
    {
      "document": "village_zero/everyday_rest.py",
      "file_sha256": "96fb9e8e083219d4e1d209a8005790bdf742ba5613d527fa40779310ee624d49",
      "excerpts": [
        {
          "lines": "40–63",
          "verbatim": "        if (row[\"operation\"]!=\"offer\" or row[\"event_id\"] in closed or actor not in row[\"residents\"]\n                or not row[\"tick\"]<=tick<row[\"expires_tick\"]):\n            continue\n        sender, recipient = row[\"residents\"]\n        peer = recipient if actor==sender else sender\n        if encounters.get(peer)==row[\"encounter_id\"] and world.together(actor,peer):\n            pending[peer] = row\n    waiting = any(row[\"actor\"]==actor for row in pending.values())\n    for peer, encounter in sorted(encounters.items()):\n        if not world.together(actor,peer):\n            continue\n        offer = pending.get(peer)\n        extra = dict(kind=\"leisure\",everyday=True,location=place,peer=peer,encounter_id=encounter)\n        if offer is None:\n            if not waiting:\n                options[f\"rest:offer:{peer}\"] = dict(extra,operation=\"offer\",duration_ticks=0,\n                    expires_tick=tick+OFFER_TICKS)\n            continue\n        if tick<=offer[\"tick\"]:\n            continue\n        extra.update(offer_id=offer[\"event_id\"],expires_tick=offer[\"expires_tick\"])\n        if actor==offer[\"actor\"]:\n            options[f\"rest:withdraw:{peer}\"] = dict(extra,operation=\"withdraw\",duration_ticks=0)\n        else:"
        }
      ]
    },
    {
      "document": "mid_tick_runner.py",
      "file_sha256": "b03ca66f4ca447a0ba7bca55a038bdff2f82c30965700c8f4f615b74ca04d83f",
      "excerpts": [
        {
          "lines": "97–118",
          "verbatim": "def unresolved(world):\n    return world.rows(\"SELECT * FROM calls WHERE applied=0 AND error IS NULL ORDER BY id\")\n\n\ndef watermark(world):\n    return tuple(world.db.execute(\"\"\"SELECT (SELECT max(id) FROM calls),\n                                      (SELECT max(id) FROM events)\"\"\").fetchone())\n\n\ndef settle(world, handler, journal, tick):\n    pending = unresolved(world)\n    if len(pending)>1:\n        raise RecoveryAbort(\"More than one unresolved decision in a single-writer world\")\n    for call in pending:\n        request = json.loads(call[\"request\"])\n        if request.get(\"contract\")!=handler.contract or request[\"trigger\"].get(\"tick\")!=tick:\n            raise RecoveryAbort(\"Cannot apply an unresolved decision outside its original tick\")\n        cid = call[\"id\"]\n        _, attempts = journal.attempts(cid,request)\n        try:\n            if call[\"response\"] is None:\n                if call[\"kind\"]!=\"llm\":"
        },
        {
          "lines": "25–38",
          "verbatim": "        self.db.row_factory = sqlite3.Row\n        self.db.execute(\"PRAGMA synchronous=FULL\")\n        self.db.executescript(\"\"\"\n            CREATE TABLE IF NOT EXISTS run (\n                id INTEGER PRIMARY KEY CHECK(id=1), lineage TEXT NOT NULL,\n                first_tick INTEGER NOT NULL, cap INTEGER NOT NULL,\n                ready_tick INTEGER, finished_tick INTEGER NOT NULL,\n                last_call INTEGER, last_event INTEGER);\n            CREATE TABLE IF NOT EXISTS attempt (\n                call_id INTEGER NOT NULL, sequence INTEGER NOT NULL,\n                request_sha256 TEXT NOT NULL, response TEXT, failure TEXT,\n                PRIMARY KEY(call_id,sequence), CHECK(response IS NULL OR failure IS NULL));\n        \"\"\")\n        try:"
        },
        {
          "lines": "51–67",
          "verbatim": "        return self.db.execute(\"SELECT * FROM run WHERE id=1\").fetchone()\n\n    def attempts(self, call_id, request):\n        key = sha256(json.dumps(request,ensure_ascii=False,separators=(\",\",\":\")).encode()).hexdigest()\n        rows = self.db.execute(\"SELECT * FROM attempt WHERE call_id=? ORDER BY sequence\",(call_id,)).fetchall()\n        if any(row[\"request_sha256\"]!=key for row in rows):\n            raise RecoveryAbort(f\"Request differs from journal for call {call_id}\")\n        return key,rows\n\n    @contextmanager\n    def provider(self, world, handler):\n        original = handler.llm.generate\n\n        def generate(request):\n            pending = unresolved(world)\n            if len(pending)!=1 or json.loads(pending[0][\"request\"])!=request:\n                raise RecoveryAbort(\"Model request has no unique matching reserved turn\")"
        },
        {
          "lines": "75–88",
          "verbatim": "                raise RecoveryAbort(\"Transport budget exhausted\")\n            with self.db:\n                self.db.execute(\"INSERT INTO attempt VALUES (?,?,?,NULL,NULL)\",(call_id,seq,key))\n            try:\n                response = original(request)\n            except Exception as exc:\n                with self.db:\n                    self.db.execute(\"UPDATE attempt SET failure=? WHERE call_id=? AND sequence=?\",\n                                    (f\"{type(exc).__name__}: {exc}\",call_id,seq))\n                raise\n            with self.db:\n                self.db.execute(\"UPDATE attempt SET response=? WHERE call_id=? AND sequence=?\",\n                                (dump(response),call_id,seq))\n            return response"
        }
      ]
    },
    {
      "document": "long_life_run.py",
      "file_sha256": "3c70bde215539e1b3b0e611fbbd29765f51411b822cc4c4d080adedc68513d1d",
      "excerpts": [
        {
          "lines": "81–107",
          "verbatim": "def recovery_check(root, configuration):\n    \"\"\"Reconcile a saved HTTP reply with its logical call before resuming a stopped run.\"\"\"\n    records = transport_records(root,configuration)\n    for key, entries in records.items():\n        if not entries:\n            continue\n        folder = root/key\n        with closing(immutable(folder/\"world.sqlite\")) as world, closing(\n                immutable(folder/\"transport.sqlite\")) as old:\n            cursor = dict(old.execute(\"SELECT * FROM run\").fetchone())\n            for (cid,seq), row in entries.items():\n                call = world.execute(\"SELECT * FROM calls WHERE id=?\",(cid,)).fetchone()\n                attempt = old.execute(\"SELECT * FROM attempt WHERE call_id=? AND sequence=?\",(cid,seq)).fetchone()\n                assert call and attempt and json.loads(call[\"request\"])[\"transport\"]==row[\"request\"]\n                if attempt[\"response\"] is not None:\n                    assert json.loads(attempt[\"response\"])==row.get(\"response\")\n        journal = TurnJournal(folder/\"transport.sqlite\",cursor[\"lineage\"],cursor[\"first_tick\"],cursor[\"cap\"])\n        with closing(journal.db), closing(immutable(folder/\"world.sqlite\")) as world:\n            for call in world.execute(\"SELECT * FROM calls WHERE applied=0 AND error IS NULL\"):\n                packet = json.loads(call[\"request\"])\n                _, attempts = journal.attempts(call[\"id\"],packet)\n                if not attempts or attempts[-1][\"response\"] or attempts[-1][\"failure\"]:\n                    continue\n                identity = call[\"id\"],attempts[-1][\"sequence\"]\n                if recorded := entries.get(identity):\n                    with journal.db:\n                        if \"response\" in recorded:"
        },
        {
          "lines": "152–163",
          "verbatim": "def validate_cohort(root, configuration, roots, dry):\n    logs = transport_records(root,configuration)\n    checks = []\n    for world in roots:\n        analyses = {}\n        origin = root/world/\"common\"/\"checkpoints\"/f\"tick-{configuration['warm']:03}.sqlite\"\n        for branch in (\"common\",\"A\",\"B\"):\n            key = f\"{world}/{branch}\"\n            folder = root/key\n            names = sorted(p.stem for p in (folder/\"checkpoints\").glob(\"*.json\"))\n            phase = configuration[\"plan\"][key]\n            expected = {f\"tick-{i:03}\" for i in range(phase[\"first\"]-1,phase[\"last\"]+1,configuration[\"block\"])}"
        }
      ]
    }
  ],
  "wire": "calls/1432.json",
  "model": "qwen3.8:27b",
  "request_options": {
    "temperature": 0.6,
    "seed": 6317006,
    "num_ctx": 16384,
    "num_predict": 460
  },
  "R06_A_config": {
    "model": "qwen3.8:27b",
    "context_native_tokens": 4096,
    "context_packing": "native",
    "max_social_per_tick": 1
  },
  "memory_model_and_scope": "See Architecture and boundaries, lines 31–37 and 53–59.",
  "stored_request_example": {
    "phase": "R06/A",
    "world_record": "world.sqlite, calls row 55, request",
    "resident": "gossip",
    "tick": 55,
    "canonical_logical_request_sha256": "5a357a1014d7bb047a1f8efd3d9b4298f25edfe13d663a7b6cac52d090485657",
    "journal_record": "transport.sqlite, attempt row for call 55, sequence 1",
    "transport_attempt": {
      "call_id": 55,
      "sequence": 1,
      "request_sha256": "5a357a1014d7bb047a1f8efd3d9b4298f25edfe13d663a7b6cac52d090485657",
      "has_saved_reply": 1,
      "has_failure": 0
    },
    "hash_method": "UTF-8 JSON of the reserved request, ensure_ascii=False and compact separators, preserving key order."
  }
}
[4]An invitation, an available choice and a joint event

Long-Life R06/A. The archived request and response files calls/1429.json and calls/1432.json correspond to local calls 52 and 55. The first chose rest:offer:gossip. The second offered Nessa both rest:join:innkeeper and rest:decline:innkeeper.

In R06/A/world.sqlite, event 101 is the invitation, linked to encounter 7, expiring at tick 57. Event 100 at tick 51 produced Nessa’s observation 151, which triggered job 79. Call 55 handles that job with trigger kind spatial_opportunity. Offer 101 produced observations 152 and 153 without waking a resident. Event 105 identifies offer 101, records both residents, and sets completed to true.

Inspect the embedded records
{
  "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."
  }
}
[5]The telephone-game protocol and original scoring

Experiment 2, research/telephone/PROTOCOL.json. Six seeds, seven named facts and three delivery conditions produced 18 individual worlds. A direct condition gave the merchant the account. In the relay, Mara and then Nessa could retell it. In the split-source condition, they began with complementary fragments.

For every runs/<seed>-<arm>/world.sqlite, the extract preserves the merchant’s endpoint call ID, input memories and spoken answer. The original annotations.json marks each unit P (fully preserved), T (partial), O (omitted) or C (contradictory). The chart counts P. The endpoint text and hashes were checked against review-packet.json and the SQLite protocol results.

Inspect the embedded records
{
  "study": "Experiment 2 · The Telephone Game",
  "root": "research/telephone/",
  "protocol": {
    "facts": {
      "F1": "At noon",
      "F2": "Found beside the village well",
      "F3": "A sealed blue parcel",
      "F4": "Player delivered it unopened to innkeeper Mara",
      "F5": "Six silver coins inside",
      "F6": "Owner unknown",
      "F7": "Player refused a reward"
    },
    "seeds": [
      11,
      23,
      37,
      51,
      71,
      97
    ],
    "modes": [
      "A",
      "B",
      "C"
    ],
    "grading": "manual semantic coding of endpoint say; source pipeline scored separately",
    "source_budget": "same seven factual units, full in A/B and two complementary fragments in C",
    "endpoint": "merchant before return exchange"
  },
  "rubric": {
    "annotator": "Codex investigator, manual semantic coding; not blinded and not independently validated",
    "limitations": "Seven composite units are rubric-dependent; strict counts do not imply that unused facts vanished from memory. No confidence intervals from a single unblinded annotation pass.",
    "unit_order": [
      "F1 noon",
      "F2 found beside well",
      "F3 sealed AND blue parcel",
      "F4 player brought unopened to Mara/innkeeper",
      "F5 six AND silver AND coins inside",
      "F6 owner unknown",
      "F7 refused offered reward"
    ],
    "rubric": {
      "C": "Explicitly contradictory replacement of a scored factual attribute.",
      "O": "Absent, generic mystery, or only a question with no asserted fact.",
      "P": "All attributes preserved or a clear semantic equivalent; traveler treated as player in this single-player context.",
      "T": "Some meaningful attributes preserved. Blue or sealed qualifies for F3; bare parcel alone does not. Without asking reward is weaker than refusing one.",
      "unsupported_reply": "Distinct asserted factual embellishments beyond original event, including inherited details. Subjective evaluations and explicit questions are excluded. Not a corpus-wide hallucination rate."
    }
  },
  "totals": {
    "A": {
      "available": 42,
      "said": 6
    },
    "B": {
      "available": 11,
      "said": 3
    },
    "C": {
      "available": 12,
      "said": 2
    }
  },
  "cases": [
    {
      "world": "research/telephone/runs/11-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I heard a bit of talk about a parcel found by the well. It seems you're the one who brought it to Mara.",
      "annotation": {
        "run": "11-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPOTOOO",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "319d636455519a2eb88d096fa89884779f53b80dc94be5ca00369d096d3dbd78"
      }
    },
    {
      "world": "research/telephone/runs/11-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard from the innkeeper that a blue parcel was found by the well with six silver coins inside. Quite a mystery, don't you think?"
        }
      ],
      "coded_incoming_text": "I heard from the innkeeper that a blue parcel was found by the well with six silver coins inside. Quite a mystery, don't you think?",
      "endpoint_say": "I'm a man of business, and business requires clarity. There's talk of a blue parcel found by the well, but I'm not one to jump to conclusions without seeing the contents myself.",
      "annotation": {
        "run": "11-B",
        "incoming_facts": "OPTOPOO",
        "reply_facts": "OPTOOOO",
        "incoming_hash": "c83e26ecb6c7babbb4dafe02ecf9faee3e295d576cd0c97814d427d982236ad1",
        "reply_hash": "1dca10ccfc0706d7203cb0255dd5e38dcb192f6c76d9fe25e84b2d5fe0e88c81"
      }
    },
    {
      "world": "research/telephone/runs/11-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard a parcel was being moved and it was quite substantial. Do you know anything about who might have been carrying it?"
        }
      ],
      "coded_incoming_text": "I heard a parcel was being moved and it was quite substantial. Do you know anything about who might have been carrying it?",
      "endpoint_say": "I've heard whispers of a substantial parcel moving through these parts recently. I'm not entirely certain who was responsible for it, but it's been on my mind.",
      "annotation": {
        "run": "11-C",
        "incoming_facts": "OOOOOOO",
        "reply_facts": "OOOOOOO",
        "incoming_hash": "a134942f2a4f251b515eaa994706dc0930c3db1d6c2dc4307d1060824a7c7ccc",
        "reply_hash": "29e1da25ac3d55b079dddcf4a2691169e2cf746fe7e6fe751f6a5379452ede3e"
      }
    },
    {
      "world": "research/telephone/runs/23-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I heard a rumor that a blue parcel was turned in at the inn. It's a bit strange, honestly. Someone found it by the well and handed it over without asking for a single coin.",
      "annotation": {
        "run": "23-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPTTOOT",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "fe848b2f35be023ddf7f908d8e8a665d7e3f1a4b3113279fd03410281f405c36"
      }
    },
    {
      "world": "research/telephone/runs/23-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "A traveler was seen with a blue parcel at the well—it was full of silver coins! They took it straight to the innkeeper's door."
        }
      ],
      "coded_incoming_text": "A traveler was seen with a blue parcel at the well—it was full of silver coins! They took it straight to the innkeeper's door.",
      "endpoint_say": "I've heard some talk about a blue parcel being moved toward the inn. I'm not entirely sure if it was yours, but it's a bit of a curiosity around here.",
      "annotation": {
        "run": "23-B",
        "incoming_facts": "OTTTTOO",
        "reply_facts": "OOTTOOO",
        "incoming_hash": "cdc26c0b4b005f70f096ff67ec96bee1cac0e8f56b9f6f2d7a2e2f93d2c3a6aa",
        "reply_hash": "afe88e8f8c4181ecb074407b292848663a20483019fbdb7c3e999e9f74c3e23b"
      }
    },
    {
      "world": "research/telephone/runs/23-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard a parcel was found with six silver coins inside. Do you think anyone in town is looking for a lost shipment?"
        }
      ],
      "coded_incoming_text": "I heard a parcel was found with six silver coins inside. Do you think anyone in town is looking for a lost shipment?",
      "endpoint_say": "I'm not entirely sure what your business is here, but I've heard some talk about a lost parcel containing six silver coins. I'm a man of business; I'd prefer to see some proof before making any assumptions.",
      "annotation": {
        "run": "23-C",
        "incoming_facts": "OOOOPOO",
        "reply_facts": "OOOOPOO",
        "incoming_hash": "e2980ec5696e23c8af45d7b0795e8c85029fba28770ebb8f91d1d91a65095265",
        "reply_hash": "de9b926a5ebf0b992c6e4cfcc7e75d2cccbca035420dace581eac17a39c17b8d"
      }
    },
    {
      "world": "research/telephone/runs/37-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I heard a rumor about a blue parcel found by the well. Someone says it was taken to the inn, but I'm not entirely sure who was involved or why it was left there in the first place.",
      "annotation": {
        "run": "37-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPTTOOO",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "05fda6df5916b1a000ab93c661afb38bdb3357e68618c747a4db15f904b88c4b"
      }
    },
    {
      "world": "research/telephone/runs/37-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard a traveler left a sealed blue parcel at the inn. It had six silver coins inside, but not a single name on it!"
        }
      ],
      "coded_incoming_text": "I heard a traveler left a sealed blue parcel at the inn. It had six silver coins inside, but not a single name on it!",
      "endpoint_say": "I've heard some talk about a parcel being left behind, but I'm not entirely sure if it belongs to you or someone else.",
      "annotation": {
        "run": "37-B",
        "incoming_facts": "OOPTPOO",
        "reply_facts": "OOOOOPO",
        "incoming_hash": "ae742134ecd0df588465e1664e449a8988da48a5b53b1155edb3c83ebd3e5e4f",
        "reply_hash": "c728ee7899b5f0ad367532cc6136e2d77fde87d6d987a0a2402fcd9266e84cd8"
      }
    },
    {
      "world": "research/telephone/runs/37-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "Did you hear about that parcel? Someone found it with six silver coins inside, but nobody seems to know who it belongs to."
        }
      ],
      "coded_incoming_text": "Did you hear about that parcel? Someone found it with six silver coins inside, but nobody seems to know who it belongs to.",
      "endpoint_say": "I've heard some talk about a parcel being found with silver inside. I'm not sure if it's related to you, but it's a bit of a mystery around here.",
      "annotation": {
        "run": "37-C",
        "incoming_facts": "OOOOPPO",
        "reply_facts": "OOOOTOO",
        "incoming_hash": "2bdfc0f63704fa58d06625d704691703c108e7e634b7eca050b87de3db0f93af",
        "reply_hash": "67ba231df623eadd660f0e04b39a2e3beab3bd0a2e454e116ce308d093901746"
      }
    },
    {
      "world": "research/telephone/runs/51-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I heard a rumor about a blue parcel found by the well. It seems the player turned it over to Mara, and there was some silver inside. I'm not sure if the player was acting on behalf of someone specific or just doing a good deed.",
      "annotation": {
        "run": "51-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPTTTOO",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "b5b4e6e54df66ca836a5ab0e6e11c2c49e4644639d7a57b47e9cd50e2347b262"
      }
    },
    {
      "world": "research/telephone/runs/51-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard from the innkeeper that a blue parcel was found by the well. It's got six silver coins in it, but nobody's claimed them yet!"
        }
      ],
      "coded_incoming_text": "I heard from the innkeeper that a blue parcel was found by the well. It's got six silver coins in it, but nobody's claimed them yet!",
      "endpoint_say": "I'm looking for a reliable way to move some goods. I've heard some talk about a parcel being found, but I'm more concerned with my own logistics right now.",
      "annotation": {
        "run": "51-B",
        "incoming_facts": "OPTOPTO",
        "reply_facts": "OOOOOOO",
        "incoming_hash": "3c38bbe60d3c52976d7ffa679f808566a74635711e31c541001b301e9e1ed69f",
        "reply_hash": "88951dec0e0b157fc015afb8849983cbff095c7159a7f3e1974ffa5f274c3a50"
      }
    },
    {
      "world": "research/telephone/runs/51-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I received a blue parcel from the traveler today. It was found near the well."
        },
        {
          "id": 4,
          "kind": "message",
          "text": "I heard a rumor about a parcel containing six silver coins. Do you think you know who it might belong to?"
        }
      ],
      "coded_incoming_text": "I received a blue parcel from the traveler today. It was found near the well.\nI heard a rumor about a parcel containing six silver coins. Do you think you know who it might belong to?",
      "endpoint_say": "I'm still trying to piece things together. I know a blue parcel was found near the well, and there's talk of silver coins involved, but I'm not entirely sure how it all connects yet.",
      "annotation": {
        "run": "51-C",
        "incoming_facts": "OPTTPOO",
        "reply_facts": "OPTOTOO",
        "incoming_hash": "abebe830d5237c6304524beb513d42df81b3043b1d92676d738a56dfa756e1f4",
        "reply_hash": "1367e3e624d3258974e13e58b26687e538fbdebd3210de5f3a4d0eddf56fe68a"
      }
    },
    {
      "world": "research/telephone/runs/71-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I heard a rumor about a blue parcel found by the well. It seems the player turned it over to Mara, but I'm not entirely sure of the details.",
      "annotation": {
        "run": "71-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPTTOOO",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "488d243a188d0500a5ec11252494f1e4ae4d514699c6a18f28e9bf0d8df7482a"
      }
    },
    {
      "world": "research/telephone/runs/71-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard from the innkeeper that a blue parcel was found by the well. It had six silver coins inside, but nobody knows who it belongs to!"
        }
      ],
      "coded_incoming_text": "I heard from the innkeeper that a blue parcel was found by the well. It had six silver coins inside, but nobody knows who it belongs to!",
      "endpoint_say": "I'm keeping a close eye on things around here. There's been some talk of a parcel being found, but I'm not one to jump to conclusions without seeing the facts myself.",
      "annotation": {
        "run": "71-B",
        "incoming_facts": "OPTOPPO",
        "reply_facts": "OOOOOOO",
        "incoming_hash": "ab3d5c24795e942e3306e92afa1901f1c812ebec3f8707b47d3c2040329e96bf",
        "reply_hash": "b47275408609c10254d6e31debe508b17bb9fac84d9a511bcb6c7c3e827d5368"
      }
    },
    {
      "world": "research/telephone/runs/71-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I heard a parcel was found with six silver coins inside. No one seems to know who it belongs to, but the person who found it wouldn't take a reward."
        }
      ],
      "coded_incoming_text": "I heard a parcel was found with six silver coins inside. No one seems to know who it belongs to, but the person who found it wouldn't take a reward.",
      "endpoint_say": "I've heard some talk about a parcel appearing, but I'm not entirely sure how it ties into your recent activities. My business relies on clear facts, and right now, things are a bit murky.",
      "annotation": {
        "run": "71-C",
        "incoming_facts": "OOOOPPP",
        "reply_facts": "OOOOOOO",
        "incoming_hash": "d311ae1ceea38c95c22d8a00a770ef975fe126f560184d481550ece686e8cedb",
        "reply_hash": "960b21addf0f0b21193d26e5b0b7f4143679dab1c1d150813ec641b460788efd"
      }
    },
    {
      "world": "research/telephone/runs/97-A/world.sqlite",
      "mode": "A",
      "call_id": 1,
      "input_memories": [
        {
          "id": 1,
          "kind": "fragment",
          "text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward."
        }
      ],
      "coded_incoming_text": "At noon, the player found a sealed blue parcel beside the village well. The player brought it unopened to innkeeper Mara. Mara counted six silver coins inside the parcel. The owner is unknown. The player refused a reward.",
      "endpoint_say": "I've heard some talk about a parcel found by the well. It's a bit strange, finding such a thing just sitting there.",
      "annotation": {
        "run": "97-A",
        "incoming_facts": "PPPPPPP",
        "reply_facts": "OPOOOOO",
        "incoming_hash": "f88fe2a81f03d60e2b8a1c81bca991f988685826e3b00338aa0d84de23668e39",
        "reply_hash": "e32bd4613423dba1c8bdf346beced87b542c976691ba45d70e274e5621082cf5"
      }
    },
    {
      "world": "research/telephone/runs/97-B/world.sqlite",
      "mode": "B",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "Did you hear about that blue parcel found by the well? The innkeeper says it had six silver coins inside!"
        }
      ],
      "coded_incoming_text": "Did you hear about that blue parcel found by the well? The innkeeper says it had six silver coins inside!",
      "endpoint_say": "I'm not entirely sure what you've been up to lately, but there's been some talk about a blue parcel found near the well. I'd prefer to stick to my own business for now.",
      "annotation": {
        "run": "97-B",
        "incoming_facts": "OPTOPOO",
        "reply_facts": "OPTOOOO",
        "incoming_hash": "3e39cb6cc07240f3148bb5771194b7709b343b51c06aef71d3c3ba241b20bfe1",
        "reply_hash": "ea19e96e0ab1fdf49c5742f3ed6353cc007545098b692fd6bd05b9080a9d6531"
      }
    },
    {
      "world": "research/telephone/runs/97-C/world.sqlite",
      "mode": "C",
      "call_id": 3,
      "input_memories": [
        {
          "id": 3,
          "kind": "message",
          "text": "I saw the traveler bring that blue parcel to my door. It's still sealed, but it's certainly caused a stir."
        },
        {
          "id": 4,
          "kind": "message",
          "text": "Did you hear about that parcel? Someone found six silver coins inside, but nobody seems to know who it belongs to. It's quite a curious thing!"
        }
      ],
      "coded_incoming_text": "I saw the traveler bring that blue parcel to my door. It's still sealed, but it's certainly caused a stir.\nDid you hear about that parcel? Someone found six silver coins inside, but nobody seems to know who it belongs to. It's quite a curious thing!",
      "endpoint_say": "I've heard some talk about that blue parcel you brought. People are saying there's silver inside, but I'm not one to believe every rumor without seeing the contents myself.",
      "annotation": {
        "run": "97-C",
        "incoming_facts": "OOPPPPO",
        "reply_facts": "OOTTTOO",
        "incoming_hash": "41c5a35d6e3fdcb9a2cf31dabb1ec44f080bb83969115d9214cd03ee78cb42b9",
        "reply_hash": "3e643f24c50afad585292fae0e64413bef24e9f9a67fbe308d38a4cdef8f88c5"
      }
    }
  ],
  "source_digests": {
    "annotations.json": "0f9ff1c92c882bd2a816dfbef9aba376e0532415f484012969d0f40d5f6250bd",
    "PROTOCOL.json": "100e09ece2f6d56f3ae6cb36349fc0edec3c193c60f301612413ee7b153ef622",
    "review-packet.json": "80a2856640dcee22dd9ceb23610937ad57c1475499cf7a7c6f6e1222f7e5f908"
  },
  "historical_profile": {
    "residents": [
      "gossip",
      "innkeeper",
      "merchant"
    ],
    "world_counts_by_model": {
      "gemma4:12b": 18
    },
    "sources": "Each included world.sqlite: agents.name and calls.request.transport.model on the first model turn."
  }
}
[6]Tavern service with and without a prepared request

Experiment 21, research/mutual_benefit/{controlled,autonomous}/. The two model families were Gemma 4 12B and Qwen 3.5 9B, with seeds 17 and 41. Controlled conditions used a gift, a cash payment, or a cash payment with relevant history. The experiment’s prepared opening request and protocol are in the embedded material.

In each of the 16 original databases, the tavern_evening.deadline field is the first day on which service is no longer eligible. Inspect the tavern_evening row and follow prepared, collected and served into events. For example, controlled/gemma-17-C links events 42, 43 and 45. autonomous/qwen-17 links events 16 and 20 and has an empty service field. Subsequent diagnostic continuations are separate from these counts.

Inspect the embedded records
{
  "study": "Experiment 21 · Mutual Benefit & Voluntary Cooperation",
  "scope": "Original controlled and autonomous databases. Diagnostic continuations excluded.",
  "protocol": {
    "arms": {
      "A": "gift, neutral history",
      "B": "cash, neutral history",
      "C": "cash, relevant previous help"
    },
    "hard_ceiling": 240,
    "live": "cash, no scripted resident action",
    "live_limit": 39,
    "request": "Could you put one crate aside for our market evening? I can collect it and serve it at the tavern.",
    "seeds": [
      17,
      41
    ]
  },
  "totals": {
    "controlled": {
      "prepared": 12,
      "collected": 12,
      "served": 7,
      "worlds": 12
    },
    "autonomous": {
      "prepared": 4,
      "collected": 2,
      "served": 0,
      "worlds": 4
    }
  },
  "worlds": [
    {
      "world": "research/mutual_benefit/controlled/gemma-17-A/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": 43,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "gift",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "gift",
              "price": 0,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 43,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 41,
              "evening_id": 39,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 40,
              "tick": 28,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/gemma-17-B/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": 43,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 43,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 41,
              "evening_id": 39,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 40,
              "tick": 28,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/gemma-17-C/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 41,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 42,
        "collected": 43,
        "served": 45,
        "ended": null
      },
      "events": [
        {
          "id": 42,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 41,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 43,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 45,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 43,
              "evening_id": 41,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 42,
              "tick": 28,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/gemma-41-A/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": 43,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "gift",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "gift",
              "price": 0,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 43,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 41,
              "evening_id": 39,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 40,
              "tick": 28,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/gemma-41-B/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": null,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/gemma-41-C/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 41,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 42,
        "collected": 43,
        "served": null,
        "ended": null
      },
      "events": [
        {
          "id": 42,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 41,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 43,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-17-A/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 42,
        "served": 44,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "gift",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 42,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "gift",
              "price": 0,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 44,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 42,
              "evening_id": 39,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 40,
              "tick": 30,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 5,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-17-B/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 42,
        "served": null,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 42,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-17-C/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 41,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 45,
        "collected": 46,
        "served": 48,
        "ended": null
      },
      "events": [
        {
          "id": 45,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 41,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 2,
              "request_id": null,
              "tick": 28,
              "units": 1
            },
            "actor": "merchant",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 46,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 2,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": false,
            "tavern_service": "full"
          }
        },
        {
          "id": 48,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 46,
              "evening_id": 41,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 45,
              "tick": 30,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 5,
            "merchant_has_supplies": false,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-41-A/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": null,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "gift",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "gift",
              "price": 0,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-41-B/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 39,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 40,
        "collected": 41,
        "served": 45,
        "ended": null
      },
      "events": [
        {
          "id": 40,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 39,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 26,
              "units": 1
            },
            "actor": "merchant",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 41,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 3,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 45,
          "kind": "supply_evening_served",
          "body": {
            "action": {
              "collection_event": 41,
              "evening_id": 39,
              "kind": "evening_served",
              "location": "tavern",
              "prepared_event": 40,
              "tick": 31,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 5,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/controlled/qwen-41-C/world.sqlite",
      "group": "controlled",
      "row": {
        "id": 41,
        "deadline": 7,
        "pickup": "tavern",
        "prepared": 45,
        "collected": 46,
        "served": null,
        "ended": null
      },
      "events": [
        {
          "id": 45,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 41,
              "kind": "offer",
              "location": "tavern",
              "payment": "cash",
              "proposal_id": 2,
              "request_id": null,
              "tick": 28,
              "units": 1
            },
            "actor": "merchant",
            "day": 4,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        },
        {
          "id": 46,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 2,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 4,
            "merchant_has_supplies": false,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/autonomous/gemma-17/world.sqlite",
      "group": "autonomous",
      "row": {
        "id": 7,
        "deadline": 5,
        "pickup": "market",
        "prepared": 8,
        "collected": null,
        "served": null,
        "ended": 11
      },
      "events": [
        {
          "id": 8,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 7,
              "kind": "offer",
              "location": "market",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 2,
              "units": 1
            },
            "actor": "merchant",
            "day": 1,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/autonomous/gemma-41/world.sqlite",
      "group": "autonomous",
      "row": {
        "id": 7,
        "deadline": 5,
        "pickup": "market",
        "prepared": 8,
        "collected": null,
        "served": null,
        "ended": 12
      },
      "events": [
        {
          "id": 8,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 7,
              "kind": "offer",
              "location": "market",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 2,
              "units": 1
            },
            "actor": "merchant",
            "day": 1,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/autonomous/qwen-17/world.sqlite",
      "group": "autonomous",
      "row": {
        "id": 8,
        "deadline": 5,
        "pickup": "market",
        "prepared": 16,
        "collected": 20,
        "served": null,
        "ended": 28
      },
      "events": [
        {
          "id": 16,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 8,
              "kind": "offer",
              "location": "market",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 3,
              "units": 1
            },
            "actor": "merchant",
            "day": 2,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 20,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 2,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    },
    {
      "world": "research/mutual_benefit/autonomous/qwen-41/world.sqlite",
      "group": "autonomous",
      "row": {
        "id": 8,
        "deadline": 5,
        "pickup": "market",
        "prepared": 17,
        "collected": 22,
        "served": null,
        "ended": 36
      },
      "events": [
        {
          "id": 17,
          "kind": "supply_offer",
          "body": {
            "action": {
              "evening_id": 8,
              "kind": "offer",
              "location": "market",
              "payment": "cash",
              "proposal_id": 1,
              "request_id": null,
              "tick": 3,
              "units": 1
            },
            "actor": "merchant",
            "day": 2,
            "merchant_has_supplies": true,
            "tavern_service": "limited"
          }
        },
        {
          "id": 22,
          "kind": "supply_accept_offer",
          "body": {
            "action": {
              "kind": "accept_offer",
              "offer_id": 1,
              "payment": "cash",
              "price": 2,
              "request_id": null,
              "units": 1
            },
            "actor": "innkeeper",
            "day": 2,
            "merchant_has_supplies": true,
            "tavern_service": "full"
          }
        }
      ]
    }
  ],
  "report_excerpt": {
    "document": "EXPERIMENT_21_REPORT.md",
    "file_sha256": "38edd207cfccff93be587d7f802272afb58316b8c3e38b6ba3a08e2853434713",
    "excerpts": [
      {
        "lines": "54–76",
        "verbatim": "из-за предыстории. В A ящик отдавался без оплаты. В B продавец\nполучал две монеты. В C сохранялась та же цена, а прошлые\nнаблюдения Мары содержали законные встречи и помощь Илана с\nмаршрутом. Это в первую очередь проверка памяти Мары. У Илана\nнет автоматической оценки её надёжности.\n\nМара произносила одну и ту же подготовленную просьбу через обычную\nдоставку. После этого решения жителей принимали модели.\nОбслуживание проверялось только при наличии всех трёх квитанций\nи двух разных авторов. Технические ходы из исторической фикстуры\nне считаются самостоятельными вкладами.\n\n| Условие | Подготовили | Забрали | Обслужили в исходном прогоне | Обслужили после диагностического продолжения |\n|---|---:|---:|---:|---:|\n| A, подарок | 4/4 | 4/4 | 3/4 | 4/4 |\n| B, оплата | 4/4 | 4/4 | 2/4 | 3/4 |\n| C, оплата и история | 4/4 | 4/4 | 2/4 | 4/4 |\n\nВо всех 12 мирах продавец самостоятельно подготовил ящик, а хозяйка\nсамостоятельно забрала его. Формальных соглашений не было. Плату нельзя\nназвать причиной большей готовности участвовать: продавцы выбрали\nподготовку и при оплате, и при подарке. Вариант C показал Маре прошлые\nэпизоды помощи, но объяснения подготовки, получения и обслуживания"
      }
    ]
  },
  "historical_profile": {
    "residents": [
      "gossip",
      "innkeeper",
      "merchant"
    ],
    "world_counts_by_model": {
      "gemma4:12b": 8,
      "qwen3.5:9b-q4_K_M": 8
    },
    "sources": "Each included world.sqlite: agents.name and calls.request.transport.model on the first model turn."
  },
  "field_units": {
    "worlds[].row.deadline": "Simulation day, exclusive. The legacy field is named deadline in tavern_evening. Service requires the current day to be strictly below it."
  }
}
[7]Long-Life design, outcomes and cost

Archive village-zero-long-life-20261118-r01-r08.tar.gz, SHA-256 ffecd50531eca3c1ec2442fe6ade54b02d62d87a1493ade202ea106c0f3b0eb1. The registered plan fixes timing, paired continuation seeds and widths. The eight 24-day common histories are counted once.

For each root R01–R08 and schedule A/B, subtract checkpoints/tick-048.json from tick-192.json for state fields messages, rest_joint and calls. The figure shows within-root B−A differences. Cost is recomputed from the 4,479 original calls/*.json responses and checked against statistics.json. GPU minutes sum prompt evaluation and generation time. They exclude queueing, loading and other wall time.

The embedded data include the 16 boundary pairs, all phase totals, the registration excerpt and the relevant Long-Life technical report tables.

Inspect the embedded records
{
  "archive": "village-zero-long-life-20261118-r01-r08.tar.gz",
  "archive_sha256": "ffecd50531eca3c1ec2442fe6ade54b02d62d87a1493ade202ea106c0f3b0eb1",
  "registration": {
    "launch_commit": "4f5a2bf3e2331bde4b88f4d69917c6e1409e2a19",
    "warm": 48,
    "end": 192,
    "plan": {
      "R01/common": {
        "root": "R01",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307001
      },
      "R01/A": {
        "root": "R01",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317001
      },
      "R01/B": {
        "root": "R01",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317001
      },
      "R02/common": {
        "root": "R02",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307002
      },
      "R02/A": {
        "root": "R02",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317002
      },
      "R02/B": {
        "root": "R02",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317002
      },
      "R03/common": {
        "root": "R03",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307003
      },
      "R03/A": {
        "root": "R03",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317003
      },
      "R03/B": {
        "root": "R03",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317003
      },
      "R04/common": {
        "root": "R04",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307004
      },
      "R04/A": {
        "root": "R04",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317004
      },
      "R04/B": {
        "root": "R04",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317004
      },
      "R05/common": {
        "root": "R05",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307005
      },
      "R05/A": {
        "root": "R05",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317005
      },
      "R05/B": {
        "root": "R05",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317005
      },
      "R06/common": {
        "root": "R06",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307006
      },
      "R06/A": {
        "root": "R06",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317006
      },
      "R06/B": {
        "root": "R06",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317006
      },
      "R07/common": {
        "root": "R07",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307007
      },
      "R07/A": {
        "root": "R07",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317007
      },
      "R07/B": {
        "root": "R07",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317007
      },
      "R08/common": {
        "root": "R08",
        "branch": "common",
        "width": 1,
        "first": 1,
        "last": 48,
        "seed": 6307008
      },
      "R08/A": {
        "root": "R08",
        "branch": "A",
        "width": 1,
        "first": 49,
        "last": 192,
        "seed": 6317008
      },
      "R08/B": {
        "root": "R08",
        "branch": "B",
        "width": 3,
        "first": 49,
        "last": 192,
        "seed": 6317008
      }
    },
    "stop_on_activity_plateau": false
  },
  "metric_fields": {
    "decisions": "calls",
    "messages": "messages",
    "joint_rest": "rest_joint",
    "journey_legs": "journeys",
    "trades": "transactions"
  },
  "checkpoints": [
    {
      "phase": "R01/A",
      "marker_path": "R01/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 192,
        "messages": 44,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 1
      },
      "change": {
        "decisions": 144,
        "messages": 30,
        "joint_rest": 0,
        "journey_legs": 0,
        "trades": 1
      }
    },
    {
      "phase": "R01/B",
      "marker_path": "R01/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 363,
        "messages": 67,
        "rest_joint": 12,
        "journeys": 4,
        "transactions": 1
      },
      "change": {
        "decisions": 315,
        "messages": 53,
        "joint_rest": 12,
        "journey_legs": 2,
        "trades": 1
      }
    },
    {
      "phase": "R02/A",
      "marker_path": "R02/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 12,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 1
      },
      "at_192": {
        "calls": 192,
        "messages": 21,
        "rest_joint": 12,
        "journeys": 4,
        "transactions": 2
      },
      "change": {
        "decisions": 144,
        "messages": 9,
        "joint_rest": 12,
        "journey_legs": 2,
        "trades": 1
      }
    },
    {
      "phase": "R02/B",
      "marker_path": "R02/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 12,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 1
      },
      "at_192": {
        "calls": 321,
        "messages": 34,
        "rest_joint": 13,
        "journeys": 4,
        "transactions": 1
      },
      "change": {
        "decisions": 273,
        "messages": 22,
        "joint_rest": 13,
        "journey_legs": 2,
        "trades": 0
      }
    },
    {
      "phase": "R03/A",
      "marker_path": "R03/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 10,
        "rest_joint": 1,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 192,
        "messages": 55,
        "rest_joint": 2,
        "journeys": 2,
        "transactions": 0
      },
      "change": {
        "decisions": 144,
        "messages": 45,
        "joint_rest": 1,
        "journey_legs": 0,
        "trades": 0
      }
    },
    {
      "phase": "R03/B",
      "marker_path": "R03/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 10,
        "rest_joint": 1,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 443,
        "messages": 166,
        "rest_joint": 6,
        "journeys": 6,
        "transactions": 0
      },
      "change": {
        "decisions": 395,
        "messages": 156,
        "joint_rest": 5,
        "journey_legs": 4,
        "trades": 0
      }
    },
    {
      "phase": "R04/A",
      "marker_path": "R04/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 22,
        "rest_joint": 0,
        "journeys": 4,
        "transactions": 0
      },
      "at_192": {
        "calls": 192,
        "messages": 89,
        "rest_joint": 0,
        "journeys": 4,
        "transactions": 0
      },
      "change": {
        "decisions": 144,
        "messages": 67,
        "joint_rest": 0,
        "journey_legs": 0,
        "trades": 0
      }
    },
    {
      "phase": "R04/B",
      "marker_path": "R04/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 22,
        "rest_joint": 0,
        "journeys": 4,
        "transactions": 0
      },
      "at_192": {
        "calls": 478,
        "messages": 323,
        "rest_joint": 0,
        "journeys": 10,
        "transactions": 1
      },
      "change": {
        "decisions": 430,
        "messages": 301,
        "joint_rest": 0,
        "journey_legs": 6,
        "trades": 1
      }
    },
    {
      "phase": "R05/A",
      "marker_path": "R05/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 27,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 192,
        "messages": 96,
        "rest_joint": 7,
        "journeys": 2,
        "transactions": 0
      },
      "change": {
        "decisions": 144,
        "messages": 69,
        "joint_rest": 7,
        "journey_legs": 0,
        "trades": 0
      }
    },
    {
      "phase": "R05/B",
      "marker_path": "R05/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 27,
        "rest_joint": 0,
        "journeys": 2,
        "transactions": 0
      },
      "at_192": {
        "calls": 477,
        "messages": 314,
        "rest_joint": 2,
        "journeys": 8,
        "transactions": 1
      },
      "change": {
        "decisions": 429,
        "messages": 287,
        "joint_rest": 2,
        "journey_legs": 6,
        "trades": 1
      }
    },
    {
      "phase": "R06/A",
      "marker_path": "R06/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 1,
        "journeys": 0,
        "transactions": 2
      },
      "at_192": {
        "calls": 192,
        "messages": 21,
        "rest_joint": 10,
        "journeys": 0,
        "transactions": 2
      },
      "change": {
        "decisions": 144,
        "messages": 7,
        "joint_rest": 9,
        "journey_legs": 0,
        "trades": 0
      }
    },
    {
      "phase": "R06/B",
      "marker_path": "R06/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 1,
        "journeys": 0,
        "transactions": 2
      },
      "at_192": {
        "calls": 371,
        "messages": 70,
        "rest_joint": 2,
        "journeys": 2,
        "transactions": 2
      },
      "change": {
        "decisions": 323,
        "messages": 56,
        "joint_rest": 1,
        "journey_legs": 2,
        "trades": 0
      }
    },
    {
      "phase": "R07/A",
      "marker_path": "R07/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 2,
        "journeys": 0,
        "transactions": 2
      },
      "at_192": {
        "calls": 192,
        "messages": 33,
        "rest_joint": 4,
        "journeys": 2,
        "transactions": 5
      },
      "change": {
        "decisions": 144,
        "messages": 19,
        "joint_rest": 2,
        "journey_legs": 2,
        "trades": 3
      }
    },
    {
      "phase": "R07/B",
      "marker_path": "R07/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 14,
        "rest_joint": 2,
        "journeys": 0,
        "transactions": 2
      },
      "at_192": {
        "calls": 446,
        "messages": 81,
        "rest_joint": 4,
        "journeys": 4,
        "transactions": 14
      },
      "change": {
        "decisions": 398,
        "messages": 67,
        "joint_rest": 2,
        "journey_legs": 4,
        "trades": 12
      }
    },
    {
      "phase": "R08/A",
      "marker_path": "R08/A/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 20,
        "rest_joint": 0,
        "journeys": 0,
        "transactions": 0
      },
      "at_192": {
        "calls": 192,
        "messages": 51,
        "rest_joint": 1,
        "journeys": 0,
        "transactions": 0
      },
      "change": {
        "decisions": 144,
        "messages": 31,
        "joint_rest": 1,
        "journey_legs": 0,
        "trades": 0
      }
    },
    {
      "phase": "R08/B",
      "marker_path": "R08/B/checkpoints/tick-{048,192}.json",
      "at_48": {
        "calls": 48,
        "messages": 20,
        "rest_joint": 0,
        "journeys": 0,
        "transactions": 0
      },
      "at_192": {
        "calls": 428,
        "messages": 135,
        "rest_joint": 1,
        "journeys": 0,
        "transactions": 4
      },
      "change": {
        "decisions": 380,
        "messages": 115,
        "joint_rest": 1,
        "journey_legs": 0,
        "trades": 4
      }
    }
  ],
  "totals": {
    "A": {
      "decisions": 1152,
      "messages": 277,
      "joint_rest": 32,
      "journey_legs": 4,
      "trades": 5
    },
    "B": {
      "decisions": 2943,
      "messages": 1057,
      "joint_rest": 36,
      "journey_legs": 26,
      "trades": 19
    }
  },
  "model_compute": {
    "common": {
      "calls": 384,
      "input_tokens": 1340506,
      "output_tokens": 68869,
      "prefill_plus_generation_ns": 2940710765982
    },
    "A": {
      "calls": 1152,
      "input_tokens": 4404893,
      "output_tokens": 194508,
      "prefill_plus_generation_ns": 8934999127895
    },
    "B": {
      "calls": 2943,
      "input_tokens": 11485331,
      "output_tokens": 505144,
      "prefill_plus_generation_ns": 23253995385689
    }
  },
  "compute_method": "Sum response.prompt_eval_duration and eval_duration, in nanoseconds, in each physical calls/NNNN.json. Count the shared history once. Statistics cross-check: full-long-life/statistics.json.",
  "technical_report": {
    "document": "Long-Life Run results",
    "file_sha256": "8c0964c6780fe67258e4caa38579695f78d8e3d05dbeeba687cfaa01366b831a",
    "excerpts": [
      {
        "lines": "10–23",
        "verbatim": "## Study design\n\nEach separately seeded root ran for 24 game-days from a common initial template.\nEach root's day-24 world was copied into A and B. Within a pair, the branches used\nthe same starting world and the same continuation seed, with identical first\nmodel prompts verified at the cohort gate. A and B then ran for 72 game-days each\nwith one or up to three serial resident decisions per tick. This yields\n`8 × (24 + 72 + 72) = 1,344` game-days across common histories and continuations.\nThe A/B comparison uses 576 game-days per arm. Ticks 49–192 contain the branch\ndecisions. Terminal tick 193 settles the last day without a model call.\n[Registration](long_life_results/long-life-20261118-r01-r08/registration.json) ·\n[Architecture](ARCHITECTURE.md)\n\nThe independent analysis units are the eight root pairs. They share a template,"
      },
      {
        "lines": "31–43",
        "verbatim": "## Verified A/B outcomes\n\n| Continuation outcome | A | B | Median paired B−A |\n| --- | ---: | ---: | ---: |\n| Delivered messages | 277 | 1,057 | 66.5 |\n| Same-tick replies | 0 | 237 | 24 |\n| Re-encounters after verified separation | 1 | 10 | 0.5 |\n| Re-encounters where both spoke | 1 | 10 | 0.5 |\n| Decisions on non-speech actions citing past experience with the same peer | 94 | 120 | 4.5 |\n| Journeys started | 4 | 26 | 2 |\n| Joint rest | 32 | 36 | 0 |\n| Solo rest | 13 | 74 | 7 |\n| Committed trades | 5 | 19 | 0.5 |"
      },
      {
        "lines": "62–73",
        "verbatim": "## Compute and integrity\n\n| Phase | Qwen calls | Input tokens | Output tokens | GPU prefill + generation (min) | Messages per 100 calls |\n| --- | ---: | ---: | ---: | ---: | ---: |\n| Shared histories | 384 | 1,340,506 | 68,869 | 49.0 | 34.6 |\n| A | 1,152 | 4,404,893 | 194,508 | 148.9 | 24.0 |\n| B | 2,943 | 11,485,331 | 505,144 | 387.6 | 35.9 |\n| Total | 4,479 | 17,230,730 | 768,521 | 585.5 | — |\n\nThe 4,479 calls consumed 89.7% of the 4,992-call budget. B used 2.55 times A's\ncalls and about 2.60 times its measured GPU prefill and generation time.\nGPU seconds are the sums of timings reported by Ollama while Qwen was fully"
      }
    ]
  }
}
[8]A matched intervention on one saved offer

Experiment 72, evidence/registration.json and evidence/{Immediate,Delayed,Priority}-{6317007,7317207}/result.json. All six branches share the same source world and journal hashes. The buyer saw offer 10 in every branch, at tick 136 in Immediate and tick 137 in the deferred conditions. The common in-world cutoff was the transition to tick 139.

The extract includes the recorded buyer choice, whether it applied, any validation error and the receipt-based endpoint for each branch. Two seeds within one archived situation supply a case study of timing.

Inspect the embedded records
{
  "study": "Experiment 72",
  "registered_design": {
    "code": "4f5a2bf3e2331bde4b88f4d69917c6e1409e2a19",
    "seeds": [
      6317007,
      7317207
    ],
    "arms": [
      "Immediate",
      "Delayed",
      "Priority"
    ],
    "start": 136,
    "expiry_tick": 139,
    "offer_id": 10,
    "width": 3,
    "contrast": "Remove Smith's round 2 at tick 136 but retain one round for the ordinary next eligible resident. Priority may move Smith to first at tick 137 only while independently legal; no additional seat.",
    "same_horizon": "Complete ticks 136 through 138, observe the expiry transition to tick 139 without new choices.",
    "same_compute": "After CPU controls, match the first five post-offer calls, or the largest shared prefix below five. Keep these prefixes separate from complete horizons."
  },
  "comparison_source": "comparisons.csv",
  "comparison_sha256": "2fe4900a919a6f95504d94a49e5a0467e789de81ccac323962aca4389f6805f9",
  "results": [
    {
      "source": "evidence/Immediate-6317007/result.json",
      "sha256": "5dd598138d9cf3c37a874b832f76ae4bac04da5da6533c9419394321be58d624",
      "condition": "Immediate",
      "seed": 6317007,
      "same_horizon": {
        "outcome": "purchased",
        "opportunity_count": 1,
        "first_offer_tick": 136
      },
      "choice": {
        "tick": 136,
        "ordinal": 2,
        "selection": "local:take:10",
        "applied": true,
        "error": null
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    },
    {
      "source": "evidence/Immediate-7317207/result.json",
      "sha256": "82655be6d61ea98b5eeecfe3502721e6067114a9de741a347a790699405a5e5e",
      "condition": "Immediate",
      "seed": 7317207,
      "same_horizon": {
        "outcome": "purchased",
        "opportunity_count": 1,
        "first_offer_tick": 136
      },
      "choice": {
        "tick": 136,
        "ordinal": 2,
        "selection": "local:take:10",
        "applied": true,
        "error": null
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    },
    {
      "source": "evidence/Delayed-6317007/result.json",
      "sha256": "7d4e294642052e89d88dc3bdfc9501428f71ece03fc9b8d7543bff3a18ee41e0",
      "condition": "Delayed",
      "seed": 6317007,
      "same_horizon": {
        "outcome": "offered_not_taken",
        "opportunity_count": 1,
        "first_offer_tick": 137
      },
      "choice": {
        "tick": 137,
        "ordinal": 2,
        "selection": {
          "search_memories": "merchant offer crate price terms"
        },
        "applied": true,
        "error": null
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    },
    {
      "source": "evidence/Delayed-7317207/result.json",
      "sha256": "a622b179d623416c7374241807f9879333a9645fc2ed909bfa25dcbf4291adb5",
      "condition": "Delayed",
      "seed": 7317207,
      "same_horizon": {
        "outcome": "presented_but_no_valid_response",
        "opportunity_count": 1,
        "first_offer_tick": 137
      },
      "choice": {
        "tick": 137,
        "ordinal": 2,
        "selection": {
          "search_memories": "merchant offer crate"
        },
        "applied": false,
        "error": "ValueError: Choose a memory lookup or a notebook operation"
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    },
    {
      "source": "evidence/Priority-6317007/result.json",
      "sha256": "241adc770acef414f73c0527d906559e07836ed7c0725cd7178b3c09dcd94959",
      "condition": "Priority",
      "seed": 6317007,
      "same_horizon": {
        "outcome": "offered_not_taken",
        "opportunity_count": 1,
        "first_offer_tick": 137
      },
      "choice": {
        "tick": 137,
        "ordinal": 1,
        "selection": {
          "search_memories": "merchant offer crate price terms"
        },
        "applied": true,
        "error": null
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    },
    {
      "source": "evidence/Priority-7317207/result.json",
      "sha256": "7dda49427500cb20ef7ff7d2a3fbfc48f1daeb2576581eab859efd8cba2a7017",
      "condition": "Priority",
      "seed": 7317207,
      "same_horizon": {
        "outcome": "presented_but_no_valid_response",
        "opportunity_count": 1,
        "first_offer_tick": 137
      },
      "choice": {
        "tick": 137,
        "ordinal": 1,
        "selection": {
          "search_memories": "merchant offer crate"
        },
        "applied": false,
        "error": "ValueError: Choose a memory lookup or a notebook operation"
      },
      "state_hashes": {
        "world.sqlite": "b8775c1fd6c9dd4bfa028f804fcfeecdff77c3dec6308b5544298caf5a2118f6",
        "journal.sqlite": "4677274fe4241ae3df95c317378caf184c1fc73753bc81f756d729d34f025f1a"
      }
    }
  ]
}