brain_prune
Remove stale or deprecated memories to prevent outdated context from polluting recalls. Optionally run full git-based invalidation to detect modified or deleted files before pruning.
Instructions
Clean up stale or deprecated memories from the brain. Run this after major refactors to prevent outdated context from polluting recalls. Optionally runs the full git-diff invalidation pass to detect modified/deleted files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Which memories to remove. | stale |
| run_invalidation | No | If true, run the full git-based stale detection pass first. |