The trust pipeline for RuView. Run this after meaningful changes and before merging.
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.
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).
cd archive/v1 && python -m pytest tests/ -x -q
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 capabilityADR-028-esp32-capability-audit.md — full audit findingsproof/verify.py + expected_features.sha256 — the deterministic prooftest-results/rust-workspace-tests.log — full cargo test outputfirmware-manifest/source-hashes.txt — SHA-256 of all 7 ESP32 firmware filescrate-manifest/versions.txt — all 15 crates + versionsVERIFY.sh — one-command self-verification for recipientscd dist/witness-bundle-ADR028-*/
bash VERIFY.sh # must be 7/7 PASS
README.md updated if scope changed (platform/crate/hardware tables, feature summaries)CLAUDE.md updated if scope changed (crate table, ADR list, module tables, version)CHANGELOG.md — entry under [Unreleased]
docs/user-guide.md updated if new data sources / CLI flags / setup steps.gitignore updated for new build artifacts/binariesnpx @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).
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.
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