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 judge_length;
30pub mod learn;
31pub mod listen;
32pub mod live;
33pub mod memory;
34pub mod memory_export;
35pub mod moves;
36pub mod msg;
37pub mod notes;
38pub(crate) mod notify;
39pub mod ope;
40pub mod outcome;
41#[doc(hidden)]
42pub mod predict;
43pub mod prefilter;
44pub mod presence;
45pub mod protocol;
46pub mod queen;
47pub mod reach;
48pub mod reexec;
49pub mod review_fix;
50#[doc(hidden)]
51pub mod runner;
52pub mod select;
53pub mod stats;
54pub mod steer;
55pub mod sweep;
56#[doc(hidden)]
57pub mod systems;
58pub mod top;
59pub(crate) mod top_live;
60pub mod trust;
61pub mod update;
62pub mod vectors;
63pub mod veto;
64#[doc(hidden)]
65pub mod whole;
66pub mod why;