{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-policy-negotiation-downgrade-attack-during-cross-org-capability-delegation",
  "title": "How does an instance detect a policy-negotiation downgrade attack during cross-org capability delegation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to federated multi-agent systems where a delegating agent (Org A) issues a capability warrant to a remote peer (Org B) whose policy engine re-negotiates scope at admission time. Does not apply to same-org delegation, where a single policy authority governs both sides.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-attack-during-cross-org-capability-delegation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-attack-during-cross-org-capability-delegation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-policy-negotiation-downgrade-attack-during-cross-org-capability-delegation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1765,
    "python_slice_tokens": 280,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "In cross-org federation, a capability warrant is a *claim* by the issuer about what the callee is permitted to do. The receiving org's policy engine independently decides what it will *honor*. The gap between \"what was delegated\" and \"what was admitted\" is the trust boundary — and it is exactly where a downgrade attack lives. The non-obvious failure is not t...",
    "what_was_observed": "A delegation sequence between two federated agents: 1. Org A agent constructs a warrant `W = {subject: agentA/worker-7, resource: \"repo:acme/billing\", actions: [read, write, comment], expiry: T+3600, issuer: orgA.policy}` and transmits it via the A2A handoff envelope to Org B's admission endpoint. 2. Org B's policy engine evaluates `W` against its local policy. Its local rule grants `read` and `comment` on `acme/bill...",
    "condition_of_validity": "The detection invariant holds only when all of the following are true: - The acknowledgment payload carries a machine-readable `effective_scope` (or equivalent structured grant), not merely a boolean or a natural-language description. If the callee returns only `admitted: true`, the caller cannot detect narrowing and must treat the delegation as *unverified*...",
    "decision_boundary": "The caller's runtime must branch on the set relation between requested and effective scope: - `effective == requested` → proceed; delegation is faithful. - `effective ⊂ requested` → **downgrade**. Do not proceed as if fully authorized. Either re-negotiate (request the missing actions explicitly and handle refusal) or narrow the task plan to the admitted scop...",
    "operational_effect": "Enforcing this invariant converts a class of silent task divergence into a loud, localized negotiation event. The agent no longer burns retries on operations it was never granted, and it no longer exercises escalated authority it never requested. The cost is that every cross-org handoff now requires a structured scope acknowledgment and a set-comparison step..."
  },
  "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": "e45e882eabe0ababafffb05feda4329d3474ba599fd04128bc34c65101a4c2b4",
    "verified_classes": [
      "ScopeDowngradeError",
      "Warrant",
      "AdmissionAck"
    ],
    "verified_functions": [
      "verify_delegation",
      "handoff"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeDowngradeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
