Skip to content

Conversation

CaralHsi
Copy link
Collaborator

@CaralHsi CaralHsi commented Jul 6, 2025

Description

This PR adds the structure reorganizer and conflict resolver modules to improve the graph memory structure.
It also introduces redundancy handling, reason nodes (for inferred nodes).
A new is_organize option is added to TreeConfig (default False).
Updated tests, added schedule as a new dependency.

Motivation:

Enhance the system’s ability to manage conflicting and redundant nodes automatically and support more robust structure optimization.

Dependencies:

Adds schedule for background task scheduling.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g. code style improvements, linting)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Please delete options that are not relevant.

  • Unit Test
  • Test Script (please provide)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Made sure Checks passed

@CaralHsi CaralHsi marked this pull request as ready for review July 7, 2025 04:28
@CaralHsi CaralHsi requested review from J1awei-Yang and fridayL July 7, 2025 04:29
@fridayL
Copy link
Collaborator

fridayL commented Jul 10, 2025

approved merge

  1. add structure reorganizer

Copy link
Collaborator

@fridayL fridayL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. add structure reorganizer

@CaralHsi CaralHsi merged commit 8abc88a into MemTensor:dev Jul 10, 2025
16 checks passed
ioo0s pushed a commit to ioo0s/MemOS that referenced this pull request Jul 14, 2025
tianxing02 pushed a commit to tianxing02/MemOS that referenced this pull request Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants