Omnigraph
Reference

Constants & Tunables (cheat sheet)

Expand traversal dispatch. With OMNIGRAPHTRAVERSALMODE unset, the engine

NameValueArea
MANIFEST_DIR__manifestmanifest layout
Commit graph dirs (retired)_graph_commits.lance / _graph_commit_actors.lanceretired in Phase B; lineage lives in __manifest (graph_commit / graph_head rows) since RFC-013 Phase 7. A graph this binary creates has neither.
Recovery audit dir_graph_commit_recoveries.lanceone row per crash-recovery action (omnigraph commit list --filter actor=omnigraph:recovery)
Run branch prefix (legacy, removed)__run__pre-v0.4.0 Run state machine; no longer a reserved name. A graph still carrying __run__* branches is sub-v4 and refused on open (rebuild via export/import).
Schema apply lock__schema_apply_lock__schema apply
Manifest publisher retry budgetPUBLISHER_RETRY_BUDGET = 5manifest publish
Internal manifest schema versionINTERNAL_MANIFEST_SCHEMA_VERSION = 4manifest migrations (v4 = graph lineage in __manifest, RFC-013 Phase 7)
Merge stage batchMERGE_STAGE_BATCH_ROWS = 8192merge execution
Maintenance concurrencyOMNIGRAPH_MAINTENANCE_CONCURRENCY=8optimize/cleanup
Lance blob compaction supportLANCE_SUPPORTS_BLOB_COMPACTION = falseoptimize
Graph index cache size8 (LRU)runtime cache
Expand indexed-path frontier ceilingOMNIGRAPH_EXPAND_INDEXED_MAX_FRONTIER=1024traversal
Expand indexed-path hop ceilingOMNIGRAPH_EXPAND_INDEXED_MAX_HOPS=6traversal
Expand CSR-build cost factorCSR_BUILD_FACTOR = 1.5traversal
Expand mode overrideOMNIGRAPH_TRAVERSAL_MODE (indexed|csr; unset = cost-based auto)traversal
Default body limit1 MBHTTP server
Load (bulk-write) body limit32 MBHTTP server (/load; shared by the deprecated /ingest alias)
Default embed provider/modelopenai-compatible / openai/text-embedding-3-largeengine embedding
OpenAI-direct embed modeltext-embedding-3-largeengine embedding
Gemini-direct embed modelgemini-embedding-2engine embedding
Embed deadlineOMNIGRAPH_EMBED_DEADLINE_MS=60000engine embedding
Embed timeoutOMNIGRAPH_EMBED_TIMEOUT_MS=30000engine embedding
Embed retriesOMNIGRAPH_EMBED_RETRY_ATTEMPTS=4engine embedding
Embed retry backoffOMNIGRAPH_EMBED_RETRY_BACKOFF_MS=200engine embedding
LANCE memory pool default1 GB (raised in v0.3.0)runtime

Expand traversal dispatch. With OMNIGRAPH_TRAVERSAL_MODE unset, the engine chooses the indexed (per-hop BTREE) vs CSR (whole-graph in-memory) path with a cost model over cheap manifest counts (frontier size, |E|, source-vertex count, hops) plus the index-coverage signal: the indexed path is preferred when its frontier-relative work beats building the CSR (≈ when hops × frontier is a small fraction of the source-vertex set), and CSR is preferred for dense/deep traversals or when the BTREE coverage is degraded and a full scan would be paid per hop. The two ceilings bound the initial dispatch frontier/hops (beyond them CSR is always used); they are not a hard per-hop bound — the cost model estimates total indexed work as ~hops × frontier × fanout, so dense fan-out is priced toward CSR rather than capped mid-traversal. The override flag forces a path (the auto result is identical either way; only the path differs).