Files
LWLT-AI/agent设计规范/README.md
2026-07-13 19:57:46 +08:00

20 lines
1.4 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.

# Agent 设计规范
本目录集中管理云端 Agent 数字员工的路由提示词、统一业务 Skill 和业务契约参考。
## 目录
- `agent-prompt.md`:外部 Agent Profile 的路由提示词。只判断范围;范围内必须调用统一 Skill范围外直接返回无效。
- `skills/ltjt-business-operation/SKILL.md`:唯一 Skill 入口,负责业务类型识别、业务事实拆解、标准 operation 生成和阻断。
- `skills/ltjt-business-operation/references/`:按业务类型拆分的字段、路由、安全和示例规则。
## 边界
云端 Agent Prompt 只负责范围路由Skill 负责范围内的业务拆解和结构化输出本地业务系统负责解析结果并创建任务ERP 浏览器/工具层负责产品模板派生、精确 lookup 和后续确定性操作。本目录不负责调用或操作 ERP。
## 输出事实标准
范围内请求必须由 `ltjt-business-operation` Skill 生成最终的 `agent_parse_passed/agent_parse_blocked` 包装和 `operation` 结构;`agent_parse_passed` 只表示本地业务系统可以创建任务ERP 派生字段和精确 lookup 仍由后续预检完成。范围外请求直接返回 `agent_parse_blocked`。归档交接包中的 `erp-task-v1` 只作为 Skill 内部兼容输入,不作为 Agent 输出格式。
发布云端 Profile 前必须处理 `skills/ltjt-business-operation/references/contract-alignment.md` 中记录的 Schema 与当前运行时字段差异。