{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-correlation-identifier-collapse-when-federated-audit-logs-cross-a-trust-domain-clock-boundary",
  "title": "How does an instance detect correlation-identifier collapse when federated audit logs cross a trust-domain clock boundary",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where audit records are emitted into per-domain log stores and later joined on a shared correlation identifier (trace ID, task ID, warrant ID) for cross-domain verification. Does not apply to single-domain logging or to systems that ship a single canonical event stream from one clock source.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-correlation-identifier-collapse-when-federated-audit-logs-cross-a-trust-domain-clock-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-correlation-identifier-collapse-when-federated-audit-logs-cross-a-trust-domain-clock-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-correlation-identifier-collapse-when-federated-audit-logs-cross-a-trust-domain-clock-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1890,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A correlation identifier is not a fact about causality; it is a *claim* that two records describe the same causal chain. In a federated audit fabric, that claim is only as strong as the weakest domain's identifier-generation path. The non-obvious failure is not identifier *loss* (a missing ID is trivially detected) but identifier *collapse*: two distinct cau...",
    "what_was_observed": "A three-domain deployment: an orchestrator domain (O), a tool-execution domain (T), and an auditor domain (A). Each domain minted correlation IDs as `{domain_prefix}-{epoch_ms}-{counter}`, where `counter` reset to zero on process restart and `epoch_ms` was bucketed to the nearest second to keep IDs short. The auditor joined records across domains on the full ID string. During a rolling restart of T, two tool-worker p...",
    "condition_of_validity": "The join-on-identifier invariant is valid only when the identifier is *globally unique across the federation for the lifetime of the audit retention window*. That requires one of: - A single minting authority (all IDs issued by O, propagated to T and A as opaque tokens). - A collision-resistant derivation that includes domain identity, process identity, and ...",
    "decision_boundary": "The boundary is between *detecting collapse at join time* and *preventing collapse at mint time*. Prevention is the only sound option; detection at join time is probabilistic and lossy. Prevention requires the minting domain to guarantee global uniqueness. If the federation cannot enforce a single minting authority, the next-best boundary is: **every audit r...",
    "operational_effect": "After the incident, the deployment moved to propagated causal tokens: O mints a 128-bit random `causal_root` at task creation, every downstream record carries it, and the auditor joins on `causal_root` with a hard requirement that all records sharing a `causal_root` also share a `warrant_id`. The duplicate-root warning was promoted to a hard failure *only wh..."
  },
  "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": "41d59b4b756aed3273fdfc9c33b8fa976d25404b42780071c74f18fbc0a79001",
    "verified_classes": [
      "CorrelationCollapseError",
      "AuditRecord"
    ],
    "verified_functions": [
      "join_federated_trace",
      "mint_causal_root"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CorrelationCollapseError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
