sprawling-runtime 0.0.10

One run of a sprawling resident, from dispatch to freeze: turns, tools, replay and the sandbox that executes code.
Documentation
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// Copyright (c) 2026 2youg1 and the sprawling contributors

//! Turn loop and tool surface: frozen prefix, handoff, replay/fork,
//! result pipeline, sandbox ladder.

pub mod backlog;
pub mod catalog;
pub mod clock;
pub mod compaction;
pub mod diagnostics;
pub mod digest;
pub mod elision;
pub mod fork;
pub mod handoff;
pub mod mode;
pub mod offload;
pub mod pipeline;
pub mod prefix;
pub mod redact;
pub mod reminder;
pub mod replay;
pub mod run;
pub mod sieve;
pub mod tools;
pub mod transcript;

pub use backlog::{Backlog, BacklogId, BacklogKind, Finished, Standing, Started};
pub use backlog::{Ceiling, Unapplied, Unseen, platform_shares};
pub use backlog::{Chunk, Exit, PlatformShares, PollBudget, RunProcesses, Shares, Sink, Stream};
pub use tools::BoundReader;
pub use tools::CallTool;
pub use tools::ChildStatus;
pub use tools::DescribeTool;
pub use tools::EditTool;
pub use tools::ProviderMode;
pub use tools::ReadBound;
pub use tools::ReadTool;
pub use tools::SearchTool;
pub use tools::StatusSnapshot;
pub use tools::StatusTool;
pub use tools::parse_arm;
pub use tools::version_of;
pub use tools::{ExecSetup, ExecTool};
pub use tools::{FailureClass, Shell, ShellCount, ShellTally};
pub use tools::{SucceedTool, Succession, SuccessionDesk};

pub mod bench;
pub mod conversation;
mod sandbox;
pub mod turn;

pub use sandbox::AbsentSandbox;
pub use sandbox::EchoSandbox;
pub use sandbox::FaultSandbox;
pub use sandbox::Fuel;
pub use sandbox::Mount;
pub use sandbox::Sandbox;
pub use sandbox::SandboxExit;
pub use sandbox::SandboxJob;
pub use sandbox::SandboxOutcome;

#[cfg(feature = "wasm")]
pub use sandbox::WasmtimeSandbox;

#[cfg(feature = "conformance")]
pub use sandbox::assert_sandbox_conformance;

mod watchdog;

pub use catalog::{Catalog, CatalogEntry, Expansion, SkillPin};
pub use clock::{ClockReading, ClockStamp, StampGate, ZoneEntry, stamp};
pub use conversation::Opening;
pub use digest::{Breaker, BreakerVerdict, Digest, DigestOutcome, StructureNode};
pub use digest::{digest_once, structure_of};
pub use handoff::{Handoff, ResumeSeed, resume};
pub use mode::{Admission, PolicyCell, PolicyReader, Produced, admits};
pub use offload::{OffloadRecord, OffloadSite, offload, rematerialize};
pub use pipeline::connector::{CONNECTOR_CAP_BYTES, package_connector, png_picture};
pub use pipeline::exec::{EXEC_CAP_BYTES, SieveSite, package_exec};
pub use pipeline::{PackContext, Packaged, SieveRequest, exit_code_in, package, pinned_original};
pub use prefix::{FrozenPrefix, FrozenSegment, SegmentSlot};
pub use prefix::{PrefixPlan, SegmentCaps, SegmentSource, SourceDoc, build_prefix};
pub use reminder::{ContextGauge, ContextReading, ContextReminder};
pub use replay::{VerifiedLedger, VerifiedLine};
pub use run::{Advance, Run, RunHooks, RunPlan, SafePoint, drive};
pub use sieve::{CommandKey, FilterTable, SieveHistory, SieveRecord, Sieved, sieve};
pub use transcript::{Transcript, TranscriptRecord};
pub use turn::Admitted;
pub use turn::ConcurrentInvoke;
pub use turn::{Interrupt, NextCall, PhaseOutcome, Turn, TurnCancelled, TurnReport};
pub use watchdog::{Disposal, FreezeReason, Watchdog, backoff_ms};