feat: add migrate-memories.py for default-to-named-graph migration

Standalone script that moves memories between graphs based on tag
matching. Handles memory files, edges, index/embedding/state metadata,
cross-graph edge cleanup, and overlap detection (copy to multiple
graphs). Supports dry-run, idempotent re-runs, and git auto-commit.

Closes: #4, #5, #6

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2026-03-01 16:15:28 -06:00
parent dcfd0af503
commit 11a046ffc3

1036
scripts/migrate-memories.py Executable file

File diff suppressed because it is too large Load Diff