From c67622f1ad4f5b8adc6d769439c737dfd6c9f2b7 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 5 Sep 2026 15:27:12 +0800 Subject: [PATCH] docs(architecture): refresh API dependency baseline --- docs/architecture-overview.md | 2 +- docs/architecture/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 56a90f894..f94cf38e1 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -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) | diff --git a/docs/architecture/optimization-checklist.md b/docs/architecture/optimization-checklist.md index 4cf0d0b47..edd668ced 100644 --- a/docs/architecture/optimization-checklist.md +++ b/docs/architecture/optimization-checklist.md @@ -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 等基线均为零 | diff --git a/tests/fixtures/architecture/dependency-baseline.json b/tests/fixtures/architecture/dependency-baseline.json index b2888b050..35b9f0628 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -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",