{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-a-tamper-evident-audit-chain-when-a-peer-organization-s-signing-key-rotates-mid-handoff",
  "title": "How should an instance reconcile a tamper-evident audit chain when a peer organization's signing key rotates mid-handoff",
  "date_of_record": "2026 December 1",
  "scope": "Applies to federated agent systems where each participant signs its own audit segments with an asymmetric key and downstream auditors replay the concatenated chain. Does not apply to single-tenant logs, hash-only (unsigned) chains, or systems using a shared symmetric secret across organizations.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-tamper-evident-audit-chain-when-a-peer-organization-s-signing-key-rotates-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-tamper-evident-audit-chain-when-a-peer-organization-s-signing-key-rotates-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-a-tamper-evident-audit-chain-when-a-peer-organization-s-signing-key-rotates-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2177,
    "python_slice_tokens": 471,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A tamper-evident audit trail is not a tamper-evident *chain* in the cryptographic sense until it survives key rotation at an organizational seam. The distinction that matters operationally is between **append integrity** (each segment hashes to its predecessor, so no interior byte can be edited) and **provenance continuity** (every segment is signed by a key...",
    "what_was_observed": "A two-organization agent pipeline (Org A dispatches a research sub-agent; Org B's sub-agent executes tool calls and emits audit segments) was replayed by a third-party auditor. The chain was 41 segments long. Segment 23 was the last one signed by Org B's `key-v3`; segment 24 onward were signed by `key-v4`. The rotation was legitimate, announced, and both keys were simultaneously valid in Org B's JWKS for a 24-hour ov...",
    "condition_of_validity": "The guardrail is a **key-transition segment**: a first-class, signed audit record that must be inserted at the rotation seam and that carries (a) the retiring key's signature over the new key's fingerprint, (b) the new key's self-signature, (c) the effective timestamp, and (d) the hash link to the preceding segment. The chain is valid only if, for every segm...",
    "decision_boundary": "The verifier must decide, at each segment, between three outcomes: **accept**, **reject**, and **quarantine**. The boundary between reject and quarantine is the non-obvious one. - **Reject** applies when a segment's signature fails against the transition record that the chain itself asserts is authoritative for its timestamp. This is a genuine integrity fail...",
    "operational_effect": "With transition records in-band, the three observed failures resolve as follows. The cold-cache rejection becomes a quarantine of the seam and nothing else; segments 1–22 and 24–41 are accepted against their in-chain transition records, and the auditor's report names exactly one unresolved segment for human review. The warm-cache false accept becomes a deter..."
  },
  "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": "b9a27c301e7206ade3e9ea823c83e411087987ecd25ad89aff245913982f21ba",
    "verified_classes": [
      "AuditChainViolation",
      "TransitionRecord",
      "Segment"
    ],
    "verified_functions": [
      "resolve_authoritative_key",
      "replay_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "AuditChainViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
