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 clock;
15pub mod collective;
16pub mod completions;
17#[doc(hidden)]
18pub mod concepts;
19pub mod conscience;
20pub mod escalation;
21pub mod expert;
22pub(crate) mod expert_route;
23pub mod facets;
24pub mod harness;
25pub mod hook;
26pub mod install;
27pub(crate) mod jsonl;
28pub mod learn;
29pub mod listen;
30pub mod live;
31pub mod memory;
32pub mod msg;
33pub mod notes;
34pub(crate) mod notify;
35pub mod ope;
36pub mod outcome;
37#[doc(hidden)]
38pub mod predict;
39pub mod prefilter;
40pub mod presence;
41pub mod queen;
42pub mod reach;
43pub mod reexec;
44pub mod review_fix;
45#[doc(hidden)]
46pub mod runner;
47pub mod select;
48pub mod stats;
49pub mod steer;
50#[doc(hidden)]
51pub mod systems;
52pub mod top;
53pub(crate) mod top_live;
54pub mod trust;
55pub mod vectors;
56pub mod veto;
57#[doc(hidden)]
58pub mod whole;
59pub mod why;