chore(architecture): refresh host dependency baseline

This commit is contained in:
jxxghp
2026-09-16 18:42:58 +08:00
parent 7474062a3e
commit 67cd412d82
3 changed files with 13 additions and 20 deletions

View File

@@ -760,8 +760,8 @@ flowchart LR
| 指标 | 当前值 |
|---|---:|
| Python 模块 | 1025 |
| 内部导入边 | 8,827 |
| Python 模块 | 1038 |
| 内部导入边 | 8,821 |
| 非平凡 SCC | 1精确 containment 的 TMDB 移植包环) |
| Application / Chain 具体 Adapter 直连 | 0 / 0 |
| Direct egress | 53债务已清零53 条精确 containment |

View File

@@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁
| 指标 | 当前值 | 解释 |
|---|---:|---|
| 宿主 Python 模块 / 内部依赖边 | 1039 / 8,827 | `dependency-baseline.json` 当前快照;系统设置合同按 `app.application.settings` 包组织,系统设置 API 端点独立按 `app.api.endpoints.settings` 归档分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 |
| 宿主 Python 模块 / 内部依赖边 | 1038 / 8,821 | `dependency-baseline.json` 当前快照;系统设置合同按 `app.application.settings` 包组织,系统设置 API 端点独立按 `app.api.endpoints.settings` 归档分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 |
| 非平凡 SCC | 1 | 仅保留精确 containment 的 29 模块 TMDB 移植包环 |
| 跨层 DB 边界债务 | 0 | Application、Chain、API、Agent、Runtime、Workflow 到 DB 的受控债务均为零 |
| Model/Oper 事务债务 | 0 | 自建 Session、自动事务装饰器、直接 commit/rollback 等基线均为零 |

View File

@@ -1077,8 +1077,8 @@
"runtime_only": true
}
},
"edge_count": 8827,
"edge_sha256": "793daf5a91297680e70a665611d7184f16bb61391bca7fca83ffc7d65ddc8c21",
"edge_count": 8821,
"edge_sha256": "08b752f1bede19fbd6fd8ede4f8c84c5943df41d8ab4c37f99748e49093484e2",
"edges": [
"app -> app.foundation",
"app -> app.foundation.environment",
@@ -1442,18 +1442,6 @@
"app.agent.memory -> app.runtime.settings",
"app.agent.memory -> app.schemas",
"app.agent.memory -> app.schemas.agent",
"app.agent.middleware.activity -> app.agent",
"app.agent.middleware.activity -> app.agent.llm",
"app.agent.middleware.activity -> app.agent.llm.helper",
"app.agent.middleware.activity -> app.agent.middleware",
"app.agent.middleware.activity -> app.agent.middleware.utils",
"app.agent.middleware.activity -> app.agent.policy",
"app.agent.middleware.activity -> app.agent.policy.sanitizer",
"app.agent.middleware.activity -> app.agent.tools",
"app.agent.middleware.activity -> app.agent.tools.tags",
"app.agent.middleware.activity -> app.runtime",
"app.agent.middleware.activity -> app.runtime.log",
"app.agent.middleware.activity -> app.runtime.tasks",
"app.agent.middleware.config -> app.agent",
"app.agent.middleware.config -> app.agent.middleware",
"app.agent.middleware.config -> app.agent.middleware.utils",
@@ -1479,10 +1467,17 @@
"app.agent.middleware.jobs -> app.runtime",
"app.agent.middleware.jobs -> app.runtime.log",
"app.agent.middleware.memory -> app.agent",
"app.agent.middleware.memory -> app.agent.llm",
"app.agent.middleware.memory -> app.agent.llm.helper",
"app.agent.middleware.memory -> app.agent.middleware",
"app.agent.middleware.memory -> app.agent.middleware.utils",
"app.agent.middleware.memory -> app.agent.policy",
"app.agent.middleware.memory -> app.agent.policy.sanitizer",
"app.agent.middleware.memory -> app.agent.tools",
"app.agent.middleware.memory -> app.agent.tools.tags",
"app.agent.middleware.memory -> app.runtime",
"app.agent.middleware.memory -> app.runtime.log",
"app.agent.middleware.memory -> app.runtime.tasks",
"app.agent.middleware.output -> app.agent",
"app.agent.middleware.output -> app.agent.policy",
"app.agent.middleware.output -> app.agent.policy.contracts",
@@ -1579,7 +1574,6 @@
"app.agent.orchestrator -> app.agent.mcp",
"app.agent.orchestrator -> app.agent.memory",
"app.agent.orchestrator -> app.agent.middleware",
"app.agent.orchestrator -> app.agent.middleware.activity",
"app.agent.orchestrator -> app.agent.middleware.config",
"app.agent.orchestrator -> app.agent.middleware.invocation",
"app.agent.orchestrator -> app.agent.middleware.jobs",
@@ -9908,7 +9902,7 @@
"app.workflow.actions.transfer_file -> app.workflow",
"app.workflow.actions.transfer_file -> app.workflow.actions"
],
"module_count": 1039,
"module_count": 1038,
"modules": [
"app",
"app.adapters",
@@ -9985,7 +9979,6 @@
"app.agent.mcp",
"app.agent.memory",
"app.agent.middleware",
"app.agent.middleware.activity",
"app.agent.middleware.config",
"app.agent.middleware.invocation",
"app.agent.middleware.jobs",