From c2d36977b9bde51b0c615d8f06a9f4d9f365d423 Mon Sep 17 00:00:00 2001 From: ggbdpq Date: Sat, 5 Sep 2026 00:19:03 +0800 Subject: [PATCH 1/2] docs(architecture): audit Tools and capabilities group against implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Audit the three Tools and capabilities documents from the #3522 documentation audit against the current implementation (22715e84f). mcp-runtime-architecture-draft.zh-CN.md: the load-bearing contracts resolve as written (tool naming mcp__{server}__{tool} with the 64-char hash suffix, categoryHint network_send default, the 30s/60s/15s/600s timeout matrix, the stdio env allowlist, the four package boundaries). The PermissionEngine mention is the one the tracking issue already verified as correct. No drift; added the standard frontmatter. skill-catalog-policy.md: every named symbol resolves, and the budget constants match the code exactly (MAX_SKILLS_PROMPT_CHARS 18000, MIN/MAX_SKILLS_PROMPT_TOKENS 4_000/8_000, SKILLS_PROMPT_CONTEXT_RATIO 0.02). No drift; added the standard frontmatter. web-search-provider-capability.md: one drift fixed — the execution surfaces table still listed the retired Headless Harbor surface and its MAKA_WEB_SEARCH_ENABLED opt-in, which #2605 removed on 2026-08-11 when Headless became the minimal Eval kernel; the row now records the retirement instead of presenting the surface as current. The rest verifies (routeWebSearchTools, model-web-search.ts, providerExecuted replay, the DeepSeek V4 Flash anthropic-compatible rule). Added the standard frontmatter. Refs #3522 Generated-by: GLM-5.3-Flash (ZCode) --- .../mcp-runtime-architecture-draft.zh-CN.md | 12 +++++++++++ docs/skill-catalog-policy.md | 12 +++++++++++ docs/web-search-provider-capability.md | 21 ++++++++++++++++--- 3 files changed, 42 insertions(+), 3 deletions(-) diff --git a/docs/architecture/mcp-runtime-architecture-draft.zh-CN.md b/docs/architecture/mcp-runtime-architecture-draft.zh-CN.md index 14532fc9e5..166fd0126b 100644 --- a/docs/architecture/mcp-runtime-architecture-draft.zh-CN.md +++ b/docs/architecture/mcp-runtime-architecture-draft.zh-CN.md @@ -1,3 +1,15 @@ +--- +doc_id: architecture.mcp-runtime-architecture-draft +title: "Maka MCP runtime architecture" +language: zh-CN +source_language: zh-CN +implementation_status: current +document_status: current +translation_status: source-only +last_verified: 2026-09-04 +owners: + - maka-backend +---