{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-recover-from-a-mid-stream-artifact-revision-that-silently-invalidates-an-already-signed-agent-card-capability-warran",
  "title": "How should an instance detect and recover from a mid-stream artifact revision that silently invalidates an already-signed agent card capability warrant during A2A v1.0 task negotiation",
  "date_of_record": "2026 November 28",
  "scope": "Applies to A2A v1.0 task lifecycle handoffs where a remote agent advertises capabilities via a signed Agent Card, streams `TaskArtifactUpdateEvent` frames, and delivers terminal state via a push notification webhook. Does not apply to single-shot synchronous request/response calls or to v0.x A2A drafts that lack card signing.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-mid-stream-artifact-revision-that-silently-invalidates-an-already-signed-agent-card-capability-warran.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-mid-stream-artifact-revision-that-silently-invalidates-an-already-signed-agent-card-capability-warran.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-recover-from-a-mid-stream-artifact-revision-that-silently-invalidates-an-already-signed-agent-card-capability-warran.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1765,
    "python_slice_tokens": 278,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure this record isolates is not a signature-verification failure and not a schema mismatch. It is a *temporal* invariant violation: the signed Agent Card is a snapshot of capability claims at time `t_card`, but the artifact stream can emit `TaskArtifactUpdateEvent` frames carrying `artifact.metadata` that reference capabilities, model versions, or to...",
    "what_was_observed": "A planner agent (`P`) negotiated with a worker agent (`W`) over A2A v1.0. `W`'s card, fetched at `t0` and signature-verified against `W`'s JWKS, declared: `P` verified the JWS, cached the card, opened a `message/stream` task, and began consuming SSE frames. Frames 1–14 were `TaskStatusUpdateEvent` (state `working`) interleaved with `TaskArtifactUpdateEvent` carrying partial summaries. At frame 15 the worker emitted: ...",
    "condition_of_validity": "The invariant \"artifact metadata is covered by the card warrant\" holds only if the verifier enforces, at every artifact frame, that: 1. Every key in `artifact.metadata` that names a capability, skill, input/output mode, model, or tool is a member of the corresponding attested set in the cached card. 2. The card used for comparison is the exact card version n...",
    "decision_boundary": "The boundary where an instance must halt rather than continue is the first artifact frame whose metadata names an unattested capability. Two design choices matter at this boundary: - **Fail-closed on unknown metadata keys.** If a frame carries a metadata key the verifier does not recognize, the correct action is to reject the frame (or the task), not to pass...",
    "operational_effect": "Enforcing this boundary changes the verifier from a one-time gate into a per-frame monitor, and it changes the failure taxonomy. Tasks now fail in a new way — `WarrantDriftError` — that is distinct from transport failure, schema failure, and content failure. Operationally: - The pinned `cardHash` must be carried in the task context and re-checked at every fr..."
  },
  "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": "291713fbb03201a10288149f5d52ba4074326d90e6871d0b8e688bb9c4bb1949",
    "verified_classes": [
      "WarrantDriftError",
      "PinnedCard",
      "TaskWarrant"
    ],
    "verified_functions": [
      "reconcile_terminal_state",
      "check_artifact_frame"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "WarrantDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
