Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/blackwall-bridge/src/receive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl std::error::Error for ReceiveError {}

/// Parse a `RunRecord` from blackwall's JSON output.
///
/// Expected format (`BLACKWALL_OUTPUT=json` blackwall run show <hash>):
/// Expected format (`BLACKWALL_OUTPUT=json blackwall run show <hash>`):
/// ```json
/// {"hash":"abc123","record":{"prompt":"...","model":"...","exit_code":0,...},
/// "context":{"run":"abc123","parent_world":"root","changeset":"","settle_state":{"status":"unsettled"}}}
Expand Down
21 changes: 7 additions & 14 deletions crates/escapement-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
//! escapement-core — agent-orchestration engine primitives.
//! escapement-core provides primitives for autonomous agent orchestration.
//!
//! v0 surface: an agent [`registry`] (registration, liveness, capability
//! lookup), a [`dispatch`] layer (priority task queue, capability-matched
//! assignment, full lifecycle state machine), a [`plan`] layer (DAG plan,
//! topological resolution), a [`custody`] layer (content-addressed
//! provenance, chain propagation), a [`protocol`] layer (typed wire
//! format for dispatch communication), a [`metering`] layer (concurrency
//! limits, token-bucket rate limiting), a [`lanes`] layer (priority lanes,
//! weighted fair queueing), a [`backpressure`] layer (provider capacity
//! tracking), a [`persistence`] layer (WAL serialization, crash recovery),
//! a [`resilience`] layer (retry policy), a [`telemetry`] layer (span/metric/log
//! types), and a [`budget`] layer (per-provider token caps). Time is
//! caller-supplied milliseconds so the engine stays deterministic and
//! host-agnostic.
//! # Architecture
//! The engine includes an agent [`registry`], a priority [`dispatch`] queue, and a DAG [`plan`] solver.
//! It tracks [`custody`] chains and enforces typed [`protocol`] messages.
//! The system controls throughput with [`metering`], priority [`lanes`], [`backpressure`], and [`budget`] limits.
//! It supports state [`persistence`], failure [`resilience`], [`tracing`], and [`telemetry`].
//! Callers supply time in milliseconds to keep execution deterministic.

pub mod backpressure;
pub mod budget;
Expand Down
Loading