Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Superseded memories are kept forever: let them expire or be cleaned up

Chiusa
#441 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@wpyaoxueros ci sta già lavorando.

Dal 17/10/2026.

  • #453 di @wpyaoxueros — integrata

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

area: memory enhancement good first issue priority: P2 size: S

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;
  • the nightly memory job deletes superseded memories older than that, through the same cascading delete #436 added (vectors, links, summaries, insights' evidence);
  • 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.

Lingua principale
Python
Stelle
702
Fork
113
Merge medio
5h 8m
PR unite (30g)
171

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di existence-master/Sentient

Tutte le issue di existence-master/Sentient

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.