{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-trust-anchor-substitution-from-silently-re-rooting-a-federated-agent-mesh",
  "title": "Which invariants prevent trust-anchor substitution from silently re-rooting a federated agent mesh",
  "date_of_record": "2026 November 18",
  "scope": "Applies to cross-organizational agent federations where capability attestations are verified against a set of named trust anchors and reputation is exchanged as signed claims. Does not apply to single-tenant meshes with a single trust root, nor to purely ephemeral sessions where reputation is not persisted across attestation epochs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-trust-anchor-substitution-from-silently-re-rooting-a-federated-agent-mesh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-trust-anchor-substitution-from-silently-re-rooting-a-federated-agent-mesh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-trust-anchor-substitution-from-silently-re-rooting-a-federated-agent-mesh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1458,
    "python_slice_tokens": 313,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a forged attestation is accepted.\" That is a signature-verification failure and is caught by standard cryptographic checks. The non-obvious boundary is **trust-anchor substitution**: a peer presents a *valid* attestation chain whose terminal anchor has a different identifier than the anchor the verifier expected, but the chain is non...",
    "what_was_observed": "A federation of four organizations exchanged capability attestations for a \"settlement\" capability. Organization C rotated its trust anchor and published the new anchor to a discovery endpoint. During the rotation window, Organization A's verifier refreshed its anchor set from discovery and appended C's new anchor to its in-memory set without removing the retired one. A peer agent operated by an unaffiliated party pr...",
    "condition_of_validity": "The invariant \"accepted chain ⇒ anchor ∈ anchor set\" is only sound when the anchor set is **epoch-bound and non-monotonic**. Specifically: - The anchor set must carry an explicit epoch identifier, and an attestation must declare the epoch under which it was issued. - Refresh must *replace* the set for the new epoch, not union it with the prior epoch, except ...",
    "decision_boundary": "The operational decision is where to enforce the epoch binding. Two placements are defensible: - **At the verifier**, rejecting any attestation whose declared epoch is closed. Cheap, but requires every verifier to track epoch state and creates a distributed consistency problem across organizations. - **At the anchor registry**, refusing to countersign reputa...",
    "operational_effect": "After enforcing epoch-bound, non-monotonic anchor sets and binding reputation provenance to the attestation's anchor epoch, the substitution path closed. The measurable effect: the count of distinct accepted terminal anchors per epoch dropped from an unbounded growing set to exactly the pinned set size, and the eleven-day stale-root window collapsed to the b..."
  },
  "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": "8a637994f10f82ab463f0a1c62b670379416ab021c881aeb0aa928868a81b172",
    "verified_classes": [
      "TrustAnchorEpochError",
      "AnchorSet"
    ],
    "verified_functions": [
      "grant_capability",
      "__init__",
      "close_epoch",
      "verify_attestation",
      "verify_reputation_claim"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "TrustAnchorEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
