ruview-verify

验证 RuView 构建。包含完整的 Rust 工作区测试、确定性 Python 流水线证明(基于 SHA-256 的信任终止开关)、固件哈希清单与 ADR-028 见证捆绑,支持一键自验证。适用于任何重大变更后、合并 PR 前或为接收方生成证明捆绑。

仓库最近推送
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-verify":https://skillpi.com/zh/skills/deepskill-491a784376615753c9ffcddb6c352759144b6f3e3a4e10b257ca9c5ea57f429f。安装前核对上游来源和版本:https://github.com/ruvnet/RuView。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

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

安装实测待补充

验证 RuView 构建。包含完整的 Rust 工作区测试、确定性 Python 流水线证明(基于 SHA-256 的信任终止开关)、固件哈希清单与 ADR-028 见证捆绑,支持一键自验证。适用于任何重大变更后、合并 PR 前或为接收方生成证明捆绑。

0 下载

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

SkillPi 解读

能完成的任务
核查RuView建筑——全面Rust工作空间测试,确定性Python管道证明(SHA-) 256 Trust Kill Switch),固件散列单,以及ADR- 028 证人用一个指令进行自我核查 在任何重大变化后,在合并公关前使用,或为接收者制作证明包。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: ruview-verify
description: Verify a RuView build — full Rust workspace tests, the deterministic Python pipeline proof (SHA-256 Trust Kill Switch), firmware hash manifest, and the ADR-028 witness bundle with one-command self-verification. Use after any significant change, before merging a PR, or to produce an attestation bundle for a recipient.
allowed-tools: Bash Read Write Edit Glob Grep

RuView Verification & Witness Bundle

The trust pipeline for RuView. Run this after meaningful changes and before merging.

1. Rust workspace tests

cd v2
cargo test --workspace --no-default-features        # must be 1,400+ passed, 0 failed (~2 min)

Single-crate checks (no GPU): cargo check -p wifi-densepose-train --no-default-features, cargo test -p wifi-densepose-signal --no-default-features, etc.

2. Deterministic Python proof (Trust Kill Switch)

Feeds a reference CSI signal through the production pipeline and hashes the output. Any behavioural drift changes the hash.

cd ..
python archive/v1/data/proof/verify.py              # must print VERDICT: PASS

If it fails on a hash mismatch after a legitimate numpy/scipy bump:

python archive/v1/data/proof/verify.py --generate-hash
python archive/v1/data/proof/verify.py

Artifacts: archive/v1/data/proof/verify.py, expected_features.sha256, sample_csi_data.json (1,000 synthetic frames, seed=42).

3. Python test suite (v1)

cd archive/v1 && python -m pytest tests/ -x -q

4. Generate the witness bundle (ADR-028)

bash scripts/generate-witness-bundle.sh

Produces dist/witness-bundle-ADR028-<sha>.tar.gz containing:

  • WITNESS-LOG-028.md — 33-row attestation matrix, evidence per capability
  • ADR-028-esp32-capability-audit.md — full audit findings
  • proof/verify.py + expected_features.sha256 — the deterministic proof
  • test-results/rust-workspace-tests.log — full cargo test output
  • firmware-manifest/source-hashes.txt — SHA-256 of all 7 ESP32 firmware files
  • crate-manifest/versions.txt — all 15 crates + versions
  • VERIFY.sh — one-command self-verification for recipients

5. Self-verify the bundle

cd dist/witness-bundle-ADR028-*/
bash VERIFY.sh                                       # must be 7/7 PASS

Pre-merge checklist (from CLAUDE.md)

  1. Rust tests pass (1,400+, 0 fail)
  2. Python proof passes (VERDICT: PASS)
  3. README.md updated if scope changed (platform/crate/hardware tables, feature summaries)
  4. CLAUDE.md updated if scope changed (crate table, ADR list, module tables, version)
  5. CHANGELOG.md — entry under [Unreleased]
  6. docs/user-guide.md updated if new data sources / CLI flags / setup steps
  7. ADR index — bump ADR count in README docs table if a new ADR was added
  8. Witness bundle regenerated if tests or proof hash changed
  9. Docker Hub image rebuilt only if Dockerfile / deps / runtime behaviour changed
  10. Crate publishing only if a published crate's public API changed (publish in dependency order — see CLAUDE.md)
  11. .gitignore updated for new build artifacts/binaries
  12. Security review for new modules touching hardware/network boundaries

Security scan

npx @claude-flow/cli@latest security scan            # after security-related changes

Also see docs/security-audit-wasm-edge-vendor.md, docs/qe-reports/, ADR-080 (QE remediation plan), ADR-093 (dashboard gap analysis).

QEMU firmware CI (ADR-061)

11-job workflow ("Firmware QEMU Tests"). Local QEMU helpers: scripts/qemu-esp32s3-test.sh, qemu-mesh-test.sh, qemu-chaos-test.sh, qemu-snapshot-test.sh, install-qemu.sh. Notes: espressif/idf:v5.4 container needs source $IDF_PATH/export.sh before pip; QEMU needs esptool merge_bin --fill-flash-size 8MB; WARNs (no real WiFi) are treated as OK in CI.

Reference

  • docs/WITNESS-LOG-028.md, docs/adr/ADR-028-esp32-capability-audit.md
  • scripts/generate-witness-bundle.sh, archive/v1/data/proof/verify.py
  • CLAUDE.md → "Validation & Witness Verification" + "Pre-Merge Checklist"
  • CLAUDE.local.md → QEMU CI pipeline fixes

版本历史

  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 实验室的评测报告。

场景价值65/100

亮点

  • 提供完整的 RuView 构建验证流程,涵盖 Rust 测试、Python 确定性证明、固件哈希等多个维度
  • 支持一键生成 ADR-028 见证捆绑包,便于为接收方提供信任证明
  • 适用于重大变更后、合并 PR 前的验证场景,具有明确的工程实用价值
触发精准90/100

亮点

  • description 明确描述了使用场景和触发条件,边界清晰
  • 触发词覆盖完整,包括重大变更后、合并 PR 前、生成证明捆绑包等关键场景
结构规范75/100

待提升项

  • 缺少显式 When to Use 章节 原报告严重程度:轻微

    文档结构完整但未设置显式的 When to Use 章节,使用场景仅在 description 中描述

    改进建议:建议在文档开头添加显式的 When to Use 章节,更清晰地说明使用时机

亮点

  • Phase 划分清晰,5 个主要步骤逻辑连贯
  • 包含端到端示例和预合并检查清单,指导性强
  • frontmatter 完整,包含 name、description 和 allowed-tools
执行可靠70/100

待提升项

  • 依赖文件未验证存在性 原报告严重程度:轻微

    文档中引用了多个外部脚本和文件(如 scripts/generate-witness-bundle.sh、archive/v1/data/proof/verify.py),但未验证其是否存在

    改进建议:建议验证所有引用的外部文件是否存在,或在文档中说明这些文件的预期位置和获取方式

亮点

  • 工具来源明确,参数正确,覆盖主要异常情况
  • 提供了哈希不匹配时的处理方案,增强了可靠性
  • 不可逆操作有明确说明和预期结果
证据可验 (前四项均值)75/100

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

正文静态检测

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

正文未命中当前规则。

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

权限与使用前检查

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

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 83 行
  • 调用命令或脚本

    先读脚本与参数,使用普通权限和限定目录;安装或执行前由使用工具再次确认。

    主文档提及 · 第 46, 62 行

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

安全评级与访问范围

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

来源文档未说明。

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