mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-12 01:45:14 +02:00
docs: document global-first layered config, config view, and use
Add a Layered config section to cli-reference.md (precedence chain, OMNIGRAPH_HOME/ CONFIG/XDG resolution, ~/.omnigraph layout, merge semantics) and the config view / use command rows; note global-first in cli.md; record the layered-config test surface in testing.md; update the RFC-002 implementation-status banner (V1-remainder landed).
This commit is contained in:
parent
d52cd1d0a3
commit
1a6371d015
4 changed files with 58 additions and 4 deletions
|
|
@ -47,7 +47,14 @@ tests are inline in `omnigraph-config` (`src/lib.rs` test module); the
|
|||
`GraphLocator` discriminant +
|
||||
graph-identity tests are inline in `omnigraph-cli` (`src/main.rs`) plus
|
||||
`tests/cli.rs` / `tests/system_local.rs`; the server embedded-only rejection tests
|
||||
are in `omnigraph-server/tests/server.rs` (`multi_graph_startup`).
|
||||
are in `omnigraph-server/tests/server.rs` (`multi_graph_startup`). The **global-first
|
||||
layered config** (RFC-002 §4) — global-dir precedence, eager per-layer path
|
||||
resolution, the merge engine + provenance (`src/merge.rs`), `load_layered_config_in`,
|
||||
state-layer precedence, and error/warning layer-attribution — is inline in
|
||||
`omnigraph-config`; `config view` / `omnigraph use` end-to-end tests are in
|
||||
`omnigraph-cli/tests/cli.rs`. CLI tests pin `OMNIGRAPH_HOME` to an empty temp dir
|
||||
(`tests/support/mod.rs`) so spawned binaries never read the developer's real global
|
||||
config.
|
||||
|
||||
## Fixtures
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue