who_understands
Identify which people understand the AI-written code at a given path and who committed to it recently, so you know who to ask or assign for review.
Instructions
List the people who have shown they understand the AI-written code at a path, and who committed to it lately.
When to use: the user asks who knows this code, who should review a change, or whom to ask. For a risk rating
use comprehension_risk.
Returns {"path", "understood_by" (person -> lines they passed a quiz, explanation or review on), "ai_lines",
"unread" (AI-written lines nobody has checked), "recent_committers": [{"name", "commits"}], "note"}.
Committing code is not counted as understanding it: only recorded quizzes, explanations and reviews are.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "who_understands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or folder, relative to the repo root. | |
| repo | No | Path inside the git repository. Defaults to the server's working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| path | Yes | ||
| unread | Yes | AI-written lines nobody has checked. | |
| ai_lines | Yes | ||
| understood_by | Yes | Person -> AI-written lines they passed a quiz, explanation or review on. | |
| recent_committers | Yes | Most frequent recent committers. Committing is not understanding. |