docs(edge-cases): correct the stale QV credit-forgery claim - verified already fixed
This commit is contained in:
1 parent
7db42fed84
commit
7f37dab82c
1 file changed
+1
-1
+1
-1
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user