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