Commit Graph
4 Commits
Author SHA1 Message Date
rock 52b037f788 fix: adapt ingest_worker to production DB schema
- Match memory_entity columns: id, project_id, name, entity_type, description, t_created, t_updated, confidence
- Match memory_edge columns: id, project_id, source_entity_id, target_entity_id, relation_type, fact, t_valid, t_invalid, t_created, confidence
- Convert OffsetDateTime to RFC3339 strings for TIMESTAMPTZ binding
- E2E test confirms: entities save successfully to production DB

Entities extraction working. Next: fact extraction and edges, query handler.
2026-09-08 10:10:21 -07:00
rock 25dde42ea4 feat: implement full ingest pipeline with entity/fact extraction
- Wire IngestPipeline into IngestWorker (entity extraction -> fact extraction -> contradiction detection)
- Implement entity/edge persistence to database with temporal validity (t_valid, t_invalid)
- Extract wiki links from input text for entity detection
- Save entities and edges with confidence scores and contradiction status
- Convert OffsetDateTime to RFC3339 strings for PostgreSQL TIMESTAMPTZ columns
- Ingest job now processes records through full knowledge graph pipeline

Ingest flow: Records -> Episode -> Extract entities/facts -> Check contradictions -> Save to DB
2026-09-08 09:58:28 -07:00
Story Crater Bot 8e8bf92591 feat: M3.7.7 complete — failure signature extraction (18 unit tests passing, CLI cmd_sig added, fixtures created) 2026-08-28 07:47:26 -07:00
rock af6f22217d feat(core): implement full memory pipeline (#11) 2026-08-24 01:37:16 +00:00