diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index 71a3911df..9d75602ef 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -756,8 +756,8 @@ flowchart LR | 指标 | 当前值 | |---|---:| -| Python 模块 | 1008 | -| 内部导入边 | 8,552 | +| Python 模块 | 1009 | +| 内部导入边 | 8,569 | | 非平凡 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 22e4ced35..6ef149023 100644 --- a/docs/refactor/optimization-checklist.md +++ b/docs/refactor/optimization-checklist.md @@ -94,7 +94,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁 | 指标 | 当前值 | 解释 | |---|---:|---| -| 宿主 Python 模块 / 内部依赖边 | 1008 / 8,552 | `dependency-baseline.json` 当前快照;分类、下载资源归类、订阅搜索、整理恢复、Agent 计划、工具视觉、终端生命周期与终端作用域模块的受控依赖 | +| 宿主 Python 模块 / 内部依赖边 | 1009 / 8,569 | `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 57d47724c..d364ef0d9 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -1077,8 +1077,8 @@ "runtime_only": true } }, - "edge_count": 8552, - "edge_sha256": "750c2b2d5ff50ba8c004011261f52e79bf1978cbaeac7019522cea67e073ca98", + "edge_count": 8569, + "edge_sha256": "faed873330ae1481f98f39225c8e65e68d06925a035ef480f6bb022f6d8eab13", "edges": [ "app -> app.foundation", "app -> app.foundation.environment", @@ -1785,6 +1785,7 @@ "app.agent.tools.factory -> app.agent.tools.impl.send_message", "app.agent.tools.factory -> app.agent.tools.impl.send_voice_message", "app.agent.tools.factory -> app.agent.tools.impl.service", + "app.agent.tools.factory -> app.agent.tools.impl.view_image", "app.agent.tools.factory -> app.agent.tools.impl.write_file", "app.agent.tools.factory -> app.application", "app.agent.tools.factory -> app.application.agent", @@ -1960,6 +1961,22 @@ "app.agent.tools.impl.service -> app.agent.tools.tags", "app.agent.tools.impl.service -> app.runtime", "app.agent.tools.impl.service -> app.runtime.settings", + "app.agent.tools.impl.view_image -> app.adapters", + "app.agent.tools.impl.view_image -> app.adapters.network", + "app.agent.tools.impl.view_image -> app.adapters.network.browser", + "app.agent.tools.impl.view_image -> app.adapters.network.http", + "app.agent.tools.impl.view_image -> app.agent", + "app.agent.tools.impl.view_image -> app.agent.policy", + "app.agent.tools.impl.view_image -> app.agent.policy.contracts", + "app.agent.tools.impl.view_image -> app.agent.tools", + "app.agent.tools.impl.view_image -> app.agent.tools.base", + "app.agent.tools.impl.view_image -> app.agent.tools.result", + "app.agent.tools.impl.view_image -> app.agent.tools.tags", + "app.agent.tools.impl.view_image -> app.application", + "app.agent.tools.impl.view_image -> app.application.security", + "app.agent.tools.impl.view_image -> app.application.security.url", + "app.agent.tools.impl.view_image -> app.runtime", + "app.agent.tools.impl.view_image -> app.runtime.log", "app.agent.tools.impl.write_file -> app.agent", "app.agent.tools.impl.write_file -> app.agent.tools", "app.agent.tools.impl.write_file -> app.agent.tools.base", @@ -9633,7 +9650,7 @@ "app.workflow.actions.transfer_file -> app.workflow", "app.workflow.actions.transfer_file -> app.workflow.actions" ], - "module_count": 1008, + "module_count": 1009, "modules": [ "app", "app.adapters", @@ -9775,6 +9792,7 @@ "app.agent.tools.impl.send_message", "app.agent.tools.impl.send_voice_message", "app.agent.tools.impl.service", + "app.agent.tools.impl.view_image", "app.agent.tools.impl.write_file", "app.agent.tools.manager", "app.agent.tools.result",