{"entry":{"fixtureId":"forfeit-roulette-fairness-v0","appSlug":"forfeit-roulette","appName":"Forfeit Roulette (fairness)","reportId":"lab_forfeit-roulette-fairness-v0_20260610225855215","generatedAt":"2026-06-10T22:58:55.215Z","status":"pass","jsonPath":"/bundle/server-functions/default/.nocklab/forfeit-roulette-fairness.report.json","markdownPath":"/bundle/server-functions/default/.nocklab/forfeit-roulette-fairness.report.md","reportHash":"sha256:f6bd153551599a5b98d00daf5023afc10e8fa368fc95fe354777682c31dfef77","snapshotRoot":"e530990846751537","badgeCandidate":{"id":"badge-candidate-forfeit-roulette","label":"Forfeit Roulette (fairness) Verification Candidate","reportSlug":"forfeit-roulette","fixtureId":"forfeit-roulette-fairness-v0","status":"ready","evidenceKind":"model-attested","statusReDerived":"pass","statusConsistent":true,"kernelHash":null,"kernelVerified":false,"baseDeploymentHash":null,"baseVerified":false,"signatureStatus":"unsigned","evidence":{"reportHash":"sha256:f6bd153551599a5b98d00daf5023afc10e8fa368fc95fe354777682c31dfef77","snapshotRoot":"e530990846751537","invariantPacks":[]}},"stepsPassed":1,"stepsTotal":1,"invariantsPassed":3,"invariantsTotal":3,"alertsTriggered":0,"snapshotsCaptured":2,"adapterObservationCount":0,"invariantPackCount":0},"report":{"reportId":"lab_forfeit-roulette-fairness-v0_20260610225855215","fixtureId":"forfeit-roulette-fairness-v0","generatedAt":"2026-06-10T22:58:55.215Z","app":{"name":"Forfeit Roulette (fairness)","slug":"forfeit-roulette","version":"0.0.1","kernel":"forfeit-roulette"},"environment":{"mode":"mock-fakenet","grpcEndpoint":"n/a","fakenetCommand":"model","notes":["Positive proof of the forfeit-roulette fairness invariants over a resolved European red/black round.","Peek surface is commitment-only (no seed); revealed seeds hash to their commitments; nonce strictly increases.","The house edge is the single green zero (1/37); the wheel itself is unbiased and the pocket is recomputable from public reveals.","Honest limit: this proves the MODEL and that the invariants are well-formed, not the compiled Hoon (the compile-gate covers that). Real-VM poke/peek awaits generic-cause nockapp-run."]},"summary":{"status":"pass","stepsPassed":1,"stepsFailed":0,"invariantsPassed":3,"invariantsFailed":0,"alertsClear":0,"alertsTriggered":0,"snapshotsCaptured":2,"durationMs":17,"expectRejected":false,"rawStatus":"pass"},"invariantPacks":[],"steps":[{"id":"peek-commit-surface","type":"peek","title":"Peek the commitment-only surface","status":"pass","target":"/round","expectation":"peekSurface.nonce == 4","observed":"4","beforeHash":"e530990846751537","afterHash":"e530990846751537","stateDiffs":[],"durationMs":19}],"invariants":[{"id":"commit-only-peek","title":"Peek surface never exposes an unrevealed seed","severity":"critical","status":"pass","observed":"peek surface clean: 6 field(s), no unrevealed secret","expected":"no unrevealed seed/secret in the peek surface at peekSurface"},{"id":"seeds-hashlock","title":"Revealed seeds hash to their commitments (provable fairness)","severity":"critical","status":"pass","observed":"all 2 revealed seed(s) hash to their commitment","expected":"sha256(seed) == commit for every revealed pair under reveals"},{"id":"nonce-monotonic","title":"Nonce strictly increases (replay safety)","severity":"high","status":"pass","observed":"[0,1,2,3,4]","expected":"nonceSequence is a strictly-increasing numeric sequence (replay/nonce safety)"}],"alerts":[],"adapterObservations":[],"stateSnapshots":[{"label":"Initial state","stateHash":"e530990846751537","state":{"peekSurface":{"nonce":4,"commitHouse":"e0e77a507412b120f6ede61f62295b1a7b2ff19d3dcc8f7253e51663470c888e","commitPlayer":"4ca14526b2751b640d549ce7caf8ac39438592211a0ec370064d57666a682ad6","bet":"red","pocket":24,"outcome":false},"reveals":[{"label":"house","seed":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","commit":"e0e77a507412b120f6ede61f62295b1a7b2ff19d3dcc8f7253e51663470c888e"},{"label":"player","seed":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","commit":"4ca14526b2751b640d549ce7caf8ac39438592211a0ec370064d57666a682ad6"}],"nonceSequence":[0,1,2,3,4]}},{"label":"After peek-commit-surface","stateHash":"e530990846751537","state":{"peekSurface":{"nonce":4,"commitHouse":"e0e77a507412b120f6ede61f62295b1a7b2ff19d3dcc8f7253e51663470c888e","commitPlayer":"4ca14526b2751b640d549ce7caf8ac39438592211a0ec370064d57666a682ad6","bet":"red","pocket":24,"outcome":false},"reveals":[{"label":"house","seed":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","commit":"e0e77a507412b120f6ede61f62295b1a7b2ff19d3dcc8f7253e51663470c888e"},{"label":"player","seed":"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","commit":"4ca14526b2751b640d549ce7caf8ac39438592211a0ec370064d57666a682ad6"}],"nonceSequence":[0,1,2,3,4]},"stepId":"peek-commit-surface"}],"stateDiffs":[],"nextActions":["Replace mock poke and peek execution with local fakenet adapter calls.","Replace command-backed fakenet metadata probes with stable gRPC-native probes once node surfaces are available.","Persist generated reports under a project workspace.","Add app-specific invariant packs as the NockApp interface stabilizes."]},"markdown":"# ✅ Forfeit Roulette (fairness) Lab Report\n\n> **PASS** — 1/1 steps · 3/3 invariants · 0 alerts · 17ms\n\n| Field | Value |\n| --- | --- |\n| Report | `lab_forfeit-roulette-fairness-v0_20260610225855215` |\n| Fixture | `forfeit-roulette-fairness-v0` |\n| Status | ✅ pass |\n| Steps | 1 passed, 0 failed |\n| Invariants | 3 passed, 0 failed |\n| Alerts | 0 clear, 0 triggered |\n| Snapshots | 2 |\n\n## Steps\n\n- ✅ `peek-commit-surface` — 4 _(peekSurface.nonce == 4)_; e530990846751537 -> e530990846751537\n\n## Invariants\n\n- ✅ `commit-only-peek` — peek surface clean: 6 field(s), no unrevealed secret _(expected no unrevealed seed/secret in the peek surface at peekSurface)_\n- ✅ `seeds-hashlock` — all 2 revealed seed(s) hash to their commitment _(expected sha256(seed) == commit for every revealed pair under reveals)_\n- ✅ `nonce-monotonic` — [0,1,2,3,4] _(expected nonceSequence is a strictly-increasing numeric sequence (replay/nonce safety))_\n\n## Alerts\n\n- No alert policies configured.\n\n## Adapter Observations\n\n- No adapter observations captured.\n\n## State Diffs\n\n\n## Snapshot Timeline\n\n- Initial state: e530990846751537\n- After peek-commit-surface: e530990846751537\n\n","evidence":{"stateDiffCount":0,"snapshotCount":2,"alertCount":0,"triggeredAlertCount":0,"clearAlertCount":0,"triggeredCriticalAlertCount":0,"triggeredWarningAlertCount":0,"triggeredInfoAlertCount":0,"environmentMode":"mock-fakenet","grpcEndpoint":"n/a","environmentNoteCount":4,"nextActionCount":4,"firstNextAction":"Replace mock poke and peek execution with local fakenet adapter calls.","invariantPackCount":0,"invariantPackIds":[],"invariantPackDomains":[],"firstInvariantPackPath":"","changedPaths":[],"markdownPreview":"# ✅ Forfeit Roulette (fairness) Lab Report"}}