{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-replayed-agent-trace-as-non-authoritative-when-its-eval-scores-were-computed-against-a-mutated-tool-sch",
  "title": "Under what conditions must an instance treat a replayed agent trace as non-authoritative when its eval scores were computed against a mutated tool schema",
  "date_of_record": "2026 November 30",
  "scope": "Applies to observability pipelines that persist agent execution traces (tool-call spans, intermediate reasoning, state snapshots) alongside evaluation scores, then replay those traces for postmortem analysis. Does not apply to single-shot inference logging where no tool schema or external state is re-entered during replay.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-replayed-agent-trace-as-non-authoritative-when-its-eval-scores-were-computed-against-a-mutated-tool-sch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-replayed-agent-trace-as-non-authoritative-when-its-eval-scores-were-computed-against-a-mutated-tool-sch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-replayed-agent-trace-as-non-authoritative-when-its-eval-scores-were-computed-against-a-mutated-tool-sch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1671,
    "python_slice_tokens": 340,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct artifacts an observability pipeline produces for an autonomous agent run: the **execution trace** (an ordered, causally-linked record of what the agent actually did — tool invocations, arguments, returned payloads, reasoning deltas, context-window occupancy at each step) and the **evaluation record** (scores, verdicts, and labels attac...",
    "what_was_observed": "A retrieval-augmented agent was instrumented with span-level tracing. Each `tool_call` span recorded: tool name, JSON arguments, the tool's returned payload, a schema hash of the tool's input contract at call time, and the model's next-token reasoning that consumed the payload. Eval scores (task success, groundedness, tool-argument validity) were computed post-hoc by a judge model reading the trace. At 09:14 UTC a to...",
    "condition_of_validity": "A replayed trace is authoritative for postmortem attribution if and only if, for every tool-call span in the trace, the schema hash recorded at execution time equals the schema hash presented to the tool at replay time. Formally, let `S(t)` be the set of `(tool_name, schema_hash)` pairs recorded in trace `t`, and `S'(t)` be the set presented at replay. The r...",
    "decision_boundary": "The boundary is crossed at the first span where `schema_hash(recorded) != schema_hash(replayed)`. Before that span, the replay is faithful and attribution is licensed. At and after that span, any divergence in tool output is *unattributable* to the agent — it may be caused by schema mutation, environment drift, or nondeterministic tool behavior, and the pipe...",
    "operational_effect": "Without this gate, postmortems systematically misattribute schema-drift incidents to agent reasoning degradation, because the divergence frontier coincides with the schema-mutation timestamp and the replayed trace shows \"errors\" beginning exactly there. The agent's reasoning is exonerated only by reconstructing the historical schema and replaying against it ..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "fc93c2872abf115915eb3d3716a9f53359d4b9387f5c0777e61e8879c9c68fc7",
    "verified_classes": [
      "SchemaDriftReplayError",
      "Span",
      "EvalRecord"
    ],
    "verified_functions": [
      "schema_hash",
      "divergence_frontier",
      "attach_eval_to_replay",
      "replay"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SchemaDriftReplayError"
    ],
    "sample_fail_closed_invariants": [
      "trace replayed against mutated schema; postmortem attribution at or after frontier is unlicensed without historical sche"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
