# Verify RuView Build

Runs the test suite, SHA-256 proof and witness bundle to verify a RuView build.

- Repository: https://github.com/ruvnet/RuView (101983 stars)
- Category: Testing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add ruvnet/RuView --skill ruview-verify -g -a claude-code -y`
Codex: `npx skills add ruvnet/RuView --skill ruview-verify -g -a codex -y`
Cursor: `npx skills add ruvnet/RuView --skill ruview-verify -g -a cursor -y`
Gemini CLI: `npx skills add ruvnet/RuView --skill ruview-verify -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add ruvnet/RuView`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# RuView Verification & Witness Bundle

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

## 1. Rust workspace tests

```bash
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.

```bash
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:
```bash
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)

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

## 4. Generate the witness bundle (ADR-028)

```bash
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

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

## Pre-merge checklist (from CLAUDE.md)

The rest: https://github.com/ruvnet/RuView/blob/HEAD/plugins/ruview/skills/ruview-verify/SKILL.md
