Skip to content

🌊 Wave 2026-07-10 v2 · код-аудит routing/gf16/modem/router (P1 feasibility + 4×P2)#67

Draft
gHashTag wants to merge 1 commit into
mainfrom
feat/wave-report-2026-07-10-v2
Draft

🌊 Wave 2026-07-10 v2 · код-аудит routing/gf16/modem/router (P1 feasibility + 4×P2)#67
gHashTag wants to merge 1 commit into
mainfrom
feat/wave-report-2026-07-10-v2

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Wave 2026-07-10 v2 — код-аудит слабо-покрытых модулей

Draft. Добавляет только docs/WAVE_REPORT_2026-07-10-v2.md. Ничего в коде не трогает, не мержит, не пушит в main. Закрывает-частично #66.

Уходит туда, куда PR #59 и прошлые волны не заходили: routing.rs, gf16.rs, modem.rs, router.rs. Каждая находка с file:line; два routing-дефекта воспроизведены отдельной программой (verbatim-порт логики).

Честность

Новые находки

  • P1 routing.rs:158-185is_feasible не соответствует RFC 8966 feasibility distance (нет seqno/retraction/expiry): апдейт текущего next-hop с худшей (8.0) или inf метрикой отвергается → маршрут замерзает навсегда. Repro: оба апдейта → false, маршрут застыл на (2, 3.0).
  • P2 routing.rs:160 — ветка None ставит inf-маршрут (недостижимый по словам источника). Repro: ставит (5, inf).
  • P2 router.rs:411-423 — TTL проверяется до декремента (RFC 1812 §5.3.1); переживает split-horizon из PR 🌊 Wave 2026-07-10 · fix(build): зелёная библиотека + отчёт волны (closes-partial #58) #59 (тот ловит только 2-узловой отскок).
  • P2 modem.rs:293-317 — восстановление несущей только 1-го порядка; нет Doppler-rate → хвост фазы на длинном кадре при мобильности.
  • P2 gf16.rs:287-300 — комплексная бабочка округляет однократно (fused) ≠ 4-множительная RTL-форма; sim↔RTL паритет провалится на bring-up. Скалярные ops корректны.

Содержимое отчёта

Наука→прескрипшн (RFC 8966, RFC 1812, Moose 1994, GoldenFloat arXiv:2606.05017, IEEE 754-2019), 4 спринта с измеримыми критериями (E1.3/E2.4/E2.5/E4.2 — новые), 3 линии кооперации, «что дальше» (влить PR #60 первым), граница.

Все фиксы — прескрипшены (.t27/алгоритм), не патчи. Мердж и владелец — за человеком.

Anchor: phi^2 + phi^-2 = 3

🤖 Generated with Claude Code

…6/modem/router)

Audits the lightly-covered modules prior waves and PR #59 missed. New findings:
- P1 routing.rs:158-185 — is_feasible is "strictly-better-than-installed", not
  RFC 8966 feasibility distance (no seqno/retraction/expiry); current-successor
  worse/inf update rejected -> route frozen at best-ever metric, never withdrawn
  (reproduced with a verbatim logic port).
- P2 routing.rs:160 — is_feasible None-branch installs an inf-metric route.
- P2 router.rs:411-423 — TTL checked pre-decrement (survives PR #59 split-horizon).
- P2 modem.rs:293-317 — carrier recovery is first-order only (no Doppler-rate).
- P2 gf16.rs:287-300 — complex butterfly single-fused-rounding != 4-mul RTL form.

Honesty: main does NOT build from a clean clone (build.rs:29, reproduced);
fix pending in PR #60. Counts grounded: 68 .t27 specs, 101 tests. All PHY -sim.
Prescriptions only (.t27/algorithm), no Rust patches, draft PR only.

Anchor: phi^2 + phi^-2 = 3

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gHashTag

Copy link
Copy Markdown
Owner Author

Triage — KEEP

Verdict from cascade analysis: KEEP, awaiting caskade merge.

Root cause of red CI (build + test (-sim baseline)): committed gen/rust/ on feature branches with expanded module set contains E0425 defects from three optimizer scan bugs in t27c (const_propagate, copy_propagate, dead_store_elim not recursing into control-flow bodies). Not a defect in this PR — this PR is docs-only and has no code paths affected.

Cascade to unblock (all three DRAFT):

  1. t27#1461 — mut-inference (base t27/master)
  2. t27#1462 — recursive optimizer scan (stacked on #1461), verified −182 errors cross-env (linux sandbox 28 / macOS arm64 26, ±2 epsilon)
  3. tri-net#80 — regen gen/rust/ on feat branches with new t27c

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 bbaaa4a1 in t27, cargo check --lib grep count ^error\[E. Not fabricated.

phi^2 + phi^-2 = 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants