Expand description
Event-driven workflow execution: durable admission, routing, node execution and the graph driver.
The generic execution machinery — capability adapters, the node facade,
the continuous driver, and the in-process drive bookkeeping — is owned by
acativa::runtime and re-exported here under the same module paths. What
this crate owns is the LicoUp composition on top of it: the strategy
service’s execute vocabulary, the Assistant preflight and package
importer, the Membership-profile port surface, and the evolution seams
that read the host’s catalog.
licoup ──► licoup-workflow-runtime ──► licoup-workflow-store ──► licoup-workflow
(composes) (executes) (persists) (pure machine)Nothing here reaches back into the host. Everything the runtime needs from
above arrives through ports: the host installs its answers once at its
crate root, and a process that installs none runs fail-closed.
Re-exports§
pub use evolution::CallbackContextFacts;pub use evolution::CallbackCostFacts;pub use evolution::CallbackEvolutionEnricher;pub use evolution::CallbackEvolutionPayload;pub use evolution::CallbackFacts;pub use evolution::CallbackObservationFacts;pub use evolution::CallbackSuggestions;pub use evolution::DefaultEvolutionContextPort;pub use evolution::DefaultEvolutionStrategyPort;pub use evolution::EffectRecheckContext;pub use evolution::EvolutionContextPort;pub use evolution::GroupBGapReport;pub use evolution::GroupBIntegrationGaps;pub use evolution::LedgerEvolutionCostPort;pub use evolution::recheck_before_effect;pub use ports::CandidateFilters;pub use ports::HostPorts;pub use ports::ModelFactsPort;pub use ports::PriceFacts;pub use ports::ProfileSnapshotAuthority;pub use ports::TargetFacts;pub use ports::host_ports;pub use ports::install_host_ports;pub use ports::project_profile_snapshot;pub use ports::project_profile_snapshots;pub use ports::rank_candidates;pub use ports::route_receipt;
Modules§
- adapter
- Native capability adapter leaves used by node execution.
- control
- Controlled admission: verified principal, controlled store, and explicit conflict resolution.
- driver
- Continuous node driver with graceful lifecycle and source-identity result re-entry.
- evolution
- Evolution wiring connecting workflow runtime to observation, cost, context, and strategy ports.
- node
- Node facade for uniform operations and truthful capabilities.
- ports
- The facts and effects the workflow runtime reads but does not own.
- routing
- Routing and subscription: feature indexes/selectors, frozen targets, cursor, and fair wake.
Structs§
- Actor
Turn Error - The dispatch error one actor turn port may report.
- Actor
Turn Port - The Conversation-dispatch seam for one Conversation-bound actor command.
openregisters the turn and returns its handle,runexecutes one opened turn to its terminal state,cancelsignals one opened turn to stop, andabandonsettles one opened turn that will never run. Composition happens where the persistent host runtime exists; the strategy service treats the port as opaque. The port and its disposition vocabulary are the engine’s drive-bookkeeping primitives. - Admission
Receipt - Durable receipt issued upon successful admission into the queue.
- Admission
Request - Admission request submitted to the Intervention Proxy.
- Adopted
Planning Default Seam - Agent
Model Option Seam - Assistant
Preflight - Binding
Candidate - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Binding
Value - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Cancellation
Facts - Separate cancellation facts preserved truthfully.
- Continuous
Node Driver - Continuous driver orchestrating node facades, feature indexing, queues, and result re-entry.
- Cooperative
Drain Adapter - Cooperative drain adapter: supports Submit, safe-boundary Steer, Pause (via drain to safe boundary), Stop, and Observe. It truthfully exposes that in-flight pause and steer are not supported without killing processes.
- Default
Evolution Observation Port - Dispatched
Effect Report - Report for an individual recipient’s effect dispatch.
- Driver
Step Outcome - Outcome of one step of the continuous driver.
- Effect
Recheck Receipt - Fair
Dispatch Queue - Fair dispatch queue maintaining separate Control and Data channels with strict capacity bounds and a deficit/quantum fair arbiter to prevent starvation.
- Frozen
Target Recipient - Individual frozen recipient snapshot bound at admission.
- Frozen
Targets - Set of target recipients frozen at queue admission time.
- Graph
Pause Report - Graph-wide pause report collecting individual node outcomes truthfully.
- Graph
Stop Report - Graph-wide stop report collecting individual node outcomes truthfully.
- InMemory
Controlled Store - In-memory controlled store implementing
ControlledStorefor tests and isolated execution. - Intervention
Proxy - Intervention Proxy: durably admits operations, enforcing authorization, idempotency, monotonic stops, revision ordering, and queue admission barriers.
- Invocation
Record - Historical record of an execution attempt on a node.
- Node
Execution Receipt - Durable receipt issued upon settling an invocation completion.
- Node
Facade - Facade presenting one uniform control surface for a node instance.
- Node
Feature Index - Inverted feature index over active nodes for efficient characteristic-based routing.
- Node
Invocation - Invocations dispatched to a node adapter.
- Node
Metadata - Metadata describing an indexed node instance.
- Node
Observation - Truthful observation of a node without starting or extending work.
- Node
Observation Summary - PerNode
Pause Outcome - Per-node outcome when pausing a graph.
- PerNode
Stop Outcome - Per-node outcome when stopping a graph.
- Planning
Scope Seam - Preflight
Failure - Preflight
Receipt - Prepared
Package - Queue
Bounds - Bounded limits for a channel.
- Queue
Capacity Exceeded - Error returned when queue bounds are exceeded.
- Queued
Item - An admitted message queued for execution.
- Result
Reentry - Result re-entry with source identity.
- Single
Writer Session Registry - Registry enforcing that one native session has at most one writer across all facades.
- Strategy
Authorization - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Definition - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Definition Summary - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Diagnostic - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Effect Permit - One effect permit: the exact command, authorization and effect identity the host issued it for.
- Strategy
Error - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Package Importer - Strategy
Projection - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Strategy
Service - Strategy
Source Seam - Strategy
Store - Strategy
Suggestion - A strategy suggestion presented to the run’s decider.
- Strategy
Version Seam - Subscription
- Persistent subscription matching future events with a durable cursor.
- Subscription
Registry - Subscription registry enforcing lifecycle and negotiation rules.
- Synthetic
Capability Adapter - Synthetic adapter for testing and deterministic verification of capability combinations.
Enums§
- Activation
Rule - Activation rule for a matched subscription.
- Adapter
Error - Adapter error kinds.
- Adapter
Execution Status - Live execution status of an adapter invocation.
- Admission
Conflict - Explicit typed conflict when admission is rejected.
- Cancel
Outcome - Separate cancellation facts preserved truthfully.
- Channel
Kind - Channel classification for queue prioritization and fair dispatch.
- Control
Operation - Semantic control operations entering the admission queue.
- Control
Scope - Scope of a control command.
- Delivery
Mode - Delivery mode for a publication.
- Driver
Error - Errors originating in continuous driver operations.
- Effect
Recheck Failure - Node
Capability - Declared uniform semantic capabilities of a node.
- Node
Execution Error - Errors originating during node facade operations.
- Node
Execution Outcome - Final outcome of an invocation execution.
- Node
Lifecycle State - Node lifecycle state for routed work.
- Operation
Grant - Operation-scoped authorization grant.
- Pause
Outcome - Truthful outcome of a pause command.
- Pause
Result - Result of a pause operation.
- Recipient
Effect Status - Live effect validity verification outcome for a frozen recipient.
- Resume
Outcome - Truthful outcome of a resume command.
- Resume
Result - Result of a resume operation.
- Steer
Outcome - Truthful outcome of a steer intervention.
- Steer
Result - Result of a steer operation.
- Stop
Result - Result of a stop operation.
- Strategy
Error Code - Definition, binding, projection, and error vocabulary the store and the runtime both name. It is defined by the pure machine crate so neither of them has to own the other’s identity.
- Subscription
Predicate - Predicate defining when a persistent subscription matches an event.
- Subscription
Scope - Scope of a persistent subscription.
- Target
Selector - Selector addressing explicit nodes or indexed characteristics.
- Turn
Cancel Disposition - The Conversation-dispatch seam for one Conversation-bound actor command.
openregisters the turn and returns its handle,runexecutes one opened turn to its terminal state,cancelsignals one opened turn to stop, andabandonsettles one opened turn that will never run. Composition happens where the persistent host runtime exists; the strategy service treats the port as opaque. The port and its disposition vocabulary are the engine’s drive-bookkeeping primitives. The bounded outcome of one turn-cancel request routed through the port. The port converts adapter control results into these facts, so a raw adapter error can never fabricate an observed stop. - Verified
Principal - Verified principal constructing an internal, non-serializable proof of authority.
Constants§
Traits§
- Controlled
Store - Port/contract for the controlled store managing graph state, revisions, and admission log.
- Effect
Port - The host’s effect seam: runtime resolution, sandbox admission, actor and script execution, lane dispatch and the owned-run stop record.
- Evolution
Cost Port - Evolution
Observation Port - Evolution
Strategy Port - Node
Capability Adapter - Abstract native capability adapter for node execution.
- Resolved
Runtime - One runtime the host resolved for one requirement.
- Usage
Ledger Port - The numeric run usage ledger.
Functions§
Type Aliases§
- Assistant
Wake Port - The notice seam for the designated Assistant.
wakereceives the Conversation id, the designated Assistant Membership id, and the identifier-only notice part already appended to the timeline; it opens one new Assistant turn for that notice only when no turn of that membership is in flight. Composition happens where the persistent host runtime exists. The seam itself is the engine’s run-wake port under this host’s own name. - Workflow
Store - Name the store by its domain boundary while preserving the established
StrategyStoretype for callers that still use strategy terminology.