omnigraph/crates/omnigraph-cli
Ragnor Comerford 5c124b1afe
Enforce top-level coherence in the single CLI selection gate
queries validate validated graph membership only as a side effect of URI
resolution and queries list only via resolve_graph_selection's membership
check; neither applied the named-graph/top-level coherence rule server boot
enforces, so both gave a false green on a config boot refuses.

Fold ensure_top_level_blocks_honored into resolve_graph_selection so it is the
single gate that returns only valid + server-coherent selections, and route
resolve_selected_graph (queries validate) through it; queries list already
calls the gate. A named graph with a populated top-level block now errors in
both commands, matching boot. A positional URI stays anonymous (top-level
honored), so queries_validate_positional_uri_ignores_default_graph is
unaffected.
2026-06-01 12:38:08 +02:00
..
src Enforce top-level coherence in the single CLI selection gate 2026-06-01 12:38:08 +02:00
tests Test: queries validate/list must reject a named graph with a top-level block 2026-06-01 12:35:49 +02:00
Cargo.toml Rename repo terminology to graph (#118) 2026-05-24 16:46:00 +01:00