Search remembered project history
search_memoryGet a token-budgeted context block for a free-text query by searching a repository's remembered history of git commits, diffs, shell commands, docs, and transcripts.
Instructions
Search a NexusMem-tracked repository's remembered history: git commits, code diffs (the patch of each changed file), shell commands, tracked markdown docs, and (if enabled) conversation transcripts, per-session summaries, and github.com issue/PR threads. Returns a token-budgeted, ranked context block -- not raw search results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | ISO-8601 date/time. Restricts results to nodes recorded at or before this instant -- "what did memory hold as of then", not "what happened then". Omit for the normal, unrestricted read. | |
| query | Yes | Free-text question or search terms | |
| budget | No | Max tokens in the returned context block. Default 2000. | |
| allProjects | No | Search every repository NexusMem has been run in on this machine, not just projectRoot. Use when the answer may live in a different project (a pattern solved elsewhere, a tool that failed the same way before). Each result is tagged with its repository. | |
| projectRoot | Yes | Absolute path to the repository root |