get_why
Retrieve decision records and evidence commits explaining why code is shaped a certain way, so you can check the rules in force before refactoring or diverging from a pattern.
Instructions
Why this code is shaped this way: decision records and evidence commits.
Call before a refactor or pattern divergence. A path gets the rules in
force first, then labelled background records. authority: accepted
means somebody signed the decision; answer_basis names the strongest
evidence lane, and only decision is a ruling.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_why"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Decision or `ev_...` evidence id from any tool. | |
| repo | No | Usually omitted. | |
| query | No | A question, a file or module path, or omit for the decision dashboard. | |
| include | No | ["history"]: a path's origin story, commits, episodes. | |
| targets | No | File paths to anchor a question. |