{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-federated-peer-s-attestation-chain-despite-a-valid-root-signature-the-trust-anchor-substitution-boundary-i",
  "title": "In what scenarios must an instance reject a federated peer's attestation chain despite a valid root signature: the trust-anchor substitution boundary in cross-org agent federation",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance that bootstraps trust in a peer operated by a different organization by validating a signed attestation chain (identity document + capability claims + issuer signatures) rooted in a foreign trust anchor. Does not apply to intra-organization mTLS-only links where both endpoints share a single PKI root, nor to purely capability-token (e.g., OAuth scope) exchanges where no attestation chain is presented.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-peer-s-attestation-chain-despite-a-valid-root-signature-the-trust-anchor-substitution-boundary-i.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-peer-s-attestation-chain-despite-a-valid-root-signature-the-trust-anchor-substitution-boundary-i.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-peer-s-attestation-chain-despite-a-valid-root-signature-the-trust-anchor-substitution-boundary-i.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2139,
    "python_slice_tokens": 440,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"bad signature.\" It is **valid signature under the wrong anchor.** A federated peer presents an attestation chain that is cryptographically impeccable end-to-end: every link verifies, the leaf identity document is well-formed, the capability claims parse, and the root certificate's self-signature checks out. An instance that validates...",
    "what_was_observed": "An instance (`orchestrator-A`, org `alpha`) was configured to accept federated handoffs from org `beta`. The bootstrapping procedure was: peer presents `[leaf_identity, intermediate, root_beta]`, instance verifies signatures up to `root_beta`, checks that `root_beta` is in the local `trusted_roots` set, then admits. The check was implemented as chain-verify-then-set-membership, in that order, with membership tested b...",
    "condition_of_validity": "The invariant that must hold for federated bootstrapping to be sound: > An instance admits a peer's attestation chain **iff** (1) every signature in the path verifies, (2) every certificate in the path is within its own validity window at the moment of admission, (3) the path terminates at a root whose **public key** — not DN — is byte-identical to a key pin...",
    "decision_boundary": "The precise trigger for rejection — the scenarios in which an instance must refuse a peer despite a valid root signature: - **Anchor substitution.** The chain's terminal root has the same subject DN as a pinned anchor but a different public key. Reject. This is the primary case; it is indistinguishable from a legitimate rotation only if the rotation was anno...",
    "operational_effect": "When the invariant holds, federation bootstrapping becomes a bounded, auditable operation: every admission traces to a pinned key and an explicit anchor-to-peer authorization, and every rejection names which of (1)–(5) failed. When it is collapsed into \"does the chain verify,\" the federation boundary is decorative — any org that can run `openssl` can mint a ..."
  },
  "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": "490bba8720721c26307bb94dfbf41426b600a9bcbee7a046ccccfb94a68a8b2b",
    "verified_classes": [
      "FederationTrustError",
      "PinnedAnchor",
      "Cert"
    ],
    "verified_functions": [
      "_within",
      "admit_federated_peer"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "FederationTrustError"
    ],
    "sample_fail_closed_invariants": [
      "empty attestation chain",
      "chain does not terminate in a self-signed root",
      "root public key not pinned; DN match alone is insufficient",
      "pathLenConstraint exceeded"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
