fix: repair command, split args, Claude export, room keywords#119
Merged
fix: repair command, split args, Claude export, room keywords#119
Conversation
- Add `mempalace repair` command to rebuild vector index from SQLite when HNSW files are corrupted after crash/interrupt (fixes #74, #72, #96) - Fix split command passing dir as positional instead of --source flag to split_mega_files (fixes #63) - Handle Claude privacy export format (array of conversation objects with chat_messages inside each) in normalize.py (fixes #63) - Persist room keywords in mempalace.yaml so mine can match files in docs/ to room "documentation" (fixes #108)
This was referenced Apr 7, 2026
GoodOlClint
added a commit
to GoodOlClint/mempalace
that referenced
this pull request
Apr 7, 2026
…DME) Merges upstream/main (b49cfbf) into our fork. Upstream merged: - MemPalace#114: shell injection fix, Claude Code mining, chromadb pin - MemPalace#119: repair command, split args fix, Claude export format, room keywords Conflicts resolved keeping our versions for overlapping fixes (MemPalace#110, MemPalace#111, MemPalace#100, MemPalace#108) plus our additions (remote support, batch writes, local embeddings, .gitignore, non-interactive init, subagents skip). New from upstream: - `mempalace repair` command to rebuild HNSW index after corruption - Claude privacy export format support in normalize.py - Updated README Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
6 tasks
This was referenced Apr 7, 2026
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.
Summary
Four fixes for high-priority issues:
mempalace repaircommand that extracts all drawers from SQLite and rebuilds the vector index. Fixes segfaults caused by corrupted HNSW files after crash/interrupt/scale.cmd_split()now passes--sourceflag instead of bare positional arg tosplit_mega_files.main(). Also:normalize.pynow handles Claude privacy export format (array of conversation objects withchat_messagesinside each).initcan generate room names thatminethen misroutes #108 —room_detector_local.pynow persists thekeywordsfield inmempalace.yaml, so mine can match files indocs/to room"documentation".Test plan
ruff check .passesruff format --check .passespytest tests/ -v— 9/9 pass