oris_kernel/kernel/
mod.rs1pub mod action;
8pub mod determinism_guard;
9pub mod driver;
10pub mod event;
11pub mod event_store;
12pub mod execution_log;
13pub mod execution_step;
14pub mod execution_suspension;
15pub mod identity;
16pub mod interrupt;
17pub mod interrupt_resolver;
18pub mod kernel_mode;
19pub mod policy;
20#[cfg(feature = "kernel-postgres")]
21pub mod postgres_store;
22pub mod reducer;
23pub mod replay_cursor;
24pub mod replay_resume;
25pub mod replay_verifier;
26pub mod runner;
27pub mod runtime_effect;
28pub mod snapshot;
29#[cfg(feature = "sqlite-persistence")]
30pub mod sqlite_store;
31pub mod state;
32pub mod step;
33pub mod stubs;
34pub mod timeline;
35pub mod timeline_fork;
36
37pub use action::{Action, ActionError, ActionErrorKind, ActionExecutor, ActionResult};
38pub use determinism_guard::{
39 compute_event_stream_hash, event_stream_hash, verify_event_stream_hash, DeterminismGuard,
40};
41pub use driver::{BlockedInfo, Kernel, RunStatus, Signal};
42pub use event::{Event, EventStore, KernelError, SequencedEvent};
43pub use event_store::{InMemoryEventStore, SharedEventStore};
44pub use execution_log::{scan_execution_log, scan_execution_trace, ExecutionLog, KernelTraceEvent};
45pub use execution_step::{ExecutionStep, ExecutionStepInput, StepResult};
46pub use execution_suspension::{ExecutionSuspension, ExecutionSuspensionState, SuspensionError};
47pub use identity::{RunId, Seq, StepId};
48pub use interrupt::{Interrupt, InterruptError, InterruptId, InterruptKind, InterruptStore};
49pub use interrupt_resolver::{
50 InterruptResolver, InterruptResolverError, InterruptSource, ResolveResult,
51};
52pub use kernel_mode::KernelMode;
53pub use policy::{
54 AllowListPolicy, BudgetRules, Policy, PolicyCtx, RetryDecision, RetryWithBackoffPolicy,
55};
56#[cfg(feature = "kernel-postgres")]
57pub use postgres_store::{PostgresEventStore, PostgresSnapshotStore};
58pub use reducer::{Reducer, StateUpdatedOnlyReducer};
59pub use replay_cursor::{ReplayCursor, ReplayStepIter};
60pub use replay_resume::{ReplayResume, ResumeDecision, ResumeResult};
61pub use replay_verifier::{ReplayVerifier, VerificationFailure, VerificationResult, VerifyConfig};
62pub use runner::KernelRunner;
63pub use runtime_effect::{EffectSink, NoopEffectSink, RuntimeEffect};
64pub use snapshot::{InMemorySnapshotStore, Snapshot, SnapshotStore};
65#[cfg(feature = "sqlite-persistence")]
66pub use sqlite_store::{SqliteEventStore, SqliteSnapshotStore};
67pub use state::KernelState;
68pub use step::{InterruptInfo, Next, StepFn};
69pub use stubs::{AllowAllPolicy, NoopActionExecutor, NoopStepFn};
70pub use timeline::{run_timeline, RunStatusSummary, RunTimeline, TimelineEntry};
71pub use timeline_fork::{ForkResult, TimelineFork, TimelineForker};