omnigraph/crates/omnigraph-server/src
aaltshuler 90676ef52f feat(server)!: POST /ingest forks only when 'from' is present
Branch creation becomes opt-in by presence of the request's 'from' field.
Previously the handler defaulted from to 'main' and always auto-created a
missing branch — a typo'd branch name silently forked main and landed the
data there, with the client none the wiser. Now a request without 'from'
against a missing branch returns 404 branch-not-found and creates nothing;
with 'from' set, fork-if-missing behaves as before. The BranchCreate
authority is only consulted when a fork will actually happen.

The handler calls the unified load_as directly (the deprecated ingest_as
shim is no longer used in the server). IngestOutput.base_branch becomes
nullable: it echoes the request's 'from' and is null when absent. OpenAPI
regenerated; the CLI's local ingest arm moves to load_file_as + the new
converter shape.

BREAKING CHANGE: clients that relied on implicit fork-from-main with 'from'
omitted must now pass from='main' explicitly. IngestOutput.base_branch is
now nullable.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 04:05:29 +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 Stored-query registry foundation + config/CLI RFC-002 (#128) 2026-06-01 22:50:31 +02:00
graph_id.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
identity.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
lib.rs feat(server)!: POST /ingest forks only when 'from' is present 2026-06-11 04:05:29 +03:00
main.rs feat(server): boot from cluster state via --cluster 2026-06-10 17:48:10 +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
workload.rs (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00