Expand description
Knowledge-ingest subsystem for zeph-memory (spec-067).
Provides:
- The idempotency ledger (
IngestLedger) used byzeph knowledge ingestto skip unchanged inputs (Phase 1 / FR-012, INV-5). - Document and provenance types (
IngestDocument,IngestSourceKind) used by the graph-sink batch API (Phase 2 / FR-020..028). - Source adapters (
IngestSourceAdapter,SubagentJsonl,ClaudeCodeJsonl,CodexJsonl) that convert raw source material into validatedIngestDocumentvalues. - Progress and report types (
IngestProgress,IngestReport,ImportBatchId) for theSemanticMemory::ingest_documentscall site. - The tech-doc extraction prompt (
prompt::TECH_DOC_SYSTEM_PROMPT) selected byIngestSourceKind::system_prompt.
Re-exports§
pub use adapter::ClaudeCodeJsonl;pub use adapter::CodexJsonl;pub use adapter::IngestSourceAdapter;pub use adapter::SubagentJsonl;pub use adapter::TranscriptEntry;pub use document::IngestDocument;pub use document::IngestSourceKind;pub use ledger::BatchIdResolution;pub use ledger::IngestLedger;pub use ledger::LedgerEntry;pub use report::HubDegree;pub use report::ImportBatchId;pub use report::IngestFailure;pub use report::IngestProgress;pub use report::IngestReport;
Modules§
- adapter
- Sealed
IngestSourceAdaptertrait and its MVP implementations (spec-067 §2.3). - document
- Ingest-document types for
zeph knowledge ingest(spec-067 §2.3). - ledger
- Content-hash idempotency ledger for
zeph knowledge ingest. - prompt
- LLM extraction prompts for the knowledge-ingest pipeline (spec-067 §2.5).
- report
- Result and progress types for
SemanticMemory::ingest_documents(spec-067 §2.3).