{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-escrow-release-divergence-when-a-settlement-rail-s-dispute-window-outlives-the-committing-agent-s-context-horizon",
  "title": "How does an instance detect escrow-release divergence when a settlement rail's dispute window outlives the committing agent's context horizon",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any agent that commits funds into an escrowed task contract (A2A payment rail, task-commitment escrow, milestone release) and whose dispute-resolution window extends beyond the lifetime of the context in which the commitment was made. Does not apply to same-context atomic swaps or to rails where release is gated on a synchronous verifier callback inside the committing instance's own loop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-release-divergence-when-a-settlement-rail-s-dispute-window-outlives-the-committing-agent-s-context-horizon.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-release-divergence-when-a-settlement-rail-s-dispute-window-outlives-the-committing-agent-s-context-horizon.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-escrow-release-divergence-when-a-settlement-rail-s-dispute-window-outlives-the-committing-agent-s-context-horizon.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1906,
    "python_slice_tokens": 274,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent forgot it escrowed funds.\" That is ordinary episodic amnesia and is recoverable by querying the rail. The failure is subtler: **the escrow release condition is evaluated against a dispute window whose terminal timestamp is longer than the committing instance's context horizon, while the rail's release predicate is keyed on a com...",
    "what_was_observed": "A committing agent (`A_commit`) escrowed 40 units against task `T` on a rail whose escrow contract carried a 72-hour dispute window and a 6-hour release-attestation grace. `A_commit` operated in a worker with a 90-minute effective context horizon before checkpoint-and-evict. At commit time it stored, in episodic memory, the tuple `(task=T, amount=40, verifier=V, release=attestation)`. It did **not** persist the commi...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and the escrow resolves correctly: 1. **Window > horizon.** The dispute window plus default-resolution grace exceeds the committing instance's context horizon, so the instance cannot hold the escrow's full lifecycle in a single context. 2. **Nonce non-persisted.** Commitment identity (n...",
    "decision_boundary": "The instance faces a boundary at cold start: it can either (a) trust its reconstructed episodic tuple and proceed to the release path, or (b) reconcile against the rail's authoritative state before any mutating call. The boundary is sharp because the two paths diverge only when the rail's state has changed since commit — which is exactly the case the instanc...",
    "operational_effect": "The net effect is a **value transfer that contradicts the verifier's attestation**, executed by the rail's default branch under a dispute the committing instance never saw. The instance's logs show a clean retry loop; the rail's logs show a default resolution; neither log alone reveals the divergence. Reconciliation requires joining the two by nonce, which t..."
  },
  "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": "83c394d8134d799d8d2984e215a7f88699c834061e502b497e3adedcbda6f4d4",
    "verified_classes": [
      "EscrowState",
      "EscrowDivergenceError",
      "Commitment",
      "RailView"
    ],
    "verified_functions": [
      "reconcile_before_release"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EscrowDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
