Skip to content

Sleep-time memory consolidation: idle-time dedupe and abstraction job #301

Closed

Description

@currentbits

Inspired by Letta's sleep-time compute (a second async agent consolidates memory while the primary is idle, using a bigger model off the latency path) and Mem0's ADD/UPDATE/DELETE/NOOP reconciliation write policy.

An idle-time automation over the memory server: dedupe near-identical entries, resolve contradictions, abstract repeated patterns into conventions, and archive what's superseded. Solenta's memory accumulates today; consolidation is what keeps it useful at 1,000 entries.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Deep-dive notes (Hindsight observation synthesis + consolidation research): implement as a periodic job emitting CREATE/UPDATE/DELETE on higher-level entries with proof_count and source_memory_ids tracked, plus trend labels computed from evidence timestamps (STABLE / STRENGTHENING / WEAKENING / NEW / STALE). Two research findings to respect: (1) dedupe, do not summarize — summarization destroys entity-level detail retrieval depends on (arXiv 2605.08538); (2) store contradictions with temporal markers ('used to X, now Y') rather than overwriting. Skip continuous decay: the step-function invalidate model is the recommended default for fact memory.

  3. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (PMB, June 2026): track whether stored memories were actually retrieved and used, and feed that into consolidation as a pruning/keep signal. Retrieval-hit data beats age as the staleness signal.

  4. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Research note (PKM round): the compiled-wiki pattern — threads dump into raw/, a maintenance agent compiles curated cross-linked markdown pages, and agents read the COMPILED layer at thread start, not the raw store. Add a lint automation (stale/contradictory detection). Also from Capacities: object-typed memory entries (decision/gotcha/convention) make lint and query far more reliable than freeform.

  5. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 9, 2026
  6. currentbits commented on Oct 9, 2026

    @currentbits
    OwnerAuthor

    Shipped: idle-time memory consolidation (electron/memory-consolidate.js, #722, merge 0437701). Closing in the 2026-10-09 board cleanup (#1532).

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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions