[AVAILABLE].
packages/execution-system. Note DefaultExecutionSystem’s real scope below, it is a placeholder, not a verified boundary.Purpose
Defines the one interfaceRuntimeFactory.create() needs to actually release an execution:
ExecutionSystem. DefaultExecutionSystem, HttpExecutionSystem, and
@parmana/execution-gateway’s ExecutionGateway are three different implementations of
this exact interface, interchangeable without touching RuntimeEngine or
RuntimePipeline.
Install
Key exports
| Export | Signature / Stability |
|---|---|
ExecutionSystem (interface) | { execute(request: ExecutionRequest): Promise<ExecutionResult> }. [AVAILABLE] |
DefaultExecutionSystem | [AVAILABLE], but a placeholder: execute() unconditionally returns { success: true, ... }, echoing the request back. No policy re-check, no content-binding, no connector. Many tutorials (1-13) use this for simplicity to demonstrate the Runtime in isolation, it performs no real verification. |
HttpExecutionSystem | [AVAILABLE]. new HttpExecutionSystem({ baseUrl }), execute() POSTs to ${baseUrl}/execute and returns the parsed response. |
ExecutionRequest | { businessTransactionId, action, target, parameters } |
ExecutionTrustRecordBuilder | [AVAILABLE]. Assembles the final ExecutionTrustRecord from a transaction, decision, and execution result. |
Minimal example
Next
The gateway
The real
ExecutionSystem implementation the default server actually uses.@parmana/runtime
Where this interface is consumed.