mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-15 01:55:13 +02:00
docs: update CLI/server/policy docs for the v1 config schema reshape
Rewrites the `omnigraph.yaml` schema reference and the CLI/policy/server config examples for `version: 1`: `cli:` -> `defaults:`, `server:` -> `serve:` (with the `graphs:` list), top-level `policy:`/`queries:` -> per-graph, `project:` removed, `uri:` -> `storage:`. Adds a legacy-spelling migration table and notes the legacy fallbacks. Updates testing.md's config-test inventory.
This commit is contained in:
parent
fff2a852e6
commit
14736a9ca5
5 changed files with 65 additions and 47 deletions
|
|
@ -39,9 +39,12 @@ The engine's `tests/` is the principal coverage surface; most graph-shaped behav
|
|||
| `recovery.rs` | Open-time recovery sweep — sidecar I/O, classifier dispatch (NoMovement / RolledPastExpected / UnexpectedAtP1 / UnexpectedMultistep / InvariantViolation), all-or-nothing decision, roll-forward via `ManifestBatchPublisher::publish`, roll-back via `Dataset::restore`, audit row in `_graph_commit_recoveries.lance`, `OpenMode::ReadOnly` skip path |
|
||||
| `composite_flow.rs` | Compositional/narrative end-to-end stories — multi-step flows that compose mechanics covered by other test files. Catches integration regressions where individual operations all pass their unit tests but their composition breaks (sequential merges, post-merge main writes, time-travel through merge DAG, reopen consistency over multi-merge histories). |
|
||||
|
||||
**Config & CLI (RFC-002 V1a)** — these live outside the engine `tests/` dir: the
|
||||
version-gated config-strictness and `deprecation_warnings` tests are inline in
|
||||
`omnigraph-config` (`src/lib.rs` test module); the `GraphLocator` discriminant +
|
||||
**Config & CLI (RFC-002 V1a + V1-remainder schema reshape)** — these live outside
|
||||
the engine `tests/` dir: the version-gated config-strictness, the v1
|
||||
legacy-key rejection / legacy-fold renames (`cli:`→`defaults:`, `server:`→`serve:`,
|
||||
removed `project:` and top-level `policy:`/`queries:`), and `deprecation_warnings`
|
||||
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`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue