ruview-configure
Screenshots
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ruview-configure" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-57d9e0a8628c1da569129de1d133b25516536bcb03f886129b55cee1d4ba0136. Verify the upstream source and version against https://github.com/ruvnet/RuView before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Configure RuView: a tool for adjusting behavior of deployed RuView systems without changing code. It provides overrides for ESP32 sdkconfig variants, NVS configuration, WiFi channel and MAC filter (ADR-060), edge intelligence module settings (ADR-041), sensor server flags, multi-node mesh, and Cognitum Seed integration.
Introduction source: third_party · ruvnet · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Configure RuView — ESP32 sdkconfig variants, NVS provisioning, WiFi channel / MAC filter overrides (ADR-060), edge intelligence modules (ADR-041), sensing-server flags, multi-node mesh, and Cognitum Seed integration. Use when adjusting how a deployed RuView system behaves without changing code.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: ruview-configure
description: Configure RuView — ESP32 sdkconfig variants, NVS provisioning, WiFi channel / MAC filter overrides (ADR-060), edge intelligence modules (ADR-041), sensing-server flags, multi-node mesh, and Cognitum Seed integration. Use when adjusting how a deployed RuView system behaves without changing code.
allowed-tools: Bash Read Write Edit Glob GrepRuView Configuration
Everything you can tune in a RuView deployment, from a one-line provision flag to a full mesh + Cognitum Seed setup.
1. Firmware build-time config (sdkconfig)
| Variant | File | When |
|---|---|---|
| 8MB (default) | firmware/esp32-csi-node/sdkconfig.defaults.template |
ESP32-S3 8MB, full feature set, real WiFi CSI |
| 4MB | firmware/esp32-csi-node/sdkconfig.defaults.4mb |
ESP32-S3 SuperMini 4MB — display disabled, dual OTA slots (partitions_4mb.csv, ~1.856 MB each) |
| Heltec N16R2 | firmware/esp32-csi-node/sdkconfig.defaults.heltec_n16r2 |
Heltec boards |
Switch: cp firmware/esp32-csi-node/sdkconfig.defaults.<variant> firmware/esp32-csi-node/sdkconfig.defaults, then rebuild (see ruview-hardware-setup). Never test in mock mode — the Kconfig fall-threshold bug only showed up with real CSI.
2. Runtime device config (NVS via provision.py)
provision.py writes the csi_cfg NVS namespace over the serial port. Run python firmware/esp32-csi-node/provision.py --help for the authoritative flag list (on Windows force PYTHONUTF8=1 PYTHONIOENCODING=utf-8 — the help text contains non-ASCII and crashes under cp1252).
python firmware/esp32-csi-node/provision.py --port COM8 \
--ssid "WiFi" --password "secret" \
--target-ip 192.168.1.20 --target-port 5005 \ # aggregator UDP sink (port default 5005)
--node-id 1 \ # 0-255
--channel 6 --filter-mac AA:BB:CC:DD:EE:FF # ADR-060: pin channel + filter transmitter
| Flag group | Flags | Notes |
|---|---|---|
| WiFi / sink | --ssid --password --target-ip --target-port (5005) --node-id |
--node-id 0-255 |
| TDM mesh | --tdm-slot --tdm-total |
0-based slot index + total node count — this is how multi-node mesh is slotted |
| Edge processing | --edge-tier {0,1,2} |
0=off, 1=stats, 2=vitals (ADR-041) |
| Detection thresholds | --pres-thresh (50) --fall-thresh (15000 → 15.0 rad/s²) |
raise --fall-thresh to cut false falls in high-traffic areas (issue #263) |
| Vitals | --vital-win (300 frames) --vital-int (1000 ms) --subk-count (32, top-K subcarriers) |
|
| Channel / hopping | --channel (1-14 / 36-177, overrides AP auto-detect) --filter-mac --hop-channels (1,6,11) --hop-dwell (200 ms) |
omit --channel + set --hop-channels for ADR-061 multi-freq hopping; omit --filter-mac to capture all transmitters |
| Cognitum Seed | --seed-url (http://10.1.10.236) --seed-token (Bearer, from pairing) --zone (lobby) |
|
| Swarm | --swarm-hb (30 s) --swarm-ingest (5 s) |
heartbeat + vector ingest intervals |
| Mode | --dry-run (build NVS bin, don't flash) --baud (460800) --force-partial |
⚠️ NVS namespace is replaced wholesale (issue #391). Flashing rewrites the entire
csi_cfgnamespace — any key you don't pass on the CLI is erased. Always pass the full set you want, or use--force-partialknowingly. Read the device's current values off the serial boot log first (adaptive_ctrl/csi_collectorlines) if you're unsure.
- NVS partition images for fleet provisioning:
scripts/generate_nvs_matrix.py(subprocess-first — theesp_idf_nvs_partition_genAPI changed across versions).
3. Sensing server flags
cd v2
cargo run -p wifi-densepose-sensing-server -- --help
# Common modes:
cargo run -p wifi-densepose-sensing-server # live sink, default port
cargo run -p wifi-densepose-sensing-server -- --pretrain --dataset data/csi/ --pretrain-epochs 50
cargo run -p wifi-densepose-sensing-server -- --train --dataset data/mmfi/ --epochs 100 --save-rvf model.rvf
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --embed
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --build-index env
wifiscan server (multi-BSSID, ADR-022): cargo run -p wifi-densepose-sensing-server consumes wifi-densepose-wifiscan output; use neighbour APs as free radar illuminators.
4. Edge intelligence modules (ADR-041)
Small Rust/WASM programs that run on the ESP32 itself — no internet, instant response. See docs/edge-modules/ and docs/adr/ADR-041-*. Each module declares its CSI feature inputs (8-dim feature vectors) and an RVF store target (Cognitum Seed). Configure which modules ship in a build via the firmware component config; configure their thresholds via NVS keys.
Helper scripts that mirror edge-module logic on the host (useful for tuning before flashing):
scripts/apnea-detector.js, gait-analyzer.js, material-classifier.js, passive-radar.js, mincut-person-counter.js, device-fingerprint.js, mesh-graph-transformer.js, material-detector.js.
5. Multi-node mesh
- 2+ nodes give real spatial resolution. Each node provisioned to the same
--target-ipsink. - TDM protocol + channel hopping coordinated by
wifi-densepose-hardware(v2/crates/wifi-densepose-hardware/src/esp32/). - Cross-viewpoint fusion combines nodes — see
ruview-advanced-sensing.
6. Cognitum Seed integration ($140 total BOM)
ESP32 streams CSI → bridge forwards to a Cognitum Seed for persistent RVF memory, kNN over environments, and an Ed25519 witness chain.
node scripts/rf-scan.js --port 5006 # live RF room scan → Seed
node scripts/snn-csi-processor.js --port 5006 # SNN real-time learning on-Seed
See docs/tutorials/cognitum-seed-pretraining.md and ADR-028 (capability audit + witness verification).
7. App-level config
- API:
wifi-densepose-api(Axum) — config viawifi-densepose-configcrate; seeexample.env/pyproject.tomlfor the v1 Python service. - Docker:
docker run -p 3000:3000 ruvnet/wifi-densepose:latest(env-var overrides documented inREADME.md/docker/). - Dashboard: served on
:3000; nvsim dashboard (ADR-092) is separate.
Reference
docs/adr/(96 ADRs) — esp. ADR-022 (wifiscan), ADR-028 (capability audit), ADR-041 (edge modules), ADR-060 (channel/MAC override), ADR-061 (QEMU + mesh), ADR-081 (adaptive CSI mesh kernel)CLAUDE.md/CLAUDE.local.md— crate map, build env, QEMU CI fixesexample.env,Makefile,firmware/esp32-csi-node/
Version history
-
v3815
GitHub ↗
Original release notes
Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** feat(unified): add bounded spatial research controls (#2601) * feat(unified): add bounded spatial research controls * fix(security): update Wasmtime to 36.0.21 without regressing cache patch **Source commit:** `8139c7e6258a19da9c9861fa035705dd3f031b56` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.
-
v3809
GitHub ↗
Original release notes
Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** [SECURITY-SENSITIVE] fix(ruview-auth): one refresh across processes; no proceed after lock timeout; a sent token is never kept (#2599) * fix(ruview-auth): one refresh across processes, no proceed after a lock timeout, a sent token is never kept Identity (cognitum-one/console#857) revokes the whole session family when a used refresh token is presented again. ensure_fresh could do that in ordinary use: - after 3 s waiting on another process's lock it went ahead anyway; - it presented the token it loaded earlier instead of re-reading the file under the lock; - it kept the old token after a failed or timed-out request; - it reused the old token when an answer carried no new one; - on non-Unix it had no lock at all. Now: - login/lock.rs: flock on Unix. Elsewhere, an atomic `credentials.lock.d` directory (stale after 120 s), and if the lock state can't be read it fails closed. A waiter polls for up to LOCK_WAIT (30 s, longer than the request timeout). If it still has no lock it returns the new StoreError::RefreshBusy, having sent nothing and changed nothing. - Under the lock the file is re-read, and a record another process already refreshed is used. - Before sending, the stored record loses its refresh token (a token-less marker). A process that dies mid-request leaves a record that answers NoRefreshToken, never a reusable spent token. - Any failure once the request may have reached Identity clears the stored credentials, and the in-memory session goes token-less too. That covers a timeout, a reset, an error answer, a bad body, and a failed save of the new pair. Only a connection that was never made restores the old token. - An answer with no new refresh token stores none; the spent one is not kept. - client::refresh is bounded by REFRESH_TIMEOUT (20 s). Tests (store_refresh_tests.rs). Each scenario runs in a child process, which is this test binary re-invoked. Identity is a 127.0.0.1 fixture and all tokens are fixtures. - Two processes with one expired file: 1 refresh, and both get the new pair. - A timeout after sending clears the file, and the next run sends nothing. - A leftover token-less record is never sent. - A held lock gives RefreshBusy and sends nothing. - A refused connection keeps the token. - An answer without a refresh token keeps none. Mutation checks: dropping the re-read under the lock gives 2 refreshes; keeping the token after an error fails the timeout test. `cargo test -p ruview-auth --all-features`: 70 + 25 + 2 pass. * fix(ruview-auth): File::lock on a never-deleted lock file everywhere; durable writes (review-393) Fixes from review-393 on #2599: - Lock. A takeover-by-removal lock (like the non-Unix lock directory in the previous commit) can let two takers both hold it; review-393 reproduced this 1 in 100 on the console CLI's equivalent. The lock is now `File::lock` (stable since 1.89, the repo's pinned toolchain) on every platform: - it locks `credentials.lock`, which is never deleted; - it uses flock on Unix and LockFileEx on Windows; - the OS releases it when the holder exits or dies, so there is no staleness heuristic; - a lock that can't be taken at all fails closed; - the 30 s wait followed by RefreshBusy is unchanged. The crate no longer calls libc. The optional `libc` dependency is left in Cargo.toml so Cargo.lock doesn't change in this PR. - Durability. On Unix the parent directory is fsynced after the rename. On other platforms write_private now sync_all's the tmp file before the rename. - Child processes in the refresh tests have the test-only hooks removed from their environment. New tests: - a lock held by a live child process blocks; once the child is killed (never releasing), the lock frees; - 8 threads x 25 rounds never have more than one holder; - the lock file is never unlinked. Stress: the full lib test binary ran 90 times, 6 in parallel, with 90 passes. * fix(ruview-auth): make the credentials directory fsync best effort (L8) The parent-directory fsync ran after the rename had already put the new pair in place, and its error was fatal. On FUSE or network mounts that reject a directory fsync (EINVAL/ENOTSUP), every refresh would clear the new pair and sign the user out. It is now logged with tracing::warn and ignored; the tmp file's sync_all before the rename stays fatal. Corrects the marker-save comment, adds tests that inject a directory-fsync failure through RUVIEW_TEST_FAIL_DIR_FSYNC (save succeeds; refresh rotates and keeps the new pair), and drops the now-unused optional libc dependency. * fix(ruview-auth): never launch a browser from tests open_browser's unit test called the real launcher, so every `cargo test -p ruview-auth` opened a tab at http://127.0.0.1:1/nope in the developer's browser. Under cfg(test), open_browser now records the command it would run instead of spawning it, and the test asserts that command. **Source commit:** `f7de049ebd637aae7f5d20d51cc23162938cbad9` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.
-
v3750
GitHub ↗
Original release notes
Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** Merge pull request #2574 from ruvnet/fix/issues-2557-2559 Fix checkout-local memory bootstrap and legacy cache isolation (#2559), derive live labels and observatory captions from the actual source (#2558), and use a short dB-domain window for single-link RSSI motion (#2557). Resolve the release audit findings with libz-sys 1.1.33 and registry ZIP 9.0.5 behind a private Candle filename API adapter. The existing advisory ignore list is unchanged. Archive guards and real Candle tensor IO regressions cover the dependency boundary. Validation and CI receipts: https://github.com/ruvnet/RuView/pull/2574 RSSI regression evidence is SYNTHETIC; real macOS/device accuracy remains unverified. Fixes #2559 Fixes #2558 Fixes #2557 **Source commit:** `13b47883a73d5070f35a3f04aec2ffa778b47e29` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.
-
v3727
GitHub ↗
Original release notes
Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** Merge pull request #2552 from ruvnet/fix/quinn-lockfile-rustsec-2026-0523 security: bump quinn-proto/quinn-udp in v2/Cargo.lock (RUSTSEC-2026-0523/0524/0538) **Source commit:** `3bae24a1231e0d9809e84eb35edba7231b8d1913` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.
-
v3702
GitHub ↗
Original release notes
Source snapshot validated by the CI pipeline. This entry does not contain firmware bundles. **Changes:** fix: crates.io publish-blocking gaps in homecore-automation, homecore-hap (#1496) homecore-automation's and homecore-hap's path dependency on homecore had no version requirement -- crates.io rejects "all dependencies must have a version requirement specified when publishing". Pinned both to homecore = "0.1.0-alpha.0", the version just published. Also fixed homecore-hap's repository field, which pointed at github.com/ruvnet/wifi-densepose (a 404) instead of the actual github.com/ruvnet/RuView -- inconsistent with every other homecore-* crate's Cargo.toml. Found while publishing the full homecore-* batch to crates.io (homecore, -api, -automation, -assist, -hap, -migrate, -plugins, -recorder, -server -- all 9, v0.1.0-alpha.0). Both crates verified via cargo publish --dry-run before and after. **Source commit:** `094e1400719ded1283c67d23b9c737f6738a3244` Container images publish separately through the [sensing-server release workflow](https://github.com/ruvnet/RuView/actions/workflows/sensing-server-docker.yml). Firmware downloads are attached to the dedicated `vX.Y.Z-esp32` releases.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 RuView 系统部署后的全方位配置能力,涵盖固件变体、NVS、WiFi、边缘模块、多节点网格等
- 直接解决用户在不改代码前提下调整已部署系统的核心痛点,属于高价值刚需场景
Highlights
- description 明确说明用途为调整已部署 RuView 系统行为,覆盖多种配置场景,边界清晰
Highlights
- 文档结构清晰,分 7 个 Phase,每部分有详细步骤、参数说明、示例命令和注意事项
- frontmatter 完整,单文件未超 500 行,符合规范
Highlights
- 工具来源明确,参数正确,覆盖主要异常(如 NVS 命名空间替换警告、编码问题)
- 不可逆操作有确认机制(--dry-run),可靠性高
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- 10.1.10.236
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.