ai-robot-core/spec/mid-agent-runtime-hardening/scope.md

39 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 中台智能体运行时加固 - 功能定界MARH
## 1. 功能边界Scope
### 1.1 覆盖范围In Scope
- 中台 `respond` 链路输出前护栏强制执行
- 打断信息(`interrupted_segments`)语义化处理与重规划
- Agent 模式下 KB 默认工具调用链路
- ReAct/工具/全链路超时口径统一3~5次、2s、8s
- 分段与 delay 的拟人策略增强(可配置)
- 运行时观测字段补齐guardrail/interrupt/kb_hit/timeout/segment_stats
### 1.2 不覆盖范围Out of Scope
- Java 渠道发送队列与取消令牌实现
- 前端终端 UI 深度改造
- 模型供应商替换或底层推理框架重构
---
## 2. 依赖接口清单Dependency Contracts
### 2.1 对外提供Provider
- `POST /mid/dialogue/respond`
### 2.2 对外依赖Deps
- `POST /deps/metadata/query`KB 元数据检索)
- `POST /deps/guardrail/output-filter`(输出护栏过滤)
---
## 3. 核心验收目标
- 输出护栏不可绕过AC-MARH-01/02
- 打断语义可消费、可兜底AC-MARH-03/04
- KB 默认工具链可降级AC-MARH-05/06
- 超时口径统一AC-MARH-07/08/09
- 分段拟人可配置AC-MARH-10/11
- 观测闭环完整AC-MARH-12