All adversarial demonstrations

Failure responses carry bounded evidence

Denied, held, malformed, uncertain, and unavailable outcomes are checked against local ledger evidence.

Setup

The integration test exercises malformed JSON, a policy denial, an unavailable resource, an uncertain redemption, an uncertain reply after the request hold expires, and a ledger outage. It uses local synthetic wallet state and the published compiled demonstration guests.

Observed result

Where the local ledger and signer are available, the failure observations are bound to the request and recorded. The test rejects altered request or response context, replayed failure evidence, and missing ledger entries. When the ledger is unavailable, it returns no recorded failure proof. The runnable case is TestFailureProofEndToEnd in the Go SDK failure tests (opens in a new tab).

A signed observation describes what the local pilot recorded. An external effect during an uncertain exchange requires independent resource evidence.

SDK example: Run the failure-proof-cases case in the SDK source tree (opens in a new tab).

Run the tests and inspect your own logs (opens in a new tab) · View all reports