Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime API — session event log, execution planes, credential vault, and runner.

Re-exports§

pub use archive::ArchiveStore;
pub use archive::FileArchiveStore;
pub use archive::NullArchiveStore;
pub use canonical_kernel::CanonicalCheckpoint;
pub use canonical_kernel::CanonicalCheckpointCandidate;
pub use canonical_kernel::CanonicalCommit;
pub use canonical_kernel::CanonicalPreparation;
pub use canonical_kernel_step::CanonicalKernelHost;
pub use canonical_kernel_step::CanonicalTransition;
pub use canonical_kernel_step::HostTransitionError;
pub use credential_vault::ChainedCredentialVault;
pub use credential_vault::CredentialVault;
pub use credential_vault::EnvCredentialVault;
pub use credential_vault::InMemoryCredentialVault;
pub use execution_plane::ExecutionPlane;
pub use execution_plane::LocalExecutionPlane;
pub use execution_plane::PermissionRequest;
pub use execution_plane::PermissionRequestHandler;
pub use execution_plane::PermissionResponse;
pub use execution_plane::RunContext;
pub use execution_plane::ToolSuspendHandler;
pub use execution_plane::ToolSuspendRequest;
pub use kernel_journal::CheckpointCandidate;
pub use kernel_journal::FileKernelJournal;
pub use kernel_journal::InMemoryKernelJournal;
pub use kernel_journal::InstalledCheckpoint;
pub use kernel_journal::JournalAppendReceipt;
pub use kernel_journal::JournalEntry;
pub use kernel_journal::JournalError;
pub use kernel_journal::JournalHead;
pub use kernel_journal::JournalPruneReceipt;
pub use kernel_journal::JournalRecordInput;
pub use kernel_journal::JournalResult;
pub use kernel_journal::KernelJournal;
pub use mcp_proxy_plane::McpProxyPlane;
pub use mcp_proxy_plane::McpServerConfig;
pub use os_profile::DEFAULT_NATIVE_SIGNAL_POLICY;
pub use os_profile::GovernancePolicy;
pub use os_profile::MemoryWriteRateLimit;
pub use os_profile::NativeOsProfile;
pub use os_profile::OsProfile;
pub use os_profile::SignalPolicy;
pub use os_profile::assert_native_profile;
pub use os_profile::default_native_governance_policy;
pub use os_profile::governance_filter_schema;
pub use os_profile::os_profile;
pub use payload_store::FilePayloadStore;
pub use payload_store::PayloadStore;
pub use process_sandbox_plane::ProcessSandboxPlane;
pub use process_sandbox_plane::SandboxOptions;
pub use provider_replay::assistant_replay_key;
pub use provider_replay::peek_provider_replay;
pub use provider_replay::seed_provider_replay_from_events;
pub use remote_vpc_plane::RemoteVpcOptions;
pub use remote_vpc_plane::RemoteVpcPlane;
pub use replay::is_mid_run;
pub use replay::repair_entries;
pub use replay::replay_messages;
pub use runner::KernelReliability;
pub use runner::MilestoneEvaluationContext;
pub use runner::MilestoneEvaluationHandler;
pub use runner::MilestonePolicy;
pub use runner::OnTurnMetricsHandler;
pub use runner::RuntimeOptions;
pub use runner::RuntimeRunner;
pub use runner::TurnMetrics;
pub use runner::collect_text;
pub use sandboxed_skill::PythonSkillPolicy;
pub use sandboxed_skill::SkillKind;
pub use sandboxed_skill::scan_skill_dir;
pub use session_log::FileSessionLog;
pub use session_log::InMemorySessionLog;
pub use session_log::SessionEntry;
pub use session_log::SessionLog;
pub use skill_watcher::SkillWatcher;

Modules§

archive
canonical_kernel
Typed Rust surface for the Canonical Kernel ABI.
canonical_kernel_step
Durable Rust host for the canonical kernel ABI.
credential_vault
eval
judge() — one-shot quality scoring against a goal + criteria.
execution_plane
kernel_journal
KernelJournal — the durable transaction capability of the Canonical Kernel ABI (spec §9.1).
mcp_proxy_plane
os_profile
payload_store
process_sandbox_plane
provider_replay
remote_vpc_plane
replay
replay_fixture
Fixture helpers for ReplayProvider.
replay_provider
ReplayProvider — an LLMProvider that emits previously-recorded assistant messages instead of calling a real LLM API.
runner
sandboxed_skill
session_log
skill_watcher

Structs§

CanonicalKernel
One canonical operation driven exclusively through the durable transition protocol.
SchedulerPolicyConfig
Deterministic DAG scheduling policy. All weights are non-negative; setting every weight to zero reduces ordering to FIFO with node-id tie-breaking.