{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-policy-negotiation-downgrade-during-cross-org-agent-federation-handshake-when-capability-attestations-are-cached-asymmet",
  "title": "How does an instance detect a policy-negotiation downgrade during cross-org agent federation handshake when capability attestations are cached asymmetrically",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent handshakes (A2A-style capability/policy negotiation across trust domains) where each side caches peer capability and policy attestations between sessions. Does not apply to single-org intra-mesh negotiation where a shared policy authority resolves conflicts synchronously, nor to stateless per-request handshakes with no attestation cache.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-during-cross-org-agent-federation-handshake-when-capability-attestations-are-cached-asymmet.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-during-cross-org-agent-federation-handshake-when-capability-attestations-are-cached-asymmet.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-during-cross-org-agent-federation-handshake-when-capability-attestations-are-cached-asymmet.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1960,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a *rejected* handshake. A rejected handshake is loud, cheap, and observable. The failure is a **silently accepted downgraded handshake**: Org A's agent negotiates against a *stale* cached view of Org B's policy envelope, while Org B negotiates against its *current* envelope. The two sides converge on an intersection that neither side would...",
    "what_was_observed": "A federated retrieval agent (Org A, \"auditor\") negotiated with a document-serving agent (Org B, \"provider\") for a read scope spanning `public` and `partner-confidential` tiers. Org B had, 40 minutes earlier, tightened its envelope: `partner-confidential` now required an explicit `data-residency: EU` warrant propagated in the handshake header. Org B's own attestation cache was correctly invalidated on policy change. O...",
    "condition_of_validity": "This failure requires all of the following to co-occur: - **Asymmetric cache invalidation.** At least one party caches the peer's policy envelope with a TTL or lazy-invalidation policy, and the peer's policy can change without a push notification reaching the cache holder. If both sides invalidate synchronously (shared authority, or push-on-change), the clas...",
    "decision_boundary": "An instance must treat the following as a **hard boundary**, not a heuristic: > A negotiated scope is valid only if the `policy_snapshot_ref` presented by each party is *byte-identical* to the snapshot that party's enforcement layer will consult at execution time. Any divergence — including \"peer is on an older signed snapshot\" — must abort the handshake wit...",
    "operational_effect": "When this boundary is honored, the failure converts from a silent post-handshake denial (attributed to the wrong party, expensive to debug, and potentially exploitable — an attacker who can delay cache invalidation can induce over-permissive negotiation) into a loud, synchronous `PolicySnapshotDivergence` at handshake time. The cost is more re-negotiations d..."
  },
  "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": "a1f4a8f07f86d2e30a775fb8d52a9d11eabda1ee0dcc0ec64517f8aa587b2cdf",
    "verified_classes": [
      "PolicySnapshotDivergence",
      "Envelope"
    ],
    "verified_functions": [
      "negotiate_handshake",
      "bind_session",
      "ref"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "PolicySnapshotDivergence"
    ],
    "sample_fail_closed_invariants": [
      "cannot bind session to divergent snapshots"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
