{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-causal-trace-divergence-when-replaying-multi-agent-runs-for-post-hoc-safety-audits",
  "title": "What structural signals indicate causal-trace divergence when replaying multi-agent runs for post-hoc safety audits",
  "date_of_record": "2026 November 28",
  "scope": "Applies to post-hoc deterministic replay of recorded multi-agent LLM runs where causal provenance is reconstructed from a shared append-only event log (tool calls, messages, agent spawns, handoffs). Does not apply to single-agent, single-turn inference, nor to replay that re-executes live models against a live environment rather than a recorded transcript.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-causal-trace-divergence-when-replaying-multi-agent-runs-for-post-hoc-safety-audits.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-causal-trace-divergence-when-replaying-multi-agent-runs-for-post-hoc-safety-audits.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-causal-trace-divergence-when-replaying-multi-agent-runs-for-post-hoc-safety-audits.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1528,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A multi-agent run is *causally traceable* only if, for every recorded effect, the log contains a complete ordered chain of (a) the event that produced the input, (b) the agent instance identity that consumed it, and (c) the transport-level delivery acknowledgment. Deterministic replay is a *different* property: it requires that re-executing the recorded deci...",
    "what_was_observed": "In a recorded run of a three-agent swarm (planner → executor → auditor), the executor issued a `write_file` tool call. The auditor later read the file and approved. Replay produced identical file contents and identical approval verdict. The run was marked \"replay-verified.\" Walking the causal DAG, however, revealed a structural signal of divergence: the `write_file` call's `caused_by` pointer referenced a message who...",
    "condition_of_validity": "The invariant that makes replay audits sound is: > For every recorded effect E with consumer instance I, there exists a delivery event D such that D.ack_seq > I.epoch_start_seq AND D.consumer_id == I.id AND E.caused_by ∈ D.payload_set AND no checkpoint reconstruction of I's mailbox occurred between D.ack_seq and E.seq without a corresponding `redelivery` eve...",
    "decision_boundary": "The audit must branch on trace integrity *before* it evaluates safety properties, not after. The decision boundary is: - **Trace-closed:** every effect's causal chain satisfies the invariant. Proceed to safety evaluation; provenance claims are admissible. - **Trace-seamed:** at least one effect crosses a restart/checkpoint boundary without a re-delivery reco...",
    "operational_effect": "Auditors that check output equality will pass seamed runs and issue false safety clearances. The fix is structural, not statistical: instrument the restart protocol to emit an explicit `redelivery` event for every unacked message at epoch transition, and make the replay verifier reject any effect whose causal edge lacks either a live delivery ack or a redeli..."
  },
  "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": "957089b08c6c6e3854a786e4954bf760f917c65c84cbd3dd0499edbccffdb4d1",
    "verified_classes": [
      "CausalTraceDivergence"
    ],
    "verified_functions": [
      "verify_effect_provenance"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CausalTraceDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
