From 0638daf33a84f9eac090373d90016c40029bf697 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 31 Aug 2026 09:30:10 +0800 Subject: [PATCH] chore: refresh architecture manifests --- app/schemas/exports.py | 1 + docs/architecture-overview.md | 2 +- docs/architecture/optimization-checklist.md | 2 +- tests/fixtures/architecture/dependency-baseline.json | 8 ++++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/schemas/exports.py b/app/schemas/exports.py index 2110a2a05..347f517c8 100644 --- a/app/schemas/exports.py +++ b/app/schemas/exports.py @@ -470,6 +470,7 @@ SCHEMA_EXPORTS = { 'json': ('app.schemas.subscribe', 'json'), 'model_validator': ('app.schemas.transfer', 'model_validator'), 're': ('app.schemas.file', 're'), + 'uuid4': ('app.schemas.system', 'uuid4'), } SCHEMA_CONFLICTS = { diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md index c620e70cf..2f85055b8 100644 --- a/docs/architecture-overview.md +++ b/docs/architecture-overview.md @@ -755,7 +755,7 @@ flowchart LR | 指标 | 当前值 | |---|---:| | Python 模块 | 973 | -| 内部导入边 | 8,426 | +| 内部导入边 | 8,430 | | 非平凡 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 26f357bc5..ef437c705 100644 --- a/docs/architecture/optimization-checklist.md +++ b/docs/architecture/optimization-checklist.md @@ -93,7 +93,7 @@ ARCH-201 至 ARCH-204 均达到实现、验证、提交、推送和远端门禁 | 指标 | 当前值 | 解释 | |---|---:|---| -| 宿主 Python 模块 / 内部依赖边 | 982 / 8,426 | `dependency-baseline.json` 当前快照 | +| 宿主 Python 模块 / 内部依赖边 | 982 / 8,430 | `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 6c8a62881..89bb6db5d 100644 --- a/tests/fixtures/architecture/dependency-baseline.json +++ b/tests/fixtures/architecture/dependency-baseline.json @@ -1089,8 +1089,8 @@ "runtime_only": true } }, - "edge_count": 8426, - "edge_sha256": "b100c70544e268aba59153e0725133903487e4dcd2c6b28ca9130ea8ef6a982c", + "edge_count": 8430, + "edge_sha256": "332eab3a2da5902ea4da69255cbc5e676b8300d0ec8e553ff3185ba515ecfb41", "edges": [ "app -> app.foundation", "app -> app.foundation.environment", @@ -3252,11 +3252,15 @@ "app.api.endpoints.notification -> app.api.dependencies", "app.api.endpoints.notification -> app.api.dependencies.auth", "app.api.endpoints.notification -> app.api.response", + "app.api.endpoints.notification -> app.application", + "app.api.endpoints.notification -> app.application.configuration", "app.api.endpoints.notification -> app.chain", "app.api.endpoints.notification -> app.chain.notification", "app.api.endpoints.notification -> app.schemas", "app.api.endpoints.notification -> app.schemas.common", "app.api.endpoints.notification -> app.schemas.response", + "app.api.endpoints.notification -> app.schemas.system", + "app.api.endpoints.notification -> app.schemas.types", "app.api.endpoints.openai -> app.adapters", "app.api.endpoints.openai -> app.adapters.web", "app.api.endpoints.openai -> app.adapters.web.security",