{"id":"ab017411-e0f2-43d3-9c3f-0d99443a9e8c","arxiv_id":"2610.16280","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":2,"one_line_summary":"Agent-risk provides provable conditions for when existing logs can certify a change to a deployed AI agent and when more evidence is needed.","lead":"This paper introduces a framework for assessing the risk of changes to deployed AI agents using existing logs. It provides theoretical conditions for when logs suffice to evaluate a change and when additional evidence (snapshots, reruns) is needed, then validates the method in a bash sandbox where logs alone could not decide retry gates but targeted execution matched live results with fewer agent calls.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Assumption (A2) (no anticipation) is critical for the replay decomposition; the paper acknowledges it is often violated and offers no general bounds, only paired-run detection. This leaves the framework conditionally applicable when agents can perceive the change.","rationale":"The reader correctly identifies (A2) as the weakest assumption, and the paper's own limitations confirm that no general solution is provided. As stress-tester, I find this concern to be the most load-bearing because it directly threatens the validity of the replay decomposition that underlies all theoretical results. The paper's empirical detection method is useful but does not bound risk, leaving the framework applicable only under conditions that are often unmet. I therefore agree with the reader's verdict of CONDITIONAL and see no reason to change it; the concern is already noted and the verdict appropriately reflects it.","tokens_in":60585,"tokens_out":3837,"duration_ms":40746,"concrete_test":"In the bash sandbox, conduct a controlled experiment where the retry gate is announced in the agent's prompt before deployment. Collect logs from an unannounced pass-all gate (as in the paper's design). Apply agent-risk to these logs to obtain identified risk intervals for the announced retry gate. Compare these intervals to the live risk under the announced gate (measured from a paired live run). If the intervals fail to cover the live risk (or if the difference exceeds the registered margin), this confirms that the lack of bounds under (A2) violation is a critical limitation. If they do cover, it would suggest that detection suffices in practice, but the theoretical gap remains.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The entire replay decomposition (2) relies on (A2): the agent does not change behavior because it knows about the change. The paper acknowledges that announced gates violate (A2) and shows detection via paired runs (Section 4.6), but explicitly states that 'bounds for agents that recognize oversight remain open' (Limitations). This is load-bearing because many real-world changes are announced or detectable by the agent (e.g., a new safety gate in the prompt, a visible tool restriction). Without (A2), the log may not represent the agent's trajectory under the change, invalidating the agree, stop, and continue split. The paper provides no general method to bound risk when (A2) fails, only a detection method that itself requires additional live runs. Thus the central claim that logs can assess risk before a change runs is contingent on an assumption that is often false. This is the single most important gap.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper presents 'agent-risk', a framework for assessing the risk of changes to deployed AI agents using existing logs. The key idea is to replay logged episodes under a proposed change (e.g., a stricter safety gate) and partition each episode into three cases: episodes that agree with the log, episodes where the change stops execution (settled by a declared stop value), and continuing episodes that may require additional evidence such as logged support, saved-state reruns, or bounds. The paper provides theoretical results on what logs must record for exact replay, the number of reruns needed to certify a harm level, and the minimal set of saved states for a family of threshold gates. The framework is validated empirically in a bash sandbox using about 49,000 episodes across 16 runs, where targeted execution from saved states matches live runs within pre-registered margins, while simpler readings misestimate harm and announced gates violate the no-anticipation assumption.","tokens_in":60886,"tokens_out":2553,"duration_ms":25683,"significance":"The paper addresses a timely and practically important problem: how to use existing logs to evaluate the risk of a proposed change to an AI agent before deploying that change. The formalization of the problem, the decomposition into agree/stop/continue cases, and the theoretical results on logging sufficiency, execution budgets, and snapshot design are novel and rigorous. The empirical verification is thorough, with registered predictions, frozen analyses, and independent recomputation. If the results hold, the framework could provide a principled basis for pre-deployment risk assessment in AI governance and insurance, saving significant computational resources compared to full live testing. The main limitation is the reliance on assumption (A2) (no anticipation), which the paper acknowledges and for which only detection (not bounds) is offered. Within its stated scope, the contribution is substantial.","major_comments":[{"comment":"The entire replay decomposition (Equation 2) and all subsequent theoretical results depend critically on assumption (A2) (no anticipation: the agent does not change its behavior because it knows about the change). The paper acknowledges that this assumption is often violated (e.g., announced gates) and provides only a detection method via paired runs, stating explicitly that 'bounds for agents that recognize oversight remain open' (Limitations). This is a load-bearing gap: for many real-world changes (e.g., a new safety gate added to the prompt, a visible tool restriction), (A2) fails, and the log may not represent the agent's trajectory under the change, invalidating the entire agree/stop/continue split. The paper provides no general method to bound risk when (A2) fails, only a way to detect that it has failed. This significantly limits the practical applicability of the framework. While acknowledging the limitation is commendable, the paper should more clearly state for which classes of changes the framework is applicable (those where the agent cannot perceive the change) and discuss potential extensions or workarounds.","section":"Section 2.4, Limitations","authors_acknowledge":"Paired runs with and without the announcement expose this violation (Section 4.6); bounds for agents that recognize oversight remain open.","authors_acknowledge_p":0.94},{"comment":"The empirical verification relies on pre-registered equivalence margins (0.03 for stopping gates, 0.02 for the bash retry gate, 0.015 for the two-gate run) that are chosen without formal justification. The paper states that the margins are 'registered' but does not explain how they were selected or whether the decisions (approve/decline a gate) are robust to small changes in these margins. Given that the observed differences between the identified and live harm probabilities are all positive (0.001 to 0.008, within the margins), a sensitivity analysis showing how the conclusions change with tighter margins would strengthen the empirical claims.","section":"Section 4, Registered margins","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The empirical validation uses honest agents from a single open-weight model family (Qwen3-14B and Qwen3.5-27B) in two specific environments (bash sandbox, airline booking). The paper acknowledges that 'the demonstrations use honest agents (not evading oversight)' and that generalization to other models, settings, or adversarial agents is untested. This limits the external validity of the empirical results. The paper should discuss what additional evidence would be needed to generalize the conclusions (e.g., testing with models trained to recognize oversight, or in environments with different failure modes).","section":"Table 2, Table D.2, Limitations","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The bottom row of Figure 1 displays equation (2), but the notation P_0 for the baseline law and P_κ for the changed law is not defined until Section 2. Consider adding a brief definition in the caption or referring forward to Section 2.","section":"Section 1, Figure 1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The definition of the identified set Θ_κ_t(r) in equation (1) uses the notation P_κ_{M}, but the subscript M is not explicitly defined in the main text (it is introduced later in Appendix A.2). Clarify that M indexes models in the family M_0.","section":"Section 2.4, Equation (1)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The statement of Proposition 3.1 uses the notation g_#P for the law of the log and g^{-1}(y) for the set of paths producing log value y. While these are defined in the text, a brief verbal explanation of the fibre condition would improve readability for non-specialists.","section":"Section 3.2, Proposition 3.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The phrase 'the simpler readings misestimated it' (Table 2) could be clearer: specify which readings are meant (retry as stop, ignore gate, skip blocked) and provide the actual discrepancies in the text as well as the table.","section":"Section 4.1, paragraph on 'Retry Gates: Estimating Harm'","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The sensitivity analysis for (A3) notes that if stopped episodes later cause harm with probability p, the replayed P(harm) increases. This is important but appears only in the appendix. Consider adding a brief mention in the main text (Section 3.1 or 4.1) to remind readers that the stop value is an assumption, not a measured quantity.","section":"Appendix D.3, Sensitivity to the abort valuation (A3)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The reference list is extensive and includes many relevant works. However, some entries appear to be preprints or non-archival sources. The paper should indicate which references have been published in peer-reviewed venues, as is common practice.","section":"References","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The paper builds a rigorous bridge from classical partial identification and off-policy evaluation to the practical problem of approving changes to deployed AI agents using existing logs.  The theoretical results are well stated and proved—the logging condition (Proposition 3.1), the restoration threshold (Appendix F.8), and the snapshot design for threshold families (Proposition F.10.1) are genuine contributions.  The empirical work is unusually thorough: pre-registered analyses, frozen predictions before reading live data, matched comparisons, and independent recomputation.  The core idea of partitioning each episode into agree/stop/continue and showing what each case needs is clean and useful.  Credit is due for shipping code and reproducible artifacts.\n\nThe paper's central soft spot is one it acknowledges but does not solve: assumption (A2), that the agent does not anticipate the change.  This assumption is load-bearing—every replay decomposition and the entire agree/stop/continue split depend on it.  The paper explicitly states that an announced gate violates (A2) and that “bounds for agents that recognize oversight remain open” (Limitations).  It shows detection via paired runs, but provides no general method to bound risk when (A2) fails, which is common in practice (e.g., a prompt change or a visible tool restriction).  This limits the framework's applicability to changes that are truly invisible to the agent, which is a narrow but non-trivial subset.  The stop value (A3) is declared but untested for harm, which is honest but leaves a practical gap.  The experiments use one model family (Qwen) in one sandbox (bash) plus an airline environment; generalizability is not claimed but remains modest.\n\nFor a researcher working on agent safety or deployment governance, this paper provides a formal vocabulary and partial bounds that are worth understanding.  The execution-cost bounds and stratified sampling are technically interesting.  The key open question is how to extend the framework to cases where the agent can detect the change.  I would recommend sending this to peer review—the work is serious, the math is correct, and the limitations are stated.  The authors should be asked to either tighten the treatment of (A2) (e.g., by providing worst-case bounds when anticipation is possible, or by characterizing when it can be safely ignored) or to make the detection approach more operational.  Conditional on that, the paper could become a reference for evidence-based change approval.","headline":"Solid formal framework for log-based risk assessment of agent changes, but load-bearing assumption (A2, no anticipation) is acknowledged as often violated yet left unresolved beyond detection.","tokens_in":61396,"tokens_out":1331,"duration_ms":15201},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"A replay-based framework determines what risk evidence existing logs can and cannot provide about a proposed change to a deployed AI agent, and specifies what additional evidence (log fields, saved states, targeted reruns) is needed when…","keywords":["risk assessment","AI agents","partial identification","log replay","approval gate","targeted execution","evidence design","AI safety"],"falsifier":"Run a controlled experiment with two conditions: in one, the gate is unannounced (standard replay), and in the other, the gate is announced in the agent's system prompt. If the replayed harm probability from the unannounced log underestimates the live announced-gate harm by more than the registered margin in a consistent manner, the framework under (A2) would fail to certify the announced change correctly. The paper's paired announcement test (Section 4.6) provides a template.","tokens_in":62058,"feed_emoji":"📋","tokens_out":5124,"duration_ms":50194,"temperature":0.7,"pith_summary":"Before approving a change to a deployed AI agent (e.g., a stricter safety gate or a new model), an organization must assess its risk, starting from existing logs of the current system. Classical risk analysis assumes full observation and no interference, but agent logs are partial and the change itself can alter agent behavior. This paper introduces agent-risk, a framework that replays logged episodes under the proposed change, proving that the log settles episodes where the agent acts before the change (agree), a declared stop value settles stopped episodes, and the remaining continuation episodes need logged support, a snapshot rerun from a saved state, or a worst-case bound. The paper derives what fields a log must record for exact replay, which saved states suffice for a family of threshold gates, and bounds on the number of reruns needed to certify a harm level. In a bash sandbox with 7,200 episodes, logs alone could not decide either of two retry gates, but targeted execution from snapshots reached both live decisions at half the agent calls of a live test sized post hoc.","feed_headline":"Framework tells what logs prove about agent changes","feed_subtitle":"A replay-based framework identifies what existing logs can and cannot settle about proposed changes, and what extra evidence to gather.","key_machinery":"The key machinery is deviation replay: on each logged episode, the framework recomputes the new rule's actions on the recorded inputs up to the first step where the new rule differs from the logged rule (the first deviation). This partitions the episode into one of three cases: agree (no deviation – the log outcome applies), stop (the deviation is a terminal stop – a declared stop value determines the loss), or continue (the deviation is continuing – the outcome is unresolved and requires additional evidence such as a supported continuation via the g-formula, a snapshot rerun under restoration fidelity, or a worst-case bound). The theoretical results include Proposition 3.1 (logging sufficiency), Proposition A.4.1 (deviation replay decomposition), Proposition A.5.1 (supported continuation), Propositions F.8.1–F.8.2 (execution bounds), and Proposition F.10.1 (minimal snapshots for a threshold family).","core_discovery":"The paper's central discovery is a formal decomposition of a proposed agent change's risk into three components – agree, stop, continue – each with a different evidence requirement. For a change that satisfies invariance (nothing else changes) and no anticipation (the agent does not know about the change), replaying logged episodes under the new rule separates episodes into: those where the new rule agrees with the log (settled by the log's outcome), those where the new rule stops the episode (settled by a declared stop value), and those where the new rule continues past a deviation (needing logged support, a snapshot rerun, or a bound). The paper proves logging sufficiency (Proposition 3.1), showing what a log must preserve to settle agree and stop contributions, and derives execution bounds (Propositions F.8.1–F.8.2) relating restoration error, reruns, and certification. Empirically, the framework correctly estimated harm for two retry gates in a bash sandbox, matching live gate harm within 0.015, while simpler readings failed.","pith_inferences":["Because the no-anticipation assumption (A2) is violated as soon as the agent perceives the change (e.g., an announced gate), practical deployment will require either a convincing argument that the agent cannot detect the change or a robust bounding strategy that widens the identified set to cover possible behavioral shifts – the paper's paired-run detection (Section 4.6) is a first step but not a ","The snapshot-design result for threshold families (Proposition F.10.1) implies that a logging infrastructure could proactively store snapshots at open running maxima, turning a post-hoc analysis into an online evidence-collection protocol that supports many future gate thresholds with minimal storage.","The restoration-error analysis (Lemma F.7.2) suggests that a deployer who can quantify total-variation distance between restored and live behavior can factor that error into certified bounds, turning a common challenge – restored runs not perfectly matching live conditions – into a manageable component of the risk statement."],"forward_implications":["Deployers can use the logging-sufficiency condition (Proposition 3.1) to design log schemas that guarantee replay can settle agree and stop contributions for any future stricter gate.","For retry gates, the framework shows that logs alone cannot certify harm, but targeted execution from a small set of first-deviation snapshots can match live-test decisions at roughly half the agent calls.","The execution-bound results (Propositions F.8.1–F.8.2) give a principled way to determine how many continuation runs are needed to certify a harm ceiling, trading off restoration error and sample size.","The stratified-execution extension (Appendix F.9) shows the framework can be adapted to handle non-independent episodes with different costs and restoration errors across strata."],"supporting_citations":[{"why":"Provides the scenario-risk specification framework that the paper extends with partial observation and intervention.","marker":"(Kaplan and Garrick, 1981)"},{"why":"Supplies the g-formula for causal inference that the paper uses for supported continuation.","marker":"(Robins, 1986)"},{"why":"Introduces censoring at deviation for dynamic treatment regimes, which the paper adapts for deviation replay.","marker":"(Cain et al., 2010)"},{"why":"Provides the partial-identification bounds that the paper applies to continuing episodes.","marker":"(Manski, 2003)"},{"why":"Establishes logged replay for evaluation, which the paper specializes to agent changes.","marker":"(Li et al., 2011)"},{"why":"Describes resampling from logged monitor scores, a technique the paper compares against.","marker":"(Bhatt et al., 2025)"},{"why":"Provides the ControlArena bash sandbox used for empirical demonstrations.","marker":"(Inglis et al., 2025)"}],"fun_headline_variants":["Three-way risk check for AI agent changes","What logs settle about agent updates","Replay framework reveals log gaps","Agree, stop, continue: agent change test","Log evidence limits for agent changes"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The agent must not change its behavior because it knows about the proposed change (no anticipation, A2). The paper acknowledges this is often violated (e.g., an announced gate changes abort rates) and provides no general method for bounding risk when it fails.","fun_headline_variants_meta":{"raw":{"variants":["Three-way risk check for AI agent changes","What logs settle about agent updates","Replay framework reveals log gaps","Agree, stop, continue: agent change test","Log evidence limits for agent changes"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":5.5e-05,"raw_usage":{"cost":5.470136e-05,"is_byok":false,"cost_details":{"upstream_inference_cost":5.470136e-05,"upstream_inference_prompt_cost":3.75928e-05,"upstream_inference_completions_cost":1.710856e-05},"total_tokens":1203,"prompt_tokens":980,"completion_tokens":223,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":160}},"tokens_in":980,"tokens_out":223,"cost_source":"openrouter_usage","duration_ms":3037,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":160,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-14T20:44:04.817612+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Run a controlled experiment with two conditions: in one, the gate is unannounced (standard replay), and in the other, the gate is announced in the agent's system prompt. If the replayed harm probability from the unannounced log underestimates the live announced-gate harm by more than the registered margin in a consistent manner, the framework under (A2) would fail to certify the announced change correctly. The paper's paired announcement test (Section 4.6) provides a template.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}