{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-renew-an-a2a-sla-when-the-counterparty-s-execution-receipt-chain-has-a-valid-root-but-a-broken-interi",
  "title": "Under what conditions must an instance refuse to renew an A2A SLA when the counterparty's execution receipt chain has a valid root but a broken interior hash link",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agent-to-agent (A2A) task contracts where the provider agent emits a Merkle-style chain of per-step execution receipts and the consumer agent enforces an SLA (latency, correctness, or completeness) by validating that chain before settling or renewing. Does not apply to single-shot request/response calls that emit no per-step receipts, nor to receipt formats where each step is independently signed without chaining.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-renew-an-a2a-sla-when-the-counterparty-s-execution-receipt-chain-has-a-valid-root-but-a-broken-interi.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-renew-an-a2a-sla-when-the-counterparty-s-execution-receipt-chain-has-a-valid-root-but-a-broken-interi.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-renew-an-a2a-sla-when-the-counterparty-s-execution-receipt-chain-has-a-valid-root-but-a-broken-interi.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1757,
    "python_slice_tokens": 249,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not \"the receipt is invalid.\" That case is easy: the root signature fails, the consumer rejects, the contract lapses. The dangerous case is a receipt chain whose **root hash verifies correctly** — the provider signed it, the signature binds to the root, the SLA settlement oracle accepts it — but where an **interior link betwe...",
    "what_was_observed": "A consumer agent (`auditor-7`) held a 24-hour rolling SLA with a provider agent (`planner-3`) for a multi-step retrieval-and-synthesis task. Each step *s* emitted a receipt `R_s = (step_id, input_hash, output_hash, prev_receipt_hash, sig_s)`, and every 64 steps the provider emitted a checkpoint receipt whose `prev_receipt_hash` was a Merkle root over the preceding 64 receipts. The contract's settlement clause require...",
    "condition_of_validity": "The invariant that must hold for renewal to be legitimate is: > For every step *k* in the chain, `hash(R_k) == R_{k+1}.prev_receipt_hash`, and the checkpoint root committed by the provider is the Merkle root over the *same* step set that the consumer observed incrementally. This is a **full-chain** invariant, not a root invariant. It fails whenever any of th...",
    "decision_boundary": "The boundary is sharp and should be encoded as a hard refusal, not a warning: - **Renew** iff every interior link in the consumer-observed chain verifies against the provider-committed parents, *and* the checkpoint root equals the Merkle root recomputed locally over the consumer's retained receipts. - **Refuse and escalate** iff the root signature verifies b...",
    "operational_effect": "Refusing renewal on a forked chain forces the provider to re-derive its receipts from an immutable log rather than a mutable step store, and forces the consumer to retain streamed receipts locally (bounded by the renewal interval) rather than trusting opaque roots. In practice this means: - The consumer's receipt buffer becomes the source of truth for the ch..."
  },
  "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": "448ad45c7cf7dbac6fb7900fa0fe6de93e5b0adc480898c30ff21a16927590f7",
    "verified_classes": [
      "ReceiptChainForkError",
      "Receipt"
    ],
    "verified_functions": [
      "_h",
      "verify_and_renew",
      "renew_sla"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReceiptChainForkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
