Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8583f3e

Browse files
committed
feat: Add guided installer with hardware detection and RVF build profiles
- install.sh: 7-step interactive installer detecting system, toolchains, WiFi hardware (interfaces, ESP32 USB, Intel CSI debug), and recommending the best build profile (verify/python/rust/browser/iot/docker/field/full) - Rust is the primary recommended runtime (810x faster than Python) - Makefile: 15+ targets including make install, make check, make build-rust, make build-wasm, make bench, make run-api, make run-viz - README: Updated installation section with Rust-primary ordering, removed mock testing references, added v2.2.0 changelog entry https://claude.ai/code/session_01Ki7pvEZtJDvqJkmyn6B714
1 parent 13035c0 commit 8583f3e

7 files changed

Lines changed: 1295 additions & 53 deletions

File tree

.claude-flow/daemon-state.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"running": true,
3-
"startedAt": "2026-02-28T05:42:41.387Z",
3+
"startedAt": "2026-02-28T13:34:03.423Z",
44
"workers": {
55
"map": {
6-
"runCount": 40,
7-
"successCount": 40,
6+
"runCount": 41,
7+
"successCount": 41,
88
"failureCount": 0,
9-
"averageDurationMs": 1.1500000000000001,
10-
"lastRun": "2026-02-28T09:12:41.502Z",
11-
"nextRun": "2026-02-28T09:12:41.494Z",
9+
"averageDurationMs": 1.1707317073170733,
10+
"lastRun": "2026-02-28T13:34:03.434Z",
11+
"nextRun": "2026-02-28T13:49:03.434Z",
1212
"isRunning": false
1313
},
1414
"audit": {
15-
"runCount": 35,
15+
"runCount": 36,
1616
"successCount": 0,
17-
"failureCount": 35,
17+
"failureCount": 36,
1818
"averageDurationMs": 0,
19-
"lastRun": "2026-02-28T09:04:41.452Z",
20-
"nextRun": "2026-02-28T09:14:41.452Z",
19+
"lastRun": "2026-02-28T13:41:03.432Z",
20+
"nextRun": "2026-02-28T13:51:03.432Z",
2121
"isRunning": false
2222
},
2323
"optimize": {
@@ -26,16 +26,16 @@
2626
"failureCount": 27,
2727
"averageDurationMs": 0,
2828
"lastRun": "2026-02-28T09:11:41.441Z",
29-
"nextRun": "2026-02-28T09:26:41.441Z",
30-
"isRunning": false
29+
"nextRun": "2026-02-28T13:38:03.426Z",
30+
"isRunning": true
3131
},
3232
"consolidate": {
33-
"runCount": 18,
34-
"successCount": 18,
33+
"runCount": 19,
34+
"successCount": 19,
3535
"failureCount": 0,
36-
"averageDurationMs": 0.6111111111111112,
37-
"lastRun": "2026-02-28T08:49:41.451Z",
38-
"nextRun": "2026-02-28T09:18:41.402Z",
36+
"averageDurationMs": 0.631578947368421,
37+
"lastRun": "2026-02-28T13:41:03.438Z",
38+
"nextRun": "2026-02-28T14:10:03.427Z",
3939
"isRunning": false
4040
},
4141
"testgaps": {
@@ -44,7 +44,7 @@
4444
"failureCount": 22,
4545
"averageDurationMs": 0,
4646
"lastRun": "2026-02-28T09:10:41.422Z",
47-
"nextRun": "2026-02-28T09:30:41.423Z",
47+
"nextRun": "2026-02-28T13:42:03.426Z",
4848
"isRunning": false
4949
},
5050
"predict": {
@@ -131,5 +131,5 @@
131131
}
132132
]
133133
},
134-
"savedAt": "2026-02-28T09:12:41.503Z"
134+
"savedAt": "2026-02-28T13:41:03.438Z"
135135
}

.claude-flow/daemon.pid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
211
1+
166
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"timestamp": "2026-02-28T09:12:41.502Z",
2+
"timestamp": "2026-02-28T13:34:03.432Z",
33
"projectRoot": "/home/user/wifi-densepose",
44
"structure": {
55
"hasPackageJson": false,
66
"hasTsConfig": false,
77
"hasClaudeConfig": true,
88
"hasClaudeFlow": true
99
},
10-
"scannedAt": 1772269961502
10+
"scannedAt": 1772285643433
1111
}

.claude-flow/metrics/consolidation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"timestamp": "2026-02-28T08:49:41.450Z",
2+
"timestamp": "2026-02-28T13:41:03.437Z",
33
"patternsConsolidated": 0,
44
"memoryCleaned": 0,
55
"duplicatesRemoved": 0

Makefile

Lines changed: 102 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,42 @@
11
# WiFi-DensePose Makefile
22
# ============================================================
33

4-
.PHONY: verify verify-verbose verify-audit help
4+
.PHONY: verify verify-verbose verify-audit install install-verify install-python \
5+
install-rust install-browser install-docker install-field install-full \
6+
check build-rust build-wasm test-rust bench run-api run-viz clean help
57

8+
# ─── Installation ────────────────────────────────────────────
9+
# Guided interactive installer
10+
install:
11+
@./install.sh
12+
13+
# Profile-specific installs (non-interactive)
14+
install-verify:
15+
@./install.sh --profile verify --yes
16+
17+
install-python:
18+
@./install.sh --profile python --yes
19+
20+
install-rust:
21+
@./install.sh --profile rust --yes
22+
23+
install-browser:
24+
@./install.sh --profile browser --yes
25+
26+
install-docker:
27+
@./install.sh --profile docker --yes
28+
29+
install-field:
30+
@./install.sh --profile field --yes
31+
32+
install-full:
33+
@./install.sh --profile full --yes
34+
35+
# Hardware and environment check only (no install)
36+
check:
37+
@./install.sh --check-only
38+
39+
# ─── Verification ────────────────────────────────────────────
640
# Trust Kill Switch -- one-command proof replay
741
verify:
842
@./verify
@@ -15,12 +49,75 @@ verify-verbose:
1549
verify-audit:
1650
@./verify --verbose --audit
1751

52+
# ─── Rust Builds ─────────────────────────────────────────────
53+
build-rust:
54+
cd rust-port/wifi-densepose-rs && cargo build --release
55+
56+
build-wasm:
57+
cd rust-port/wifi-densepose-rs && wasm-pack build crates/wifi-densepose-wasm --target web --release
58+
59+
build-wasm-mat:
60+
cd rust-port/wifi-densepose-rs && wasm-pack build crates/wifi-densepose-wasm --target web --release -- --features mat
61+
62+
test-rust:
63+
cd rust-port/wifi-densepose-rs && cargo test --workspace
64+
65+
bench:
66+
cd rust-port/wifi-densepose-rs && cargo bench --package wifi-densepose-signal
67+
68+
# ─── Run ─────────────────────────────────────────────────────
69+
run-api:
70+
uvicorn v1.src.api.main:app --host 0.0.0.0 --port 8000
71+
72+
run-api-dev:
73+
uvicorn v1.src.api.main:app --host 0.0.0.0 --port 8000 --reload
74+
75+
run-viz:
76+
python3 -m http.server 3000 --directory ui
77+
78+
run-docker:
79+
docker compose up
80+
81+
# ─── Clean ───────────────────────────────────────────────────
82+
clean:
83+
rm -f .install.log
84+
cd rust-port/wifi-densepose-rs && cargo clean 2>/dev/null || true
85+
86+
# ─── Help ────────────────────────────────────────────────────
1887
help:
1988
@echo "WiFi-DensePose Build Targets"
2089
@echo "============================================================"
2190
@echo ""
22-
@echo " make verify Run the trust kill switch (proof replay)"
23-
@echo " make verify-verbose Verbose mode with feature details"
24-
@echo " make verify-audit Full verification + codebase audit"
25-
@echo " make help Show this help"
91+
@echo " Installation:"
92+
@echo " make install Interactive guided installer"
93+
@echo " make install-verify Verification only (~5 MB)"
94+
@echo " make install-python Full Python pipeline (~500 MB)"
95+
@echo " make install-rust Rust pipeline with ~810x speedup"
96+
@echo " make install-browser WASM for browser (~10 MB)"
97+
@echo " make install-docker Docker-based deployment"
98+
@echo " make install-field WiFi-Mat disaster kit (~62 MB)"
99+
@echo " make install-full Everything available"
100+
@echo " make check Hardware/environment check only"
101+
@echo ""
102+
@echo " Verification:"
103+
@echo " make verify Run the trust kill switch"
104+
@echo " make verify-verbose Verbose with feature details"
105+
@echo " make verify-audit Full verification + codebase audit"
106+
@echo ""
107+
@echo " Build:"
108+
@echo " make build-rust Build Rust workspace (release)"
109+
@echo " make build-wasm Build WASM package (browser)"
110+
@echo " make build-wasm-mat Build WASM with WiFi-Mat (field)"
111+
@echo " make test-rust Run all Rust tests"
112+
@echo " make bench Run signal processing benchmarks"
113+
@echo ""
114+
@echo " Run:"
115+
@echo " make run-api Start Python API server"
116+
@echo " make run-api-dev Start API with hot-reload"
117+
@echo " make run-viz Serve 3D visualization (port 3000)"
118+
@echo " make run-docker Start Docker dev stack"
119+
@echo ""
120+
@echo " Utility:"
121+
@echo " make clean Remove build artifacts"
122+
@echo " make help Show this help"
26123
@echo ""

0 commit comments

Comments
 (0)