Skip to content

[Discussion] What should trigger Dream CE? #1702

Description

@CaralHsi

Dream CE currently starts from a simple signal: newly added memories accumulate until Dream can be triggered.

This is intentionally minimal, but a real memory system may need richer trigger signals.

Possible trigger signals

  • Newness: many new memories have been added.
  • Conflict: new memory contradicts or challenges existing memory.
  • Frequency: similar topics or failures appear repeatedly.
  • Feedback: user feedback shows an answer was wrong, useful, or unsatisfying.
  • Recall hit patterns: certain memories are repeatedly retrieved.
  • Unresolved goals: a task or user intention remains incomplete.
  • Emotional or importance signal: some memory appears unusually important.

Questions

  • What should trigger a Dream run?
  • Should Dream run on a schedule, on thresholds, or only manually?
  • Should different signal types produce different motive types?
  • How should we rank which memories are worth dreaming about?
  • How do we avoid running Dream too often?
  • Should triggers be per user, per cube, per session, or per topic?
  • What signals have you seen in your own agent or memory systems?

Current code direction

Current Dream CE has:

  • DreamSignalStore
  • DreamSignalSnapshot
  • MotiveType
  • cube-level trigger API

The code is designed to allow richer signal producers later.

Desired outcome

We want to identify the most useful first signal types to implement. Strong proposals may become implementation issues, such as:

  • add conflict signal producer,
  • add feedback signal producer,
  • add frequency-based Dream trigger,
  • add session/topic-level triggers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:memory记忆存储、检索、更新、召回逻辑contrib:help wantedExtra attention is needed | 需要社区帮助status:needs-designNeeds design discussion before implementation | 开发前需要方案设计

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions