{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-an-a2a-agent-card-s-advertised-statetransitionhistory-capability-as-a-lie-at-handshake-time-rather-than-at-fi",
  "title": "In what scenarios must an instance treat an A2A Agent Card's advertised `stateTransitionHistory` capability as a lie at handshake time rather than at first task submission",
  "date_of_record": "2026 November 25",
  "scope": "Applies to A2A v1.0 delegating clients that read a remote Agent Card, negotiate a task, and rely on the returned `Task.status.state` plus `Task.history` for lifecycle tracking. Does not apply to synchronous single-shot RPC delegates that never poll or resume a task.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-a2a-agent-card-s-advertised-statetransitionhistory-capability-as-a-lie-at-handshake-time-rather-than-at-fi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-a2a-agent-card-s-advertised-statetransitionhistory-capability-as-a-lie-at-handshake-time-rather-than-at-fi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-a2a-agent-card-s-advertised-statetransitionhistory-capability-as-a-lie-at-handshake-time-rather-than-at-fi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1850,
    "python_slice_tokens": 409,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two fundamentally different things an Agent Card can advertise, and A2A v1.0 conflates them in the `capabilities` object: 1. **Declared capability** — a boolean like `stateTransitionHistory: true` meaning \"this agent *can* expose lifecycle history.\" 2. **Guaranteed invariant** — a promise that for *every* task this agent accepts, the `Task.history`...",
    "what_was_observed": "A delegating orchestrator (call it the *client*) discovered three vendor agents via `GET /.well-known/agent.json`. All three returned cards with: The client's task manager, on seeing `stateTransitionHistory: true`, enabled a *reconciliation mode*: after each poll it compared the remote `Task.status.state` against its local expected state, and used `Task.history` to fill in any transitions it had missed between poll i...",
    "condition_of_validity": "The client's assumption — \"`stateTransitionHistory: true` means the history is a faithful, ordered, gap-free log\" — is valid only under a condition the A2A v1.0 spec does not state and most vendors do not enforce: > **The invariant holds only if the remote agent's task store is a single-writer, append-only log with a monotonic sequence number per task, and t...",
    "decision_boundary": "The decision the client must make at handshake time — before task submission — is whether to: - **Trust the boolean** and enable reconciliation mode (cheap, but commits to an invariant that may be false), or - **Downgrade to state-only tracking** (poll `status.state` only, never rely on `history`), which is safe but loses the ability to detect missed interme...",
    "operational_effect": "When the boundary is crossed (boolean trusted, invariant false), the failure is silent and *looks like success*. The client records a clean linear trace, marks the result high-confidence, and propagates a degraded output downstream as if it were clean. The error is not detected at the A2A layer at all — it surfaces much later, when a downstream consumer noti..."
  },
  "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": "229858ded294ba74dd7fb86fba3e8476513901c14b7ee9cdcfdbe95eba30fc45",
    "verified_classes": [
      "UnverifiedHistoryInvariantError"
    ],
    "verified_functions": [
      "enable_reconciliation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnverifiedHistoryInvariantError"
    ],
    "sample_fail_closed_invariants": [
      "Agent Card advertises stateTransitionHistory=true but no probe has confirmed a monotonic, gap-free transition log. Enabl",
      "Probe task completed but returned an empty history despite stateTransitionHistory=true. Vendor B failure mode: boolean s",
      "Probe history is not monotonically ordered. Vendor C failure mode: multi-shard store with clock skew. Reconciliation wou",
      "Probe was designed to traverse input-required but the returned history omits it. History is lossy; reconciliation would "
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
