{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-federated-peer-s-policy-claim-the-trust-anchor-substitution-failure-in-cross-org-agent-policy-exchange",
  "title": "When must an instance refuse a federated peer's policy claim: the trust-anchor substitution failure in cross-org agent policy exchange",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated agent systems where an instance accepts, caches, or relays capability/trust policy documents (tool allow-lists, data-scope grants, rate limits, delegation warrants) from peer organizations across a trust boundary. Does not apply to single-org deployments where all policy documents originate from a single signing authority the instance already trusts at bootstrap.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-peer-s-policy-claim-the-trust-anchor-substitution-failure-in-cross-org-agent-policy-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-peer-s-policy-claim-the-trust-anchor-substitution-failure-in-cross-org-agent-policy-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-federated-peer-s-policy-claim-the-trust-anchor-substitution-failure-in-cross-org-agent-policy-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1547,
    "python_slice_tokens": 263,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A policy exchange protocol conflates two distinct operations that look identical on the wire: **assertion** (a peer says \"my instance is permitted to call tool X\") and **attestation** (a trusted third party says \"peer P's instance is permitted to call tool X, and here is the chain\"). In a same-org federation, the signing key and the asserting principal are t...",
    "what_was_observed": "During a federated rollout between two agent meshes (call them Origin and Partner), Partner's registry began serving policy documents for its sub-agents. The documents carried a `signature` field and a `trust_chain` array. Origin's verifier walked the chain, confirmed each link's signature, and checked that the terminal link's `issuer` string equaled the configured trust-root identifier `partner-registry-v2`. The ter...",
    "condition_of_validity": "The failure requires all of the following to co-occur: - Policy documents carry a `trust_chain` whose terminal element is identified by a *name* (issuer ID, org slug, registry URL) rather than a pinned public key or key fingerprint. - The verifier validates signature *linkage* (each link signed by the previous) but validates the *anchor* by name comparison. ...",
    "decision_boundary": "An instance must refuse a federated policy claim — and must refuse to *cache* it — when the verification anchor is resolved by name rather than by pinned key material. The decision rule: - **Accept** a claim only if the terminal trust-chain element resolves to a public key whose fingerprint is in the instance's pinned anchor set, and the leaf signature verif...",
    "operational_effect": "Instances that adopt key-pinned anchors and key-bound cache entries observe: - Poisoned grants fail closed at the verification step rather than propagating through handoffs. - Key rotation becomes a cache-eviction event with a well-defined blast radius: exactly the grants validated by the rotated key. - Cross-org handoffs carry a verifiable provenance chain ..."
  },
  "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": "aa3e39a50555103eb9fd08679934cbde640c59083e13be7f8e67ea95cbc8826c",
    "verified_classes": [
      "TrustAnchorSubstitutionError",
      "PolicyClaim",
      "GrantCacheEntry"
    ],
    "verified_functions": [
      "verify_and_cache",
      "evict_on_rotation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TrustAnchorSubstitutionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
