Skip to main content

Module daemon_tensor

Module daemon_tensor 

Source
Expand description

Cold-path export: daemon graph NQuin slice → binary Tensor10D SOA for U2 viewport upload.

Layout: TensorBufferHeader (32 B) + N × Tensor10D (40 B). Served at GET /tensor/slice. Identifier/Vault standpoints (class ≥ 2) require Ed25519 over the canonical request string.

Structs§

TensorSliceRequest
Standpoint-aligned slice parameters (matches WGSL temporal discard).

Enums§

TensorSliceAuthError
TensorSliceError
TensorSliceLane
Routing lane mirrored from ObserverStandpoint (PR-C9c.2 vault vs commons).

Constants§

ABSOLUTE_SLICE_MAX_NODES
DEFAULT_SLICE_MAX_NODES

Functions§

build_tensor_slice_bytes
Bake filtered graph quins into a tensor buffer blob (cold path; heap OK).
canonical_tensor_slice_payload
Canonical UTF-8 bytes both client (crypto.subtle) and daemon must sign/verify. Format: "{nonce}|{standpoint_class}|{t_slice}|{t_window}"
quin_matches_lane
Commons = public sensitivity only; identifier/vault = full sealed graph.
verify_tensor_slice_signature
Verify Ed25519 signature for identifier/vault tensor slice requests (fail closed).