Skip to main content

sync_agent

Function sync_agent 

Source
pub fn sync_agent(home: &Path, agent: &str) -> SyncReport
Expand description

(Re)write the canonical rules block into a single agent’s config.

Same canonical-source contract as sync_all: regenerates from rules_canonical and never reads .lean-ctx/rules.toml (#548).