Expand description
Static capability model for future Wasm plugins. Wasm plugin boundary.
Structs§
- Authorized
Plugin Component - Component bytes opened through filesystem policy.
- Authorized
Plugin Manifest - Plugin manifest data after matching an enabled host config.
- Authorized
Workspace Read Access - Workspace read path after plugin capability authorization.
- Authorized
Workspace Write Access - Workspace write path after plugin capability authorization.
- Capability
Set - Composable plugin capability set used for authorization decisions.
- Decoded
Count - Guest count after range and host-width checks.
- Decoded
Guest String - Guest string after UTF-8 and byte-limit checks.
- Decoded
Payload - Guest payload after byte-limit checks.
- Decoded
Text Range - Guest text range after ordering and host-width checks.
- Decoded
Workspace Path - Workspace path after UTF-8, size, and path-vocabulary checks.
- Drained
Plugin Effect Report - Drained ECS request messages.
- Drained
Plugin Effect Requests - Owner request batches produced by draining plugin effects.
- Effective
Plugin - Host-approved plugin metadata after config/manifest validation.
- Enabled
Plugin Config - Borrowed validated view of a loadable enabled plugin config.
- Guest
Decode Limits - Decode limits derived from validated runtime policy.
- Pending
Plugin Update Batch - Effects accepted during one guest update.
- Pending
Plugin Workspace IoBatch - Workspace I/O accepted during one guest update but not yet committed to filesystem policy.
- Plugin
Buffer Edit Proposal - Plugin buffer edit proposal with observed revision provenance.
- Plugin
Buffer Handle - Guest-visible buffer handle issued by the host.
- Plugin
Capabilities - Static capability grants for one plugin.
- Plugin
Component Path - Validated local Wasm component path accepted by the runtime boundary.
- Plugin
Config - Static configuration for one Wasm plugin component.
- Plugin
Effect Batch Limit - Effect cap for one plugin update.
- Plugin
Effect Discard Report - Effects discarded before successful return.
- Plugin
Handle Generation - Store generation used to reject handles issued before revocation.
- Plugin
Handle Limit - Bounded live-handle count for one plugin instance.
- Plugin
Handle Shape - Redacted handle shape safe for diagnostics.
- Plugin
Handle Store - Per-plugin handle table.
- Plugin
Host Context - Host authorization context for one loaded plugin.
- Plugin
Host Import Batches - Sealed work from one successful guest update.
- Plugin
Host Import Batches Parts - Successful-return work split by sealed batch kind.
- Plugin
Host Import Discard Report - Discard report for one failed guest update.
- Plugin
Host Import Session - Host-import state for one guest update.
- Plugin
Host Owner Batches - Successful-return work that must be published by non-runtime owners.
- Plugin
Host Owner Batches Parts - Paired owner work split by owning queue.
- Plugin
Host Owner Discard Report - Redacted discard report for paired owner work.
- Plugin
Host State Mismatch - Host context and handle store identity mismatch.
- Plugin
Identity - Validated stable plugin identity.
- Plugin
Instance State - Host-owned loaded instance state.
- Plugin
Manifest - Plugin-declared manifest data read before loading a component.
- Plugin
Operational Event - Redacted runtime event.
- Plugin
Proposal Policy - Static proposal handling policy for one plugin.
- Plugin
Registry Config - Root registry for statically configured Wasm plugins.
- Plugin
Revocation Report - Revocation outcome.
- Plugin
Runtime Limits - Serializable guest execution limits.
- Plugin
Runtime Spec - Policy-approved runtime input.
- Plugin
Runtime Trace Event - One redacted event in a future plugin runtime replay trace.
- Plugin
Runtime Trace Proposal Receipt - Redacted proposal receipt trace payload.
- Plugin
Scheduler Policy - Registry-level guest publication policy.
- Plugin
View Handle - Guest-visible view handle issued by the host.
- Plugin
Workspace IoBudget - Bounded workspace I/O budget for one successful plugin update.
- Plugin
Workspace IoCancellation Report - Revocation cancellation report.
- Plugin
Workspace IoDiscard Report - Report from discarding workspace I/O before filesystem policy execution.
- Plugin
Workspace IoReport - Report from executing sealed workspace I/O through filesystem policy.
- Plugin
Workspace IoWorker Enqueue Error - Failed admission of a sealed workspace I/O batch.
- Plugin
Workspace IoWorker Enqueue Error Parts - Retryable workspace I/O worker enqueue failure split by queue boundary.
- Plugin
Workspace IoWorker Queue - FIFO queue for sealed workspace I/O.
- Plugin
Workspace IoWorker Queue Limit - Bounded worker queue cap.
- Plugin
Workspace Observe Bytes - Bounded workspace bytes safe to return to a guest.
- Plugin
Workspace Observe Task Cancellation Report - Cancellation report for revoked workspace observation task state.
- Plugin
Workspace Observe Task Completion - Completed workspace observation task retained for guest polling.
- Plugin
Workspace Observe Task Completion Shape - Redacted identity-scoped shape for a retained workspace observation task completion.
- Plugin
Workspace Observe Task Discard Report - Report from discarding workspace observation tasks before filesystem policy execution.
- Plugin
Workspace Observe Task Enqueue Error - Failed admission of a sealed workspace observation task batch.
- Plugin
Workspace Observe Task Enqueue Error Parts - Retryable observe-task enqueue failure split by queue boundary.
- Plugin
Workspace Observe Task Enqueue Report - Successful enqueue report for task requests committed after guest return.
- Plugin
Workspace Observe Task Handle - Owned identity-scoped workspace observation task handle.
- Plugin
Workspace Observe Task Id - Host-owned identifier for a workspace observation task.
- Plugin
Workspace Observe Task Queue - Bounded host queue for guest-visible workspace observations.
- Plugin
Workspace Observe Task Queue Limit - Queue bounds for guest-visible workspace observation tasks.
- Plugin
Workspace Read Byte Limit - Non-zero workspace read byte cap.
- Plugin
Workspace Read Completion - Completed workspace read.
- Plugin
Workspace Read Success - Successful workspace read result.
- Plugin
Workspace Write Byte Limit - Non-zero workspace write byte cap.
- Plugin
Workspace Write Completion - Completed workspace write.
- Plugin
Workspace Write Success - Successful workspace write result.
- Policy
Opened Plugin Manifest - Plugin manifest bytes opened through filesystem policy but not yet parsed or authorized.
- Resolved
Plugin Buffer - Resolved buffer handle target and provenance.
- Resolved
Plugin View - Resolved view handle target.
- Sealed
Plugin Effect Batch - Effects from a successful guest update.
- Sealed
Plugin Workspace IoBatch - Workspace I/O from a guest update that reached the successful-return boundary.
- Sealed
Plugin Workspace Observe Task Batch - Workspace observation tasks from a successful guest update.
- Validated
Plugin Config - Plugin config after registry-level identity validation.
- Validated
Plugin Registry - Plugin registry after identity invariants have been checked.
- Validated
Plugin Runtime Limits - Runtime limits after host cap validation.
- Workspace
Path - Owned workspace-relative path accepted by the plugin authorization boundary.
- Workspace
Path Grant - Workspace-relative path grant.
- Workspace
Path Ref - Borrowed workspace-relative path accepted by the plugin authorization boundary.
Enums§
- Capability
Atom - One granular authority atom understood by the plugin host.
- Decoded
Buffer Edit - Guest buffer edit after scalar, range, text, and payload-limit checks.
- Decoded
Capability Ref - Capability request decoded into Alma-owned vocabulary.
- Guest
Decode Error - Guest decode failure with redacted payload data.
- Guest
Decode Field - Guest-owned field names that can appear in decode diagnostics.
- Plugin
Authorization Error - Errors returned when a guest attempts a denied host import.
- Plugin
Buffer Observation Error - Buffer observation rejection after authorization and handle decoding.
- Plugin
Capability Ref - Capability check requested at a host import boundary.
- Plugin
Capability Shape - Redacted shape for a plugin capability request.
- Plugin
Component Open Error - Errors returned while opening a plugin component through filesystem policy.
- Plugin
Component Path Error - Errors returned while validating a configured component path.
- Plugin
Effect Batch Limit Field - Effect batch limit fields with stable diagnostic spellings.
- Plugin
Effect Commit Error - Plugin effect commit failure.
- Plugin
Effect Commit Error Kind - Plugin effect commit rejection class.
- Plugin
Handle Error - Host-side rejection while resolving a plugin handle.
- Plugin
Handle Kind - Host-side handle kind.
- Plugin
Host Import Error - Host-import rejection.
- Plugin
Host Resource Kind - Component-model resource rejection shape.
- Plugin
Identity Error - Errors returned while validating a stable plugin identity.
- Plugin
Instance Access Error - Access rejected by the lifecycle gate.
- Plugin
Instance Lifecycle - Runtime scheduling gate.
- Plugin
Load Error - Errors returned while loading plugin metadata.
- Plugin
Manifest Open Error - Errors returned while opening a plugin manifest through filesystem policy.
- Plugin
Operational Event Kind - Payload-free event kind.
- Plugin
Operational Export - Closed guest export diagnostic vocabulary.
- Plugin
Operational Import - Closed host-import diagnostic vocabulary.
- Plugin
Operational Import Rejection - Redacted host-import rejection shape.
- Plugin
Operational Queue - Bounded queue class.
- Plugin
Operational Runtime Failure - Closed runtime failure diagnostic vocabulary.
- Plugin
Proposal Review Mode - Review mode for plugin proposals before owner mutation.
- Plugin
Registry Error - Errors returned while validating a statically configured plugin registry.
- Plugin
Resource Handle Rejection Reason - Component-model resource rejection shape.
- Plugin
Revocation Reason - Revocation cause recorded by the host.
- Plugin
Runtime Limit Error - Errors returned while validating configured runtime limits.
- Plugin
Runtime Limit Field - Runtime limit fields with stable diagnostic spellings.
- Plugin
Runtime Trace Effect - Redacted drained effect shape.
- Plugin
Runtime Trace Event Class - Top-level trace event class.
- Plugin
Runtime Trace Event Kind - Redacted plugin runtime trace payload.
- Plugin
Runtime Trace Proposal Outcome - Redacted proposal receipt outcome.
- Plugin
Runtime Trace Proposal Owner - Boundary that decided a proposal.
- Plugin
Runtime Trace Proposal Rejection - Closed proposal rejection shape.
- Plugin
Runtime Trace Status - Redacted status request shape.
- Plugin
Runtime Trace Target - Redacted owner target shape.
- Plugin
Runtime Trace Workspace IoCompletion - Redacted workspace I/O completion shape.
- Plugin
Runtime Trace Workspace Observe Task Outcome - Redacted workspace observation task outcome.
- Plugin
Runtime Trace Workspace Read Outcome - Redacted workspace read outcome.
- Plugin
Runtime Trace Workspace Write Outcome - Redacted workspace write outcome.
- Plugin
Unload Policy - Loaded-instance disposal policy.
- Plugin
Workspace IoBudget Field - Workspace I/O budget field names with stable diagnostic spellings.
- Plugin
Workspace IoCommit Error - Errors returned while accepting pending workspace I/O from one plugin update.
- Plugin
Workspace IoCommit Error Kind - Workspace I/O commit rejection class.
- Plugin
Workspace IoCompletion - One completed workspace I/O request.
- Plugin
Workspace IoExecution Model - V1 workspace I/O execution policy.
- Plugin
Workspace IoIdentity Mismatch Source - Workspace I/O identity pairing source.
- Plugin
Workspace IoWorker Queue Error - Worker queue rejection.
- Plugin
Workspace IoWorker Queue Error Kind - Workspace I/O worker queue rejection class.
- Plugin
Workspace IoWorker Queue Limit Field - Worker queue limit fields with stable diagnostic spellings.
- Plugin
Workspace Observe Outcome - Guest-deliverable
workspace.observeresult. - Plugin
Workspace Observe Outcome Shape - Redacted
workspace.observeguest-delivery shape. - Plugin
Workspace Observe Projection Error - Rejection while projecting owner-facing workspace I/O into
workspace.observe. - Plugin
Workspace Observe Task IdError - Invalid workspace observation task id.
- Plugin
Workspace Observe Task Poll - Payload-free poll result for a workspace observation task.
- Plugin
Workspace Observe Task Queue Error - Workspace observation task queue rejection.
- Plugin
Workspace Observe Task Queue Error Kind - Workspace observation task queue rejection class.
- Plugin
Workspace Observe Task Queue Limit Field - Observe-task queue limit fields with stable diagnostic spellings.
- Plugin
Workspace Observe Task Reservation Mismatch - Closed reason a sealed task reservation cannot enter a queue.
- Plugin
Workspace Observe Task Reserve Error - Error reserving a workspace observation task during a guest update.
- Plugin
Workspace Observe Task Result Shape - Redacted shape for a workspace observation task poll or take result.
- Plugin
Workspace Observe Task State - Closed workspace observation task state.
- Plugin
Workspace Observe Task Take - Consuming result for a workspace observation task.
- Plugin
Workspace Read Error - Filesystem-policy read rejection at the plugin boundary.
- Plugin
Workspace Write Error - Filesystem-policy write rejection at the plugin boundary.
- WitCapability
- WIT-facing capability kind.
- WitCapability
RefError - Errors returned when converting WIT capability data into an authorization query.
- WitHost
Import - WIT host import currently exposed to guest components.
- WitWorkspace
Observe Task Import - Task-based
workspace.observehost import group. - Workspace
Access Kind - Authorized workspace operation kind.
- Workspace
Path Error - Workspace path validation failure.
Constants§
- CAPABILITY_
NAMES - Stable scalar capability names shared with WIT and config.
- CURRENT_
WIT_ WORLD - WIT world supported by this crate’s current plugin ABI.
- DEFAULT_
PLUGIN_ HANDLE_ LIMIT - Default maximum live resource handles for one plugin instance.
- MAX_
PLUGIN_ FUEL_ PER_ UPDATE - Maximum fuel units accepted for one guest update.
- MAX_
PLUGIN_ IDENTITY_ BYTES - Maximum bytes accepted for a stable plugin identity.
- MAX_
PLUGIN_ INTENT_ BATCHES - Maximum sealed effect batches accepted for ECS publication.
- MAX_
PLUGIN_ MEMORY_ BYTES - Maximum linear memory bytes accepted for one guest instance.
- MAX_
PLUGIN_ MESSAGE_ BYTES - Maximum host-call payload bytes accepted from one guest call.
- MAX_
PLUGIN_ SCHEDULER_ INTENT_ BATCHES - Maximum queued sealed batches across enabled plugins.
- MAX_
PLUGIN_ TIMEOUT_ MS - Maximum wall-clock milliseconds accepted for one guest update.
- WIT_
HANDLE_ RESOURCES - Opaque WIT resource names exported by the host interface.
- WIT_
HOST_ IMPORTS - Host functions currently exposed to guests.
- WIT_
HOST_ INTERFACE - Host interface imported by plugin components.
- WIT_
PACKAGE - WIT package name for Alma plugin components.
- WIT_
PLUGIN_ EXPORTS - Lifecycle exports implemented by plugin components.
- WIT_
SOURCE - WIT source checked into the repository for deterministic drift tests.
- WIT_
VERSION - WIT package version for Alma plugin components.
- WIT_
WORKSPACE_ OBSERVE_ TASK_ IMPORTS - Task-based
workspace.observehost function group. - WIT_
WORLD - WIT world name for Alma plugin components.
- WIT_
WORLD_ ID - WIT world string assembled from package, world, and version constants.