Skip to main content

Crate rinne_core

Crate rinne_core 

Source
Expand description

rinne-core — the loop engine, scheduler, context assembler, blackboard, and DAG types.

Phase 0 establishes only the shared error/result types and the crate skeleton. The blackboard, DAG types, scheduler, dispatcher, and context assembler land in Phase 3 (CONTEXT.md §12, PHASE.md P3).

Re-exports§

pub use blackboard::Blackboard;
pub use dag::Node;
pub use dag::OnFail;
pub use dag::Plan;
pub use engine::Engine;
pub use engine::EngineEvent;
pub use engine::EngineOptions;
pub use engine::EngineSink;
pub use engine::HumanDecision;
pub use engine::ResumeInput;
pub use engine::RunReport;
pub use engine::StopReason;
pub use error::Result;
pub use error::RinneError;
pub use registry::WorkerRegistry;
pub use replanner::Replanner;
pub use state::NodeStatus;
pub use state::State;
pub use worker::AuthMode;
pub use worker::Capability;
pub use worker::Constraints;
pub use worker::ContextPacket;
pub use worker::EventSink;
pub use worker::ExecStatus;
pub use worker::ExecuteRequest;
pub use worker::ExecuteResult;
pub use worker::InlinedFile;
pub use worker::LatencyProfile;
pub use worker::QuotaModel;
pub use worker::Role;
pub use worker::Transport;
pub use worker::Usage;
pub use worker::Worker;
pub use worker::WorkerDescriptor;
pub use worker::WorkerEvent;
pub use worker::WorkerFamily;

Modules§

assembler
The context assembler (CONTEXT.md §12).
blackboard
The blackboard: the single source of truth on disk (CONTEXT.md §12).
dag
The JSON DAG: the plan the loop executes (CONTEXT.md §10).
engine
The loop engine: the run lifecycle with verification (CONTEXT.md §12).
error
Shared error and result types used across the Rinne library crates.
evaluator
Evaluator execution (CONTEXT.md §10, §12).
pool
Pool profiling: tier whatever workers are actually present (CONTEXT.md §7).
priors
Static capability priors for known models (CONTEXT.md §7).
ratchet
The test ratchet (CONTEXT.md §10, §12).
registry
The worker registry and capability resolution (CONTEXT.md §7, §13).
replanner
The replanner hook (CONTEXT.md §12).
state
Machine state in SQLite (CONTEXT.md §12, §14).
worker
The Worker contract (CONTEXT.md §8).

Constants§

BLACKBOARD_DIR
The on-disk blackboard directory name, relative to the working repo.