brain_recall
Search your local codebase memory to surface relevant lessons, bug fixes, architecture decisions, and conventions from git history and AI sessions, filtered by file or package scope.
Instructions
Semantically search your local codebase memory across all agents. 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 with validation boost and contradiction penalties, 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). | |
| agent_filter | No | Optional: filter memories created by a specific agent (e.g. "claude-code", "cursor", "antigravity"). | |
| 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). |