pub struct Config {Show 39 fields
pub embedding: EmbeddingConfig,
pub llm: LlmConfig,
pub models: ModelSwitchConfig,
pub retrieval: RetrievalConfig,
pub paths: PathConfig,
pub server: ServerConfig,
pub community: CommunityConfig,
pub conversations: ConversationsConfig,
pub sync: SyncConfig,
pub storage: StorageConfig,
pub sources_global: SourcesGlobalConfig,
pub sleep_cycle: SleepCycleConfig,
pub skills: SkillsConfig,
pub skill_llm: SkillLlmConfig,
pub cross_agent: CrossAgentConfig,
pub nudge: NudgeConfig,
pub mobile_relay: MobileRelayConfig,
pub session: SessionCfg,
pub harvest: HarvestCfg,
pub cc_proxy: CcProxyConfig,
pub cli: CliConfig,
pub parallel_jobs: ParallelJobsConfig,
pub federation_snapshot: SnapshotConfig,
pub memory: MemoryConfig,
pub fleet_run: FleetRunConfig,
pub git_push: GitPushConfig,
pub open_items: OpenItemsConfig,
pub fleet: FleetConfig,
pub update: UpdateConfig,
pub runs: RunsConfig,
pub capture: CaptureConfig,
pub limits: Limits,
pub notifications: NotificationsConfig,
pub monitor_resolver: MonitorResolverConfig,
pub triage: TriageConfig,
pub attribution: AttributionConfig,
pub scratch: ScratchConfig,
pub turn_track: TurnTrackConfig,
pub search: SearchConfig,
}Expand description
Global MUR configuration (~/.mur/config.yaml)
Fields§
§embedding: EmbeddingConfig§llm: LlmConfig§models: ModelSwitchConfig§retrieval: RetrievalConfig§paths: PathConfig§server: ServerConfig§community: CommunityConfig§conversations: ConversationsConfig§sync: SyncConfig§storage: StorageConfig§sources_global: SourcesGlobalConfig§sleep_cycle: SleepCycleConfig§skills: SkillsConfig§skill_llm: SkillLlmConfig§cross_agent: CrossAgentConfig§nudge: NudgeConfig§mobile_relay: MobileRelayConfig§session: SessionCfg§harvest: HarvestCfg§cc_proxy: CcProxyConfig§cli: CliConfig§parallel_jobs: ParallelJobsConfig§federation_snapshot: SnapshotConfigMemory-federation snapshot settings (federation_snapshot:).
memory: MemoryConfigProactive memory capture (memory:, federation P2).
fleet_run: FleetRunConfig§git_push: GitPushConfig§open_items: OpenItemsConfig§fleet: FleetConfig§update: UpdateConfigmur update post-upgrade behavior (update:, issue #866).
runs: RunsConfigJob/fleet/workflow run-status heartbeat tuning (runs:).
capture: CaptureConfigCapture-queue rotation (capture:).
limits: LimitsGlobal execution limits (limits:), the outermost scope of spec
2026-09-12 §3.1. Written textually by mur limits --global, never by
load-modify-save (that drops blocks other binaries own).
notifications: NotificationsConfigDurable-monitor notification channels (notifications:). Absent
means log-only: desktop is opt-in.
monitor_resolver: MonitorResolverConfigAgentResolver (monitor_resolver:), spec §混合處置策略 step 3.
Absent means off — see MonitorResolverConfig.
triage: TriageConfigPre-dispatch triage (triage:). Absent means shadow mode: triage
runs and records, and never stops a dispatch.
attribution: AttributionConfigMUR’s credit line on work an agent publishes (attribution:).
scratch: ScratchConfigPer-agent scratch dir retention and doctor threshold (scratch:).
turn_track: TurnTrackConfigPer-turn copy-on-write track tuning (turn_track:).
search: SearchConfigCode-search tool bounds (search:), e.g. search.ast_grep.
Implementations§
Source§impl Config
impl Config
Sourcepub fn load_or_default(path: &Path) -> Self
pub fn load_or_default(path: &Path) -> Self
Read from disk, falling back to defaults. Legacy conversation model
fields are migrated in memory only — this is called from agent
runtime processes (mur-agent-runtime), which must never write the
user’s config file.
Sourcepub fn try_load(path: &Path) -> Result<Self, String>
pub fn try_load(path: &Path) -> Result<Self, String>
Like Config::load_or_default, but a file that is present and does
not parse is an error rather than silently the defaults. For a reader
that already holds a good copy and must not trade it for defaults
(the agent runtime’s hot reload). An absent file is still the defaults.