Problem
RuView already preserves WifiCir as an authoritative native RF modality and already has CSI phase sanitation, antenna phase alignment, CIR estimation, multistatic CIR gating, calibration receipts, and sample age. The missing piece is packet to packet temporal coherence for communication native mmWave CIR streams.
A fresh physical testbed result on programmable IEEE 802.11ad exposes the full complex 128 tap CIR for every packet and shows that raw packet timing and common phase drift materially degrade sub wavelength motion sensing.
Source: https://arxiv.org/abs/2609.15622
Across 39 recordings, the paper reports median waveform correlation improving from 0.41 after timestamp regularization to 0.52 after delay alignment and 0.61 after static reference relative phase calibration. Breathing rate mean absolute error improves from 5.1 to 4.1 to 3.6 breaths per minute.
These are measured paper results, not RuView results.
Why it matters
RuView already treats native complex samples, phase state, geometry, calibration, sample age, and provenance as first class through ADR 279. Adding temporal CIR coherence at the correct layer could improve vital sign, micro motion, radar style gating, and future 60 GHz sensing without changing the wire contract or introducing a new model.
Current architecture
Relevant existing components:
v2/crates/ruview-unified defines RfFrameV2 and WifiCir.
v2/crates/wifi-densepose-signal/src/ruvsense/cir.rs derives CIR from phase sanitized CSI.
PhaseSanitizer and phase_align.rs handle existing phase cleanup and antenna alignment.
ruvsense/calibration.rs records room calibration with phase preconditions.
ruvsense/multistatic.rs already supports CIR based delay gating.
Observed limitation
Current phase sanitation and antenna alignment do not constitute an explicit packet level coherence contract for a native CIR stream. Delay drift, common phase drift, missing packets, reordered packets, stale static references, and reference path disappearance need explicit handling and observability.
Proposed improvement
Add an experimental CirCoherenceCalibrator in wifi-densepose-signal behind a feature flag.
Inputs:
- Native complex CIR taps from
RfFrameV2 or the existing CIR type.
- Monotonic packet sequence or timestamp.
- Calibration state and phase state.
- Optional static reference delay window selected during calibration.
Outputs:
- Delay aligned CIR.
- Relative phase calibrated CIR.
- Estimated delay shift.
- Estimated common phase drift.
- Reference path quality.
- Coherence confidence.
- Typed abstention reason when calibration is not supportable.
The calibrator must never overwrite the authoritative native CIR. It produces a derived view with a new receipt referencing source frame ids and calibration id.
Implementation phases
Phase 1: deterministic replay
Implement delay profile alignment and static reference relative phase calibration against synthetic and recorded complex CIR fixtures. Add packet loss, jitter, reordering, and static path disappearance perturbations.
Phase 2: RuView downstream benchmark
Compare four arms using the same frozen data:
- current RuView path
- timestamp regularization only
- delay alignment
- delay alignment plus relative phase calibration
Measure waveform correlation, breathing MAE, micro motion spectral SNR, false confidence, p95 latency, allocation count, and deterministic replay.
Phase 3: physical hardware
Run at least 30 recordings across at least three rooms, two subject distances, two antenna layouts, and multiple packet loss conditions. If programmable 802.11ad hardware is not available, use an equivalent native complex CIR source but do not claim 802.11ad reproduction.
Security and privacy
- Native complex CIR remains P0 or equivalent raw RF evidence and stays inside the edge trust boundary by default.
- Reject non finite taps, impossible shape, non monotonic sequence unless explicit reorder buffering is enabled, oversized frames, and unbounded reference windows.
- Limit memory and CPU for alignment search to prevent resource exhaustion.
- A stale or disappearing static reference must lower confidence or force abstention, never silently preserve prior calibration.
- A malicious reflector can perturb the reference path. Record reference path quality and do not treat it as device identity or authentication.
- Calibration receipts bind configuration, source evidence class, algorithm version, and chosen reference window.
- No vital sign, safety, occupancy, or medical claim is promoted from replay or synthetic evidence.
Benchmark plan
Baseline against current main on the same recordings.
Record:
- hardware and firmware
- OS and Rust compiler
- centre frequency and bandwidth
- CIR tap count and packet rate
- packet loss and jitter
- waveform correlation
- breathing MAE where ground truth exists
- spectral SNR around induced micro motion
- p50 and p95 processing latency
- memory and allocations
- false high confidence rate under reference loss
- number of runs and variance
Run at least three deterministic replays per fixture and multiple independent physical captures.
Success metrics
Promotion to production candidate requires all of:
- At least 15 percent relative improvement in waveform correlation over the current RuView path on held out measured captures.
- At least 15 percent relative reduction in breathing MAE where independent ground truth exists.
- No more than 2 percent degradation on nominal current CSI or CIR fixtures.
- p95 incremental latency below 1 millisecond per frame on the reference x86 gateway and below 2 milliseconds on ARM64 edge hardware.
- Zero false high confidence outputs when the reference path is removed in the adversarial fixture.
- Byte deterministic replay for the same input and configuration.
MetaHarness plan
Use stable ruvnet/metaharness v0.4.4 with a repository specific evaluator. The objective is multi dimensional: improve measured coherence and downstream error while preserving latency, memory, determinism, privacy, and calibration failure behavior. Darwin optimization is allowed only for bounded parameters such as reference window width or alignment search radius after a frozen holdout exists. Candidate logic may not modify tests or holdout manifests.
Dependencies
No new runtime dependency is required for the initial implementation. Reuse existing complex math, CIR, calibration, frame, provenance, benchmark, and RuVector receipt infrastructure.
Compatibility and migration
Additive feature flagged path only. Native RfFrameV2 and existing CIR representations remain unchanged. Disabling the feature returns current behavior. No stored frame migration.
Rollback
Remove the feature flagged calibrator and derived receipt type. Native RF data and all existing calibration paths remain valid.
Definition of done
- ADR covering packet level CIR coherence, security, privacy, benchmark design, and rollback.
- Unit, regression, property, malformed input, and deterministic replay tests.
- x86 and ARM64 release benchmarks.
- Real measured capture comparison with independent ground truth where used.
- MetaHarness receipt bound to the exact tested commit.
- No claim promoted beyond its evidence level.
Production classification
Experimental until measured multi room reproduction passes the gates above.
Problem
RuView already preserves
WifiCiras an authoritative native RF modality and already has CSI phase sanitation, antenna phase alignment, CIR estimation, multistatic CIR gating, calibration receipts, and sample age. The missing piece is packet to packet temporal coherence for communication native mmWave CIR streams.A fresh physical testbed result on programmable IEEE 802.11ad exposes the full complex 128 tap CIR for every packet and shows that raw packet timing and common phase drift materially degrade sub wavelength motion sensing.
Source: https://arxiv.org/abs/2609.15622
Across 39 recordings, the paper reports median waveform correlation improving from 0.41 after timestamp regularization to 0.52 after delay alignment and 0.61 after static reference relative phase calibration. Breathing rate mean absolute error improves from 5.1 to 4.1 to 3.6 breaths per minute.
These are measured paper results, not RuView results.
Why it matters
RuView already treats native complex samples, phase state, geometry, calibration, sample age, and provenance as first class through ADR 279. Adding temporal CIR coherence at the correct layer could improve vital sign, micro motion, radar style gating, and future 60 GHz sensing without changing the wire contract or introducing a new model.
Current architecture
Relevant existing components:
v2/crates/ruview-unifieddefinesRfFrameV2andWifiCir.v2/crates/wifi-densepose-signal/src/ruvsense/cir.rsderives CIR from phase sanitized CSI.PhaseSanitizerandphase_align.rshandle existing phase cleanup and antenna alignment.ruvsense/calibration.rsrecords room calibration with phase preconditions.ruvsense/multistatic.rsalready supports CIR based delay gating.Observed limitation
Current phase sanitation and antenna alignment do not constitute an explicit packet level coherence contract for a native CIR stream. Delay drift, common phase drift, missing packets, reordered packets, stale static references, and reference path disappearance need explicit handling and observability.
Proposed improvement
Add an experimental
CirCoherenceCalibratorinwifi-densepose-signalbehind a feature flag.Inputs:
RfFrameV2or the existing CIR type.Outputs:
The calibrator must never overwrite the authoritative native CIR. It produces a derived view with a new receipt referencing source frame ids and calibration id.
Implementation phases
Phase 1: deterministic replay
Implement delay profile alignment and static reference relative phase calibration against synthetic and recorded complex CIR fixtures. Add packet loss, jitter, reordering, and static path disappearance perturbations.
Phase 2: RuView downstream benchmark
Compare four arms using the same frozen data:
Measure waveform correlation, breathing MAE, micro motion spectral SNR, false confidence, p95 latency, allocation count, and deterministic replay.
Phase 3: physical hardware
Run at least 30 recordings across at least three rooms, two subject distances, two antenna layouts, and multiple packet loss conditions. If programmable 802.11ad hardware is not available, use an equivalent native complex CIR source but do not claim 802.11ad reproduction.
Security and privacy
Benchmark plan
Baseline against current main on the same recordings.
Record:
Run at least three deterministic replays per fixture and multiple independent physical captures.
Success metrics
Promotion to production candidate requires all of:
MetaHarness plan
Use stable
ruvnet/metaharnessv0.4.4 with a repository specific evaluator. The objective is multi dimensional: improve measured coherence and downstream error while preserving latency, memory, determinism, privacy, and calibration failure behavior. Darwin optimization is allowed only for bounded parameters such as reference window width or alignment search radius after a frozen holdout exists. Candidate logic may not modify tests or holdout manifests.Dependencies
No new runtime dependency is required for the initial implementation. Reuse existing complex math, CIR, calibration, frame, provenance, benchmark, and RuVector receipt infrastructure.
Compatibility and migration
Additive feature flagged path only. Native
RfFrameV2and existing CIR representations remain unchanged. Disabling the feature returns current behavior. No stored frame migration.Rollback
Remove the feature flagged calibrator and derived receipt type. Native RF data and all existing calibration paths remain valid.
Definition of done
Production classification
Experimental until measured multi room reproduction passes the gates above.