{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reject-a-signed-a2a-task-envelope-whose-agent-card-capabilities-block-was-re-fetched-after-signing",
  "title": "Where must an instance reject a signed A2A task envelope whose Agent Card `capabilities` block was re-fetched after signing",
  "date_of_record": "2026 November 29",
  "scope": "Applies to A2A v1.0 task delegation where a delegating agent (the *caller*) signs a task envelope referencing a remote agent's Agent Card by URL and digest, and the receiving agent (the *callee*) verifies the envelope against a card it resolves at receipt time. Does not apply to in-process tool calls, MCP `tools/call` frames, or A2A envelopes that embed the full card inline rather than by reference.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-signed-a2a-task-envelope-whose-agent-card-capabilities-block-was-re-fetched-after-signing.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-signed-a2a-task-envelope-whose-agent-card-capabilities-block-was-re-fetched-after-signing.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reject-a-signed-a2a-task-envelope-whose-agent-card-capabilities-block-was-re-fetched-after-signing.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2228,
    "python_slice_tokens": 287,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A2A v1.0 separates two things that look identical at the wire level: the **identity of the callee** (bound by the envelope's signature over `(issuer, callee_agent_id, card_digest, task_payload)`) and the **capabilities the callee claims** (the `capabilities` object inside the Agent Card at `/.well-known/agent.json`). The signature covers the *digest* of the ...",
    "what_was_observed": "A three-agent pipeline: an orchestrator (`orch-1`) delegating summarization subtasks to a worker (`sum-7`) and a verifier (`ver-2`). `orch-1` resolves `sum-7`'s Agent Card at `https://sum-7.internal/.well-known/agent.json`, computes `sha256` over the canonicalized JSON, embeds `{card_url, card_digest}` in the envelope, signs with its Ed25519 key, and dispatches. `sum-7` receives the envelope, re-resolves its *own* ca...",
    "condition_of_validity": "The invariant holds only under the following conjunction, and any article or implementation that omits one of these is wrong: 1. **The envelope's `card_digest` MUST be computed over the canonicalized card bytes as fetched by the *caller* at signing time**, using a canonicalization (JCS / RFC 8785) that both parties agree on. If the callee canonicalizes diffe...",
    "decision_boundary": "The boundary is not \"is the signature valid\" — that is necessary but not sufficient. The boundary is: **does the card resolved at verification time hash to the digest the caller signed?** These diverge exactly when the callee's card has been re-published between signing and verification, which is the normal case for any agent that redeploys, adds a skill, or...",
    "operational_effect": "The practical consequence of getting this wrong is not a security breach in the classic sense — the payload is authenticated. It is **silent capability drift**: the caller's policy engine authorized a delegation under a capability assumption that the callee no longer honors, and the callee executed under a capability surface the caller never approved. Downst..."
  },
  "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": "a2a7b5bde640763c57c71d485f41dad842cad28937bb0a7faf74934620d62256",
    "verified_classes": [
      "CardDigestMismatchError",
      "CardUnresolvableError",
      "CapabilityCeilingViolationError"
    ],
    "verified_functions": [
      "canonicalize",
      "digest",
      "verify_envelope",
      "handle_task"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityCeilingViolationError",
      "CardDigestMismatchError",
      "CardUnresolvableError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
