av_check_layering
Analyze a repository snapshot offline to detect layering violations and structural issues. Counts violations, lists inventory of dependencies and orphan entities, and returns source summary.
Instructions
检查当前仓库快照(不使用基线,包含历史存量,不能归因于本轮变更)。分层违规、其他结构问题、分析提示分别计数;现有依赖/体量/孤立实体另列 inventory,不算分层违规。不执行本轮变更专用规则。日常验收用 av_guard / av_session_report。返回实际运行包及分析源码摘要。完全离线。必须显式传当前工作区绝对路径 repo。
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": {
"repo": "<repo>"
},
"name": "av_check_layering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | 必填。当前工作区根目录的绝对路径。 |