VSAVM

Event stream

This wiki entry defines a term used across VSAVM and explains why it matters in the architecture.

The diagram has a transparent background and highlights the operational meaning of the term inside VSAVM.

Related wiki pages: VM, event stream, VSA, bounded closure, consistency contract.

Definition

An event stream is an ordered sequence of typed, discrete events. In VSAVM, each event includes a payload and a structural context path (contextPath) that preserves scope and boundaries.

Role in VSAVM

The event stream unifies text and multimodal inputs so that the VM and bounded closure operate on a single representation. It is the foundation for schema discovery, program compilation, and scope-aware conflict detection.

Mechanics and implications

Structural separators delimit where a fact applies. VSAVM supports two complementary signals:

Scope is derived structurally, never from domain labels. This is enforced by createScopeId, which rejects ['domain', ...] paths.

Step-by-step: from events to scoped facts

  1. Ingest events into the VM (ingestEvents), preserving contextPath when available.
  2. Detect separators (optional) using detectStructuralSeparators (DS010).
  3. Derive scope IDs using createStructuralScopeId (prefers contextPath, falls back to separator-derived paths).
  4. Attach scope to facts so closure and contradiction checks are localized.

Further reading

Event stream processing is a broad topic. VSAVM uses the term in a representational sense: explicit structure and discrete units that support deterministic parsing and auditing.

event-stream diagram
The event stream is the canonical, scoped input substrate for VSAVM.

References

Event stream processing (Wikipedia) Tokenization (Wikipedia) Scope (computer science) (Wikipedia)