sqlite-graphrag 1.2.5

Persistent GraphRAG memory for Claude Code, Codex, Cursor, and 27 AI agents — one self-contained ~19 MiB Rust binary, zero daemon. Never re-explain your codebase again. Hybrid retrieval (FTS5 BM25 + cosine similarity + multi-hop graph traversal) surfaces the right memory in milliseconds. Embedding and entity enrichment run as parallel REST calls against your cloud LLM — no fragile headless subprocesses, no ONNX runtime, no model downloads. Soft-delete with full version history, transactional atomic writes, BLAKE3-tracked mutations. OAuth-only: raw API keys ABORT the spawn.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Mode-conditional flag validation for `ingest` (G20).

use super::args::IngestArgs;
use crate::errors::AppError;

/// G20: validate that flags rejected by the selected `--mode` were not
/// passed. Flags silently discarded by the wrong mode are surfaced BEFORE
/// any DB work, so the operator gets an actionable error instead of a
/// surprise at runtime.
///
/// The only surviving mode is `none` (body-only), so nothing is rejected
/// today. The hook stays so a future mode reintroduces its matrix here.
pub(crate) fn validate_mode_conditional_flags_ingest(_args: &IngestArgs) -> Result<(), AppError> {
    Ok(())
}