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
{{ message }}
Repository navigation
Superseded memories are kept forever: let them expire or be cleaned up #441
Since #436 (#152), a memory replaced by a newer one (for example "lives in Pune" after "moved to Bengaluru") is kept as superseded history instead of being deleted. It's left out of prompts and only listed when asked for. Nothing ever removes it, though, so they pile up, and a user who wants something gone has to find the old version too.
Idea:
a config option such as memory.keep_superseded_days (default 180, 0 = forever), with a description so Settings shows it;
deleting a current memory offers to delete its earlier versions too.
Where:sentient/memory/facts.py (states and cascading delete from #436), the nightly job in sentient/memory/dreaming.py, and config/schema.py.
Done when: a superseded memory older than the setting is gone after the nightly run, along with everything derived from it, and current memories are untouched. Add tests for both.
Activity
wpyaoxueros commentedon Oct 17, 2026
/assign
github-actions commentedon Oct 17, 2026
@wpyaoxueros Assigned to you. Open a PR within a week or comment if you need more time.
wpyaoxueros commentedon Oct 17, 2026
/assign
github-actions commentedon Oct 17, 2026
@wpyaoxueros This one is already assigned to you. Open a PR within a week or comment if you need more time.