search
Find code, rules, observations, and knowledge by concept when exact names are unknown, using ranked hybrid lexical and semantic retrieval with graph expansion.
Instructions
Ranked search across all entities — code (functions, files, classes) plus rules, observations, and knowledge — using hybrid lexical + semantic retrieval with graph expansion. Use when you know the concept but not the exact name, or want related entities surfaced automatically. For exact identifier/text matches, grep is faster and equally precise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Absolute path to the project root containing `.cogz/`. | |
| limit | No | ||
| query | Yes | ||
| before | No | Only use git history committed before this unix timestamp for the co-change channel. | |
| expand | No | ||
| status | No | ||
| code_search | No | Use the code model (CodeRankEmbed) for query embedding. Applies the CodeRankEmbed query prefix for code-focused search. | |
| entity_type | No |