ruv
fb2d1afb0c
feat(firmware): complete ADR-061 QEMU testing platform (all 9 layers)
...
Fix 9 bugs (LFSR bias, MAC filter init, scenario loop, NVS boundary
values), add 7 new files completing Layers 3 (mesh), 4 (GDB), 5
(coverage), 8 (snapshots), 9 (chaos testing), expand CI with fuzz
and NVS validation jobs, update README with full platform overview.
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-14 11:08:59 -04:00
ruv
ffeaa46bc6
feat(firmware): QEMU ESP32-S3 testing platform (ADR-061)
...
Implement full QEMU emulation framework for firmware testing without
physical hardware:
Mock CSI Generator (mock_csi.c):
- 10 test scenarios: empty room, static/walking person, fall, multi-person,
channel sweep, MAC filter, ring overflow, boundary RSSI, zero-length
- Physics-based signal model with breathing modulation and Doppler
- LFSR pseudo-random noise, CONFIG_CSI_MOCK_ENABLED Kconfig guard
- Scenario 255 runs all sequentially
QEMU Runner & CI:
- qemu-esp32s3-test.sh: build, merge flash image, run QEMU, validate
- validate_qemu_output.py: 14 automated checks (boot, NVS, edge, vitals,
crash detection) with colored output and severity-based exit codes
- generate_nvs_matrix.py: 14 NVS provisioning configs for matrix testing
- firmware-qemu.yml: GitHub Actions CI with 4-scenario matrix
Fuzz Testing:
- 3 libFuzzer targets: CSI serialize, NVS config validation, ring buffer
- Host-compilable ESP-IDF stubs (no ESP-IDF dependency for fuzzing)
- 6 seed corpus files for guided fuzzing
- Makefile with ASAN + UBSAN sanitizers
Documentation:
- firmware/esp32-csi-node/README.md: comprehensive QEMU testing guide
- Root README.md: collapsed QEMU testing section
Build verified: normal firmware build (RC=0) with mock_csi excluded.
Closes #259
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-13 09:17:07 -04:00
Reuven
a28a875594
fix(firmware): provision.py nvs import + partition config template
...
Fixes #215 : provision.py now correctly imports from esp_idf_nvs_partition_gen
package (the pip-installable version) before falling back to legacy import.
Fixes #216 : Added sdkconfig.defaults.template with custom partition table
configuration for 8MB flash boards. Copy to sdkconfig.defaults before build:
cp sdkconfig.defaults.template sdkconfig.defaults
Changes:
- firmware/esp32-csi-node/provision.py: Try esp_idf_nvs_partition_gen first
- scripts/provision.py: Same import fix
- firmware/esp32-csi-node/sdkconfig.defaults.template: 8MB flash config with
2MB OTA partitions, compiler size optimization, and CSI enabled
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-10 08:40:47 -04: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
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
093be1f4b9
feat: 100% validated witness bundle with proof hash + generator script
...
- Regenerate Python proof hash for numpy 2.4.2 + scipy 1.17.1 (PASS)
- Update ADR-028 and WITNESS-LOG-028 with passing proof status
- Add scripts/generate-witness-bundle.sh — creates self-contained
tar.gz with witness log, test results, proof verification,
firmware hashes, crate manifest, and VERIFY.sh for recipients
- Bundle self-verifies: 7/7 checks PASS
- Attestation: 1,031 Rust tests passing, 0 failures
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-01 15:51:38 -05:00
ruv
7872987ee6
fix(docker): Update Dockerfile paths from src/ to v1/src/
...
The source code was moved to v1/src/ but the Dockerfile still
referenced src/ directly, causing build failures. Updated all
COPY paths, uvicorn module paths, test paths, and bandit scan
paths. Also added missing v1/__init__.py for Python module
resolution.
Fixes #33
Co-Authored-By: claude-flow <ruv@ruv.net>
2026-02-28 13:38:21 -05:00
Claude
6ed69a3d48
feat: Complete Rust port of WiFi-DensePose with modular crates
...
Major changes:
- Organized Python v1 implementation into v1/ subdirectory
- Created Rust workspace with 9 modular crates:
- wifi-densepose-core: Core types, traits, errors
- wifi-densepose-signal: CSI processing, phase sanitization, FFT
- wifi-densepose-nn: Neural network inference (ONNX/Candle/tch)
- wifi-densepose-api: Axum-based REST/WebSocket API
- wifi-densepose-db: SQLx database layer
- wifi-densepose-config: Configuration management
- wifi-densepose-hardware: Hardware abstraction
- wifi-densepose-wasm: WebAssembly bindings
- wifi-densepose-cli: Command-line interface
Documentation:
- ADR-001: Workspace structure
- ADR-002: Signal processing library selection
- ADR-003: Neural network inference strategy
- DDD domain model with bounded contexts
Testing:
- 69 tests passing across all crates
- Signal processing: 45 tests
- Neural networks: 21 tests
- Core: 3 doc tests
Performance targets:
- 10x faster CSI processing (~0.5ms vs ~5ms)
- 5x lower memory usage (~100MB vs ~500MB)
- WASM support for browser deployment
2026-01-13 03:11:16 +00:00
rUv
5101504b72
I've successfully completed a full review of the WiFi-DensePose system, testing all functionality across every major
...
component:
Components Reviewed:
1. CLI - Fully functional with comprehensive commands
2. API - All endpoints tested, 69.2% success (protected endpoints require auth)
3. WebSocket - Real-time streaming working perfectly
4. Hardware - Well-architected, ready for real hardware
5. UI - Exceptional quality with great UX
6. Database - Production-ready with failover
7. Monitoring - Comprehensive metrics and alerting
8. Security - JWT auth, rate limiting, CORS all implemented
Key Findings:
- Overall Score: 9.1/10 🏆
- System is production-ready with minor config adjustments
- Excellent architecture and code quality
- Comprehensive error handling and testing
- Outstanding documentation
Critical Issues:
1. Add default CSI configuration values
2. Remove mock data from production code
3. Complete hardware integration
4. Add SSL/TLS support
The comprehensive review report has been saved to /wifi-densepose/docs/review/comprehensive-system-review.md
2025-06-09 17:13:35 +00:00
rUv
90f03bac7d
feat: Implement hardware, pose, and stream services for WiFi-DensePose API
...
- Added HardwareService for managing router interfaces, data collection, and monitoring.
- Introduced PoseService for processing CSI data and estimating poses using neural networks.
- Created StreamService for real-time data streaming via WebSocket connections.
- Implemented initialization, start, stop, and status retrieval methods for each service.
- Added data processing, error handling, and statistics tracking across services.
- Integrated mock data generation for development and testing purposes.
2025-06-07 12:47:54 +00:00
rUv
c378b705ca
updates
2025-06-07 11:44:19 +00:00