2 Commits

Author SHA1 Message Date
ruv
0c01157e36 feat: ADR-032a midstreamer QUIC transport + secure TDM + temporal gesture + attractor drift
Integrate midstreamer ecosystem for QUIC-secured mesh transport and
advanced signal analysis:

QUIC Transport (hardware crate):
- quic_transport.rs: SecurityMode (ManualCrypto/QuicTransport), FramedMessage
  wire format, connection management, fallback support (856 lines, 30 tests)
- secure_tdm.rs: ReplayWindow, AuthenticatedBeacon (28-byte HMAC format),
  SecureTdmCoordinator with dual-mode security (994 lines, 20 tests)
- transport_bench.rs: Criterion benchmarks (plain vs authenticated vs QUIC)

Signal Analysis (signal crate):
- temporal_gesture.rs: DTW/LCS/EditDistance gesture matching via
  midstreamer-temporal-compare, quantized feature comparison (517 lines, 13 tests)
- attractor_drift.rs: Takens' theorem phase-space embedding, Lyapunov exponent
  classification (Stable/Periodic/Chaotic) via midstreamer-attractor (573 lines, 13 tests)

ADR-032 updated with Section 6: QUIC Transport Layer (ADR-032a)
README updated with CRV signal-line section, badge 1100+, ADR count 33

Dependencies: midstreamer-quic 0.1.0, midstreamer-scheduler 0.1.0,
midstreamer-temporal-compare 0.1.0, midstreamer-attractor 0.1.0

Total: 3,136 new lines, 76 tests, 6 benchmarks

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 22:22:19 -05:00
ruv
97f2a490eb feat: ADR-032 multistatic mesh security hardening
Addresses all 7 open security findings from security audit:
- H-1: HMAC-SHA256 beacon authentication + monotonic nonce
- M-3: SipHash-2-4 frame integrity tag
- M-4: Token-bucket NDP rate limiter (20/sec default)
- M-5: Coherence gate max_recalibrate_duration (30s)
- L-1: Ring buffer transition log (max 1000)
- L-4: explicit_bzero() NVS password buffer
- L-5: _Atomic qualifiers for dual-core safety

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 21:54:42 -05:00