Overview
The pipeline has two stages:- Ingest — chunk source files into semantically meaningful raw entries
- Process — iteratively promote raw entries through the memory hierarchy until convergence
Ingesting a Corpus
Source Code
Example with filters:
Documentation
Chunking Strategies
Deduplication
Chunks are content-hash deduplicated. Re-runningseed repo or seed docs on the same corpus skips already-ingested chunks, making it safe to re-run after adding new files.
Check Ingestion Status
Processing to Exhaustion
After seeding, process the raw entries through the memory pipeline:
Processing continues until convergence (2 consecutive cycles with 0 new promotions) or the maximum cycle count is reached.
Options:
Safety: A checkpoint (
pre-exhaust) is automatically created before the first cycle.
Complete Example
Inspecting Results
After seeding and processing, use the dev dashboard to visually inspect the memory stack:Provenance
All promoted memories maintain full provenance chains:derived_from references back to its source. The dev dashboard shows provenance chains for any memory — click a row and check the “Derived from” and “Derived memories (children)” sections.
Directory Exclusions
The following directories are always excluded from corpus ingestion:.git, __pycache__, node_modules, .venv, venv, .tox, .mypy_cache, .pytest_cache, .ruff_cache, dist, build, .eggs, *.egg-info