@usine/orchestrator/exe-dev
Variables
Section titled “Variables”
constlayer: (instanceDirectory,config,brains,options) =>Layer.Layer<CursorStore|CycleBudgets|ItemProjectionReader|ItemProjectionWriter|LoopControl|RepositoryLabelProjectionReader|RepositoryLabelProjectionWriter|RunEngine|RunReader,AttemptCancellationError|CredentialUnavailableError|EnginePersistenceError|ExecutorOperationError|RunInterventionRejectedError|RunNotFoundError|RunOperationRejectedError|UnsupportedWorkerError|WorkerCapabilityError,AttemptRuntime|TriggerCondition>
The full engine composition for a local orchestrator driving exe.dev
Workers; brains are the instance roster checked at startup. The caller
provides the TriggerCondition that re-checks queued Events and the
AttemptRuntime that runs each Attempt’s Pi parent in this process, built
before the engine so durable storage is resumed before Run recovery.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instanceDirectory |
InstanceDirectory |
config |
UsineConfig |
brains |
ReadonlyArray<BrainSpec> |
options |
ExeDevExecutorOptions |
Returns
Section titled “Returns”Layer.Layer<CursorStore | CycleBudgets | ItemProjectionReader | ItemProjectionWriter | LoopControl | RepositoryLabelProjectionReader | RepositoryLabelProjectionWriter | RunEngine | RunReader, AttemptCancellationError | CredentialUnavailableError | EnginePersistenceError | ExecutorOperationError | RunInterventionRejectedError | RunNotFoundError | RunOperationRejectedError | UnsupportedWorkerError | WorkerCapabilityError, AttemptRuntime | TriggerCondition>