Pith.

Computation and Language · arXiv:2609.20625 v1 · submitted 17 Sep 2026 · 25 references

Chronicle: Cut-Point Replay for Regression Testing of LLM Agents

Tisha Chawla, Susheem Koul

The paper says

“Large language model responses are non-deterministic, so failures in LLM agents are hard to reproduce: a failure depends on inference that is not bitwise reproducible, on tools that read changing state, and on a multi-step trajectory that a re-run rarely repeats.”

more of the abstract

Record-and-replay makes a run reproducible, but existing agent tooling records runs only to trace or score them, not to test a code change against them. We present Chronicle, which records an agent run at its non-deterministic boundaries as immutable envelopes and replays it from the record. Its central operation, cut-point replay, serves a chosen subset of boundaries from the record and executes the complementary subset live with new code, turning a recorded incident into a regression test that runs in continuous integration. On a benchmark of 6 recorded failures with simulated model boundaries, recording adds 23 {\mu}s per crossing (0.008% of an assumed 300 ms model call), full replay issues zero model calls and is bit-stable across 20 repetitions, and cut-point tests fail on faulty code and pass on guarded and benign changes for all 6 incidents. In a mutation study of the guarded tools, cut-point tests catch every mutant that lets the recorded unsafe action through, while a baseline that stubs every boundary, using the same assertion, catches none. Chronicle and the benchmark are publicly available at https://github.com/theagentplane/chronicle.

from the abstract

Pith says

Machine review · deepseek-v4-flash · 20 Sep 2026 · what was read was not recorded · not checked by a person

It can be wrong. Challenge this review or reply to it.

Holds up, with conditions. Chronicle's cut-point replay is a practical idea for LLM agent testing, but the evaluation uses only deterministic simulated boundaries, so the core claim about non-deterministic replay is unvalidated. This line is wrong

2 major objections · 6 minor

How often objections from reviews like this one are right: not yet measured

Are you an author? What you can do.

Not checked: figures, code, what the 25 references say.

The paper says, at Abstract and Section 4

The review did not quote this passage.

Pith says: Objection 1 of 2 · major

The paper is motivated by non-determinism of LLM responses, yet the evaluation uses deterministic simulated model boundaries (Section 4: 'All 6 agents use deterministic simulated boundaries'). The Limitations section states this openly, but the abstract and introduction present the system as solving the non-determinism problem.

more of objection 1

The mechanism is conceptually valid regardless of the source of the record, but the paper does not show that a recorded trace from a real (non-deterministic) provider can be faithfully replayed. A single end-to-end experiment with a real LLM provider (e.g., recording one of the incidents using a live model and then verifying that the full replay and cut-point test behave as expected) would significantly strengthen the claim. If such an experiment is not feasible, the claims in the abstract and introduction should be scoped to deterministic settings, and the gap should be acknowledged more prominently in the evaluation section.

The paper says, at Section 4 and Limitations

The review did not quote this passage.

Pith says: Objection 2 of 2 · major

The benchmark consists of only 6 incidents, each with exactly three steps (model-tool-model). The paper identifies loops, retries, and multi-agent routing as the scenarios that 'motivate this work' (Limitations), but these are absent from the evaluation. The per-name count check may suffice for straight-line trajectories, but it will not catch order-swapping across boundaries of the same name, and it is …

more of objection 2

… unclear how it behaves when the number of crossings changes in complex loops (e.g., an extra model call due to a retry). The paper should discuss how Chronicle is expected to handle these scenarios and, ideally, provide at least one example (even simulated) that includes a loop or a retry.

6 minor objections

The paper says, at Section 3.2

Pith says: minor objection 1 of 6

The sentence 'An order-sensitive digest over the stubbed crossings would close this gap cheaply; it is not part of the release evaluated here.' describes a known limitation (count-preserving reorder). Consider moving this statement to the Limitations section for clarity.

The paper says, at Table 1

Pith says: minor objection 2 of 6

The 'Guard' column entries are very terse (e.g., 'flat cap', 'currency check'). Adding a brief explanation (e.g., 'refund capped at $500') would help the reader understand the scenarios without cross-referencing the text.

show 4 more

The paper says, at Figure 2

Pith says: minor objection 3 of 6

The caption reads 'Cut-point replay (trade-notional fixture).' The term 'trade-notional' is not defined in the caption; consider adding 'see Table 1' or a short description.

The paper says, at Section 5, Mutation study

Pith says: minor objection 4 of 6

The discussion of survivors is clear, but the number of mutants that change output fields deliberately ignored by the assertion (31) is worth stating explicitly in the text (it is implied but not enumerated).

The paper says, at Section 5, Determinism

Pith says: minor objection 5 of 6

The statement 'Because the benchmark's model boundaries are simulated, this validates the replay mechanism rather than reproduction under a nondeterministic provider' is good. Consider adding a brief note that recording overhead was also measured against a real model (Qwen3.5 4B), which shows that the overhead is negligible even under real provider latency.

The paper says, at References

Pith says: minor objection 6 of 6

Some entries (e.g., Feng et al. 2025, Lin et al. 2026) have only arXiv identifiers; ensure that proceedings information is included where available for consistency.

What would settle it

Apply Chronicle to a new incident recorded with a real non-deterministic LLM (e.g., GPT-4o-mini via API). Record the trace, then run full replay 5+ times; verify that all structural assertions pass and any non-deterministic divergence is zero. Run cut-point replay with the tool live; confirm it fails on unguarded code and passes on the guarded fix. If replay fails or test outcomes differ from the deterministic-stub baseline, the central claim weakens.

from the skeptic's reading

How the review went

4 readings by deepseek-v4-flash · 20 Sep 2026

  1. Reader holds up, with conditions confidence moderate
  2. Skeptic agrees 22 s · 8,881 tokens read, 2,049 written
  3. Editor wrote the verdict above 14 s · 9,686 tokens read, 1,344 written
  4. Referee minor revision: 2 major objections, 6 minor 40 s · 9,202 tokens read, 3,414 written

Not run on this paper: the simulated authors' defence.

Pith did not check this review's objections against the paper.

The review in full

The review in brief, machine-written

The idea is neat and the implementation looks clean, but the evaluation is too narrow to support the headline claim. The mechanism—record at non-deterministic boundaries, then selectively replay a chosen subset live while stubbing the rest—is genuinely new and addresses a real pain point for agent developers. The paper explains the design well, the code is public, and the recording overhead measurements (23 µs per crossing) are solid. The mutation study also demonstrates that cut-point testing catches faults that full stubbing misses, which is a concrete win.

Now the soft spots, and they are the same ones the stress-test note flags. The entire evaluation uses deterministic simulated model boundaries. The paper's motivation is that LLM responses are non-deterministic and hard to reproduce, yet the only experiment that touches real non-determinism is the recording overhead measurement on Qwen3.5—which tests recording latency, not replay fidelity. The paper honestly states this limitation, but the central claim that Chronicle 'turns a recorded incident into a regression test that runs in CI' implicitly assumes the mechanism works under the non-determinism it was designed for. Without any measurement of replay faithfulness or cut-point test outcomes when the recording came from a real LLM, the main contribution is unverified for its intended scenario.

Also, the benchmark is tiny: six three-step incidents without loops, retries, or multi-agent routing—exactly the complexity that motivates the work. The authors acknowledge this, but it means the evidence is preliminary. The claim is not wrong, just undersupported.

Who this is for: developers of LLM agents who want regression testing. The idea is worth knowing about, but practitioners should not adopt based on this evidence alone.

I would accept peer review—the paper is coherent and the mechanism is sound—but the authors need to add experiments with a real non-deterministic LLM provider and larger benchmarks before publication.

The strongest objection

The paper's central motivation is that LLM responses are non-deterministic, making failures hard to reproduce. Chronicle's cut-point replay is presented as the solution: record at non-deterministic boundaries, then replay with a chosen live subset. However, the experimental evaluation uses deterministic simulated boundaries (Section 4: 'All 6 agents use deterministic simulated boundaries'). Full replay and cut-point tests are never measured against a live non-deterministic LLM provider. The paper explicitly states this limitation ('Determinism here is partly by construction…so we do not measure reproduction on a live non-deterministic provider'), but the claim is that the system 'turns a recorded incident into a regression test that runs in continuous integration'—a claim that implicitly assumes the mechanism works under the non-determinism it is designed to address. Without evidence that replay remains faithful or that cut-point tests give correct outcomes when the recording came from a real LLM, the central contribution is unverified for its primary scenario. The concern is not that the mechanism is flawed, but that the evidence does not support the claim at the claimed level of generality.

The reader's weakest assumption was that determinism is partly by construction, and therefore the paper does not measure reproduction on a live non-deterministic provider. I share that assessment. This is the single most load‑bearing concern because the entire problem statement and claimed benefit hinge on handling non‑determinism, yet the evaluation deliberately avoids it. The mechanism is theoretically sound and the implementation is clear, so a CONDITIONAL verdict is appropriate: accept if the system is intended for simulated environments, but condition on future validation with real providers if the broader claim is to stand. I do not change the verdict because the paper is honest about its limitations and the conditional nature reflects the evidence.

The referee's report

If the approach generalises, it would give practitioners a principled way to turn production incidents into committed regression tests that run cheaply in CI. The mechanism is clean (selective replay at semantic boundaries), the overhead is negligible, and the open-source release supports reproducibility. However, the evaluation is limited to small, self-constructed incidents with deterministic simulated model boundaries; the benchmark contains no loops, retries, or multi-agent routing. The paper does not validate that recording and replay remain faithful when the trace originates from a real non-deterministic LLM provider. The significance for real-world deployment is therefore promising but not yet established by the evidence presented.

Pith's reading of the paper (a machine's summary, not the authors')

Chronicle proposes cut-point replay, a method that records an LLM agent run at its non-deterministic boundaries as immutable envelopes. During replay, a developer can choose which boundaries to serve from the record (stubbed) and which to run live with new code (cut-point). This transforms a recorded failure into a deterministic regression test that can run in continuous integration. On a benchmark of six simulated failures, full replay is bit-stable with zero model calls, and cut-point tests correctly identify all unsafe code changes that a baseline of stubbing every boundary cannot detect. The paper argues this is a practical approach to regression testing of LLM agents.

What carries the argument. The central object is the 'cut-point replay' plan. A developer annotates boundaries (model calls, tool calls, routing decisions) with @boundary. During recording, each crossing is stored as an immutable envelope containing its input, output, and metadata, indexed by boundary name and occurrence number. During replay, a ReplayPlan specifies which crossings to stub (return recorded envelope) and which to run live. The replay enforces a per-boundary call-count check: if a stubbed boundary is crossed a different number of times than recorded, replay fails. This mechanism allows the developer to test a tool gate or routing change against the recorded trajectory while keeping the rest of the run deterministic.

Core claim. The paper's central discovery is that cut-point replay—selectively replaying recorded non-deterministic boundaries while running others live—can turn a single recorded agent failure into a deterministic regression test that catches code changes that reintroduce the failure, without requiring additional model calls and even when the baseline of stubbing every boundary fails to detect any unsafe change. This is demonstrated on six incidents where cut-point tests killed 51 mutants of the guarded tools while full-stub killed none.

The premise it rests on. The central assumption is that a recorded boundary's output depends only on its recorded input and not on hidden state (like clock or database), so replaying a stubbed boundary from its envelope is faithful. For non-deterministic boundaries like model calls, the paper uses deterministic stubs in the benchmark, so it does not test whether replay would reproduce the same behavior when the actual LLM provider is non-deterministic.

If the paper is right (Pith's inferences, not the authors')

A single recorded incident (trace + assertion) becomes a CI regression test with zero model cost, enabling thousands of replays per commit.

Cut-point tests can detect unsafe tool behaviors that stubbing every boundary cannot, because the tool code actually executes against recorded arguments.

The per-boundary count check prevents stubbed boundaries from drifting silently when the agent's control flow changes, flagging the fixture for re-recording.

Full replay is bit-stable and costs no provider calls, making it suitable for deterministic verification of glue code between boundaries.

The approach reduces reliance on hand-written mocks in agent testing, replacing them with real recorded inputs and outputs drawn from a past incident.

The method's effectiveness depends heavily on the quality and coverage of recorded traces; a single-incident fixture may miss code paths that a different input would trigger, so multiple fixtures per component would be needed for thorough regression testing.

The per-name call-count check does not catch reorderings that preserve each boundary's count, so adding an order-sensitive digest over the stubbed crossings would strengthen the guarantee in practice.

Applying cut-point replay to production agent failures at scale would require reliable redaction of sensitive data in envelopes and versioning of envelope schemas as agent contracts evolve.

The benchmark's use of deterministic simulated model boundaries means the paper does not validate reproduction fidelity under a real non-deterministic LLM provider, which could affect trust in the replay's faithfulness when applied to live incidents.

Check this review

Pith stored no record of this review's passes and took no fingerprint of it. Reviews made by code from 13 Nov 2026 on carry both.

How often reviews like this one are right

Reviews like this one: written by deepseek-v4-flash, where what was read was not recorded.

How often objections from reviews like this one are right: not yet measured

Every value above, in the review's public record (JSON)

Reviews by people

This review was written by a machine. No person has reviewed this paper on Pith yet. A scientist listed on Pith can review it for a fee, and their review is published here whatever it concludes.

Request a human review

How Pith checks papers · The full audit of this paper

The paper

Abstract

Large language model responses are non-deterministic, so failures in LLM agents are hard to reproduce: a failure depends on inference that is not bitwise reproducible, on tools that read changing state, and on a multi-step trajectory that a re-run rarely repeats. Record-and-replay makes a run reproducible, but existing agent tooling records runs only to trace or score them, not to test a code change against them. We present Chronicle, which records an agent run at its non-deterministic boundaries as immutable envelopes and replays it from the record. Its central operation, cut-point replay, serves a chosen subset of boundaries from the record and executes the complementary subset live with new code, turning a recorded incident into a regression test that runs in continuous integration. On a benchmark of 6 recorded failures with simulated model boundaries, recording adds 23 {\mu}s per crossing (0.008% of an assumed 300 ms model call), full replay issues zero model calls and is bit-stable across 20 repetitions, and cut-point tests fail on faulty code and pass on guarded and benign changes for all 6 incidents. In a mutation study of the guarded tools, cut-point tests catch every mutant that lets the recorded unsafe action through, while a baseline that stubs every boundary, using the same assertion, catches none. Chronicle and the benchmark are publicly available at https://github.com/theagentplane/chronicle.

The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. No sentence in this record was written by a model.

abstract compiled · 2026-09-23

The authors' main claim, as the classifier picked it out 0.65

“On a benchmark of 6 recorded failures with simulated model boundaries, recording adds 23 {\mu}s per crossing (0.008% of an assumed 300 ms model call), full replay issues zero model calls and is bit-stable across 20 repetitions, and cut-point tests fail on faulty code and pass on guarded and benign changes for all 6 incidents.”

How the main claim is stated: asserted 1.00

What the abstract itself states, as probabilities: claims first 0.11 · states limitation 0.39 · human participants 0.03 · controlled comparison 0.94 · randomized assignment 0.02 · states quantitative result 0.99 · compares with prior results 0.94 · mentions code or data availability 0.99

The abstract, sentence by sentence

This table labels the abstract only (arXiv listing abstract v1). The number is the probability the classifier gave the label.

SentenceRoleThe authors' own workStates the main conclusionStrength
Large language model responses are non-deterministic, so failures in LLM agents are hard to reproduce: a failure depends on inference that is not bitwise reproducible, on tools that read changing state, and on a multi-step trajectory that a re-run rarely repeats. background 1.00 0.08 0.02 asserted 1.00
Record-and-replay makes a run reproducible, but existing agent tooling records runs only to trace or score them, not to test a code change against them. gap 0.91 0.07 0.04 asserted 1.00
We present Chronicle, which records an agent run at its non-deterministic boundaries as immutable envelopes and replays it from the record. contribution 0.99 0.92 0.17 asserted 1.00
Its central operation, cut-point replay, serves a chosen subset of boundaries from the record and executes the complementary subset live with new code, turning a recorded incident into a regression test that runs in continuous integration. method 0.87 0.81 0.23 asserted 1.00
On a benchmark of 6 recorded failures with simulated model boundaries, recording adds 23 {\mu}s per crossing (0.008% of an assumed 300 ms model call), full replay issues zero model calls and is bit-stable across 20 repetitions, and cut-point tests fail on faulty code and pass on guarded and benign changes for all 6 incidents. result 1.00 0.96 0.22 asserted 1.00
In a mutation study of the guarded tools, cut-point tests catch every mutant that lets the recorded unsafe action through, while a baseline that stubs every boundary, using the same assertion, catches none. result 1.00 0.96 0.16 asserted 1.00
Chronicle and the benchmark are publicly available at https://github.com/theagentplane/chronicle. contribution 0.87 0.50 0.02 asserted 0.98

What kind of paper the classifier reports this is: method or tool 1.00 · evidence from observation or experiment 0.96

What was examined, and what was not

Sources read

  • arXiv listing abstract v1

Not examined

  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers

Levels run

  • P abstract

Not run

  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

How the labels were made

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-09-23: 1 request, 5,841 input tokens.

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. This record as JSON

Figures (5)
Figure 2 of the paper
Figure 2. Cut-point replay (trade-notional fix￾ture): agent[1] stubbed; place_order[1] and agent[2] live; stubbed crossings return their recorded outputs. Incident Unsafe result Guard Refund refund sized to order id flat cap Invoice wrong currency sent currency check Trade notional read as shares notional cap Email audience too broad recipient allowlist Payout account substituted account check Deletion production file removed delete gate
Figure 3 of the paper
Figure 3. Full replay: every boundary returns its recorded envelope (0 model calls; bit-stable over 20 reps). agent[1] stub model place_order[1] live tool agent[2] stub model live tool; models stubbed
Figure 4 of the paper
Figure 4. Any subset may be live: tool live, both model
Figure 5 of the paper
Figure 5. Boundary indexing: the two model cross￾ings are addressed as agent[1] and agent[2], by boundary name and occurrence rather than by global step number

Showing 4 of the paper's 5 figures. Figures are the authors', reproduced from the paper.

References (25)
  1. [1] 2026 , howpublished = on Pith
  2. [2] At. Non-determinism of ``deterministic''. Proceedings of the 5th Workshop on Evaluation and Comparison of NLP Systems (Eval4NLP) , year = on Pith
  3. [3] Balusu, Krishna Chaitanya , title =. Proceedings of the 3rd ACM International Conference on AI-Powered Software (AIware), Data and Benchmark Track , year = on Pith
  4. [4] Cemri, Mert and Pan, Melissa Z. and Yang, Shuyi and Agrawal, Lakshya A. and Chopra, Bhavya and Tiwari, Rishabh and Keutzer, Kurt and Parameswaran, Aditya and Klein, Dan and Ramchandran, Kannan and Zaharia, Matei and Gonzalez, Joseph E. and Stoica, Ion , title =. arXiv preprint... on PithPith's reviewarXiv
  5. [5] Debenedetti, Edoardo and Zhang, Jie and Balunovi. Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track , year = on Pith
  6. [6] Deshpande, Darshan and Gangal, Varun and Mehta, Hersh and Krishnan, Jitin and Kannappan, Anand and Qian, Rebecca , title =. arXiv preprint arXiv:2505.08638 , year = on PithPith's reviewarXiv
  7. [7] Feng, Erhu and Zhou, Wenbo and Liu, Zibin and Chen, Le and Dong, Yunpeng and Zhang, Cheng and Zhao, Yisheng and Du, Dong and Hua, Zhichao and Xia, Yubin and Chen, Haibo , title =. arXiv preprint arXiv:2505.17716 , year = on PithPith's reviewarXiv
  8. [8] Hashemi, Negar and Tahir, Amjed and Rasheed, Shawn and Shi, August and Blagojevic, Rachel , title =. IEEE International Conference on Software Testing, Verification and Validation (ICST) , year = on Pith
  9. [9] Hora, Andre and Robbes, Romain , title =. IEEE/ACM International Conference on Mining Software Repositories (MSR) , year = on Pith
  10. [10] Kang, Dong Ho and Cha, Hyeonjeong and Weon, Daein , title =. arXiv preprint arXiv:2606.14805 , year = on PithPith's reviewarXiv
  11. [11] Kohl, Jens and Kruse, Otto and Mostafa, Youssef and Luckow, Andre and Schroer, Karsten and Riedl, Thomas and French, Ryan and Katz, David and Luitz, Manuel P. and Takher, Tanrajbir and Friedl, Ken E. and Laurent-Winter, C. Automated structural testing of. IEEE International Co... on Pith
  12. [12] Lam, Wing and Winter, Stefan and Wei, Anjiang and Xie, Tao and Marinov, Darko and Bell, Jonathan , title =. Proceedings of the ACM on Programming Languages , volume = on Pith
  13. [13] Lin, Xiaofeng and Wang, Yingxu and Kwok, Tung Sum Thomas and Guo, Daniel and Nale, Sahil Arun and Fleming, Charles and Cheng, Guang , title =. arXiv preprint arXiv:2606.09071 , year = on PithPith's reviewarXiv
  14. [14] Ma, Ming and Zhang, Jue and Yang, Fangkai and Kang, Yu and Lin, Qingwei and Rajmohan, Saravan and Zhang, Dongmei , title =. arXiv preprint arXiv:2512.06749 , year = on PitharXiv
  15. [15] Norman, Justin D. and Rivera, Michael U. and Hughes, D. Alex , title =. arXiv preprint arXiv:2606.19544 , year = on PithPith's reviewarXiv
  16. [16] O'Callahan, Robert and Jones, Chris and Froyd, Nathan and Huey, Kyle and Noll, Albert and Partush, Nimrod , title =. 2017 USENIX Annual Technical Conference (USENIX ATC 17) , year = on Pith
  17. [17] Ou, Tianyue and Guo, Wanyao and Gandhi, Apurva and Neubig, Graham and Yue, Xiang , title =. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: System Demonstrations , year = on Pith
  18. [18] promptfoo: Test and evaluate. 2026 , howpublished = on Pith
  19. [19] Schick, Timo and Dwivedi-Yu, Jane and Dess. Toolformer: Language models can teach themselves to use tools , booktitle = on Pith
  20. [20] Shah, Jaineet , title =. arXiv preprint arXiv:2606.08275 , year = on PithPith's reviewarXiv
show 5 more
  1. [21] Temporal: Durable execution and deterministic workflow replay , year = on Pith
  2. [22] Yao, Shunyu and Shinn, Noah and Razavi, Pedram and Narasimhan, Karthik , title =. arXiv preprint arXiv:2406.12045 , year = on PithPith's reviewarXiv
  3. [23] Yao, Shunyu and Zhao, Jeffrey and Yu, Dian and Du, Nan and Shafran, Izhak and Narasimhan, Karthik and Cao, Yuan , title =. International Conference on Learning Representations (ICLR) , year = on Pith
  4. [24] Zheng, Lianmin and Chiang, Wei-Lin and Sheng, Ying and Zhuang, Siyuan and Wu, Zhanghao and Zhuang, Yonghao and Lin, Zi and Li, Zhuohan and Li, Dacheng and Xing, Eric P. and Zhang, Hao and Gonzalez, Joseph E. and Stoica, Ion , title =. Advances in Neural Information Processing ... on Pith
  5. [25] Zhou, Shuyan and Xu, Frank F. and Zhu, Hao and Zhou, Xuhui and Lo, Robert and Sridhar, Abishek and Cheng, Xianyi and Ou, Tianyue and Bisk, Yonatan and Fried, Daniel and Alon, Uri and Neubig, Graham , title =. International Conference on Learning Representations (ICLR) , year = on Pith
Cited by 3 Pith papers

Challenges and discussion

Disagree with the review, or know something it missed? Leave a comment, or challenge this review formally: a challenge becomes a permanent entry in this paper's record, and its decision is published here.

No comments yet.

Sign in to comment