omnigraph/crates/omnigraph-config
Ragnor Comerford 47b2a440f9
feat(config): resolve the global config dir/file (OMNIGRAPH_HOME/XDG/~)
Add global_config_dir()/global_config_file() — RFC-002 §5 global-first resolution:
OMNIGRAPH_CONFIG (explicit file) > OMNIGRAPH_HOME (dir) > $XDG_CONFIG_HOME/omnigraph
> ~/.omnigraph, with config.yaml as the file. The resolution is factored through
an injected-env form so it is hermetically testable without mutating process env.
Not yet wired into loading — that is the layered loader.
2026-06-05 11:08:22 +02:00
..
src feat(config): resolve the global config dir/file (OMNIGRAPH_HOME/XDG/~) 2026-06-05 11:08:22 +02:00
Cargo.toml refactor(config): extract load_single_layer; add Layer/Provenance + dirs 2026-06-05 11:08:09 +02:00