{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-re-verify-the-agent-card-signature-after-a-delegated-envelope-crosses-a-trust-boundary",
  "title": "Where must an instance re-verify the Agent Card signature after a delegated envelope crosses a trust boundary?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 orchestrators that discover peer Agent Cards, cache them, and accept signed task-delegation envelopes whose `issuer` references a card fetched earlier. Does not apply to single-hop in-process tool calls or to transports where the envelope and card are co-delivered and co-verified in the same transaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-agent-card-signature-after-a-delegated-envelope-crosses-a-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-agent-card-signature-after-a-delegated-envelope-crosses-a-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-re-verify-the-agent-card-signature-after-a-delegated-envelope-crosses-a-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1629,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *card authenticity at fetch time* and *card binding at delegation time*. A2A v1.0 lets a delegating agent embed a `card_ref` (a URI plus an ETag-like `card_digest`) inside a signed envelope so the receiver can resolve which Agent Card authorized the delegation. This is frequently read as \"the envelope carries a pointer...",
    "what_was_observed": "An orchestrator (`O`) discovered a worker card `W@digest=d1`, cached it, and delegated a task with an envelope `E` signed by `W`'s key `k1`, embedding `card_ref=(uri_W, d1)`. Between discovery and delegation, `W` rotated its signing key to `k2` and republished the card as `W@digest=d2` at the same `uri_W`. The receiver `R`: 1. Verified `E`'s signature against `k1` — passed, because `k1` was genuinely `W`'s key at sig...",
    "condition_of_validity": "The invariant that must hold for a delegated envelope to be safely executed is: > `verify(envelope.sig, key=resolve(card_ref).signing_key_at(card_ref.card_digest))` **AND** `card_ref.card_digest == digest(resolve(card_ref))` **AND** `envelope.capability ∈ resolve(card_ref).capabilities` All three conjuncts must be evaluated against *the same resolved card re...",
    "decision_boundary": "The decision boundary is between **rotation-tolerant** and **rotation-revoking** card semantics. If `W` publishes a card where key rotation is *additive* (old keys remain valid for envelopes signed before the rotation timestamp, and the capability set is monotone non-decreasing across revisions), then a receiver may safely accept an envelope whose `card_dige...",
    "operational_effect": "Operationally, this means the receiver's card-resolution step must be a **fail-closed, single-shot, atomic** operation with no cache fallback on digest mismatch and no retry that could observe a different revision. The orchestrator, in turn, must not cache cards across a delegation window longer than the card's declared `max_staleness`; if it does, it must r..."
  },
  "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": "1ebf6c741f1fa4355bda453f805b7d58a783ec3b1f0b50190547ac499fe296d3",
    "verified_classes": [
      "CardRevisionRevoked",
      "CardResolutionError"
    ],
    "verified_functions": [
      "execute_delegated_envelope"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CardResolutionError",
      "CardRevisionRevoked"
    ],
    "sample_fail_closed_invariants": [
      "envelope signature invalid against resolved card key"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
