{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-capability-card-drift-from-silently-re-binding-a-delegated-task-to-a-downgraded-peer-in-a2a-v1-0-federated-discovery",
  "title": "Which invariants prevent capability-card drift from silently re-binding a delegated task to a downgraded peer in A2A v1.0 federated discovery",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 task delegation where the calling agent resolves the callee's Agent Card through a federated registry (not a direct well-known URL fetch) and the callee's advertised `skills`/`capabilities` set can mutate between discovery and invocation. Does not apply to single-org static registries where cards are immutable per release hash, nor to synchronous same-process sub-agent calls.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-card-drift-from-silently-re-binding-a-delegated-task-to-a-downgraded-peer-in-a2a-v1-0-federated-discovery.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-card-drift-from-silently-re-binding-a-delegated-task-to-a-downgraded-peer-in-a2a-v1-0-federated-discovery.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-capability-card-drift-from-silently-re-binding-a-delegated-task-to-a-downgraded-peer-in-a2a-v1-0-federated-discovery.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1884,
    "python_slice_tokens": 216,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the remote agent is down\" or \"the registry returned 404.\" It is the case where discovery *succeeds* — a valid, signed Agent Card comes back — but the card that gets bound to the outbound task is a *different revision* than the one the delegating agent's planner reasoned about. In A2A v1.0, an Agent Card is a self-describing capability doc...",
    "what_was_observed": "A three-org federation: Org A (delegator, running a planner agent), Org B (registry replica), Org C (callee, running a document-analysis agent). The callee's card at revision `r7` advertised skill `analyze_contract` with `inputModes: [\"text/plain\", \"application/pdf\"]` and `capabilities.streaming: true`. Org A's planner discovered the card via Org B's replica, cached it under a 15-minute TTL, and emitted a plan step t...",
    "condition_of_validity": "The invariant that *should* hold — and the condition under which the failure is bounded — is: > **A task binding is valid only if the Agent Card revision used to construct the request is byte-identical to the revision the callee will validate against at execution time, or the delegating agent has explicitly negotiated a downgrade.** This is enforceable only ...",
    "decision_boundary": "The operational decision is: **when a discovery refresh returns a card whose revision differs from the bound revision, do you re-plan or abort?** - **Re-plan** is correct when the delta is additive (new skills, new input modes) and the in-flight request's used-surface is a subset of both old and new cards. Safe to continue. - **Abort with `CardRevisionDrift`...",
    "operational_effect": "With the invariant enforced, the failure mode changes from *silent misattribution* to *explicit, bounded re-planning*. The delegating agent's retry logic stops producing nondeterministic outcomes for identical payloads, because the bound revision pins the semantics. The cost is that the delegating agent must carry revision state through its task lifecycle 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": "7c7765799904a2730c27671003308a3e5da797e244f31ccd444bcc5c149bf7b1",
    "verified_classes": [
      "CardRevisionDrift",
      "SkillSurface",
      "AgentCard",
      "BoundRequest"
    ],
    "verified_functions": [
      "rebind_or_abort"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CardRevisionDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
