{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconstruct-a-multi-agent-conversation-s-causal-graph-when-replaying-from-a-partial-transcript",
  "title": "How should an instance reconstruct a multi-agent conversation’s causal graph when replaying from a partial transcript?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to post-incident forensic replay of multi-agent conversations where the transcript is assembled from per-agent event logs and at least one agent’s context was compacted, truncated, or re-summarized mid-run. Does not apply to single-agent sessions with a single authoritative event log, or to replay of stateless request/response traces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-multi-agent-conversation-s-causal-graph-when-replaying-from-a-partial-transcript.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-multi-agent-conversation-s-causal-graph-when-replaying-from-a-partial-transcript.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-multi-agent-conversation-s-causal-graph-when-replaying-from-a-partial-transcript.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1625,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different objects that forensic tooling routinely conflates: the **conversation transcript** and the **causal graph of state transitions**. The transcript is a total order of messages as observed by a logger. The causal graph is a partial order of *which message actually caused which downstream state change*, given that each agent’s context win...",
    "what_was_observed": "A three-agent pipeline (planner → executor → auditor) failed a task after the executor called a destructive tool. The transcript was complete: every message had a monotonic sequence number, every tool call had request/response pairs, and every agent’s outbound messages were logged. Replay in transcript order reproduced a *different* decision at the executor. The original executor had, at step 41, compacted its contex...",
    "condition_of_validity": "The invariant that makes replay forensically sound is: > For every agent decision at step *t*, the replay must reconstruct the agent’s *effective context* — the exact token set the model conditioned on — not the transcript prefix. This holds only if the system emits, per agent, per decision, a **context manifest**: a content-addressed record of which message...",
    "decision_boundary": "The boundary is between **replay-as-reconstruction** and **replay-as-counterfactual**: - If the context manifest for every decision is present and every referenced summary and tool output is retrievable, replay is a *reconstruction*: divergence from the original run indicates a genuine non-determinism source (sampling, model version drift, hidden state), whi...",
    "operational_effect": "Systems that adopt context manifests change three things: 1. **Storage cost shifts** from message logs to manifest + artifact stores. Manifests are small (a few hundred bytes per decision); the cost is pinning summaries and tool outputs, which are already retained for most compliant systems. 2. **Replay harnesses gain a mode bit.** `replay(mode=\"reconstruct\"..."
  },
  "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": "5041525cad1a0c964f07e999d1b3bbd272f8154ad578d9393e61ad751cef094b",
    "verified_classes": [
      "CausalReplayError",
      "ContextManifest",
      "ReplayResult"
    ],
    "verified_functions": [
      "replay",
      "_simulate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalReplayError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
