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