diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index 6b9a48308..0297ea902 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -754,8 +754,8 @@ flowchart LR | 指标 | 当前值 | |---|---:| -| Python 模块 | 973 | -| 内部导入边 | 8,263 | +| Python 模块 | 976 | +| 内部导入边 | 8,270 | | 非平凡 SCC | 1(精确 containment 的 TMDB 移植包环) | | Application / Chain 具体 Adapter 直连 | 0 / 0 | | Direct egress | 53(债务已清零,53 条精确 containment) | diff --git a/docs/architecture/optimization-checklist.md b/docs/architecture/optimization-checklist.md index f8ae122e1..49efb40b0 100644 --- a/docs/architecture/optimization-checklist.md +++ b/docs/architecture/optimization-checklist.md @@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁 | 指标 | 当前值 | 解释 | |---|---:|---| -| 宿主 Python 模块 / 内部依赖边 | 976 / 8,263 | `dependency-baseline.json` 当前快照 | +| 宿主 Python 模块 / 内部依赖边 | 976 / 8,270 | `dependency-baseline.json` 当前快照 | | 非平凡 SCC | 1 | 仅保留精确 containment 的 29 模块 TMDB 移植包环 | | 跨层 DB 边界债务 | 0 | Application、Chain、API、Agent、Runtime、Workflow 到 DB 的受控债务均为零 | | Model/Oper 事务债务 | 0 | 自建 Session、自动事务装饰器、直接 commit/rollback 等基线均为零 | diff --git a/tests/fixtures/architecture/dependency-baseline.json b/tests/fixtures/architecture/dependency-baseline.json index 47e1c1c50..866704f08 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -1074,8 +1074,8 @@ "runtime_only": true } }, - "edge_count": 8263, - "edge_sha256": "461585d4f5b0334163e10192294a20261e68f47f39094326f7c4590c4f1451cc", + "edge_count": 8270, + "edge_sha256": "8f25287ff625b0327fa3ee567ff99ac90818376d0fdc34e91834eba90e133d7c", "edges": [ "app -> app.foundation", "app -> app.foundation.environment", @@ -1270,6 +1270,8 @@ "app.adapters.system.update -> app.foundation.singleton", "app.adapters.system.update -> app.foundation.version", "app.adapters.system.update -> app.runtime", + "app.adapters.system.update -> app.runtime.dependencies", + "app.adapters.system.update -> app.runtime.dependencies.profile", "app.adapters.system.update -> app.runtime.log", "app.adapters.system.update -> app.runtime.settings", "app.adapters.system.update -> app.runtime.thread", @@ -5289,10 +5291,15 @@ "app.chain.workflow -> app.schemas", "app.chain.workflow -> app.schemas.types", "app.chain.workflow -> app.schemas.workflow", + "app.cli -> app.adapters", + "app.cli -> app.adapters.system", + "app.cli -> app.adapters.system.update", "app.cli -> app.application", "app.cli -> app.application.backup", "app.cli -> app.doctor", "app.cli -> app.doctor.formatters", + "app.cli -> app.foundation", + "app.cli -> app.foundation.environment", "app.cli -> app.runtime", "app.cli -> app.runtime.config", "app.cli -> app.runtime.settings",