chore(repo): rename rust-port/wifi-densepose-rs → v2/ (flatten to one level) (#427)

The Rust port lived two directories deep (rust-port/wifi-densepose-rs/)
without any sibling under rust-port/ that warranted the extra level.
Move the whole workspace up to v2/ to match v1/ (Python) at the same
depth and shorten every cd / build command across the repo.

git mv preserves history for all tracked files. 60 files updated for
path references (CI workflows, ADRs, docs, scripts, READMEs, internal
.claude-flow state). Two manual fixes for relative-cd paths in
CLAUDE.md and ADR-043 that became wrong after the depth change
(cd ../.. → cd ..).

Validated:
- cargo check --workspace --no-default-features → clean (after target/
  nuke; the gitignored target/ was carried by the OS rename and had
  hard-coded old paths in build scripts)
- cargo test --workspace --no-default-features → 1,539 passed, 0 failed,
  8 ignored (same totals as pre-rename)
- ESP32-S3 on COM7 → still streaming live CSI (cb #40300, RSSI -64 dBm)

After-merge follow-up: contributors should `rm -rf v2/target` once and
let cargo regenerate from the new path.
This commit is contained in:
rUv 2026-04-25 21:28:13 -04:00 committed by GitHub
parent 2a58fe478b
commit f49c722764
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
626 changed files with 240 additions and 363 deletions

View file

@ -191,7 +191,7 @@ A high-performance Rust port with ~810x speedup over the Python pipeline for the
### Build
```bash
cd rust-port/wifi-densepose-rs
cd v2
cargo build --release
```
@ -200,7 +200,7 @@ Release profile is configured with LTO, single codegen unit, and `-O3` for maxim
### Test
```bash
cd rust-port/wifi-densepose-rs
cd v2
cargo test --workspace
```
@ -209,7 +209,7 @@ Runs 107 tests across all workspace crates.
### Benchmark
```bash
cd rust-port/wifi-densepose-rs
cd v2
cargo bench --package wifi-densepose-signal
```
@ -468,7 +468,7 @@ The aggregator collects UDP streams from all ESP32 nodes, performs feature-level
docker compose -f docker-compose.esp32.yml up
# Or run the Rust aggregator directly
cd rust-port/wifi-densepose-rs
cd v2
cargo run --release --package wifi-densepose-hardware -- --mode esp32-aggregator --port 5000
```
@ -516,7 +516,7 @@ rustup target add wasm32-unknown-unknown
Build:
```bash
cd rust-port/wifi-densepose-rs
cd v2
# Build WASM package (outputs to pkg/)
wasm-pack build crates/wifi-densepose-wasm --target web --release
@ -601,7 +601,7 @@ uvicorn v1.src.api.main:app \
--workers 4
# Or run the Rust API server
cd rust-port/wifi-densepose-rs
cd v2
cargo run --release --package wifi-densepose-api
```
@ -631,7 +631,7 @@ pytest --cov=wifi_densepose --cov-report=html
Rust:
```bash
cd rust-port/wifi-densepose-rs
cd v2
# Build in debug mode (faster compilation)
cargo build
@ -674,7 +674,7 @@ python3 -m http.server 3000 --directory ui
| `v1/data/proof/expected_features.sha256` | Published expected hash |
| `v1/src/api/main.py` | FastAPI application entry point |
| `v1/src/sensing/` | Commodity WiFi sensing module (RSSI) |
| `rust-port/wifi-densepose-rs/Cargo.toml` | Rust workspace root |
| `v2/Cargo.toml` | Rust workspace root |
| `ui/viz.html` | Three.js 3D visualization |
| `Dockerfile` | Multi-stage Docker build (dev/prod/test/security) |
| `docker-compose.yml` | Development stack (Postgres, Redis, Prometheus, Grafana) |