🌊 Wave 2026-07-11 · audit discovery/daemon/wire + .t27 specs — beacon-auth inert (P1), hello.t27 ghost (P1)#69
Draft
gHashTag wants to merge 1 commit into
Draft
🌊 Wave 2026-07-11 · audit discovery/daemon/wire + .t27 specs — beacon-auth inert (P1), hello.t27 ghost (P1)#69gHashTag wants to merge 1 commit into
gHashTag wants to merge 1 commit into
Conversation
…st spec, self_healing cooldown truncation Wave audit of the under-covered modules (discovery.rs, daemon.rs, wire.rs) and the .t27 specs themselves. Seven new weak spots (2 P1, 5 P2), none overlapping waves #59/#67 or crypto #63/#65. Headline P1s: - E2/E3 HELLO authentication (verify_mac/is_fresh) is called only from #[test]; the daemon RX loop feeds ETX unverified, and the E3.1 src-spoof guard keys on FrameKind::Hello which live beacons never emit (they ride as FrameKind::Data + HELLO_TYPE). Ref RFC 8967/9467. - specs/hello.t27 is a stale ghost: 13-byte MAC-less beacon vs the live ts+MAC discovery.rs; gen/rust/hello.rs is unreferenced. SSOT broken. Grounded: main @6850649 does NOT build (cargo build -> 4 errors in build.rs). 68 specs, 101 tests, 9/68 gen modules linked into lib.rs — all by command. phi^2 + phi^-2 = 3 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 10, 2026
Owner
Author
Triage — KEEPVerdict from cascade analysis: KEEP, awaiting caskade merge. Root cause of red CI ( Cascade to unblock (all three DRAFT):
Once #80 lands, baseline CI on this PR goes green automatically. No action required on this PR — it stays DRAFT until human merge. Realm-check discipline: numbers above measured on commit SHA phi^2 + phi^-2 = 3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft-only wave report. Does not touch code — adds
docs/WAVE_REPORT_2026-07-11.md. Closes-partial #68.What this wave found (new; no overlap with #59/#67/#63/#65)
Audited the modules prior waves under-covered —
discovery.rs,daemon.rs,wire.rs— and the.t27specs themselves.P1 · Beacon authentication is inert on the live datapath.
Hello::verify_macandHello::is_freshare invoked only inside#[test]. The daemon RX loop (trios_meshd.rs:183-186) parses a beacon and feedsreports_hearing(me)straight into the ETX table with no MAC/freshness/replay check. The E3.1 src-spoof guard (router.rs:404) keys onFrameKind::Hello, but live beacons are sent asFrameKind::Data+ app-layerHELLO_TYPE=0(send_direct,router.rs:368-377), so the guard never fires. A session-holding neighbor can inflate/replayheard[]and steer routes — the exact W2 insider E2 claims to stop. (RFC 8967/9467.)P1 ·
hello.t27is a stale ghost spec. It models a 13-byte, MAC-less, timestamp-less, 3-neighbor beacon; the livediscovery.rsbeacon is[src][seq][ts:8][n][heard][mac:16].gen/rust/hello.rsis generated, drift-green, and referenced by nothing. Beacon security lives outside the SSOT, so "fix = edit.t27+ regenerate" cannot currently be applied to it.Plus 5×P2: hardcoded universal MAC key;
self_healing.t27cooldown timestamp truncation (with a spec test its own arithmetic contradicts — ties #61); spec-coverage illusion (9/68 gen modules linked,discovery/daemonunspecced); non-constant-time MAC compare; ETX floor-bias/bucket flap.Honesty (grounded by command, 2026-07-11)
main @6850649does NOT build:cargo build-> 4 errors, first inbuild.rs(E0308/E0599). Not claiming main green. Repair owned by build(pipeline): pinned-t27c gen/rust + physical drift-guard (запрет писать в репо неправильно) #60/🌊 Wave 2026-07-10 · fix(build): зелёная библиотека + отчёт волны (closes-partial #58) #59.#[test]· 9/68 gen modules linked intolib.rs— all verified via command, none fabricated.docs/AUTONOMOUS.md.Deliverables in report
7-row weak-spots heatmap (file:line + E-id) · science->prescription with primary refs · 4-sprint plan with measurable acceptance criteria · 3 parallel cooperation lanes · boundary section.
phi^2 + phi^-2 = 3🤖 Generated with Claude Code