Architecture & Interactive Diagram
PVSSPW cleanly separates four runtime and tooling boundaries:
Four-Layer Responsibility Split
- Workbench Shell (
web/): Enforcespvsspw-libraryWeb Locks, JSPI/OPFS/WebGPU readiness (web/platform.js,web/graphics.js), adaptive SMP (web/thread-policy.js), Worker interception (web/engine.js), and zero-copy FrameFlow orchestration (web/frameflow-worker.js). - Patched Upstream Core (
patches/): Maintains clean diff stacks over MIT Vitaslop (firmware,playback,battle,fsr1) compiled to single- and multi-threaded Wasm viascripts/build_vitaslop.py. - Loopback Server & Runners (
scripts/,bench/): Enforces COOP/COEP headers, hash-verified sample prep, same-origin launcher validation, and non-intrusive GPU submit / pixel-diff probes. - Tests & Verified Reports (
tests/,results/): Fast pure-JS unit tests (node --test tests/*.test.mjs) alongside SHA-256-locked benchmark reports (scripts/report.py).
Continue to End-to-End Walkthrough, Code Map, or Engineering Decisions.