You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(memory): add expiry, supersession, and TTL support (#84)
- Add Expire() and Supersede() methods to the memory Store interface
- Expired entries excluded from Recall by default (IncludeExpired flag to override)
- Superseded entries store a forward pointer to the replacement
- StoreEntry accepts ExpiresAt for TTL-based auto-expiry at query time
- Dedup skips expired entries so replacements are not silently merged
- Stats now reports ExpiredCount and ActiveCount
- EventExpired lifecycle event for cache boundary managers
- REST endpoints: POST /v1/memory/expire, POST /v1/memory/supersede
- MCP tools: memory_expire, memory_supersede
- 12 new tests covering all expiry and supersession paths
Closes#79
Co-authored-by: Ona <no-reply@ona.com>
0 commit comments