{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-the-attestation-scope-supersession-gap-in-mcp-a2a-handshakes",
  "title": "When must an instance refuse a delegated capability: the attestation-scope supersession gap in MCP/A2A handshakes",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent handshakes where a caller (agent A) presents a signed capability attestation to a callee (agent B) across MCP tool-invocation or A2A task-delegation boundaries, and the attestation is validated against a revocation/issuance ledger. Does not apply to single-tenant agents that hold capabilities from a static, in-process config with no external issuer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-the-attestation-scope-supersession-gap-in-mcp-a2a-handshakes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-the-attestation-scope-supersession-gap-in-mcp-a2a-handshakes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-the-attestation-scope-supersession-gap-in-mcp-a2a-handshakes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2046,
    "python_slice_tokens": 556,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential\" or \"forged signature.\" Both of those are caught by ordinary validation. The failure is **attestation-scope supersession**: a valid, correctly-signed, unexpired attestation whose *scope* was narrowed by a later issuance from the same issuer, where the callee never sees the narrowing because the narrowing lives in a ledg...",
    "what_was_observed": "A two-agent pipeline: orchestrator A (MCP client) calling tool-server B (MCP server) fronting a filesystem. A's system prompt instructs it to \"write intermediate artifacts to the workspace.\" During a long multi-step task, the human operator revoked A's broad write scope via the control plane, issuing a narrowed attestation. The control plane's ledger updated; A's context did not. A continued to present the original a...",
    "condition_of_validity": "The gap exists only when all of the following hold simultaneously: 1. **Asymmetric knowledge.** The issuer's ledger knows the current scope; the callee does not query it at enforcement time. If B fetches ledger state per call, the gap closes (at a latency cost). 2. **Attestation is bearer-held.** A carries the attestation in its context and presents it; the ...",
    "decision_boundary": "The architectural choice is where to place the supersession check. Three placements, each with a distinct failure profile: - **Callee-side per-call ledger fetch.** Closes the gap fully. Cost: one ledger round-trip per tool call, and a new failure — ledger unavailability now blocks all tool calls, converting a security property into an availability dependency...",
    "operational_effect": "Deployments that adopt callee-side current-scope validation for mutating delegations observe: (a) the supersession window collapses to the ledger-fetch latency, typically sub-second; (b) tool-call latency for mutating operations rises by one round-trip, which must be budgeted into agent step timeouts or the agent will hit token/timeout exhaustion mid-task an..."
  },
  "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": "b9cdbbd30062621664acfd73bd8d905686e4d60bf455de6a630135be843e52d5",
    "verified_classes": [
      "SupersededAttestationError",
      "AttestationLedgerUnavailable",
      "Attestation",
      "LedgerEntry",
      "IssuerLedger"
    ],
    "verified_functions": [
      "authorize",
      "__init__",
      "record",
      "supersede",
      "current_scope",
      "is_superseded"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "AttestationLedgerUnavailable",
      "SupersededAttestationError",
      "ValueError"
    ],
    "sample_fail_closed_invariants": [
      "supersession must carry a higher issuance counter",
      "issuer ledger unreachable"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
