mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-12 01:45:14 +02:00
Mechanical and behavior-neutral. Each server_* HTTP handler becomes a thin wrapper over a pub(crate) do_* fn that takes the resolved actor plus plain args (the shape run_query/run_mutate already use), so the upcoming in-server MCP tools can dispatch one path instead of duplicating the Cedar gate, admission, and engine call. 11 fns: do_snapshot, do_schema_get, do_branches_list, do_commits_list, do_commit_show, do_schema_apply, do_ingest, do_branch_create, do_branch_delete, do_branch_merge, do_graphs_list. The Cedar PolicyRequest, admission ordering (gate then try_admit), actor/anonymous derivation, and engine args stay identical; only the Json(...) wrap moves to the call site. All 105 server tests pass. |
||
|---|---|---|
| .. | ||
| omnigraph | ||
| omnigraph-cli | ||
| omnigraph-compiler | ||
| omnigraph-policy | ||
| omnigraph-server | ||