What it is
K₄ impedance matching — every bond is a complete graph edge, not a directed arrow. Molecular Social Protocol is a core component of the P31 Labs sovereign cognitive infrastructure stack — built to run offline, deployed to the edge, and designed without dark patterns.
React 19 + Three.js R3F renders the 3D molecular graph. Zustand v5 manages bond state with immer patches. The relay is Cloudflare Workers KV — no WebSocket, no Durable Objects, offline-tolerant.
Core features
K₄ impedance matching — every bond is a complete graph edge, not a directed arrow
424 automated tests across 32 suites — production quality enforcement
Multiplayer relay via Cloudflare Workers KV at 3–10s polling intervals
Timestamped bond events double as court-admissible engagement evidence
Offline mode with localStorage mock relay for two-tab local testing