Expand description
Evaluator, Bytecode VM, and Task Scheduler Call-Site Cutover Router (Stage S6).
Replaces direct string-based crate::bind::dispatch calls across
crates/vibe/src/{eval, bytecode, task_scheduler} with unified
ExtensionRegistry resolution, $O(1)$ PreparedCallCache lookup,
zero-heap slice marshaling, SentinelPolicyGate enforcement, and budget charging.
Structs§
- Prepared
Call Cache - Fixed-capacity, zero-heap cache mapping call-path FNV-1a hashes to
PreparedCallHandles.
Constants§
- BUILTIN_
EXTENSION_ ALIASES - Short aliases of all built-in extension providers registered by default.
- BUILTIN_
EXTENSION_ IRIS - Canonical namespace IRIs of all built-in extension providers registered by default.
Functions§
- execute_
prepared_ value_ call - Executes a resolved
PreparedCallHandleby marshalingpos_argsinto stack-allocatedBorrowedSliceViews (with descriptor-driven overflow sizing when needed), invokingdispatch_prepared_call, chargingbudget, and decodingCallerOutputSliceback to aValue. - is_
extension_ call_ path - Returns
trueifpathstarts with a registered built-in extension alias or canonical IRI. - is_
extension_ namespace - Returns
trueifnsis a known built-in extension alias or canonical IRI. - route_
call - Unified host and extension call router used by
eval,bytecode, andtask_scheduler. - trap_
to_ diagnostic - Maps a deterministic
VibeTrapto a VibeScriptDiagnostic. - try_
prepare_ path - Resolves a dotted or canonical IRI call path against
registryinto aPreparedCallHandle.