Skip to main content

borg/
lib.rs

1//! borg as a library: the conscience, its learning loop and the expert index, shared by the
2//! `borg` CLI (main.rs) and the eval harness.
3//!
4//! **Internal API, no semver.** It exists for borg's own crates (borg-mesh, borg-web, the evals),
5//! which pin it `=` to the same version. Any release may change or remove any item; depend on the
6//! `borg` binary and its documented files instead.
7
8#[cfg(not(unix))]
9compile_error!("borg supports Unix only (Linux, macOS): it relies on process groups, signals and Unix file modes");
10
11pub mod assimilate;
12pub mod assimilate_dir;
13pub(crate) mod attention;
14pub mod collective;
15pub mod completions;
16#[doc(hidden)]
17pub mod concepts;
18pub mod conscience;
19pub mod escalation;
20pub mod expert;
21pub(crate) mod expert_route;
22pub mod facets;
23pub mod harness;
24pub mod hook;
25pub mod install;
26pub(crate) mod jsonl;
27pub mod learn;
28pub mod listen;
29pub mod live;
30pub mod memory;
31pub mod msg;
32pub mod notes;
33pub(crate) mod notify;
34pub mod ope;
35pub mod outcome;
36#[doc(hidden)]
37pub mod predict;
38pub mod prefilter;
39pub mod presence;
40pub mod queen;
41pub mod reach;
42pub mod reexec;
43pub mod review_fix;
44#[doc(hidden)]
45pub mod runner;
46pub mod stats;
47pub mod steer;
48#[doc(hidden)]
49pub mod systems;
50pub mod top;
51pub(crate) mod top_live;
52pub mod trust;
53pub mod vectors;
54pub mod veto;
55#[doc(hidden)]
56pub mod whole;
57pub mod why;