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