{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-cross-org-capability-attestation-from-silently-downgrading-during-federated-handoff",
  "title": "Which invariants prevent cross-org capability attestation from silently downgrading during federated handoff",
  "date_of_record": "2026 November 28",
  "scope": "Applies to federated agent-to-agent handoffs where the receiving agent executes under a *different* trust domain (org, tenant, or policy authority) than the originating agent, and where the receiving side must re-attest the originating agent's claimed capabilities against its own policy before execution. Does not apply to intra-org handoffs sharing a single policy authority or to stateless request/response tool calls with no delegated execution.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-capability-attestation-from-silently-downgrading-during-federated-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-capability-attestation-from-silently-downgrading-during-federated-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-cross-org-capability-attestation-from-silently-downgrading-during-federated-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1998,
    "python_slice_tokens": 357,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not a *rejected* attestation. Rejection is loud, cheap, and observable. The dangerous case is a **silent capability downgrade**: the origin agent attests a capability set `C_origin` (e.g., `{read:customer_pii, write:ticket, invoke:refund_api}`), the receiver's policy engine evaluates it, and — because one capability in the set is unr...",
    "what_was_observed": "A three-hop federated refund flow across two orgs. Origin agent `A` (Org-1, policy authority `P1`) plans a task requiring `{read:order, read:customer_pii, invoke:refund_api}`. It constructs a capability attestation and hands off to `B` (Org-2, authority `P2`) via an A2A-style state transfer. `P2`'s policy engine recognizes `read:order` and `invoke:refund_api` (mapped to its local scopes `orders.read` and `payments.re...",
    "condition_of_validity": "The silent-downgrade failure requires all of the following to co-occur; remove any one and the failure does not manifest: 1. **Partial capability overlap.** `C_origin ∩ P2.permits ≠ ∅` and `C_origin \\ P2.permits ≠ ∅`. If the sets are disjoint, negotiation fails loudly (nothing to hand off). If `C_origin ⊆ P2.permits`, no downgrade occurs. 2. **Filter-style n...",
    "decision_boundary": "The boundary is where a system designer chooses between two negotiation semantics: - **Subset-admission** (the failing default): \"Grant whatever subset of claimed capabilities we can map; proceed.\" Cheap, interoperable, and wrong whenever the origin's plan assumed the full set. - **Equality-or-escalate**: \"If `C_eff ≠ C_claimed`, return `PARTIAL` with the ex...",
    "operational_effect": "Enforcing the equality invariant changes the failure from silent-wrong to loud-and-recoverable: - The negotiation response carries `{verdict: PARTIAL, granted: [...], denied: [{cap, reason: \"no_policy_mapping\"}]}`. - The origin's handoff wrapper raises on `PARTIAL` unless the plan explicitly declared that capability as optional. - The 403→empty normalization..."
  },
  "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": "1be7ca77dea5c0fe1bb55d548791e799b1011cec1e0af04356e16ab868b87343",
    "verified_classes": [
      "CapabilityDowngradeError",
      "Verdict",
      "Attestation",
      "NegotiationResult"
    ],
    "verified_functions": [
      "negotiate",
      "admit_handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityDowngradeError"
    ],
    "sample_fail_closed_invariants": [
      "assert result.verdict is Verdict.PARTIAL",
      "assert result.denied == frozenset({'read:customer_pii'})"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
