From ebbc0d45205efadeaccf59f856723e9a71562c92 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 14 Sep 2026 19:47:03 +0800 Subject: [PATCH] chore(architecture): refresh dependency baseline --- docs/architecture-overview.md | 2 +- docs/refactor/optimization-checklist.md | 2 +- tests/fixtures/architecture/dependency-baseline.json | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index 972c4da69..3552c27bb 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -757,7 +757,7 @@ flowchart LR | 指标 | 当前值 | |---|---:| | Python 模块 | 1020 | -| 内部导入边 | 8,675 | +| 内部导入边 | 8,678 | | 非平凡 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 fb25c50d9..2846679f9 100644 --- a/docs/refactor/optimization-checklist.md +++ b/docs/refactor/optimization-checklist.md @@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁 | 指标 | 当前值 | 解释 | |---|---:|---| -| 宿主 Python 模块 / 内部依赖边 | 1020 / 8,675 | `dependency-baseline.json` 当前快照;分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 | +| 宿主 Python 模块 / 内部依赖边 | 1020 / 8,678 | `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 087528dbe..952ab8710 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -1077,8 +1077,8 @@ "runtime_only": true } }, - "edge_count": 8675, - "edge_sha256": "3647a36d702bf615d83bcb6299ca2ea34dfcf6f91e9f2454574a6f1c18efec95", + "edge_count": 8678, + "edge_sha256": "9b87d035b9111bd3653439c36cbe2320e9847ca67eb550d7f7133626b9abc6aa", "edges": [ "app -> app.foundation", "app -> app.foundation.environment", @@ -3591,6 +3591,7 @@ "app.application.messaging.subscribe -> app.application.subscription.contract", "app.application.messaging.subscribe -> app.schemas", "app.application.messaging.subscribe -> app.schemas.message", + "app.application.messaging.subscribe -> app.schemas.subscribe", "app.application.messaging.subscribe -> app.schemas.types", "app.application.messaging.update -> app.application", "app.application.messaging.update -> app.application.messaging", @@ -3930,6 +3931,7 @@ "app.application.subscription.mutation -> app.schemas", "app.application.subscription.mutation -> app.schemas.common", "app.application.subscription.mutation -> app.schemas.event", + "app.application.subscription.mutation -> app.schemas.types", "app.application.subscription.observability -> app.application", "app.application.subscription.observability -> app.application.subscription", "app.application.subscription.observability -> app.application.subscription.execution", @@ -3955,6 +3957,7 @@ "app.application.subscription.query -> app.schemas", "app.application.subscription.query -> app.schemas.common", "app.application.subscription.query -> app.schemas.media", + "app.application.subscription.query -> app.schemas.subscribe", "app.application.subscription.query -> app.schemas.types", "app.application.subscription.query -> app.schemas.workflow", "app.application.subscription.search -> app.application",