repopilot_explain_finding
Explains why a reported finding fired by replaying the stored rule decision against the current workspace and reports whether it still matches or drifted.
Instructions
Explain why a finding was reported. Use it when you have a finding_id from repopilot_scan or repopilot_review_change in this session and need to know why it fired or whether it still reproduces. It replays the stored rule decision against the current workspace, returns the full decision trace, and reports whether the decision matched or drifted. For a review signal (signal_id), use repopilot_explain_review_signal; for a file with no finding, use repopilot_explain_file. Local-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Which report holds the finding: the latest repopilot_scan ("last-scan") or the latest repopilot_review_change ("last-review"). | last-scan |
| finding_id | Yes | Stable finding ID from the findings array of the selected session report. | |
| line_start | No | Optional evidence start line from an ambiguity candidate. | |
| evidence_path | No | Optional evidence path from an ambiguity candidate. Used with line_start to select one occurrence without changing the stable finding ID. | |
| analysis_handle | No | Optional `analysisHandle` from an earlier scan or review in this session, to use that report instead of the latest one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||