pub struct ProjectConfig {
pub tmux_session: Option<String>,
pub agent_doc_auto_compact: Option<usize>,
pub guards: GuardConfig,
pub lint: LintConfig,
pub ssh: SshConfig,
pub components: BTreeMap<String, ComponentConfig>,
}Expand description
Project-level configuration, read from .agent-doc/config.toml relative to CWD.
Fields§
§tmux_session: Option<String>Target tmux session name for this project.
agent_doc_auto_compact: Option<usize>Explicit opt-in for automatic compaction/reload policies. Session-accretion heuristics never compact by themselves; omit to disable.
guards: GuardConfigGuard behavior overrides (for example pending-capture enforcement).
lint: LintConfigLint behavior overrides for the agent-doc finalize lint gate.
ssh: SshConfigProject-local SSH requirement mappings for known ops documents.
components: BTreeMap<String, ComponentConfig>Component-specific configuration (patch modes, timestamps, max_entries, hooks).
Trait Implementations§
Source§impl Debug for ProjectConfig
impl Debug for ProjectConfig
Source§impl Default for ProjectConfig
impl Default for ProjectConfig
Source§fn default() -> ProjectConfig
fn default() -> ProjectConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectConfig
impl<'de> Deserialize<'de> for ProjectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectConfig
impl RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnsafeUnpin for ProjectConfig
impl UnwindSafe for ProjectConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more