Skip to main content

Module ingest_claude

Module ingest_claude 

Source
Expand description

Handler for ingest --mode claude-code.

Orchestrates the locally installed Claude Code CLI binary (claude -p) to extract domain-specific entities and relationships from each file, then persists them via the same pipeline as remember --graph-stdin.

Architecture: P1 One-Shot per file — each file spawns a separate claude -p process with --json-schema for guaranteed structured output. A SQLite queue DB tracks progress for resume/retry support.

Structs§

ExtractedEntity
ExtractedRelationship
ExtractionResult

Functions§

find_claude_binary
Locates the Claude Code binary on the system.
run_claude_ingest
Main entry point for ingest --mode claude-code.