omnigraph/crates/omnigraph-server/src
aaltshuler be4bd46212 feat(cli): the operator config surface — identity and output defaults (RFC-007 PR 1)
~/.omnigraph/config.yaml joins the resolution chains as the operator
surface: operator.actor becomes the last hop of THE actor chain (--as >
legacy cli.actor during the RFC-008 window > operator.actor > none, one
implementation for direct-engine and cluster commands alike) and
defaults.output joins the read-format cascade below every more-specific
source. Discovery honors $OMNIGRAPH_HOME (tilde-expanded, #139 finding 9);
an absent file is an empty layer; unknown keys WARN and load (a file
written for later slices must not break this CLI); malformed YAML is a
loud error. The module is CLI-only — the server never reads operator
config (invariant 11 by construction).

$OMNIGRAPH_CONFIG becomes a first-class stand-in for --config in
load_config (flag > env > ./omnigraph.yaml), one meaning in both binaries.

The test harness pins hermeticity: spawned binaries get a nonexistent
OMNIGRAPH_HOME by default so no test ever reads the developer's real
operator config. New coverage: loader unit tests, the env-precedence
matrix on load_config_in, and spawned-binary e2es for the actor chain
(operator wins with no flag/legacy key; legacy outranks it; --as wins) and
the format cascade.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 20:29:02 +03:00
..
api.rs feat(server)!: POST /ingest forks only when 'from' is present 2026-06-11 04:05:29 +03:00
auth.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
config.rs feat(cli): the operator config surface — identity and output defaults (RFC-007 PR 1) 2026-06-11 20:29:02 +03:00
graph_id.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
handlers.rs refactor(server): split lib.rs into handlers and settings modules 2026-06-11 15:08:25 +03:00
identity.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
lib.rs feat(cluster,server): inline policy content + config-free --cluster URI boot 2026-06-11 15:56:22 +03:00
main.rs feat(cluster,server): inline policy content + config-free --cluster URI boot 2026-06-11 15:56:22 +03:00
policy.rs policy: chassis core — omnigraph-policy crate + Omnigraph::enforce() (MR-722) (#102) 2026-05-18 00:36:36 +03:00
queries.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
registry.rs Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
settings.rs feat(cluster,server): inline policy content + config-free --cluster URI boot 2026-06-11 15:56:22 +03:00
workload.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00