mirror of
https://github.com/ruvnet/RuView
synced 2026-08-11 20:41:44 +00:00
18060b9c77
Two additions on top of the hyper-optimized VEIL shield.
1) Adaptive optimization (v2/crates/wifi-densepose-privshield/src/optimize.rs):
- optimal_bits_across_snr / model_optimal_bits_for_snr: the throughput-
optimal feedback resolution shifts with SNR (unconstrained optimum 4 bits
at 5-10 dB, 3 bits at 20-40 dB); within the spec {5,7,9} set it stays 5,
which is why the shipped shield is SNR-stable.
- adaptive_shield / min_passes_for_n: derive a shield for a specific
deployment. Finding: the collapse budget is N-independent in this model
(48 passes collapses N in {8,64} alike) — it is set by the fine-subspace
dimension, not the candidate count. Defaults unchanged, so the proof
witness is untouched. 38 tests + doctest pass; clippy -D warnings clean.
2) npm metaharness harness/wifi-densepose-privshield/ (ADR-289), mirroring
wifi-densepose-sar-harness (ADR-286) with two improvements:
- @metaharness/* imported dynamically inside the commands that need them, so
`guidance` and `--help` run with ZERO dependencies installed (offline / pre
`npm install`).
- a dependency-free VEIL `guidance` command: a source-cited, evidence-
labelled, read-only capability map (topics: overview, threat,
countermeasure, compliance, optimization, experiment).
Standard router + flywheel (SYNTHETIC) + Darwin wiring, tailored to VEIL
task axes and policy levers. Tests: smoke + router + flywheel (need install)
and guidance (offline). .harness manifest generated with real per-file
hashes. Validated offline: cli syntax, --help, guidance topics, exit codes,
graceful degradation when deps are absent.
Docs: research bundle 08 gains a per-deployment adaptivity section; 07 and the
crate README point at the harness; ADR-289 added and indexed.
Co-Authored-By: claude-flow <ruv@ruv.net>
Claude-Session: https://claude.ai/code/session_01WEXNqzs7UsfNFBcP5yW21p
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
|
"name": "wifi-densepose-privshield-harness",
|
|
"version": "0.1.0",
|
|
"description": "Harness for wifi-densepose-privshield (VEIL — compliant-waveform WiFi-sensing privacy shield, ADR-288/289)",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"bin": {
|
|
"wifi-densepose-privshield-harness": "bin/cli.js"
|
|
},
|
|
"files": [
|
|
"bin/**",
|
|
"dist/**",
|
|
"src/**",
|
|
"tsconfig.json",
|
|
".claude/**",
|
|
".claude-plugin/**",
|
|
"CLAUDE.md",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"init": "node ./bin/cli.js init",
|
|
"doctor": "node ./bin/cli.js doctor",
|
|
"guidance": "node ./bin/cli.js guidance",
|
|
"evolve": "metaharness-darwin evolve . --sandbox real --generations 3 --children 4",
|
|
"evolve:dry": "metaharness-darwin evolve . --sandbox mock --generations 2 --children 3",
|
|
"route": "npm run build && node ./bin/cli.js route",
|
|
"flywheel:dry": "npm run build && node ./bin/cli.js flywheel 3"
|
|
},
|
|
"dependencies": {
|
|
"@metaharness/kernel": "^0.1.0",
|
|
"@metaharness/host-claude-code": "^0.1.0",
|
|
"@metaharness/router": "^0.3.2",
|
|
"@metaharness/flywheel": "^0.1.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.4.0",
|
|
"vitest": "^3.0.0",
|
|
"@metaharness/darwin": "^0.2.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|