From 70a684c238831cf24bbc0336740ca7356a7938fe Mon Sep 17 00:00:00 2001 From: OmO Orchestrator Date: Fri, 20 Nov 2026 17:51:31 -0500 Subject: [PATCH] fix(assembly): wire the QR-sneakernet air-gapped fallback into the shipped screen The audit (.omo/evidence/coherence-audit/assembly.md) found src/lib/qrSneakernet.ts fully built and tested (encodeDelta/decodeFrames/FrameCollector/renderFramesToDataURLs/ scanFrameFromImage, real qrcode+jsQR, CRC32-checked chunking) but with zero callers outside its own test file, and no getUserMedia call anywhere in the app - the README's claimed "QR-sneakernet air-gapped fallback" third resilience layer was unreachable from the UI. Adds QrSneakernetPanel (new component under src/miniapps/assembly/), wired into AssemblyScreen.tsx alongside (not replacing) the existing WebRTC sync toggle: - "Export state as QR": encodeAssemblyState -> encodeDelta -> renderFramesToDataURLs, cycling frames with a visible "Frame N of M" counter. - "Scan a device's QR": real getUserMedia camera permission prompt with a clean denied/unavailable error UI,