pub fn read_or_default(root: &Path) -> Result<Config, ConfigError>Expand description
Read the layered config: defaults → user-scoped → repo-scoped (filtered to non-sensitive keys). Missing files are not errors; the per-layer absence simply leaves the lower layer’s value in place.
If the repo file sets a key listed in REPO_FORBIDDEN_KEYS, a
warning is printed to stderr and the value is dropped.