omnigraph/crates
Ragnor Comerford 69fae71870
refactor(server): extract do_* inner fns from server_* handlers (MR-969/RFC-003)
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.
2026-06-08 15:26:18 +02:00
..
omnigraph fix: optimize publishes compaction; recovery roll-back converges manifest (#141) 2026-06-08 02:50:12 +03:00
omnigraph-cli fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-compiler fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-policy fix(optimize): skip blob-bearing tables to avoid Lance compaction crash (#138) 2026-06-02 17:12:00 +02:00
omnigraph-server refactor(server): extract do_* inner fns from server_* handlers (MR-969/RFC-003) 2026-06-08 15:26:18 +02:00