{"entry":{"fixtureId":"forfeit-flip-fairness-v0","appSlug":"forfeit-flip","appName":"Forfeit Flip (fairness)","reportId":"lab_forfeit-flip-fairness-v0_20260610225855213","generatedAt":"2026-06-10T22:58:55.213Z","status":"pass","jsonPath":"/bundle/server-functions/default/.nocklab/forfeit-flip-fairness.report.json","markdownPath":"/bundle/server-functions/default/.nocklab/forfeit-flip-fairness.report.md","reportHash":"sha256:a95a9d330c237b5a2edab771af6bd20c217d331dc2db9e2c715af918c2664db0","snapshotRoot":"b61ea88c49baa5f3","badgeCandidate":{"id":"badge-candidate-forfeit-flip","label":"Forfeit Flip (fairness) Verification Candidate","reportSlug":"forfeit-flip","fixtureId":"forfeit-flip-fairness-v0","status":"ready","evidenceKind":"model-attested","statusReDerived":"pass","statusConsistent":true,"kernelHash":null,"kernelVerified":false,"baseDeploymentHash":null,"baseVerified":false,"signatureStatus":"unsigned","evidence":{"reportHash":"sha256:a95a9d330c237b5a2edab771af6bd20c217d331dc2db9e2c715af918c2664db0","snapshotRoot":"b61ea88c49baa5f3","invariantPacks":[]}},"stepsPassed":1,"stepsTotal":1,"invariantsPassed":3,"invariantsTotal":3,"alertsTriggered":0,"snapshotsCaptured":2,"adapterObservationCount":0,"invariantPackCount":0},"report":{"reportId":"lab_forfeit-flip-fairness-v0_20260610225855213","fixtureId":"forfeit-flip-fairness-v0","generatedAt":"2026-06-10T22:58:55.213Z","app":{"name":"Forfeit Flip (fairness)","slug":"forfeit-flip","version":"0.0.1","kernel":"forfeit-flip"},"environment":{"mode":"mock-fakenet","grpcEndpoint":"n/a","fakenetCommand":"model","notes":["Positive proof of the forfeit-flip fairness invariants over a resolved round.","Peek surface is commitment-only (no seed); revealed seeds hash to their commitments; nonce strictly increases.","Honest limit: this proves the MODEL and that the invariants are well-formed, not the compiled Hoon (the compile-gate fixture 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 == 3","observed":"3","beforeHash":"b61ea88c49baa5f3","afterHash":"b61ea88c49baa5f3","stateDiffs":[],"durationMs":19}],"invariants":[{"id":"commit-only-peek","title":"Peek surface never exposes an unrevealed seed","severity":"critical","status":"pass","observed":"peek surface clean: 4 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)"}],"alerts":[],"adapterObservations":[],"stateSnapshots":[{"label":"Initial state","stateHash":"b61ea88c49baa5f3","state":{"peekSurface":{"nonce":3,"commitHouse":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc","commitPlayer":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4","outcome":true},"reveals":[{"label":"house","seed":"1111111111111111111111111111111111111111111111111111111111111111","commit":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc"},{"label":"player","seed":"2222222222222222222222222222222222222222222222222222222222222222","commit":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4"}],"nonceSequence":[0,1,2,3]}},{"label":"After peek-commit-surface","stateHash":"b61ea88c49baa5f3","state":{"peekSurface":{"nonce":3,"commitHouse":"02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc","commitPlayer":"9f72ea0cf49536e3c66c787f705186df9a4378083753ae9536d65b3ad7fcddc4","outcome":true},"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 Flip (fairness) Lab Report\n\n> **PASS** — 1/1 steps · 3/3 invariants · 0 alerts · 17ms\n\n| Field | Value |\n| --- | --- |\n| Report | `lab_forfeit-flip-fairness-v0_20260610225855213` |\n| Fixture | `forfeit-flip-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` — 3 _(peekSurface.nonce == 3)_; b61ea88c49baa5f3 -> b61ea88c49baa5f3\n\n## Invariants\n\n- ✅ `commit-only-peek` — peek surface clean: 4 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\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: b61ea88c49baa5f3\n- After peek-commit-surface: b61ea88c49baa5f3\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 Flip (fairness) Lab Report"}}