Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

クローズ
#441 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@wpyaoxueros がすでに取り組んでいます。

2026年10月17日 から。

  • #453 @wpyaoxueros による — マージ済み

評価

この issue はまだ評価されていません。

説明

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.

主要言語
Python
スター
710
フォーク
125
平均マージ
5時間 15分
マージ済み PR(30日)
173

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

existence-master/Sentient のほかの issue

existence-master/Sentient の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。