Conversation
Signed-off-by: kingfs <zhenzhen086@126.com>
|
Thanks for opening this — it has been seen, and it is queued. This note is automated, but it is not a brush-off: it exists so you know where your PR stands instead of having to guess from silence. Current review status: working through a backlog. What that means for this PR, concretely:
Things that will genuinely speed it up whenever review does happen:
If this fixes a bug, a reproduction we can run is worth more than a description of the symptom. Thanks for contributing, and sorry in advance for the wait. |
|
Thank you for the contribution, including the inventory/pruning tests and the explicit notes about validation still outstanding. This draft introduces new MCP tools and CLI operations across cache, daemon, and server code, including deletion behavior, so it needs a direction and safety review before we can decide whether to integrate it. We need more time to review the API boundary and the pruning safeguards, including behavior with active sessions, missing roots, and interrupted operations. Please keep this as a draft while we make that decision; this acknowledgement is neither acceptance nor rejection. Our review queue is quite full, and we appreciate the effort and your patience while we work through it. |
What does this PR do?
Removed Git worktrees leave project indexes behind, and caches can also contain WAL/SHM files whose database no longer exists. Add
cache statsand explicit, guardedcache prunemodes, with equivalentcache_stats/cache_pruneMCP tools.--missing-rootand/or--older-than(AND, based onindexed_at). Use standalone--orphan-sidecarsto remove orphan WAL/SHM files. Every mode supports--dry-run.Draft for design review: this adds MCP API surface and does not yet have the prior tracking-issue discussion requested by CONTRIBUTING.md.
Validation
Checklist
git commit -s)make -f Makefile.cbm test) — focused suites passed; full suite not runmake -f Makefile.cbm lint-ci) — focused checks passed; whole-repository formatter mismatch described above