feat: add data export functionality for DARE context portability - #267
Open
farhat-is-coding wants to merge 3 commits into
Open
feat: add data export functionality for DARE context portability#267farhat-is-coding wants to merge 3 commits into
farhat-is-coding wants to merge 3 commits into
Conversation
…lure handling - Add memory/constants.py with MemoryType choices and import guardrails (max 200 items, 4000-char content, 10 categories per item) - Coerce unknown memory types to 'profile' instead of storing arbitrary values from other AIs' output - Tolerate per-item create failures during import and report accurate created/failed counts (already-created items can't be rolled back) - Drop redundant inline temp-file unlink now covered by finally block
A full export still has value (user profile + conversations) when MemU is down or USE_POSTGRES=False, so proceed with empty memories and an explicit note in the manifest's excludedContent. Memories-only exports still fail loudly since they would be worthless.
farhat-is-coding
force-pushed
the
farhat/feat/memory-export
branch
from
July 24, 2026 14:10
148c5d6 to
49cafed
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.