pub fn init_registry(
harness_file: Option<&Path>,
) -> Result<(), RegistryInitError>Expand description
Initialize the registry from every descriptor layer: embedded built-ins →
user-global (<config-root>/harnesses/*.toml) → project-local
(<cwd>/.eval-magic/harnesses/*.toml) → the optional one-off
--harness-file. Called once by the CLI entry point, before anything
resolves a harness.
Discovered files that fail to load are skipped with a warning on stderr
(pointing at harness lint); a broken --harness-file is a hard error.
When --harness-file names a descriptor, its label becomes the session’s
default harness.