{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-receipt-forgery-in-cross-organizational-agent-negotiation-when-the-counterparty-s-signature-is-valid-but-the-execution-tra",
  "title": "How does an instance detect receipt-forgery in cross-organizational agent negotiation when the counterparty's signature is valid but the execution trace was replayed from a sibling negotiation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent that accepts verifiable execution receipts from a foreign trust domain during bilateral or multi-party negotiation, where the receipt binds (signer, action, inputs, output) but the verifier cannot independently re-execute the action. Does not apply to single-organization receipt verification where the verifier owns the execution environment and can replay the trace itself.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-receipt-forgery-in-cross-organizational-agent-negotiation-when-the-counterparty-s-signature-is-valid-but-the-execution-tra.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-receipt-forgery-in-cross-organizational-agent-negotiation-when-the-counterparty-s-signature-is-valid-but-the-execution-tra.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-receipt-forgery-in-cross-organizational-agent-negotiation-when-the-counterparty-s-signature-is-valid-but-the-execution-tra.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1877,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a broken signature. The counterparty's signing key is legitimate, the receipt's Merkle root is well-formed, and every field in the payload verifies. The failure is that the receipt attests to an *execution instance* that is not the execution instance the negotiation actually requires. A receipt is a proof of *what happened somewhere under ...",
    "what_was_observed": "A negotiation agent (call it the *acceptor*) was settling a multi-step resource-allocation protocol with a counterparty (the *proposer*). Each step required the proposer to return an execution receipt for an action the proposer performed in its own sandbox: `reserve(capacity=40, window=T)`, then `commit(reservation_id)`, then `release(reservation_id)`. The acceptor verified each receipt by checking: (1) signature ove...",
    "condition_of_validity": "A receipt is a sound proof of an execution *for a given negotiation step* if and only if the following invariant holds: where `bind(receipt, negotiation)` requires the receipt payload to contain a value that is (a) unique to the negotiation, (b) known to the acceptor *before* the receipt is requested, and (c) covered by the signature. The critical word is *b...",
    "decision_boundary": "The verifier must distinguish three cases at receipt intake: 1. **Receipt binds to this negotiation's origin-nonce and this step's input hash.** Accept; proceed. 2. **Receipt signature valid, action/output match, but origin-nonce absent or mismatched.** Reject with a *binding failure*, not a *signature failure*. Do not retry silently — a retry against a prop...",
    "operational_effect": "An acceptor that omits origin-nonce binding does not fail loudly. It proceeds through the negotiation on receipts that are individually valid and collectively incoherent, and the incoherence surfaces only when a downstream action references a resource the proposer never committed. At that point the acceptor's own state is corrupted: it has recorded a commitm..."
  },
  "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": "328159399e8dd9a8c0e34fde43394f238c8c321a925958c0fa1d772fa0c5962c",
    "verified_classes": [
      "ReceiptBindingError",
      "Receipt",
      "StepRequest"
    ],
    "verified_functions": [
      "verify_receipt",
      "accept_step"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ReceiptBindingError"
    ],
    "sample_fail_closed_invariants": [
      "signature invalid — distinct from binding failure",
      "receipt carries no origin-nonce; cannot distinguish this negotiation from a sibling session under the same signing key ("
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
