docs(architecture): refresh API dependency baseline

This commit is contained in:
jxxghp
2026-09-05 15:27:12 +08:00
parent 734605064a
commit c67622f1ad
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -755,7 +755,7 @@ flowchart LR
| 指标 | 当前值 |
|---|---:|
| Python 模块 | 968 |
| 内部导入边 | 8,156 |
| 内部导入边 | 8,161 |
| 非平凡 SCC | 1(精确 containment 的 TMDB 移植包环) |
| Application / Chain 具体 Adapter 直连 | 0 / 0 |
| Direct egress | 53(债务已清零,53 条精确 containment |
+1 -1
View File
@@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁
| 指标 | 当前值 | 解释 |
|---|---:|---|
| 宿主 Python 模块 / 内部依赖边 | 969 / 8,156 | `dependency-baseline.json` 当前快照 |
| 宿主 Python 模块 / 内部依赖边 | 969 / 8,161 | `dependency-baseline.json` 当前快照 |
| 非平凡 SCC | 1 | 仅保留精确 containment 的 29 模块 TMDB 移植包环 |
| 跨层 DB 边界债务 | 0 | Application、Chain、API、Agent、Runtime、Workflow 到 DB 的受控债务均为零 |
| Model/Oper 事务债务 | 0 | 自建 Session、自动事务装饰器、直接 commit/rollback 等基线均为零 |
+7 -2
View File
@@ -1089,8 +1089,8 @@
"runtime_only": true
}
},
"edge_count": 8156,
"edge_sha256": "9b9596b5e25de2e68a007dfb3934f027458a6741cfc2df1e92e936b7ffca0d1a",
"edge_count": 8161,
"edge_sha256": "25ffe69a9b335cc3eeb13ed5e6d4b55eda256eae747df6d0612c6ab5145786b3",
"edges": [
"app -> app.foundation",
"app -> app.foundation.environment",
@@ -2655,6 +2655,7 @@
"app.api.endpoints.storage -> app.application",
"app.api.endpoints.storage -> app.application.configuration",
"app.api.endpoints.storage -> app.application.directory",
"app.api.endpoints.storage -> app.application.storage",
"app.api.endpoints.storage -> app.chain",
"app.api.endpoints.storage -> app.chain.media",
"app.api.endpoints.storage -> app.chain.storage",
@@ -2667,6 +2668,7 @@
"app.api.endpoints.storage -> app.schemas",
"app.api.endpoints.storage -> app.schemas.common",
"app.api.endpoints.storage -> app.schemas.response",
"app.api.endpoints.storage -> app.schemas.storage",
"app.api.endpoints.storage -> app.schemas.system",
"app.api.endpoints.storage -> app.schemas.types",
"app.api.endpoints.storage -> app.schemas.workflow",
@@ -3339,6 +3341,9 @@
"app.application.plugin.catalog -> app.schemas.plugin",
"app.application.plugin.config -> app.schemas",
"app.application.plugin.config -> app.schemas.exception",
"app.application.plugin.data -> app.application",
"app.application.plugin.data -> app.application.security",
"app.application.plugin.data -> app.application.security.secrets",
"app.application.plugin.data -> app.schemas",
"app.application.plugin.data -> app.schemas.common",
"app.application.plugin.folders -> app.application",