# HTTP6 wallet delegation proof report

This folder is a static, publishable example of the HTTP6 WASIX delegation pilot. The wallet and the resource suite are two separate recorded local runs. The overview date comes from the signed wallet genesis entry. Each has its own trust anchors and ledger history. The wallet uses synthetic satoshis on a local fixture. Its origin is an operator-certified autonomous circuit.

## Publish or open

Open `index.html` directly, or copy the whole folder under any path on a static HTTPS site. All assets resolve relative to the example. Opening a protocol citation is the only feature that needs an external website. HTTPS or localhost and a browser with Web Crypto Ed25519 support enable the signature checks. The command below also works offline.

Embed one stage on an existing page with an iframe. Adjust the relative path to the example folder.

```html
<iframe src="./http6-proof-report/index.html#view=refused"
        title="HTTP6 signed wallet refusal" width="100%" height="900" loading="lazy"></iframe>
```

The report is also a custom element with scoped styles. Load the six scripts once in the order below, then add as many independent instances as needed. The element accepts an initial `view` and `run`. Supported views are `overview`, `lineage`, `allowed`, `refused`, `replay`, `scope`, `tests`, `ledger`, `payloads`, `verify`, and `protocol`. Runs are `wallet` and `suite`. Add `sync-location` to one instance per page to enable bookmarkable navigation and browser Back. Every stage exposes a protocol dependency link.

```html
<script defer src="./http6-proof-report/pins.js"></script>
<script defer src="./http6-proof-report/snapshot.js"></script>
<script defer src="./http6-proof-report/checks.js"></script>
<script defer src="./http6-proof-report/experiments.js"></script>
<script defer src="./http6-proof-report/explorer.js"></script>
<script defer src="./http6-proof-report/component.js"></script>
<http6-proof-report view="refused"></http6-proof-report>
<http6-proof-report view="scope" run="suite"></http6-proof-report>
```

The full-width report opens with a fifteen-step swimlane. Choose a handoff or use Previous and Next to move through the recorded run. Every step links to the source capture, its applicable signed ledger entry, and the corresponding protocol modules. HTTP6.org links to this page from its homepage.

The challenge is the recorded 32-byte nonce. The response shows twelve salted commitments and the native output and result signatures. The wire view decodes the HTTP6-Proof JSON, recomputes Content-Digest from the canonical request body, and exposes the actual HTTP signature input. A compact signed statement opens to its protected header, payload, exact ASCII signing input and raw Ed25519 signature. Binary signatures can be copied as hex or downloaded as 64-byte files. The challenge is consumed at attestation. Wallet ledger entry 9 redeems the certificate. Entry 14 records its later replay.

Deep links include `#view=overview&step=challenge`, `#view=overview&step=response`, `#view=overview&step=wire`, `#view=ledger&run=wallet&ledger=local-ledger&seq=13` and `#view=verify`. The interactive verifier applies edits to a temporary copy. Reload or restore the original input to recover the published baseline.

## Verify independently

Use Node.js 22 or later. These commands require no package installation, service account, wallet key, running ledger, or network connection.

```sh
node verify.mjs
node verify.mjs --falsify
node verify.mjs --pins /path/to/independently-retained-pins.json --expect-manifest HEX_SHA256
```

The first command checks all distribution file digests, compares browser data with the JSON downloads, verifies the operator seals, validates native result signatures and public round commitments, follows admitted parent and child grants, checks request bindings, verifies broker and custodian callback proofs against the captured HTTP requests and responses, and walks each ledger from genesis to its pinned head. It independently evaluates the wallet ceiling and scoped controls, verifies the custodian receipt, compares the wallet postings, and checks the signed replay decision. The second command edits eight independent copies and fails if the designated check accepts an edit. A successful command exits with status 0. An unexpected verdict or changed file exits with status 1.

For an independently anchored publication, retain `evidence/pins.json` and the SHA-256 of `SHA256SUMS` through a separate trusted channel. The folder carries its original public keys, snapshot digests and chain heads as the default baseline. Snapshot digests also cover the unsigned test observations and trace metadata. File checks detect edits relative to the retained manifest. Ledger signatures authenticate recorded decisions; the test harness records in-memory assertions, network diagnostics and observed balances separately.

## Inspect the evidence

| File | Contents |
| --- | --- |
| `evidence/wallet.json` | Complete protected-ledger snapshot for the synthetic wallet, signed grants, submitted inputs, trace, object store, operator installation, agent intake, debit and ending balance |
| `evidence/suite.json` | Both integrated ledger chains, policies, stored objects, reservations, resource effects, all test observations and recorded exchanges |
| `evidence/spend-evidence.json` | Transferable proof of the one committed spend, including its seven signed ledger entries and wallet receipt |
| `evidence/refusal-evidence.json` | Original agent and broker signatures, two ledger signatures, native callback proof and admitted family |
| `evidence/pins.json` | Public operator and ledger keys, snapshot digests, entry counts and terminal hashes for each run |
| `SHA256SUMS` | SHA-256 digest of each distribution file except the checksum list itself |

The payload inspector resolves each captured field against a deduplicated table keyed by SHA-256 of canonical JSON. It exposes HTTP6 headers, request bodies, response values, public verifier inputs and outputs, and each ledger row with its original compact signature. Each inspector offers canonical UTF-8 bytes and their SHA-256 alongside the readable JSON. A transport failure has no response body. Temporary operating-system socket paths in transport diagnostics are replaced with `[private socket]`. The host keeps private keys, provisioning seeds and challenge-answer witnesses inside the original ceremony. Public proof transcripts contain twelve round commitments and signed outputs. The public verifier checks this evidence at recorded ledger time. Re-execution of private native geometry takes place in the compiled Wasmer runtime.

## Protocol dependencies

The runtime implements the pilot profile `http6-wasix-delegation-00`. Its headers and signature types are supplied in the evidence. Stage cards link to the HTTP6 architecture's proposed module responsibilities and related W1 patterns. The integrated fixture uses local filesystem sockets for the broker, process, database and wallet; the external-facing ledger and remote endpoint use loopback HTTPS. The report publishes an archived copy of these synthetic events. It never contacts the live private ledger.

The read-only database grant names one parameterized aggregate, permitted project and period, and intended recipient. The suite tests create, update and delete proposals as well as the restricted read channel. The endpoint grant binds an exact target and a permitted operation. The demonstrations cover those registered operations and explicit release recipients. Confinement of arbitrary programs, covert channels and production financial settlement are outside the measured fixture.
