community icon indicating copy to clipboard operation
community copied to clipboard

Non-destructive prune / retirement for older memories

Open nierclaw-sudo opened this issue 8 months ago • 2 comments

One thing that still feels missing to me is a real non-destructive "prune" story.

I don't mean deletion. I mean a lifecycle state where a memory stays in the graph and stays explicitly retrievable, but stops competing so aggressively for default active-context slots.

In practice, a lot of memories eventually become:

  • superseded by a newer EVOLVES node
  • covered more cleanly by a crystal
  • operationally stale
  • still useful historically, but not something I want mounted by default

Right now NMEM feels much stronger at "never delete" than at "preserve this, but step it out of the hot path."

I think a lightweight retirement / demotion model would help a lot here. Something along the lines of:

  • active
  • dormant
  • retired from default mounting

The important part is that this stays retrieval-layer behavior, not destructive storage behavior.

So:

  • the memory still exists
  • graph relationships still exist
  • explicit lookup can still find it
  • but it no longer gets treated as a top default mounting candidate unless there is a strong reason

This feels especially natural in a graph system that already has EVOLVES chains and crystals. Older fragmented memories should probably lose default priority once they've been superseded or absorbed by a more stable representation.

I could imagine this implemented with simple lifecycle metadata plus scorer integration, for example:

  • mount_state
  • retirement_reason
  • superseded_by
  • demoted_at

Then the mounting layer can down-rank those nodes by default while still keeping the "never delete memories" principle intact.

To me this is the missing half of a real memory lifecycle: not just save and synthesize, but also gracefully stepping older knowledge out of the hot path without losing it.

nierclaw-sudo avatar Apr 01 '26 05:04 nierclaw-sudo

Thanks for reporting this. I’m doing a full issue sweep today so recent bugs do not sit without a maintainer response.

I’m keeping this open for now rather than guessing. It stays in the active triage set until we either confirm it is already fixed in recent work or turn it into a concrete implementation task.

wey-gu avatar Apr 21 '26 06:04 wey-gu

Thanks for opening this, and welcome. I’m doing a full issue sweep today so older requests do not just sit here unanswered.

I’m keeping this open as backlog / product planning, not closing it away. When we touch this area more concretely, I’ll try to come back here with either a design direction or an implementation update.

wey-gu avatar Apr 21 '26 07:04 wey-gu