Skip to main content

Module vibe_host

Module vibe_host 

Source
Expand description

Vibe execution host over a caller-owned Quin snapshot (P5).

Scripts never write parity. The host seals via NQuin::calculate_parity. The host is independent of Poet, which is one UI/client of it. Document NLP lives in crate::nlp, next to text_span and lexicon.

Modules§

bridge
Vibe-host execution capability contract.
catalog
Vibe 0.1 binding table over Qualia’s existing capability registry.
catalog_ttl
Turtle catalog of live 0.1 bindings + capability.invoke ids. Agents query this; they must not invent names absent from it.
invoke
capability.invoke.
native_authority
Native project authority: signed adoption, key possession, current grants, serialized document/evidence commit. No source-facing authentication entry.
scoped_effects
Explicit native host grant boundary for pulse, HID and private-key effects. Uses the existing PoetSnapshot state owner; no source request grants itself permission, and no principal/project authentication is inferred here.
vibe_sentinel
QualiaDB Governed VibeScript Extension Host (vibe_sentinel, VS03-09, VS03-10, VS03-11, VS03-12, VS03-13).

Structs§

AdmittedQ42View
AdmittedQ42ViewReceipt
Provenance and semantic view metadata for an admitted Q42 volume/slice (G50).
HidEventBuffer
A fixed-capacity ring buffer for HID events (T46).
HidEventSlot
A compact HID event slot for the ring buffer (T46). Stores the essential fields without String allocation.
PoetSnapshot
In-memory graph revision used as the 0.1 live host.
PulseRecord
A recorded pulse.publish call — the 0.1 receipt for UI / audit display.
TickController
State machine managing tick admission under load (T68).

Enums§

TickPolicy
Admission and coalescing policy for ticks under load (T68).

Constants§

HID_SAMPLE_QUOTA
Maximum number of HID events buffered in the host (T46). 4096 samples = ~4 seconds at 1000 Hz, enough for one frame batch.
PULSE_ALLOW_PREFIXES
Topics pulse.publish may use in 0.1. Anything else is E500.

Functions§

format_value
Renders a Value to a display string.

Type Aliases§

VibeHost
Canonical name for the mutable Vibe execution environment.
VibeHostSnapshot
Canonical name for a Vibe host’s caller-owned Quin snapshot.