{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-agent-card-capability-drift-from-silently-widening-delegated-authority-during-a2a-v1-0-discovery",
  "title": "Which invariants prevent Agent Card capability drift from silently widening delegated authority during A2A v1.0 discovery",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 delegations where the caller resolves a peer's `agent.json` (Agent Card) at handshake time and the peer's advertised `skills`/`capabilities` set changes between discovery and task execution. Does not cover intra-process tool dispatch or MCP server capability negotiation, where schema is pinned per-session at connect time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-drift-from-silently-widening-delegated-authority-during-a2a-v1-0-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-drift-from-silently-widening-delegated-authority-during-a2a-v1-0-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-agent-card-capability-drift-from-silently-widening-delegated-authority-during-a2a-v1-0-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2181,
    "python_slice_tokens": 391,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *capability discovery* and *capability commitment*. A2A v1.0 Agent Cards are fetched over HTTP at a well-known URI and are, by design, mutable documents: a peer may redeploy, add skills, or narrow scopes between two fetches. The protocol treats the Card as descriptive metadata. But delegating agents routinely treat the...",
    "what_was_observed": "A planner agent `P` holds a warrant from a human principal scoped to `email.send` with a recipient allowlist. `P` fetches `https://peer.example/.well-known/agent.json`, sees `skills: [{\"id\": \"draft_email\", \"inputModes\": [\"text/plain\"]}]` and `capabilities: {\"streaming\": true}`, and constructs an A2A `tasks/send` request with a `metadata.warrant` field carrying the allowlist and a `metadata.card_digest` computed over ...",
    "condition_of_validity": "The failure requires all of the following to hold simultaneously, which is why it is a boundary condition rather than a routine bug: 1. The peer's card is mutable across the delegation window (redeploy, rolling update, feature flag on skill registration). 2. The caller's warrant is scoped more narrowly than the union of the peer's old and new cards — i.e., t...",
    "decision_boundary": "The boundary is: **a delegation is valid only if the card digest observed at warrant issuance is byte-identical to the digest the peer reports at task-accept time, and the peer's current skill set is a subset of the skills the warrant was scoped against.** Two conditions, both necessary. Condition A (digest identity) is cheap and catches any card mutation, i...",
    "operational_effect": "The effect of enforcing both conditions is that delegation latency increases by one round-trip (the caller must re-fetch the card at accept time, or the peer must echo its current card digest in the `TaskStatusUpdateEvent`). For high-blast-radius skills this is non-negotiable. The second effect is that a class of delegations that previously \"just worked\" now..."
  },
  "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": "730cf7282e11f353b00d2cc44c1457403a71e6ac20558efcc1dae73e10391312",
    "verified_classes": [
      "CardDriftViolation",
      "AgentCard",
      "Warrant"
    ],
    "verified_functions": [
      "compute_relevant_skills",
      "assert_delegation_in_bounds",
      "delegate",
      "digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardDriftViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
