agentic-resources/session_memory/core
tegwick 97379e9658 session-memory: error-body mining into digest (WP-0006 T01)
build_digest now extracts normalized error fingerprints + samples from failed
events (error kind + failing tool_result bodies) into a durable error_snippets
list — paths/numbers/uuids/addrs stripped so the same error collapses to one
fingerprint with a count; Python traceback header skipped in favour of the real
exception line. Durable in Tier 2 (survives Tier 1 eviction). SCHEMA_VERSION ->
2 (re-ingest needed to populate). 7 new tests; suite 95/95 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 12:45:01 +02:00
..
__init__.py session-memory Phase 0: normalized schema (T01) + Claude adapter (T02) 2026-06-06 19:06:10 +02:00
cursor.py session-memory Phase 0: ingest cursor + sweep entrypoint + config (T06) 2026-06-06 21:41:59 +02:00
digest.py session-memory: error-body mining into digest (WP-0006 T01) 2026-06-07 12:45:01 +02:00
retention.py session-memory Phase 0: budget-based retention sweep (T05) 2026-06-06 21:37:40 +02:00
schema.py session-memory: error-body mining into digest (WP-0006 T01) 2026-06-07 12:45:01 +02:00
store.py session-memory Phase 1: Detect pipeline (T04-T07) 2026-06-06 22:31:13 +02:00