ruview-configure

配置 RuView:用于调整已部署 RuView 系统行为的工具,覆盖 ESP32 sdkconfig 变体、NVS 配置、WiFi 信道与 MAC 过滤器(ADR-060)、边缘智能模块设置(ADR-041)、传感服务器标志、多节点网格以及 Cognitum Seed 集成,目的是在不更改代码的情况下进行行为调优。

仓库最近推送
GitHub Stars
105,709
Forks
13,790
Issues / PRs
81

预览截图

来自skillπ 实验室的展示

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ruview-configure":https://skillpi.com/zh/skills/deepskill-57d9e0a8628c1da569129de1d133b25516536bcb03f886129b55cee1d4ba0136。安装前核对上游来源和版本:https://github.com/ruvnet/RuView。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

配置 RuView:用于调整已部署 RuView 系统行为的工具,覆盖 ESP32 sdkconfig 变体、NVS 配置、WiFi 信道与 MAC 过滤器(ADR-060)、边缘智能模块设置(ADR-041)、传感服务器标志、多节点网格以及 Cognitum Seed 集成,目的是在不更改代码的情况下进行行为调优。

0 下载

介绍来源: third_party · ruvnet · 0.0.1 参考来源

SkillPi 解读

能完成的任务
配置 RuView — ESP32 sdkconfig 变体, NVS 提供, WiFi 通道/ MAC 过滤器覆盖( ADR - ) 060 ),边缘智能模块(ADR- 041 ),感应-服务器旗,多节点网,以及Cognitum种子集成. 调整已部署的 RuView 系统如何操作而不更改代码时使用 。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
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 Grep

RuView 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_cfg namespace — any key you don't pass on the CLI is erased. Always pass the full set you want, or use --force-partial knowingly. Read the device's current values off the serial boot log first (adaptive_ctrl / csi_collector lines) if you're unsure.

  • NVS partition images for fleet provisioning: scripts/generate_nvs_matrix.py (subprocess-first — the esp_idf_nvs_partition_gen API 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-ip sink.
  • 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 via wifi-densepose-config crate; see example.env / pyproject.toml for the v1 Python service.
  • Docker: docker run -p 3000:3000 ruvnet/wifi-densepose:latest (env-var overrides documented in README.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 fixes
  • example.env, Makefile, firmware/esp32-csi-node/

版本历史

  1. v3815 GitHub ↗
    原版更新说明

    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.

  2. v3809 GitHub ↗
    原版更新说明

    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.

  3. v3750 GitHub ↗
    原版更新说明

    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.

  4. v3727 GitHub ↗
    原版更新说明

    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.

  5. v3702 GitHub ↗
    原版更新说明

    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.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供 RuView 系统部署后的全方位配置能力,涵盖固件变体、NVS、WiFi、边缘模块、多节点网格等
  • 直接解决用户在不改代码前提下调整已部署系统的核心痛点,属于高价值刚需场景
触发精准95/100

亮点

  • description 明确说明用途为调整已部署 RuView 系统行为,覆盖多种配置场景,边界清晰
结构规范95/100

亮点

  • 文档结构清晰,分 7 个 Phase,每部分有详细步骤、参数说明、示例命令和注意事项
  • frontmatter 完整,单文件未超 500 行,符合规范
执行可靠90/100

亮点

  • 工具来源明确,参数正确,覆盖主要异常(如 NVS 命名空间替换警告、编码问题)
  • 不可逆操作有确认机制(--dry-run),可靠性高
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • 10.1.10.236

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。