Why does replaying a gateway-logged multi-turn conversation on a new model stop being faithful after the first turn that changes, and what do you replay instead?
answer
- the user answered the old reply
- history holds the old model's words
- fixed prefix, one turn at a time
- record the first divergence
- conversation outcomes need live users
basics
~20 sEach later user message reacts to the old model's reply, so once the candidate answers differently the logged next turn no longer follows. Replay each turn with the logged history as a fixed prefix, and record where the candidate first diverged.
solid answer
~50 sTurn one is a clean test: the candidate sees exactly what the incumbent saw. From turn two the logged history contains the incumbent's earlier replies, and the user's next message was a reaction to them. If the candidate's first reply differs, say it skips a clarifying question the incumbent asked, the logged user turn answers a question the candidate never asked, and splicing the candidate's reply into the history builds a conversation no user had. So I replay each turn separately with the logged history held fixed, which faithfully answers 'given this exact history, is the next reply acceptable', and I record the first turn where the candidate's reply diverges in substance, as an estimate of how often conversations would have gone differently. What the conversation would then have become needs live traffic, or a simulated user, which is a different and weaker test.
go deeper
Recall that every later user message was written in reply to the old model's answer, so it can stop making sense once that answer changes.
Explain fixed-prefix replay: each turn gets the logged history up to it, and only the next reply comes from the candidate.
Report turn-one and per-turn results and the first-divergence distribution, stop a turn when a tool call differs, and say what later-turn figures still distort.
Decide which conversational routes can be migrated on replay evidence and which need a staged live test before any switch.
A gateway logs each call of a conversation separately: the call for turn three carries the whole history so far, the user's three messages and the assistant's first two replies, and returns the third reply. Replaying a single request on a candidate model is straightforward. Replaying a **conversation** is not, because each turn depends on what came before it. ## Each turn conditions on the previous reply The logged user messages are not fixed facts about the user. Each one was written **in reaction to** the incumbent model's previous reply. Turn one is a clean test: the candidate sees exactly what the incumbent saw. From turn two on, the history contains the incumbent's earlier words, and the user's next message makes sense only against them. Once the candidate's reply differs in substance, the logged continuation no longer follows from what the candidate said. ## A worked example 1. The user writes: "I want to cancel my subscription." 2. The incumbent replied: "Which one: the team plan or your personal plan?" 3. The user answered: "The team one." 4. The incumbent then explained how cancelling the team plan affects the other seats. On replay, the candidate answers turn one differently: it assumes the personal plan and starts the cancellation steps for it. The logged turn two, "The team one", now answers a question the candidate never asked. If you splice the candidate's reply into the history and send "The team one" next, you get a conversation no user ever had, and whatever the candidate does with it says little about real users. ## Three ways to replay | Mode | What the candidate generates | Faithful? | What it measures | |---|---|---|---| | **Fixed prefix, per turn** | only the next reply, given the logged history up to it | yes, as a conditional test | given this exact history, is the next reply acceptable | | **Splice** | every assistant turn, building on its own replies | only until the first divergence | nothing reliable after the first changed turn | | **Simulated user** | its own replies, while another model plays the user | no, it is a new conversation | how the candidate handles a synthetic user; validity depends on the simulator | The default for a gateway replay is **fixed prefix, per turn**, plus a record of where each conversation **first diverged**. ## What fixed-prefix replay still distorts - **The history is in the incumbent's voice.** The candidate is asked to continue someone else's conversation, with someone else's style and choices. - **Earlier mistakes stay in the history.** If the incumbent's turn-two reply was wrong, the candidate on turn three may be marked down for correcting it or credited for staying consistent with it. - **Tool calls inside a turn.** If the candidate requests a different tool, or different arguments, the logged tool result answers the incumbent's call, not the candidate's. Stop that turn, record the divergence and compare the tool call itself. Running a candidate against recorded or stubbed tool responses is a job for agent evaluation harnesses, not for a gateway replay. - **Never execute.** Running the candidate's new tool calls against real systems from a replay can fire side effects and reads live data the original call never saw. ## How to report it - **Turn-one results** as the cleanest number: no inherited history at all. - **Per-turn results** for later turns, read as conditional checks rather than as conversation quality. - **The first-divergence distribution:** in what share of conversations, and at which turn, the candidate's reply first differed in substance. This is the replay's honest estimate of how often conversations would have gone differently. - **What the replay cannot give:** conversation-level outcomes, such as whether the user's problem was solved. Those need live traffic through a staged rollout, or a simulated-user evaluation with its own validity questions. ## Deciding what "differed in substance" means First divergence needs a rule, or every changed comma counts. Typical rules are a different action (a question asked or not asked, a tool called or not called), a different extracted value, or a semantic-similarity score below a threshold checked by hand on a sample. Pick one per route before the replay, so the divergence figure is not tuned after the results are in.
- Mid-turn, the candidate calls a different tool than the incumbent did. Can the replay continue with the logged tool result?No. The logged result answers the incumbent's call, so feeding it to the candidate invents a world where a different call returned that output. Stop the turn, record the divergence and compare the tool call itself; running a candidate against recorded or stubbed tools belongs to agent evaluation harnesses.
- Why can fixed-prefix replay still judge the candidate unfairly on later turns?The history is in the incumbent's voice and carries its choices and mistakes, so the candidate continues someone else's conversation. It may be marked down for correcting an earlier wrong reply or credited for staying consistent with it. Read turn-one results as the cleanest number and later turns as conditional checks.
Re-recording one actor's lines in a filmed scene: the other actor's next line was a reaction to the original delivery. Once the new line changes the meaning, the other actor's recorded reply no longer fits, and only a fresh take with both actors shows how the scene would really go.
- Splicing the candidate's own replies into the history reproduces the conversation.
- Logged user messages stay valid whatever the model said before them.
- Multi-turn replay is just single-turn replay repeated, with no extra care.
- A simulated user gives the same evidence as real users would.
- Logged tool results can be fed to the candidate even when it calls a different tool.