Isomorphic SDN runtime

Goal

Run the same signed Space Data modules across browser, server, OrbPro, and WasmEdge without changing the module contract.

The runtime differences are host differences, not module differences.

Current Direction

space-data-module-sdk is the source of truth for:

Host runtime packages are layered on top of that runtime host as:

It is no longer the intended source of truth for a separate runtime model.

Canonical Identity Model

Standards Rows

Standards payloads are always addressed by:

Rules:

FlatSQL is the only query backend for standards rows.

Runtime Aligned-Binary Records

High-performance derived runtime state is always addressed by:

Rules:

Raw Pointers

Raw pointers are valid only as internal execution details inside a live host or module instance.

They are not a durable public contract.

Host Responsibilities

The canonical SDK runtime host is responsible for:

The recommended outer transport / invoke / storage split is documented in ./flatsql-streaming-standard.md.

OrbPro

OrbPro is not a separate storage/runtime architecture.

OrbPro adds a host-side entity/view layer over the same core model:

So OrbPro is:

Server and Browser Node

Server and browser-node use the same core host model:

They do not need the OrbPro entity facade.

WasmEdge

WasmEdge is a host target for the same runtime model.

The SDK’s WasmEdge runner should evolve from:

to:

This is a host concern, not a second guest ABI.

Capability Model

The capabilities that matter most for this runtime model are:

But direct standards-row reads and runtime-region reads should still happen through the host’s typed row/region services rather than ad hoc JSON APIs.

Dynamic Loading vs Compiled Flows

Dynamic module loading is the default runtime model.

Compiled flows remain useful, but only as an optional deployment/build mode:

Compiled flow output must target the same runtime host contract, not invent a parallel execution model.

Definition of Done

This runtime model is complete when:

SDN Stack

Connected sites