From 7f37dab82c01056dedee1d77c88df61c1ee60d3d Mon Sep 17 00:00:00 2001 From: OmO Orchestrator Date: Fri, 20 Nov 2026 14:57:07 -0500 Subject: [PATCH] docs(edge-cases): correct the stale QV credit-forgery claim - verified already fixed --- EDGE-CASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EDGE-CASES.md b/EDGE-CASES.md index 67f9f9b..cc31826 100644 --- a/EDGE-CASES.md +++ b/EDGE-CASES.md @@ -76,7 +76,7 @@ Evidence: `.omo/evidence/edge-cases-browser/`. Admin seed invalid inputs rejecte ## Domain adversarial matrices (six parallel agents) ### Assembly / governance + Fair Draw — 42 probes, 2 breaks fixed (74 tests green) -BREAKS #10, #11 (above). HELD: QV credits ≫ budget → finite sqrt weight; exactly-at-budget; negative/NaN/Infinity credits throw; delegation cycles A→B→A, 5-node, 10k-hop all terminate (no stack overflow); self/nonexistent delegation; double ballot counted once; zero ballots no NaN; Fair Draw tampered seed/salt → `verify()` false (never a winner); re-roll/second-reveal/no-prior-commit rejected; determinism; winner index in `[0,n)` across 250 draws. **Follow-up (off-limits root):** `putResidentCredit` accepts any credit *value* via unsigned P2P CRDT — single-row value forgery remains; real fix = move credit grants onto the signed Event Log. +BREAKS #10, #11 (above). HELD: QV credits ≫ budget → finite sqrt weight; exactly-at-budget; negative/NaN/Infinity credits throw; delegation cycles A→B→A, 5-node, 10k-hop all terminate (no stack overflow); self/nonexistent delegation; double ballot counted once; zero ballots no NaN; Fair Draw tampered seed/salt → `verify()` false (never a winner); re-roll/second-reveal/no-prior-commit rejected; determinism; winner index in `[0,n)` across 250 draws. **Follow-up (verified already fixed):** `putResidentCredit` still accepts any credit *value* via the unsigned P2P CRDT, but that value is never the vote-weight source — hand-traced `extractQvBallots` (`src/lib/governanceEvents.ts:136-157`) into `computeQvTally` (`src/lib/governance.ts:269-339`) confirms weight is derived solely from the signed Event Log's clamped ballot credits, with the CRDT `.credits` field read only as a membership marker. Residual (disclosed, not duplicated here): Sybil/self-enrollment buying one extra vote at the clamped honest weight — see ECONOMY.md's "Personhood / Sybil resistance" bullet. ### Housing + Tunnel Safety — breaks #8, #9 fixed (35 tests green) HELD: infeasible (more residents than capacity), zero slots/residents, all-equal tie determinism (20 runs), fairness-debt across 30 cycles (rotates, bounded, no starvation), impossible-constraint resident, negative/NaN space report rejected, duplicate slot ids safe; tunnel disconnected graph, all segments closed, start==end, unknown nodes, accessible-only routing, cyclic graph optimal, hazard on nonexistent segment ignored. **Follow-ups (by-contract):** negative edge weights → negative distance (weights documented `>0`); fractional sub-1 capacity from idle-hours scaling (intended).