Section 21Platform and Delivery

Extension Host requirements

Defines capability-scoped built-in Rust, sandboxed Wasm, and supervised out-of-process extension lifecycles.

Section relationships
IDNamePriorityRequirementVerification
EXT-001Built-in Rust extensionMVPBeforeMetal SHALL provide versioned Rust traits for first-party hot-path extension points compiled as part of a portable product build.Inspection
EXT-002No unstable Rust dylib contractMVPBeforeMetal SHALL not use the native Rust ABI as the long-lived third-party dynamic-plugin contract.Inspection
EXT-003Extension manifestBetaEvery third-party extension SHALL declare identity, version, API range, type, capabilities, dependencies, permissions, determinism, thread safety, resource expectations, and snapshot support.Test
EXT-004Lifecycle contractBetaAn extension SHALL use a documented describe, configure, initialize, activate, step or callback, reset, snapshot where declared, restore where declared, and shutdown lifecycle.Test
EXT-005Capability-scoped accessBetaAn extension SHALL receive only the world state and services authorized by its declared capability.Test
EXT-006Wasm component extensionBetaBeforeMetal SHALL support a sandboxed Wasm profile for suitable controllers, metrics, importers, sensors, and environment models.Demonstration
EXT-007Process extensionBetaBeforeMetal SHALL support an isolated process-extension profile for polyglot, proprietary, or crash-prone integrations.Demonstration
EXT-008External native extension isolationExternalA third-party extension containing non-Rust native code SHALL execute outside the core simulator process and SHALL not be required by the portable distribution.Inspection
EXT-009Error containmentBetaExtension errors SHALL be converted into structured diagnostics and SHALL not unwind or throw across the host boundary.Test
EXT-010Resource limitsBetaSandboxed and process extensions SHALL support configured memory, CPU, time, output, filesystem, network, and device limits where enforceable.Test
EXT-011Determinism declarationBetaAn extension SHALL declare its determinism class and sources of nondeterminism.Inspection
EXT-012Extension conformance suiteBetaA public extension type SHALL ship with an executable conformance suite and reference example.Test
EXT-013Extension upgrade compatibilityBetaIncompatible extension API versions SHALL fail during discovery with an actionable diagnostic.Test
EXT-014Asset-embedded extension safetyMVPA plugin reference contained in an imported asset SHALL remain inert until explicitly trusted and mapped to an installed extension.Test

Generated from the canonical specification. Edit section metadata or prose in docs/requirements.md; the website rebuilds this page and its relationships automatically.