{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-silent-capability-widening-during-a2a-v1-0-agent-card-re-resolution-across-delegated-task-chains",
  "title": "Which invariants prevent silent capability-widening during A2A v1.0 agent-card re-resolution across delegated task chains",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 task delegation where a receiving agent re-resolves the caller's or a downstream peer's `AgentCard` mid-chain (lazy skill discovery, retry-after-`task/status`-refresh, or transitive sub-delegation). Does not apply to single-hop, single-card, statically-pinned delegations where the card is fetched once at connection establishment and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-widening-during-a2a-v1-0-agent-card-re-resolution-across-delegated-task-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-widening-during-a2a-v1-0-agent-card-re-resolution-across-delegated-task-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-silent-capability-widening-during-a2a-v1-0-agent-card-re-resolution-across-delegated-task-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1347,
    "python_slice_tokens": 295,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The A2A v1.0 card is a *signed declaration of capability at a point in time*, not a live capability oracle. The failure mode is not \"the card is malicious\"—it is that a **re-resolution returns a semantically wider card than the one under which the task was originally admitted**, and the delegating agent accepts the widening because it treats card re-fetch as...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → specialist `S` → sub-specialist `T`. `O` resolves `S`'s card at `t0`, sees `skills: [summarize, extract]`, and admits a `summarize` task with a warrant scoped to `summarize`. At `t1` `S` re-resolves `T`'s card to build a sub-delegation. `T`'s card at `t1` now advertises `skills: [summarize, extract, summarize_external, publish]`—the operator added `publish` between `t0` and `t1`....",
    "condition_of_validity": "The invariant \"effective capability = pinned intersection\" holds only if three conditions are jointly enforced at every hop: 1. **Snapshot pinning.** The card used at admission is stored (hash + body) in the task's `context`, and re-resolution MUST compare against the pinned hash. A mismatch is a *renegotiation event*, not a refresh. 2. **Scope intersection,...",
    "decision_boundary": "The boundary is crossed the moment a re-resolution result is *consumed without diffing against the pinned snapshot*. Concretely: on every `AgentCard` fetch where a pinned snapshot exists, compute `added = skills(new) \\ skills(pinned)`. If `added` is empty, proceed (idempotent refresh, safe). If `added` is non-empty **and** the current task's planned tool cal...",
    "operational_effect": "Without the invariant, capability escalation is *undetectable post-hoc*: the audit log shows a valid signature at every hop and a successful task completion. Forensics must reconstruct the card history from issuer-side logs, which may not exist. With the invariant, escalation becomes a hard fault at the delegating hop, attributable to a specific `(pinned_has..."
  },
  "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": "be0a2e61c80cfacad714867dffa5b8780333b2143d1614568210290ff3cabd15",
    "verified_classes": [
      "CapabilityWideningError",
      "AgentCard",
      "PinnedContext"
    ],
    "verified_functions": [
      "resolve_and_guard",
      "delegate",
      "snapshot_hash",
      "__post_init__"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityWideningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
