mirror of
https://github.com/ruvnet/RuView
synced 2026-08-04 19:31:42 +00:00
9109269329
ADR-263 (@ruvnet/ruview 0.2.0), O1-O9: - claim-check fails closed on empty input (CLI exit 2, empty_text tool error) - MCP stdio server dispatches tools/call asynchronously (promise-based spawn); ping answers while a 3s fake verify runs — pinned by new e2e test - optionalDependencies dropped: cold npx installs exactly 1 package (MEASURED: was 4 pkgs/620kB/71 files via npm i in a clean prefix) - bounded rolling output tails replace spawnSync 1MiB maxBuffer - node_monitor port passed via sys.argv, never spliced into python -c source - serverInfo.version read from package.json; resources/prompts stubs - skills single-sourced: prepack sync script generates .claude/skills/ copies - which() = memoized dep-free PATH scan - tools underscore-canonical (ruview_claim_check, ...) + dotted aliases - guardrail precision: word-boundary map/f1/auc/iou, code-span + F1/O2 label scrubbing, quantitative-claims-only; packaging reproducer hints - 30/30 tests (was 17), incl. concurrency e2e + fail-open regression pins ADR-264 (@ruvnet/rvagent 0.2.0), O1-O9: - exports fixed: types-first, phantom dist/index.cjs require target removed - tarball map-free: 127,704B unpacked / 46 files / 0 maps (MEASURED, npm pack --dry-run; was 188kB incl. 44 maps referencing unshipped src) - Streamable HTTP actually wired behind RVAGENT_HTTP_PORT: one transport + one MCP server per session (mcp-session-id routing), 1MiB body cap (413), port-aware localhost origin gate; dual-transport description now true - tools renamed underscore-canonical with dotted router-only aliases - single Zod validation gate; advertised inputSchema generated from the same Zod source (zod-to-json-schema) - train_count: parent log fds closed (was leaking 2/job); job records persisted to <jobsDir>/<id>.json (job_status survives restarts); bounded log-tail reads - detectCogBinary probes its candidates instead of dead-coding them - version from package.json; @types/express dropped; @types/jest -> 29 - README rewritten to match reality (no phantom subcommands/policy layer) - 99/99 jest tests (incl. new session/body-cap suite + previously-broken manifest suite); stdio handshake + HTTP session flow smoke-tested live ADR-265 D1-D4: - .github/workflows/npm-packages.yml: 3-package x Node 20/22 gate — tests, version-literal grep (D3), pack-content/size gate, tarball-install smoke test (catches the ADR-264 F1 class), README claim-check (D4) - .github/workflows/ruview-npm-release.yml: publish from CI only with npm publish --provenance - @ruv/ruview-cli bin renamed ruview-cli (ruview bin belongs to @ruvnet/ruview); version single-sourced - ci.yml NODE_VERSION 18 -> 20 ADR statuses updated to Accepted/implemented; harness manifest re-pinned; ADR-263/264/265 + both package READMEs pass claim-check. Co-Authored-By: claude-flow <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01WrGfTGKv1oWZ6iwXZACULz
35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
# RuView harness — agent operating notes
|
|
|
|
You are operating **RuView** (WiFi-DensePose), a camera-free WiFi-CSI sensing system.
|
|
|
|
## The one rule: prove everything
|
|
|
|
This project was accused of AI-slop; the fix is hard discipline. Before you quote ANY
|
|
accuracy number:
|
|
|
|
1. It must be tagged **MEASURED** (with a reproducer named), **CLAIMED**, or **SYNTHETIC**.
|
|
2. Pose PCK is quoted only as a **delta over the mean-pose baseline** on a leakage-free
|
|
held-out split. (A mean-pose predictor already scores ~50% PCK.)
|
|
3. Run `ruview_claim_check` on any report/PR/model-card. It flags untagged numbers and
|
|
the retracted "100%/perfect accuracy" framing.
|
|
4. Firmware is "hardware-validated" only with a captured **boot log on real silicon** —
|
|
never on a build-passes signal.
|
|
|
|
## Tools
|
|
|
|
`ruview_onboard`, `ruview_claim_check`, `ruview_verify`, `ruview_node_monitor`,
|
|
`ruview_calibrate`, `ruview_node_flash`. All fail-closed. Mutating/hardware tools
|
|
(`node_flash`) require explicit confirmation and are Windows/ESP-IDF gated.
|
|
|
|
## Skills
|
|
|
|
`onboard` · `provision-node` · `calibrate-room` · `train-pose` · `verify`
|
|
(`npx @ruvnet/ruview skill <name>`).
|
|
|
|
## Don'ts
|
|
|
|
- Don't present WiFi sensing as camera-grade.
|
|
- Don't echo or commit WiFi passwords / secrets.
|
|
- Don't merge or release firmware without a real boot log.
|
|
- Don't report a PCK without its mean-pose baseline.
|