av_explain_finding
Explain a finding's structured edge evidence and remediation guidance using the same repo snapshot and findings index as layering checks; pass workspace absolute repo path.
Instructions
解释某条 finding 的结构化边证据与修复建议。默认与 av_check_layering 使用同一仓库快照口径和 findings 索引(不含 inventory)。from=session 时只读本轮报告,找不到就报错,不会静默改扫全楼。必须显式传当前工作区绝对路径 repo。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 从会话报告取本轮红灯;报告不存在或 findings 为空时返回 NO_SESSION_FINDING,绝不改扫全楼 | |
| repo | Yes | 必填。当前工作区根目录的绝对路径。 | |
| rule | No | 规则名(cross-layer-violation, layer-skip, removed-type, new-external-dep, public-surface-changed, schema-touched, invariant-broken, intent-mismatch, behavior-untested) | |
| index | No | 问题列表中的序号(从0开始) |