Skip to content

feat: adopt Supermemory auto-forget & temporal fact handling #51

Closed

Description

@ajianaz

Inspiration

Supermemory — #1 on LongMemEval, LoCoMo, ConvoMem benchmarks.

Features to Adopt

1. Auto-forget Policy

  • Memory aging with configurable TTL per namespace/tag
  • Decay score based on last_accessed + access_count
  • Batch cleanup: uteke prune --ttl 30d --dry-run
  • Related: feat: memory aging with auto-cleanup policy #44 (aging), this issue covers the deletion/decay algo

2. Temporal Fact Updates

  • When remember detects contradiction (e.g. old="lives in London", new="moved to Tokyo"):
    • Auto-invalidate old fact (mark deprecated, not delete)
    • Store temporal metadata: valid_from, valid_until
  • recall returns only currently valid facts by default, with --include-deprecated flag

3. Contradiction Detection

  • Semantic similarity check on new remember vs existing memories
  • If similarity > threshold AND content conflicts → prompt user or auto-deprecate
  • Configurable: contradiction.auto_resolve = true/false

Priority

P2 — Intelligence layer. Depends on #48 (config file) for policy settings.

References

Local-First

All features work offline. No LLM API needed for basic decay. Optional local model for contradiction detection.

Activity

  1. ajianaz commented on May 31, 2026

    @ajianaz
    CollaboratorAuthor

    Closed by PR #84 — auto-forget, temporal facts & contradiction detection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions