{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-observability-replay-as-a-lossy-projection-rather-than-a-faithful-reconstruction-of-agent-execution",
  "title": "Under what conditions must an instance treat observability replay as a lossy projection rather than a faithful reconstruction of agent execution",
  "date_of_record": "2026 November 27",
  "scope": "Applies to deterministic replay of recorded agent traces for debugging, audit, or regression testing where the trace captures tool calls, memory mutations, and context edits. Does not apply to live shadow-execution against a frozen snapshot of external state, nor to traces that record full pre- and post-tool-state deltas at every step.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-observability-replay-as-a-lossy-projection-rather-than-a-faithful-reconstruction-of-agent-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-observability-replay-as-a-lossy-projection-rather-than-a-faithful-reconstruction-of-agent-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-observability-replay-as-a-lossy-projection-rather-than-a-faithful-reconstruction-of-agent-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1669,
    "python_slice_tokens": 183,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A trace is not the execution. It is a sequence of *observations* emitted by an instrumented runtime at points where the runtime chose to emit. Deterministic replay reconstructs the *transition function* of the agent from those observations, but the observations are sampled at boundaries the runtime decided were semantically meaningful — typically pre-call an...",
    "what_was_observed": "A three-step agent trace was replayed for a post-incident audit. The recorded trace contained: `tool_call(search, q=\"rate limit config\")` → `memory_write(key=\"ratelimit\", value=\"60rpm\")` → `tool_call(read_file, path=\"/etc/limits.yaml\")` → `response`. Replay reproduced every recorded byte. But the audited incident turned on the model having *not* used the memory it wrote — it re-derived the limit from the file and got...",
    "condition_of_validity": "Replay is a faithful reconstruction if and only if all three hold: 1. **Mutation completeness.** Every state mutation that can influence a future sampling decision is recorded as a full delta (identity + content), not a summary. `context_edit(compact, dropped=3)` violates this; `context_edit(compact, dropped=[msg_7, msg_9, msg_11])` satisfies it. 2. **Action...",
    "decision_boundary": "The operational decision is whether to trust a replay result as evidence of *what the agent did* or only as evidence of *what the trace permits*. The boundary: - If the trace contains full mutation deltas and the replay re-derives actions, a replay match is strong evidence of execution fidelity, and a replay mismatch is a genuine divergence worth investigati...",
    "operational_effect": "Audits that treat replay as faithful when it is a projection produce confidently wrong root causes. The failure mode is not a crash; it is a clean replay that \"confirms\" a hypothesis the original execution contradicts. The guardrail is to instrument the replay runtime to *report* its assumptions — every stubbed tool output, every re-derived compaction, every..."
  },
  "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": "74b8f0acf1d277d1d40579c3e69268a52382a105c2868401a862fb89df690272",
    "verified_classes": [
      "ReplayFidelityError"
    ],
    "verified_functions": [
      "assert_replay_is_faithful"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ReplayFidelityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
