brain_recall
Search local codebase memory for lessons, bug fixes, architecture decisions, and conventions from git history and AI sessions. Returns ranked, token-capped results scoped to current file/package.
Instructions
Semantically search your local codebase memory. Returns the most relevant lessons, bug fixes, architecture decisions, and conventions from your git history and AI sessions — filtered to current file and package scope. Results are ranked deterministically and token-capped to stay within 250 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for. Plain English, e.g. "JWT auth bug" or "database connection pooling". | |
| category | No | Optional: filter by memory category. | |
| file_path | No | Optional: current file path (repo-relative). Narrows search to relevant file and package scope. | |
| max_items | No | Maximum memories to return (default: 5, max: 10). | |
| min_confidence | No | Optional: minimum confidence threshold (0.0 to 1.0, default: 0.0). | |
| include_deprecated | No | Optional: include stale and deprecated memories (default: false). |