feat(sync): add gitignore-aware drawer prune (#1252)

Add `mempalace sync` CLI command and `mempalace_sync` MCP tool that
prune drawers whose source files are gitignored, deleted, or moved
out of the project. Reuses the existing GitignoreMatcher
infrastructure in mempalace/miner.py so the same gitignore rules
that block ingest also drive the corresponding cleanup.

Closes #1252.
This commit is contained in:
mvalentsev
2026-05-09 03:16:03 +05:00
parent 02dd6dc19e
commit 1d3eecbf9d
5 changed files with 1604 additions and 1 deletions
+1128
View File
File diff suppressed because it is too large Load Diff