nvsim-server 0.3.1

Axum REST + WebSocket server fronting the nvsim NV-diamond pipeline simulator (ADR-092 §6.2).
nvsim-server-0.3.1 is not a library.

nvsim-server — Axum host fronting the deterministic nvsim pipeline.

ADR-092 §6.2 — REST control plane + binary WebSocket data plane. Same (scene, config, seed) produces byte-identical witnesses across the WASM transport (in-browser worker) and this WS transport — the determinism contract the dashboard's Verify panel asserts.

Routes

Method Path Purpose
GET /api/health liveness + nvsim version + magic
GET /api/scene current scene (JSON)
PUT /api/scene replace scene
GET /api/config current PipelineConfig
PUT /api/config replace config
GET /api/seed current seed (hex)
PUT /api/seed set seed
POST /api/run start a run
POST /api/pause pause
POST /api/reset reset to t=0
POST /api/step single step
POST /api/witness/generate run N frames + return SHA-256
POST /api/witness/verify re-derive + compare expected
POST /api/witness/reference run canonical Proof::generate
POST /api/export-proof proof bundle as JSON
GET /ws/stream binary MagFrame batch stream