Skip to content

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

Merged
ruvnet merged 1 commit intomainfrom
chore/rename-rust-port-to-v2
Apr 26, 2026
Merged

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

Conversation

@ruvnet
Copy link
Copy Markdown
Owner

@ruvnet ruvnet commented Apr 26, 2026

Why

The Rust port lived two directories deep (rust-port/wifi-densepose-rs/) with no sibling under rust-port/. The extra level had no justification and made every cd / build command longer than it needed to be. v1 (Python) sits at v1/ — making the Rust port v2/ matches that depth and is consistent with the existing v1/v2 framing in CLAUDE.md.

Scope

  • git mv rust-port/wifi-densepose-rs v2 — preserves full history (all 600+ files moved as renames; verify with git log --follow v2/Cargo.toml after merge).
  • rust-port/ directory removed (was empty after the move).
  • 60 files updated for path references (sed across *.toml, *.yml, *.md, *.sh, *.py, *.json, *.rs, Dockerfile*).
    • 2 CI workflows (ci.yml, desktop-release.yml)
    • 19 ADRs
    • 14 docs (build-guide, user-guide, witness-log, DDD models, edge-modules, qe-reports, security-audit, tutorials)
    • 4 scripts (gcloud-train.sh, generate-witness-bundle.sh, qemu-mesh-test.sh, qemu_swarm.py)
    • install.sh, README.md, CLAUDE.md, Dockerfile.rust
    • 7 in-workspace state files (.claude-flow/ JSON state, internal READMEs)
  • 2 manual fixes for relative-cd paths that became wrong after the depth change:
    • CLAUDE.mdcd ../..cd .. after cd v2
    • ADR-043cd ../../ui/mobilecd ../ui/mobile

Validation

$ cd v2
$ rm -rf target  # one-time: gitignored target/ was carried over by the OS rename and had old absolute paths in build scripts
$ cargo check --workspace --no-default-features
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s

$ cargo test --workspace --no-default-features
… 1,539 passed, 0 failed, 8 ignored

ESP32-S3 on COM7 was running unmodified firmware throughout — verified live CSI cb #40300, RSSI −64 dBm both before and after the rename. No firmware impact.

After-merge follow-up for contributors

git pull
rm -rf v2/target  # one-time: clears stale absolute paths from build artifacts
cd v2 && cargo build --workspace --no-default-features

Test plan

  • Workspace tests pass at new path (1,539 / 0)
  • ESP32 hardware still streams CSI (path-agnostic UDP, no firmware changes)
  • CI workflow paths updated (ci.yml, desktop-release.yml)
  • All ADRs updated to reference v2/ (19 ADRs touched)
  • Docker build path updated (docker/Dockerfile.rust)
  • CI: workspace tests on Linux + Windows runners pass against new layout

🤖 Generated with claude-flow

… level)

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.

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet ruvnet merged commit f49c722 into main Apr 26, 2026
10 of 11 checks passed
@ruvnet ruvnet deleted the chore/rename-rust-port-to-v2 branch April 26, 2026 01:28
ruvnet added a commit that referenced this pull request Apr 26, 2026
Two leftover references missed by the sed pass in #427 (which only
matched the full `rust-port/wifi-densepose-rs` path). These are bare
references to the workspace directory name, which is now v2/.

Co-Authored-By: claude-flow <ruv@ruv.net>
ruvnet added a commit that referenced this pull request Apr 26, 2026
The Rust port at v2/ has been the primary codebase since the rename
in #427. The Python implementation at v1/ is no longer the active
target; the only load-bearing path is the deterministic proof bundle
at v1/data/proof/ (per ADR-011 / ADR-028 witness verification).

Move the whole Python tree into archive/v1/ and document the policy
in archive/README.md: no new features, bug fixes only when they affect
a still-load-bearing path (currently just the proof), CI continues to
verify the proof on every push and PR.

Path references updated in 26 files via path-pattern sed (only
matches v1/<known-child> patterns, never bare v1 or API URLs like
/api/v1/). Two double-prefix typos (archive/archive/v1/) caught and
hand-fixed in verify-pipeline.yml and ADR-011.

Validated:
- Python proof verify.py imports cleanly at archive/v1/data/proof/
  (numpy/scipy still required; CI installs requirements-lock.txt
  from archive/v1/ now)
- cargo test --workspace --no-default-features → 1,539 passed,
  0 failed, 8 ignored (unaffected by Python tree relocation)
- ESP32-S3 on COM7 untouched (no firmware paths changed)

After-merge: contributors should re-run any local `python v1/...`
commands as `python archive/v1/...` (CLAUDE.md and CHANGELOG already
updated).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant