Module config

Module config 

Source

Structsยง

LauncherConfig ๐Ÿ”’
Top-level launcher config schema. Only the saga subtree is populated today; future PRs append siblings.
SagaConfig ๐Ÿ”’
SagaLauncherConfig ๐Ÿ”’

Constantsยง

DEFAULT_SAGA_RETENTION_DAYS
LSD spec ยง3.6 default โ€” 7 days. Tunable via config file.

Functionsยง

load_saga_retention_days
Read <user_home_dir>/config.toml if it exists and return the configured saga retention days, falling back to DEFAULT_SAGA_RETENTION_DAYS on any error. The optional log_warn closure receives a human-readable diagnostic line per failure path (file unreadable / malformed / negative value) so callers can route it through crate::log() without introducing a tracing dep.