# Graphshell receipts
Committed receipt artifacts. The HTML receipts are regenerated by a binary and
compared byte-for-byte by a test; the browser records and screenshots are
headed captures.
| `g1_loopback.html` | `g1_receipt` | `src/view.rs` |
| `g4_session_switch.html` | `g4_sessions` | `src/sessions.rs` |
| `n4_owner_policy.html` | `n4_policy_receipt` | `src/policy_projection.rs` |
| `h4_identity_surface.html`, `h4_identity_receipt.json` | `h4_identity_receipt` | - |
| `h2_browser_receipts.json`, `h2_chromium_*.png`, `h2_firefox_*.png` | headed Chromium and Firefox capture | - |
| `h3_browser_receipts.json`, `h3_chromium_*.png` | headed Chromium capture | - |
## Regenerating
```powershell
$env:CARGO_TARGET_DIR = 'target-proof'
cargo run -p graphshell --bin g1_receipt -- ports/graphshell/docs/receipts/g1_loopback.html
cargo run -p graphshell --bin n4_policy_receipt -- ports/graphshell/docs/receipts/n4_owner_policy.html
cargo run -p graphshell --bin h4_identity_receipt -- ports/graphshell/docs/receipts
```
`g4_sessions` takes the output path followed by one or more endpoint
executables:
```powershell
cargo run -p graphshell --bin g4_sessions -- ports/graphshell/docs/receipts/g4_session_switch.html <endpoint> [endpoint...]
```
The committed file was generated from the Turnstone browsing endpoint and
Isometry's player-overmap and tile-board endpoints, which live outside this
workspace. See the
[G4 note](../2026-07-22_g4_cross_product_receipt.md) for the exact invocation.
Inspect the HTML receipts at desktop and narrow widths before committing an
update.
## Scenarios
- `g1_loopback.html`: the G1 loopback endpoint, client state machine,
capability resolver, and native HTML view.
- `n4_owner_policy.html`: disables Murm without changing Graphshell or transit,
then disables transit without changing either service rule, then reloads the
policy from disk.
- `h4_identity_surface.html` and `h4_identity_receipt.json`: a resident
`PersonaeHost` with a pending per-use SSH signing request, plus the typed
approval intent, key generation, native import, confirmed removal, an SSH
wire exchange, and secret-exclusion assertions.
- `h3_browser_receipts.json`: the local graph product workflow at 1280x800 and
600x800, with wide and narrow screenshots after selected-subgraph export.
## Notes
The dated receipt notes for every slice, including the ones with no artifact in
this folder, are in [`../`](..). Each names its own acceptance boundary.