{"entry":{"fixtureId":"forfeit-dice-fairness-v0","appSlug":"forfeit-dice","appName":"Forfeit Dice (fairness)","reportId":"lab_forfeit-dice-fairness-v0_20260610225855214","generatedAt":"2026-06-10T22:58:55.214Z","status":"pass","jsonPath":"/bundle/server-functions/default/.nocklab/forfeit-dice-fairness.report.json","markdownPath":"/bundle/server-functions/default/.nocklab/forfeit-dice-fairness.report.md","reportHash":"sha256:bc75d0265ce087656be09bcf432a6ffa5d8b05833217e921b39e5cf771481931","snapshotRoot":"28d565bae5f10035","badgeCandidate":{"id":"badge-candidate-forfeit-dice","label":"Forfeit Dice (fairness) Verification Candidate","reportSlug":"forfeit-dice","fixtureId":"forfeit-dice-fairness-v0","status":"ready","evidenceKind":"model-attested","statusReDerived":"pass","statusConsistent":true,"kernelHash":null,"kernelVerified":false,"baseDeploymentHash":null,"baseVerified":false,"signatureStatus":"unsigned","evidence":{"reportHash":"sha256:bc75d0265ce087656be09bcf432a6ffa5d8b05833217e921b39e5cf771481931","snapshotRoot":"28d565bae5f10035","invariantPacks":[]}},"stepsPassed":1,"stepsTotal":1,"invariantsPassed":4,"invariantsTotal":4,"alertsTriggered":0,"snapshotsCaptured":2,"adapterObservationCount":0,"invariantPackCount":0},"report":{"reportId":"lab_forfeit-dice-fairness-v0_20260610225855214","fixtureId":"forfeit-dice-fairness-v0","generatedAt":"2026-06-10T22:58:55.214Z","app":{"name":"Forfeit Dice (fairness)","slug":"forfeit-dice","version":"0.0.1","kernel":"forfeit-dice"},"environment":{"mode":"mock-fakenet","grpcEndpoint":"n/a","fakenetCommand":"model","notes":["Positive proof of the forfeit-dice fairness invariants over a resolved round.","Peek surface is commitment-only (no seed); revealed seeds hash to their commitments; nonce strictly increases; the published roll lives in the unbiased [0,9999] band (rejection-sampled shax(jam[server client nonce]) mod 10000).","Honest limit: this proves the MODEL and that the invariants are well-formed, not the compiled Hoon (the compile-gate fixture covers that). The standalone forfeit-dice verifier proves the chi-square uniformity + rejection-sampling debias separately. Real-VM poke/peek awaits generic-cause nockapp-run."]},"summary":{"status":"pass","stepsPassed":1,"stepsFailed":0,"invariantsPassed":4,"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 == 3","observed":"3","beforeHash":"28d565bae5f10035","afterHash":"28d565bae5f10035","stateDiffs":[],"durationMs":19}],"invariants":[{"id":"commit-only-peek","title":"Peek surface never exposes an unrevealed seed","severity":"critical","status":"pass","observed":"peek surface clean: 7 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]","expected":"nonceSequence is a strictly-increasing numeric sequence (replay/nonce safety)"},{"id":"roll-in-unbiased-band","title":"Published roll lives in the unbiased [0,9999] band (modulo-bias removed by rejection sampling)","severity":"high","status":"pass","observed":"4217","expected":"0 <= peekSurface.roll <= 9999"}],"alerts":[],"adapterObservations":[],"stateSnapshots":[{"label":"Initial state","stateHash":"28d565bae5f10035","state":{"peekSurface":{"nonce":3,"commitHouse":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc","commitPlayer":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4","roll":4217,"rejectionIndex":0,"line":5000,"outcome":false},"reveals":[{"label":"house","seed":"1111111111111111111111111111111111111111111111111111111111111111","commit":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc"},{"label":"player","seed":"2222222222222222222222222222222222222222222222222222222222222222","commit":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4"}],"nonceSequence":[0,1,2,3]}},{"label":"After peek-commit-surface","stateHash":"28d565bae5f10035","state":{"peekSurface":{"nonce":3,"commitHouse":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc","commitPlayer":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4","roll":4217,"rejectionIndex":0,"line":5000,"outcome":false},"reveals":[{"label":"house","seed":"1111111111111111111111111111111111111111111111111111111111111111","commit":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc"},{"label":"player","seed":"2222222222222222222222222222222222222222222222222222222222222222","commit":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4"}],"nonceSequence":[0,1,2,3]},"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 Dice (fairness) Lab Report\n\n> **PASS** — 1/1 steps · 4/4 invariants · 0 alerts · 17ms\n\n| Field | Value |\n| --- | --- |\n| Report | `lab_forfeit-dice-fairness-v0_20260610225855214` |\n| Fixture | `forfeit-dice-fairness-v0` |\n| Status | ✅ pass |\n| Steps | 1 passed, 0 failed |\n| Invariants | 4 passed, 0 failed |\n| Alerts | 0 clear, 0 triggered |\n| Snapshots | 2 |\n\n## Steps\n\n- ✅ `peek-commit-surface` — 3 _(peekSurface.nonce == 3)_; 28d565bae5f10035 -> 28d565bae5f10035\n\n## Invariants\n\n- ✅ `commit-only-peek` — peek surface clean: 7 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] _(expected nonceSequence is a strictly-increasing numeric sequence (replay/nonce safety))_\n- ✅ `roll-in-unbiased-band` — 4217 _(expected 0 <= peekSurface.roll <= 9999)_\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: 28d565bae5f10035\n- After peek-commit-surface: 28d565bae5f10035\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":3,"nextActionCount":4,"firstNextAction":"Replace mock poke and peek execution with local fakenet adapter calls.","invariantPackCount":0,"invariantPackIds":[],"invariantPackDomains":[],"firstInvariantPackPath":"","changedPaths":[],"markdownPreview":"# ✅ Forfeit Dice (fairness) Lab Report"}}