{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nassim-arifette-jevgrep--find-behavior-in-unfamiliar-repo",
 "repo": "nassim-arifette/jevgrep",
 "repo_url": "https://github.com/nassim-arifette/jevgrep",
 "repo_slug": "nassim-arifette-jevgrep",
 "title": "Find where a behavior lives in an unfamiliar repo",
 "page_title": "How to find where a behavior lives in an unfamiliar repo with Jevgrep",
 "summary": "Ask a plain question about behavior and get exact code excerpts with line numbers.",
 "who": "A developer who has been asked to change a feature in a codebase they do not know and does not know the file or function names.",
 "problem": "Keyword search needs an exact identifier, and reading many files to guess where logic lives costs time and context.",
 "outcome": "A ranked set of original source excerpts with paths and line numbers that point to the code handling the behavior.",
 "steps": [
  "Run `npm install -g @nassim-arifette/jevgrep`",
  "Run `jevgrep init --global`",
  "Run `cd path/to/my-project` and then `jevgrep init`, answering `y` only after you have reviewed the scope",
  "Run `jevgrep inspect` to confirm which files are eligible and what is excluded",
  "Run `jevgrep search --query \"Where is session expiry handled?\"`"
 ],
 "agent_prompt": "Using the JevGrep CLI in the repository at <repo path>, run `jevgrep search --query \"<behavior question>\"` and list each returned excerpt with its path and line range. Verify that the result reports complete coverage before treating an empty or short result as meaningful.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Eligible source fragments are sent to the configured provider, and the search is not a substitute for exact tools such as rg when you already know the symbol.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 24",
  "npm",
  "An API key for TypeSafe AI, Vercel AI Gateway or OpenRouter",
  "Permission to send eligible source excerpts from the target repository to the chosen provider"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The provider key is stored globally for the OS user, so do not place it in a repository or in shared configuration files."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nassim-arifette-jevgrep/find-behavior-in-unfamiliar-repo/",
 "md": "https://dedupedai.com/use-cases/nassim-arifette-jevgrep/find-behavior-in-unfamiliar-repo/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nassim-arifette-jevgrep--find-behavior-in-unfamiliar-repo.json",
 "api_version": "v1"
}
