{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-accepts-a-federated-peer-s-policy-digest-before-the-trust-anchor-has-been-pinned",
  "title": "What happens when an instance accepts a federated peer's policy digest before the trust anchor has been pinned",
  "date_of_record": "2026 December 1",
  "scope": "Applies to cross-org agent federations where an inbound peer presents a signed policy bundle (capability grants, rate limits, data-classification tags) during handshake, and the receiving instance negotiates effective permissions before the trust anchor for that peer's issuing authority is durably pinned. Does not apply to intra-org meshes sharing a single root CA, nor to stateless request/response RPC where no negotiated policy artifact survives the call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-policy-digest-before-the-trust-anchor-has-been-pinned.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-policy-digest-before-the-trust-anchor-has-been-pinned.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-accepts-a-federated-peer-s-policy-digest-before-the-trust-anchor-has-been-pinned.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1664,
    "python_slice_tokens": 240,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"an untrusted peer got in.\" It is subtler: the instance *correctly* verified the peer's signature against a certificate chain, *correctly* parsed the policy bundle, and *correctly* negotiated an effective permission set — but it did so against a **transient trust anchor** that was resolved, cached, and consumed within a single handshake tr...",
    "what_was_observed": "Two federated orgs, `alpha` (caller) and `beta` (callee). `beta` runs a policy-negotiation endpoint behind a load balancer fronting three negotiation replicas, each holding a short-lived anchor cache (TTL 300s) populated from `beta`'s root-of-trust service. Trace: 1. `alpha` agent `A1` initiates handshake. `beta` replica `R1` resolves `alpha`'s issuing CA from its anchor cache — cache miss, fetches from root-of-trust...",
    "condition_of_validity": "This failure requires all of the following to hold simultaneously: - The federation permits **anchor rotation** without re-pinning (i.e., the peer's issuing authority is resolvable dynamically, not pinned at enrollment). - The negotiated policy digest is **not bound to an anchor fingerprint** in the artifact the caller retains — the binding exists only insid...",
    "decision_boundary": "The boundary is **where the anchor binding is committed**. Two architectures sit on either side: - **Verify-then-discard (fails):** validate chain → compute `P_eff` → emit digest → drop chain. The digest is a hash of the *policy*, not of the *(policy, anchor)* pair. Re-negotiation is indistinguishable from tampering. - **Pin-then-bind (holds):** resolve anch...",
    "operational_effect": "Without the pin, cross-org federations accumulate **anchor-rotation privilege drift**: each rotation cycle is a chance for the effective permission set to widen, and the widening is invisible to runtime auth logs because every individual handshake succeeded. The drift is bounded only by the frequency of rotation and the breadth of each anchor version's defau..."
  },
  "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": "2825c6e0574d91beb7e58b8fa9f5b0a90648a6a681c1f1cbe60459f8987d650a",
    "verified_classes": [
      "AnchorBindingError",
      "PolicyGrant"
    ],
    "verified_functions": [
      "compute_digest",
      "negotiate",
      "revalidate_on_resume"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AnchorBindingError"
    ],
    "sample_fail_closed_invariants": [
      "policy digest mismatch under stable anchor; possible tampering"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
