chore(architecture): lower Ruff diagnostic baseline

This commit is contained in:
jxxghp
2026-09-01 18:14:04 +08:00
parent e433eb5c13
commit 3b4d7399bf
2 changed files with 1 additions and 10 deletions

View File

@@ -103,7 +103,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁
| Python 源码量 | 305,884 行 | 排除 `app/plugins/**`;61 个文件超过 1,000 行,11 个超过 2,000 行 |
| 长方法 | 290 个超过 80 行 | AST 统计排除 `app/plugins/**`;65 个超过 150 行,21 个超过 250 行 |
| 全量 mypy 历史债务 | 9,588 / 517 文件 | Agent API 重构后的现状基线;canonical Facade 与 endpoint 类型边界已补齐,低水位只允许继续下降 |
| Ruff 历史诊断 | 567 | 低水位门禁通过,但规则集只覆盖 `E4/E7/E9/F/I` |
| Ruff 历史诊断 | 564 | 低水位门禁通过,但规则集只覆盖 `E4/E7/E9/F/I` |
| 覆盖率固定基线 | Application 80.00%,Domain 80.00% | Chain、Runtime、Agent、Adapter、Startup 未进入包级覆盖率门禁 |
### 3.3 热点文件

View File

@@ -18,18 +18,12 @@
"app/adapters/web/plugin/routes.py": {
"I001": 1
},
"app/agent/llm/capability.py": {
"I001": 1
},
"app/agent/llm/tools.py": {
"I001": 1
},
"app/agent/loader.py": {
"I001": 1
},
"app/agent/mcp.py": {
"I001": 1
},
"app/agent/middleware/memory.py": {
"I001": 1
},
@@ -48,9 +42,6 @@
"app/agent/tools/impl/browse_webpage.py": {
"I001": 1
},
"app/agent/tools/impl/execute_command.py": {
"I001": 1
},
"app/agent/tools/impl/recognize_captcha.py": {
"I001": 1
},