lean_ctx/core/profiles/mod.rs
1//! Agent profiles — workload-specific configurations.
2//!
3//! Profiles compose existing configuration knobs into named presets. They are
4//! loaded from three tiers (highest priority first):
5//! 1. Project: `.lean-ctx/profiles/<name>.toml`
6//! 2. User: `~/.config/lean-ctx/profiles/<name>.toml`
7//! 3. Built-in defaults
8//!
9//! A profile can extend another via `extends = "parent"`. Child fields override
10//! parent fields; unset fields inherit.
11
12mod builtins;
13mod loading;
14mod types;
15
16pub use builtins::*;
17pub use loading::*;
18pub use types::*;
19
20#[cfg(test)]
21mod tests;