Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WIP to use unified episode store, "segments" as chunks#1013

Closed
edwinyyyu wants to merge 1 commit into
MemMachine:mainfrom
edwinyyyu:snapshots
Closed

WIP to use unified episode store, "segments" as chunks#1013
edwinyyyu wants to merge 1 commit into
MemMachine:mainfrom
edwinyyyu:snapshots

Conversation

@edwinyyyu
Copy link
Copy Markdown
Contributor

@edwinyyyu edwinyyyu commented Jan 31, 2026

Purpose of the change

Long-term memory will no longer store its own copy of episodes. It will however, store its own segments (generalized temporal chunks).

Description

Based on #969
Should be based on #1022/#1090

Fixes/Closes

Fixes #(issue number)

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
  • Project Maintenance (updates to build scripts, CI, etc., that do not affect the main project)
  • Security (improves security without changing functionality)

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
  • Integration Test
  • End-to-end Test
  • Test Script (please provide)
  • Manual verification (list step-by-step instructions)

Test Results: [Attach logs, screenshots, or relevant output]

Checklist

[Please delete options that are not relevant.]

  • I have signed the commit(s) within this pull request
  • My code follows the style guidelines of this project (See STYLE_GUIDE.md)
  • I have performed a self-review of my own code
  • I have commented my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • Confirmed all checks passed
  • Contributor has signed the commit(s)
  • Reviewed the code
  • Run, Tested, and Verified the change(s) work as expected

Screenshots/Gifs

[If applicable, add screenshots or GIFs that show the changes in action. This is especially helpful for API responses. Otherwise, delete this section or type "N/A".]

Further comments

[Add any other relevant information here, such as potential side effects, future considerations, or any specific questions for the reviewer. Otherwise, type "None".]

@edwinyyyu edwinyyyu changed the title WIP to use unified episode store, WIP to use unified episode store, "snapshots" as chunks Jan 31, 2026
@edwinyyyu edwinyyyu mentioned this pull request Jan 31, 2026
26 tasks
@edwinyyyu edwinyyyu force-pushed the snapshots branch 2 times, most recently from d2f062e to 40b9a5a Compare February 2, 2026 21:57
@edwinyyyu edwinyyyu linked an issue Feb 4, 2026 that may be closed by this pull request
@edwinyyyu
Copy link
Copy Markdown
Contributor Author

This should be changed to depend on #1022

index: int
timestamp: datetime
source: str
context: str
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Consider JSON/model instead.

@edwinyyyu edwinyyyu force-pushed the snapshots branch 2 times, most recently from 5c43b50 to 9d56192 Compare February 9, 2026 21:33
@edwinyyyu edwinyyyu changed the title WIP to use unified episode store, "snapshots" as chunks WIP to use unified episode store, "slices" as chunks Feb 9, 2026
@edwinyyyu
Copy link
Copy Markdown
Contributor Author

Conflicts #1022

@edwinyyyu edwinyyyu changed the title WIP to use unified episode store, "slices" as chunks WIP to use unified episode store, "segments" as chunks Feb 19, 2026
@edwinyyyu
Copy link
Copy Markdown
Contributor Author

Superseded by #1199

@edwinyyyu edwinyyyu closed this Mar 10, 2026
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.

[Bug]: Development experience/workflow friction

1 participant