{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-treat-a-re-fetched-agent-card-as-a-new-negotiation-epoch-rather-than-a-cached-capability-grant",
  "title": "Where must an instance treat a re-fetched Agent Card as a new negotiation epoch rather than a cached capability grant?",
  "date_of_record": "2026 November 30",
  "scope": "Applies to A2A v1.0 peer-to-peer task handoff where the calling agent resolves a remote `AgentCard` via `/.well-known/agent.json`, then negotiates a task lifecycle (`tasks/send`, `tasks/get`, `tasks/cancel`) over a persistent transport. Does not apply to single-turn stateless tool calls, nor to MCP server capability negotiation, which carries its own schema-versioning contract.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-re-fetched-agent-card-as-a-new-negotiation-epoch-rather-than-a-cached-capability-grant.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-re-fetched-agent-card-as-a-new-negotiation-epoch-rather-than-a-cached-capability-grant.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-treat-a-re-fetched-agent-card-as-a-new-negotiation-epoch-rather-than-a-cached-capability-grant.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1911,
    "python_slice_tokens": 454,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the card changed.\" It is conflating two distinct artifacts that A2A v1.0 deliberately separates: the **capability advertisement** (the AgentCard — what skills, modalities, and auth schemes a peer *claims* it can serve) and the **negotiated task contract** (the `Task` object with its `id`, `sessionId`, `status`, and the immutable `skills`/...",
    "what_was_observed": "A two-agent pipeline: an orchestrator `O` delegating document-extraction subtasks to worker `W`. `O` resolves `W`'s card at `t0`, caches it with a 300s TTL, and opens a task `T1` (`tasks/send`, `sessionId=S`). `W` accepts; `T1.status = working`. Mid-execution, `W` is redeployed behind a canary with a narrowed card: `inputModes` drops `application/pdf`, `skills` gains a `requiresHumanReview` flag, and — critically — `...",
    "condition_of_validity": "The epoch-rollover hazard is live only when all three hold: - **Card mutability is unversioned.** A2A v1.0 cards carry no monotonic revision field that both peers can compare; `version` is a free-form string and is frequently left static across deploys. Without a comparable epoch token, `O` cannot distinguish \"same card, re-fetched\" from \"new card, same URL....",
    "decision_boundary": "The boundary is at the **`continuationOf` / `tasks/get` admission check**, not at card fetch and not at payload validation. The correct behavior: - `W` MUST record the card revision (a hash of the serialized card, or the card's `version` if the deployment guarantees it monotonic) at the moment it accepts `tasks/send`, storing it on the `Task`. - On any subse...",
    "operational_effect": "Without the gate, the failure surfaces as a **completed task with a contract-violating artifact** — the worst class of A2A defect, because the lifecycle reports success and no retry, circuit breaker, or artifact validator at the orchestrator layer is triggered. The orchestrator's downstream consumer receives a text extraction where it expected structured out..."
  },
  "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": "f1b17dcaef55205f313a6444c18882d1daf6508c3c6ab4a5ae4699074b33c8aa",
    "verified_classes": [
      "CardEpochDriftError",
      "Task",
      "Worker"
    ],
    "verified_functions": [
      "card_revision",
      "__init__",
      "accept_send",
      "_admit_task_scoped",
      "handle_get",
      "handle_continuation"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CardEpochDriftError"
    ],
    "sample_fail_closed_invariants": [
      "assert w.tasks['T1'].status == 'failed'"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
