Skip to main content

rinne_core/
lib.rs

1//! `rinne-core` — the loop engine, scheduler, context assembler, blackboard,
2//! and DAG types.
3//!
4//! Phase 0 establishes only the shared error/result types and the crate
5//! skeleton. The blackboard, DAG types, scheduler, dispatcher, and context
6//! assembler land in Phase 3 (`CONTEXT.md` §12, `PHASE.md` P3).
7
8pub mod assembler;
9pub mod blackboard;
10pub mod dag;
11pub mod engine;
12pub mod error;
13pub mod evaluator;
14pub mod pool;
15pub mod priors;
16pub mod ratchet;
17pub mod registry;
18pub mod replanner;
19pub mod state;
20pub mod worker;
21
22pub use blackboard::Blackboard;
23pub use dag::{Node, OnFail, Plan};
24pub use engine::{
25    Engine, EngineEvent, EngineOptions, EngineSink, HumanDecision, ResumeInput, RunReport,
26    StopReason,
27};
28pub use error::{Result, RinneError};
29pub use registry::WorkerRegistry;
30pub use replanner::Replanner;
31pub use state::{NodeStatus, State};
32pub use worker::{
33    AuthMode, Capability, Constraints, ContextPacket, EventSink, ExecStatus, ExecuteRequest,
34    ExecuteResult, InlinedFile, LatencyProfile, QuotaModel, Role, Transport, Usage, Worker,
35    WorkerDescriptor, WorkerEvent, WorkerFamily,
36};
37
38/// The on-disk blackboard directory name, relative to the working repo.
39///
40/// Single source of truth for a run (`CONTEXT.md` §12). Defined here so every
41/// crate refers to the same constant.
42pub const BLACKBOARD_DIR: &str = ".rinne";