Commit graph

426 commits

Author SHA1 Message Date
ruv
b544545cb0 docs: ADR-044 provisioning tool enhancements
5-phase plan to close remaining gaps in provision.py:
- Phase 1: 7 missing NVS keys (hop_count, chan_list, dwell_ms,
  power_duty, wasm_max, wasm_verify, wasm_pubkey)
- Phase 2: JSON config file for mesh provisioning
- Phase 3: Named presets (basic, vitals, mesh-3, mesh-6-vitals)
- Phase 4: --read (dump NVS) and --verify (boot check)
- Phase 5: Auto-detect serial port

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 15:57:34 -05:00
rUv
b6f7b8a74a
fix: add TDM and edge intelligence flags to provision.py (#131)
The user guide and release notes document TDM and edge intelligence
provisioning flags but provision.py only accepted --ssid, --password,
--target-ip, --target-port, and --node-id.

Add all NVS keys the firmware actually reads:
- --tdm-slot / --tdm-total: TDM mesh slot assignment
- --edge-tier: edge processing tier (0=off, 1=stats, 2=vitals)
- --pres-thresh, --fall-thresh: detection thresholds
- --vital-win, --vital-int: vitals timing parameters
- --subk-count: top-K subcarrier selection

Also validates that --tdm-slot and --tdm-total are specified together
and that slot < total.

Closes #130
2026-03-03 15:53:43 -05:00
rUv
86f08303e6
docs: update changelog, user guide, and README for ADR-043 (#128)
- CHANGELOG: add ADR-043 entries (14 new API endpoints, WebSocket fix,
  mobile WS fix, 25 real mobile tests)
- README: update ADR count from 41 to 43
- CLAUDE.md: update ADR count from 32 to 43
- User guide: add 14 new REST endpoints to API reference table, note
  that /ws/sensing is available on the HTTP port, update ADR count
2026-03-03 15:21:52 -05:00
rUv
d4fb7d30d3
fix: complete sensing server API, WebSocket connectivity, and mobile tests (#125)
The web UI had persistent 404 errors on model, recording, and training
endpoints, and the sensing WebSocket never connected on Dashboard/Live
Demo tabs because sensingService.start() was only called lazily on
Sensing tab visit.

Server (main.rs):
- Add 14 fully-functional Axum handlers: model CRUD (7), recording
  lifecycle (4), training control (3)
- Scan data/models/ and data/recordings/ at startup
- Recording writes CSI frames to .jsonl via tokio background task
- Model load/unload lifecycle with state tracking

Web UI (app.js):
- Import and start sensingService early in initializeServices() so
  Dashboard and Live Demo tabs connect to /ws/sensing immediately

Mobile (ws.service.ts):
- Fix WebSocket URL builder to use same-origin port instead of
  hardcoded port 3001

Mobile (jest.config.js):
- Fix testPathIgnorePatterns that was ignoring the entire test directory

Mobile (25 test files):
- Replace all it.todo() placeholder tests with real implementations
  covering components, services, stores, hooks, screens, and utils

ADR-043 documents all changes.
2026-03-03 13:27:03 -05:00
ruv
977da0f28e docs: link edge module categories to docs/edge-modules/ guides
Replace 48 ADR-041 anchor links with direct links to the 12
category-specific documentation files in docs/edge-modules/.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 11:59:21 -05:00
rUv
29b3e0a6fa
feat: complete vendor integration, edge modules, ADR-042 CHCI (#110)
feat: complete vendor integration, edge modules, ADR-042 CHCI
2026-03-03 11:55:06 -05:00
ruv
3b74798ba6 chore: add CLAUDE.local.md to .gitignore
Contains WiFi credentials and machine-specific paths — must never
be committed.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 11:54:35 -05:00
ruv
f1337ff1a2 fix: firmware CI — source IDF environment and use v5.2 image
The espressif/idf container requires `. $IDF_PATH/export.sh` to put
idf.py on PATH. GitHub Actions container: runs with plain sh which
skips the container entrypoint. Also downgrade from v5.4 to v5.2
which matches our local Docker build environment.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 11:52:57 -05:00
ruv
e94c7056f2 feat: add ADR-042 CHCI protocol, 24 new edge modules, README restructure
- ADR-042: Coherent Human Channel Imaging (non-CSI sensing protocol)
  with DDD domain model (6 bounded contexts)
- 24 new WASM edge modules: medical (5), retail (5), security (5),
  building (5), industrial (5), exotic (8)
- README: plain-language rewrites, moved detail sections below TOC,
  added edge module links to use case tables, firmware release docs
- User guide: firmware release table, edge intelligence documentation
- .gitignore: added rules for wasm, esp32 temp files, NVS binaries
- WASM edge crate: cargo config, integration tests, module registry

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 11:35:57 -05:00
ruv
d63d4d95d1 feat: implement 24 vendor-integrated WASM edge modules (ADR-041)
Complete implementation of all 24 vendor-integrated sensing modules
across 7 categories, compiled to wasm32-unknown-unknown for ESP32-S3
WASM3 runtime deployment. All 243 unit tests pass.

Signal Intelligence (6): flash attention, coherence gate, temporal
compress, sparse recovery, min-cut person match, optimal transport.
Adaptive Learning (4): DTW gesture learn, anomaly attractor, meta
adapt, EWC++ lifelong learning.
Spatial Reasoning (3): PageRank influence, micro-HNSW, spiking tracker.
Temporal Analysis (3): pattern sequence, temporal logic guard, GOAP.
AI Security (2): prompt shield, behavioral profiler.
Quantum-Inspired (2): quantum coherence, interference search.
Autonomous Systems (2): psycho-symbolic engine, self-healing mesh.
Exotic (2): time crystal detector, hyperbolic space embedding.

Includes vendor_common.rs shared library, security audit with 5 fixes,
and security audit report.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 00:29:36 -05:00
ruv
0c9b73a309 feat: expand ADR-041 WASM module catalog from 37 to 60 modules
Add 24 vendor-integrated modules across 7 new sub-categories that
leverage algorithms from ruvector (76 crates), midstream (10 crates),
and sublinear-time-solver (11 crates). New categories:

- Signal Intelligence (flash attention, temporal compression, coherence
  gating, sparse recovery, min-cut person matching, optimal transport)
- Adaptive Learning (DTW gesture learning, attractor anomaly detection,
  meta-learning adaptation, EWC lifelong learning)
- Spatial Reasoning (PageRank influence, micro-HNSW fingerprinting,
  spiking neural tracker)
- Temporal Analysis (pattern sequence detection, LTL safety guards,
  GOAP autonomous planning)
- Security Intelligence (CSI replay/injection shield, behavioral profiling)
- Quantum-Inspired (entanglement coherence, interference hypothesis search)
- Autonomous Systems (psycho-symbolic reasoning, self-healing mesh)
- Exotic additions (time crystals, hyperbolic space embedding)

Event ID registry expanded: 700-899 allocated for vendor modules.
Implementation priority phases updated with vendor-specific roadmap.
Grand totals: 60 modules, 224 event types, 13 categories.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-03 00:06:39 -05:00
ruv
4b1005524e feat: complete vendor repos, add edge intelligence and WASM modules
- Add 154 missing vendor files (gitignore was filtering them)
  - vendor/midstream: 564 files (was 561)
  - vendor/sublinear-time-solver: 1190 files (was 1039)
- Add ESP32 edge processing (ADR-039): presence, vitals, fall detection
- Add WASM programmable sensing (ADR-040/041) with wasm3 runtime
- Add firmware CI workflow (.github/workflows/firmware-ci.yml)
- Add wifi-densepose-wasm-edge crate for edge WASM modules
- Update sensing server, provision.py, UI components

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 23:53:25 -05:00
rUv
407b46b206
feat: vendor midstream and sublinear-time-solver libraries (#109)
Add ruvnet/midstream (AIMDS real-time inference) and
ruvnet/sublinear-time-solver (sublinear optimization algorithms)
as vendored dependencies under vendor/.
2026-03-02 23:34:05 -05:00
ruv
14902e6b4e docs: ADR-039 ESP32-S3 edge intelligence — on-device signal processing
3-tier edge pipeline: smart filtering (60-80% bandwidth reduction),
on-device vital signs (breathing, heart rate, fall detection), and
lightweight feature extraction. Maps capabilities from ADR-014, 016,
021, 027, 029, 030, 031, 037 to ESP32-S3 hardware budget.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 19:37:49 -05:00
ruv
086b0e690f docs: update README with v0.2.0-esp32 release link and provision.py path
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 19:25:43 -05:00
ruv
e0fe10b3dc feat: add provision.py to repo, fix user guide paths
- Move provision.py from release-only asset into firmware/esp32-csi-node/
- Fix user guide references from scripts/provision.py to correct path
- Update release link to v0.2.0-esp32

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 19:07:32 -05:00
rUv
915943cef4
feat: ESP32 CSI MAC address filtering with NVS/Kconfig support (#101)
* feat: add MAC address filter for ESP32 CSI collection

In multi-AP environments, CSI frames from different access points get
mixed together, corrupting the sensing signal. Add transmitter MAC
filtering so only frames from a specified AP are processed.

Implementation:
- csi_collector: filter in wifi_csi_callback by comparing info->mac
  against configured MAC; log transmitter MAC in periodic debug output
- csi_collector_set_filter_mac(): runtime API to enable/disable filter
- Kconfig: CSI_FILTER_MAC option (format "AA:BB:CC:DD:EE:FF")
- NVS: "filter_mac" 6-byte blob overrides Kconfig at runtime
- nvs_config: parse Kconfig MAC string at boot, load NVS override
- main: apply filter from config after csi_collector_init()

When no filter is configured (default), behavior is unchanged —
all transmitter MACs are accepted for backward compatibility.

Fixes #98

Co-Authored-By: claude-flow <ruv@ruv.net>

* chore: add CLAUDE.local.md to .gitignore

Local machine configuration (ESP-IDF paths, COM port, build
instructions) should not be committed to the repository.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 17:08:27 -05:00
ruv
66392cb4e2 docs: ADR-038 Sublinear Goal-Oriented Action Planning (GOAP)
GOAP-based planning system for dynamically prioritizing which ADRs to
implement next based on current project state, available hardware, user
goals, and resource constraints.

Key design decisions:
- 25 boolean feature flags + 5 hardware flags + 6 quality metrics
- ~80 actions mapped to ADR implementation phases
- Sublinear search via backward relevance pruning, hierarchical tier
  decomposition, incremental replanning, and admissible heuristics
- PageRank-based priority when no specific goal is given
- Integration with claude-flow swarm for dispatching to agents

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 14:39:15 -05:00
ruv
9f1fca5513 fix: update broken dataset download links in user guide
Replace dead URLs for MM-Fi and Wi-Pose datasets with working links:
- MM-Fi: https://ntu-aiot-lab.github.io/mm-fi + GitHub repo with download links
- Wi-Pose: https://github.com/NjtechCVLab/Wi-PoseDataset with Google Drive links

Also corrects Wi-Pose source attribution (Entropy 2023, 12 subjects).

Fixes #84

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 13:58:40 -05:00
ruv
36b0d27474 docs: ADR-037 multi-person pose detection from single ESP32 CSI stream
Four-phase approach: eigenvalue-based person count estimation, NMF signal
decomposition, multi-skeleton generation with Kalman tracking, and neural
multi-person model training via RVF pipeline.

Ref: #97

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 13:49:38 -05:00
rUv
113011e704
fix: WebSocket race condition, data source indicators, auto-start pose detection (#96)
* feat: RVF training pipeline & UI integration (ADR-036)

Implement full model training, management, and inference pipeline:

Backend (Rust):
- recording.rs: CSI recording API (start/stop/list/download/delete)
- model_manager.rs: RVF model loading, LoRA profile switching, model library
- training_api.rs: Training API with WebSocket progress streaming, simulated
  training mode with realistic loss curves, auto-RVF export on completion
- main.rs: Wire new modules, recording hooks in all CSI paths, data dirs

UI (new components):
- ModelPanel.js: Dark-mode model library with load/unload, LoRA dropdown
- TrainingPanel.js: Recording controls, training config, live Canvas charts
- model.service.js: Model REST API client with events
- training.service.js: Training + recording API client with WebSocket progress

UI (enhancements):
- LiveDemoTab: Model selector, LoRA profile switcher, A/B split view toggle,
  training quick-panel with 60s recording shortcut
- SettingsPanel: Full dark mode conversion (issue #92), model configuration
  (device, threads, auto-load), training configuration (epochs, LR, patience)
- PoseDetectionCanvas: 10-frame pose trail with ghost keypoints and motion
  trajectory lines, cyan trail toggle button
- pose.service.js: Model-inference confidence thresholds

UI (plumbing):
- index.html: Training tab (8th tab)
- app.js: Panel initialization and tab routing
- style.css: ~250 lines of training/model panel dark-mode styles

191 Rust tests pass, 0 failures. Closes #92.

Refs: ADR-036, #93

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix: real RuVector training pipeline + UI service fixes

Training pipeline (training_api.rs):
- Replace simulated training with real signal-based training loop
- Load actual CSI data from .csi.jsonl recordings or live frame history
- Extract 180 features per frame: subcarrier amplitudes, temporal variance,
  Goertzel frequency analysis (9 bands), motion gradients, global stats
- Train calibrated linear CSI-to-pose mapping via mini-batch gradient descent
  with L2 regularization (ridge regression), Xavier init, cosine LR decay
- Self-supervised: teacher targets from derive_pose_from_sensing() heuristics
- Real validation metrics: MSE and PCK@0.2 on 80/20 train/val split
- Export trained .rvf with real weights, feature normalization stats, witness
- Add infer_pose_from_model() for live inference from trained model
- 16 new tests covering features, training, inference, serialization

UI fixes:
- Fix double-URL bug in model.service.js and training.service.js
  (buildApiUrl was called twice — once in service, once in apiService)
- Fix route paths to match Rust backend (/api/v1/train/*, /api/v1/recording/*)
- Fix request body formats (session_name, nested config object)
- Fix top-level await in LiveDemoTab.js blocking module graph
- Dynamic imports for ModelPanel/TrainingPanel in app.js
- Center nav tabs with flex-wrap for 8-tab layout

Co-Authored-By: claude-flow <ruv@ruv.net>

* fix: WebSocket onOpen race condition, data source indicators, auto-start pose detection

- Fix WebSocket onOpen race condition in websocket.service.js where
  setupEventHandlers replaced onopen after socket was already open,
  preventing pose service from receiving connection signal
- Add 4-state data source indicator (LIVE/SIMULATED/RECONNECTING/OFFLINE)
  across Dashboard, Sensing, and Live Demo tabs via sensing.service.js
- Add hot-plug ESP32 auto-detection in sensing server (auto mode runs
  both UDP listener and simulation, switches on ESP32_TIMEOUT)
- Auto-start pose detection when backend is reachable
- Hide duplicate PoseDetectionCanvas controls when enableControls=false
- Add standalone Demo button in LiveDemoTab for offline animated demo
- Add data source banner and status styling

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 13:47:49 -05:00
rUv
c193cd4299
Merge pull request #88 from Harshit10j2004/harshit_1001
Update the dockerfile.python 1 by disabling Python bytecode generation
2026-03-02 11:27:17 -05:00
rUv
7e8568a8e5
Merge pull request #91 from ruvnet/fix/issue-86-live-demo-real-data
fix: live demo accuracy, data source transparency, dark mode UI (issue #86)
2026-03-02 11:15:34 -05:00
ruv
51140f599f fix: update image references and remove obsolete screenshots 2026-03-02 11:11:58 -05:00
ruv
47d0640c49 fix: dark mode for pose canvas controls, single-row layout with icons
- All buttons converted to dark translucent style with colored accents:
  Start (green), Stop (red), Reconnect (blue), Demo (purple)
- Header, wrapper, status badge all use dark backgrounds
- Controls in single flat row (no wrapping)
- Mode select dropdown styled for dark theme
- HTML entity icons on all buttons

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 11:10:31 -05:00
ruv
6959668e21 docs: update ADR-035 with dark mode, render modes, pose_source fix
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 11:08:13 -05:00
ruv
6a408b30e8 Refactor code structure for improved readability and maintainability 2026-03-02 11:07:41 -05:00
ruv
64dae5b1c1 feat: implement heatmap and dense pose render modes
- Heatmap: Gaussian radial blobs per keypoint with per-person hue,
  faint skeleton overlay at 25% opacity
- Dense: body region segmentation with colored filled polygons for
  head, torso, arms, legs — thick strokes + joint circles
- Keypoints: now also renders bounding box and confidence
- Previously both heatmap and dense were stubs falling back to skeleton

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 11:05:25 -05:00
ruv
8e487c54ea fix: dark mode for Live Demo tab + pose_source passthrough
- Convert all Live Demo sidebar panels to dark theme matching rest of UI
- Fix pose_source not reaching LiveDemoTab (was lost in
  convertZoneDataToRestFormat — now passes through from WS message)
- Dark backgrounds, muted text, consistent border opacity throughout
- Estimation Mode badge colors adjusted for dark background contrast

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 11:03:09 -05:00
ruv
135d7d3d8c docs: add live pose detection screenshot to README
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 11:00:02 -05:00
ruv
9dd61bdbfa docs: update UI README with sensing tab, Rust backend, data sources
Reflects current state: Rust sensing server as primary backend,
sensing tab with 3D signal field, data source indicators, estimation
mode badge, setup guide, Docker deployment with CSI_SOURCE, and
updated file tree with all components/services.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 10:57:56 -05:00
ruv
8166d8d822 fix: live demo static pose & inaccurate sensing data (issue #86)
- Docker default changed from --source simulated to --source auto
  (auto-detects ESP32 on UDP 5005, falls back to simulation)
- Pose derivation now driven by real sensing features: motion_band_power,
  breathing_band_power, variance, dominant_freq_hz, change_points
- Temporal feature extraction: 100-frame circular buffer, Goertzel
  breathing rate estimation (0.1-0.5 Hz), frame-to-frame L2 motion
  detection, SNR-based signal quality metric
- Signal field driven by subcarrier variance spatial mapping instead
  of fixed animation circle
- UI data source indicators: LIVE/RECONNECTING/SIMULATED banner on
  sensing tab, estimation mode badge on live demo tab
- Setup guide panel explaining ESP32 count requirements for each
  capability level (1x: presence, 3x: localization, 4x+: full pose)
- Tick rate improved from 500ms to 100ms (2fps to 10fps)
- Fixed Option<f64> division bug from PR #83
- ADR-035 documents all decisions

Closes #86

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 10:54:07 -05:00
ruv
fdc7142dfa feat: Implement RSSI service for iOS and Web platforms
- Added IosRssiService to handle synthetic RSSI data for iOS.
- Created WebRssiService to simulate RSSI scanning on the web.
- Defined shared types for WifiNetwork and RssiService in rssi.service.ts.
- Introduced simulation service to generate synthetic sensing data.
- Implemented WebSocket service for real-time data handling with reconnection logic.
- Established Zustand stores for managing application state related to MAT and pose data.
- Developed theme context and utility functions for consistent styling and formatting.
- Added type definitions for various application entities including API responses and sensing data.
- Created utility functions for color mapping and URL validation.
- Configured TypeScript settings for the mobile application.
2026-03-02 10:30:33 -05:00
ruv
02192b0232 refactor: remove RSSI and simulation services along with related types and stores
- Deleted Android and iOS RSSI service implementations.
- Removed simulation service and its associated data generation logic.
- Eliminated related types and stores for managing RSSI and simulation data.
- Cleaned up theme context and utility functions related to color and formatting.
- Removed unused type definitions and configuration files.
2026-03-02 10:25:23 -05:00
harshit
8a46fff6b0 Update the dockerfile.python 1 by disabling Python bytecode generation with PYTHONDONTWRITEBYTECODE=1 to make runtime faster 2026-03-02 20:53:15 +05:30
rUv
67f1fc162e
feat: Expo mobile app — full integration by MaTriXy (#83)
feat: full app integration — all screens wired and working
2026-03-02 09:55:52 -05:00
ruv
4e925dba50 docs: update README with QUIC mesh security, CRV ADR-033 link, v0.3.0 changelog
- Add QUIC Mesh Security row to feature table (ADR-032)
- Fix Signal-Line Protocol link to ADR-033
- Update v3.1.0 changelog with ADR-032/032a, temporal gesture, attractor drift
- Update line counts (28K+ lines, 400+ tests, 15 crates published)

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 09:36:54 -05:00
ruv
46d718d62f merge: resolve claude.md case conflict — keep CLAUDE.md only
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 09:35:39 -05:00
ruv
88d39e2639 fix: remove duplicate claude.md (case-insensitive filesystem conflict)
Windows treats CLAUDE.md and claude.md as the same file. Remove the
lowercase variant to prevent merge conflicts on case-insensitive systems.

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 09:35:17 -05:00
rUv
7c2e7e2b27
Merge PR #85: v0.3.0 — RuvSense multistatic, CRV, QUIC, 15 crates published
feat: ADR-032/033 security hardening + CRV signal-line + QUIC transport (v0.3.0)
2026-03-02 08:46:29 -05:00
ruv
381b51a382 docs: update user guide with v0.3.0 features — multistatic mesh, CRV, QUIC, crates.io
- Test count 700+ → 1,100+, ADR count 27 → 33, Rust version 1.75+
- Add crates.io installation section (cargo add for all 15 crates)
- Add ESP32 multistatic mesh section (TDM, channel hopping, QUIC transport)
- Add mesh key provisioning and TDM slot assignment instructions
- Add CRV signal-line protocol section with 6-stage table
- Update vital signs range for multistatic mesh (~8 m)
- Update through-wall FAQ with multistatic mesh capabilities
- Update ESP32 hardware setup with secure provisioning and ADR refs

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 08:46:09 -05:00
ruv
e99a41434d chore: bump workspace to v0.3.0 and publish 15 crates to crates.io
- Workspace version: 0.2.0 → 0.3.0
- All internal path dependency versions updated
- ruvector-crv/gnn gated behind optional `crv` feature (removed [patch.crates-io])
- All 15 crates published to crates.io at v0.3.0

Published crates (in order):
  1. wifi-densepose-core
  2. wifi-densepose-vitals
  3. wifi-densepose-wifiscan
  4. wifi-densepose-hardware
  5. wifi-densepose-config
  6. wifi-densepose-db
  7. wifi-densepose-signal
  8. wifi-densepose-nn
  9. wifi-densepose-ruvector
  10. wifi-densepose-api
  11. wifi-densepose-train
  12. wifi-densepose-mat
  13. wifi-densepose-wasm
  14. wifi-densepose-sensing-server
  15. wifi-densepose-cli

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 08:39:23 -05:00
rUv
0aab555821
Merge pull request #77 from ruvnet/ruvsense-full-implementation
feat: RuvSense multistatic sensing + field model + RuView fusion (ADR-029/030/031)
2026-03-02 08:24:28 -05:00
Yossi Elkrief
df394019cc feat: full app integration — all screens wired and working 2026-03-02 13:02:50 +02:00
Yossi Elkrief
47861de821 feat: Phase 4 — Live, Vitals, Zones, MAT, Settings screens
LiveScreen: GaussianSplatWebView + gaussian-splats.html (Three.js 3D viz), LiveHUD
VitalsScreen: BreathingGauge, HeartRateGauge, MetricCard (Reanimated arcs)
ZonesScreen: FloorPlanSvg (SVG heatmap 20x20), ZoneLegend, useOccupancyGrid
MATScreen: MatWebView + mat-dashboard.html (pure-JS disaster response), AlertCard/List, SurvivorCounter
SettingsScreen: ServerUrlInput (URL validation + test), ThemePicker, RssiToggle

Verified: tsc 0 errors, jest passes
2026-03-02 13:00:49 +02:00
Yossi Elkrief
779bf8ff43 feat: Phase 3 — services, stores, navigation, design system
Services: ws.service, api.service, simulation.service, rssi.service (android+ios)
Stores: poseStore, settingsStore, matStore (Zustand)
Types: sensing, mat, api, navigation
Hooks: usePoseStream, useRssiScanner, useServerReachability
Theme: colors, typography, spacing, ThemeContext
Navigation: MainTabs (5 tabs), RootNavigator, types
Components: GaugeArc, SparklineChart, OccupancyGrid, StatusDot, ConnectionBanner, SignalBar, +more
Utils: ringBuffer, colorMap, formatters, urlValidator

Verified: tsc 0 errors, jest passes
2026-03-02 12:53:45 +02:00
Yossi Elkrief
fbd7d837c7 feat: Expo mobile scaffold — Phase 2 complete (118-file structure)
Expo SDK 51 TypeScript scaffold with all architecture files.
Verified: tsc 0 errors, jest passes.
2026-03-02 12:45:40 +02:00
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
60e0e6d3c4 feat: ADR-033 CRV signal-line integration + ruvector-crv 6-stage pipeline
Implement full CRV (Coordinate Remote Viewing) signal-line protocol
mapping to WiFi CSI sensing via ruvector-crv:

- Stage I: CsiGestaltClassifier (6 gestalt types from amplitude/phase)
- Stage II: CsiSensoryEncoder (texture/color/temperature/sound/luminosity/dimension)
- Stage III: Mesh topology encoding (AP nodes/links → GNN graph)
- Stage IV: Coherence gate → AOL detection (signal vs noise separation)
- Stage V: Pose interrogation via differentiable search
- Stage VI: Person partitioning via MinCut clustering
- Cross-session convergence for cross-room identity

New files:
- crv/mod.rs: 1,430 lines, 43 tests
- crv_bench.rs: 8 criterion benchmarks (gestalt, sensory, pipeline, convergence)
- ADR-033: 740-line architecture decision with 30+ acceptance criteria
- patches/ruvector-crv: Fix ruvector-gnn 2.0.5 API mismatch

Dependencies: ruvector-crv 0.1.1, ruvector-gnn 2.0.5

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 22:21:59 -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