agent-restore-harness/scripts/ingest
Mariusz Kreft dcd1241a94 feat: ingestion pipeline + memory-api bug fix + nasr context
Ingestion scripts:
- scripts/ingest/telegram_export.py (stdlib only, from spark3)
- scripts/ingest/push_to_memory.py (JSONL → memory API, importance scoring)
- scripts/ingest/memory_api_fix.py (memory.py ownership-aware close fix)

memory-api bug fixed (deployed to running container):
- memory.py: AgentMemory.close() was closing shared _qdrant client
- Fix: track ownership (_owns_qdrant/embeddings/redis) — only close what we created
- main.py: qdrant_client= → qdrant= parameter name fix

agents/nasr/MEMORY.md:
- Added GMI clinic context (machine.machine.zip ingested 2026-04-22)
- Added Hermes agent note (Mariusz to give details)
- Added active projects and skills inventory

telegram/:
- machine.machine.zip (572KB — MM group chat, GMI context)
- manifest.json (checksums for all zips)
- .gitignore (large zips excluded: m2.zip, parlobyg.zip, MuhlAI.zip)
2026-04-22 23:59:52 +02:00
..
memory_api_fix.py feat: ingestion pipeline + memory-api bug fix + nasr context 2026-04-22 23:59:52 +02:00
push_to_memory.py feat: ingestion pipeline + memory-api bug fix + nasr context 2026-04-22 23:59:52 +02:00
telegram_export.py feat: ingestion pipeline + memory-api bug fix + nasr context 2026-04-22 23:59:52 +02:00