From 895fda2a018517104b0ac6f817592aaf8fbed7df Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 11 Sep 2026 10:49:08 +0800 Subject: [PATCH] chore(architecture): refresh module dependency baseline --- docs/architecture-overview.md | 2 +- docs/refactor/optimization-checklist.md | 2 +- tests/fixtures/architecture/dependency-baseline.json | 9 +++++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index beeb0cd90..4dbf12e06 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -757,7 +757,7 @@ flowchart LR | 指标 | 当前值 | |---|---:| | Python 模块 | 1007 | -| 内部导入边 | 8,530 | +| 内部导入边 | 8,535 | | 非平凡 SCC | 1(精确 containment 的 TMDB 移植包环) | | Application / Chain 具体 Adapter 直连 | 0 / 0 | | Direct egress | 53(债务已清零,53 条精确 containment) | diff --git a/docs/refactor/optimization-checklist.md b/docs/refactor/optimization-checklist.md index 8a5957dff..4e4d30d30 100644 --- a/docs/refactor/optimization-checklist.md +++ b/docs/refactor/optimization-checklist.md @@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁 | 指标 | 当前值 | 解释 | |---|---:|---| -| 宿主 Python 模块 / 内部依赖边 | 1007 / 8,530 | `dependency-baseline.json` 当前快照;分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 | +| 宿主 Python 模块 / 内部依赖边 | 1007 / 8,535 | `dependency-baseline.json` 当前快照;分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 | | 非平凡 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 6f07b503d..5feee68c1 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -1077,8 +1077,8 @@ "runtime_only": true } }, - "edge_count": 8530, - "edge_sha256": "d79e9219f7e6ce33d74cd5aab00a917988ed0273ad6e1d0e2e8e8bb46309b8b3", + "edge_count": 8535, + "edge_sha256": "001d6178d5320f297ec9595a9af7eebfa3168ae8ac4ad68f27ffe930788ded51", "edges": [ "app -> app.foundation", "app -> app.foundation.environment", @@ -2457,6 +2457,7 @@ "app.api.endpoints.media -> app.application.classification", "app.api.endpoints.media -> app.application.classification.runtime", "app.api.endpoints.media -> app.application.configuration", + "app.api.endpoints.media -> app.application.module", "app.api.endpoints.media -> app.application.plugin", "app.api.endpoints.media -> app.application.plugin.runtime", "app.api.endpoints.media -> app.chain", @@ -2787,6 +2788,7 @@ "app.api.endpoints.storage -> app.foundation", "app.api.endpoints.storage -> app.foundation.text", "app.api.endpoints.storage -> app.runtime", + "app.api.endpoints.storage -> app.runtime.localization", "app.api.endpoints.storage -> app.runtime.progress", "app.api.endpoints.storage -> app.schemas", "app.api.endpoints.storage -> app.schemas.common", @@ -2906,6 +2908,9 @@ "app.api.endpoints.system -> app.foundation.environment", "app.api.endpoints.system -> app.runtime", "app.api.endpoints.system -> app.runtime.execution", + "app.api.endpoints.system -> app.runtime.extensions", + "app.api.endpoints.system -> app.runtime.extensions.module", + "app.api.endpoints.system -> app.runtime.extensions.module.adapter", "app.api.endpoints.system -> app.runtime.localization", "app.api.endpoints.system -> app.runtime.log", "app.api.endpoints.system -> app.runtime.progress",