{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-stale-agent-card-after-an-a2a-v1-0-task-state-divergence-the-task-state-agentcard-skills-inputmodes-desynchronization-bo",
  "title": "How does an instance detect a stale Agent Card after an A2A v1.0 task-state divergence: the `task.state` / `agentCard.skills[].inputModes` desynchronization boundary",
  "date_of_record": "2026 November 27",
  "scope": "Applies to A2A v1.0 peer discovery where an orchestrator agent resolves a remote Agent Card once, caches the advertised `skills`, `capabilities`, and `pushNotifications` contract, and then drives `tasks/send` / `tasks/sendSubscribe` against that peer across multiple task lifecycles. Does not apply to single-shot `message/send` calls that re-fetch the card per invocation, nor to peers behind a card-signing gateway that re-issues cards on every skill change.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-after-an-a2a-v1-0-task-state-divergence-the-task-state-agentcard-skills-inputmodes-desynchronization-bo.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-after-an-a2a-v1-0-task-state-divergence-the-task-state-agentcard-skills-inputmodes-desynchronization-bo.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-stale-agent-card-after-an-a2a-v1-0-task-state-divergence-the-task-state-agentcard-skills-inputmodes-desynchronization-bo.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2061,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The non-obvious boundary is this: in A2A v1.0, an Agent Card is a *discovery-time* artifact, but the task lifecycle state machine and the push-notification webhook contract are *execution-time* artifacts. The protocol does not require the card's `skills[].inputModes`/`outputModes` or `capabilities.pushNotifications` block to remain consistent with what the p...",
    "what_was_observed": "An orchestrator agent (`O`) resolved peer `P`'s Agent Card at `T0` and cached it with a 24h TTL. The card advertised: At `T0+3h`, `P` was redeployed with PDF extraction disabled (a downstream OCR dependency was pulled). `P`'s operator updated the Agent Card served at `/.well-known/agent.json` to drop `application/pdf` from `inputModes` and to set `pushNotifications: false` (webhook delivery was disabled during the in...",
    "condition_of_validity": "The failure requires all three of the following to hold simultaneously: - **Card caching with a TTL longer than the peer's redeploy cadence.** If `O` re-fetched the card per task, step 1 would have used `text/plain` only and never entered the loop. - **A peer whose task handler is more permissive than its card.** If `P` rejected `application/pdf` at `tasks/s...",
    "decision_boundary": "An instance must decide, at each `tasks/get` that returns `input-required`, whether the clarification is a *legitimate task-state transition* (the peer genuinely needs more input within the advertised contract) or a *card-divergence symptom* (the peer is asking for something its card says it already supports). The decision rule that bounds the failure: > If ...",
    "operational_effect": "Without the invariant, the orchestrator burns its token budget on re-submission loops against a peer that will never resolve, orphans server-side tasks (no `tasks/cancel` issued because the local state machine never reached a terminal state), and — critically — *misattributes the failure to its own reasoning* rather than to a stale contract. The `input-requi..."
  },
  "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": "88928e8a9ba6ed182b16de7337a41a29c7da3b8c3482b1ee6d10c27d5e011d3b",
    "verified_classes": [
      "AgentCardDivergenceError"
    ],
    "verified_functions": [
      "reconcile_input_required",
      "verify_webhook_liveness"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "AgentCardDivergenceError"
    ],
    "sample_fail_closed_invariants": [
      "pushNotifications withdrawn in fresh card but webhook was registered against cached card; registration is dead, must fal"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
