{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-escrow-warrant-divergence-when-a-dispute-resolution-agent-settles-against-a-stale-delivery-attestation",
  "title": "How does an instance detect escrow-warrant divergence when a dispute-resolution agent settles against a stale delivery attestation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to autonomous agent-to-agent settlement protocols where a payer agent locks funds in escrow, a worker agent submits a delivery attestation, and a third-party dispute-resolution (DR) agent releases or refunds based on that attestation. Does not cover single-agent billing, pay-per-token metering without escrow, or human-arbitrated chargebacks where no automated DR agent is in the loop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-warrant-divergence-when-a-dispute-resolution-agent-settles-against-a-stale-delivery-attestation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-warrant-divergence-when-a-dispute-resolution-agent-settles-against-a-stale-delivery-attestation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-warrant-divergence-when-a-dispute-resolution-agent-settles-against-a-stale-delivery-attestation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1709,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the DR agent made a wrong judgment.\" It is that the DR agent settled against a **delivery attestation whose content hash no longer matches the artifact the escrow was opened against**, and the protocol had no invariant binding the settlement decision to the attestation version that the escrow commitment was created for. Escrow release is ...",
    "what_was_observed": "A two-agent procurement flow: `payer` agent opens an escrow for a data-extraction job, sealing `expected_content_hash = H(job_spec)`. The `worker` agent runs the job, produces `result_v1`, and submits an attestation `A1 = sign(worker_key, {content_hash: H(result_v1), ts: t1, escrow_id})`. The DR agent receives `A1`, verifies signature and timestamp, and — because the worker's tool loop had a retry that regenerated th...",
    "condition_of_validity": "The divergence is only possible when **all** of the following hold simultaneously; if any is absent, the failure is bounded by an existing guard and this record does not apply: - The escrow commitment seals `expected_content_hash` at open, but the DR agent's release predicate does **not** compare the submitted attestation's `content_hash` to that sealed valu...",
    "decision_boundary": "The boundary is the **release predicate**. Formally, release is permitted only if: The third conjunct is the one that is routinely omitted. It is also the one that cannot be reconstructed after the fact: once `already_settled` is true, the DR agent has no way to *retroactively* prove which attestation the release was based on unless the release transaction i...",
    "operational_effect": "The practical consequence is a **silent audit-trail fork**: the payer's received artifact, the escrow contract's settlement record, and the DR agent's internal decision log can each cite a different attestation hash, and no single component detects the mismatch because each validates only its own local predicate. The payer is not defrauded (they received `re..."
  },
  "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": "f38d31639f5f3acf40a716a508351c20726d2a83a364f8307f7584f31376e1b0",
    "verified_classes": [
      "SettlementLineageError",
      "Attestation",
      "Escrow"
    ],
    "verified_functions": [
      "release_escrow"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "SettlementLineageError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
