Complete the selective V2 checkpoint with its minimal AgentBus, object-storage, replay persistence, and validated-workbench shared dependency closure.
3.9 KiB
Booking Business Agent Profile v2
| 项目 | 内容 |
|---|---|
| 状态 | 测试Profile历史发布/真实合成验收完成;durable runtime本地实现;当前部署复核与production HOLD |
| 业务版本 | booking-business-agent-v1.0 |
| 输入 | booking-business-agent-compact-input-v1 |
| 输出 | booking-business-agent-compact-decision-v1;信息系统在 Layer 5B 组装 CandidateDecisionV2 |
| 业务权威 | booking-desk-event Skill + booking-business-agent-rules-v1.md |
调用原则
每封已经进入预订流程的白名单入站邮件只建立一个业务execution并只接受一份有效Candidate;临时故障可在该
execution内有限重试Provider。不能因New、Update、Cancel或General看起来明确而由本地分类器绕过。仅有受控
OUTBOUND/INTERNAL错误方向可在调用前安全忽略。
输入
只接收通过
booking-business-agent-compact-input-v1.schema.json 的精简 JSON:
- 当前 subject/body 与按 sequence 有序的邮件线程 History 正文;
- 当前附件说明、逐物理来源单元、来源动作、语义材料、目标关系与 Rooming List 选项;
- Layer 4 canonical Room Type 与 Rate 方案的解析状态,但不把完整 Rate 套餐交给 Agent选择;
- 单次调用内有效的短引用与原始 canonical input hash。
禁止读取或请求 History 附件、数据库当前订单/任务历史/生命周期结论、附件 bytes、下载 URL、Secret、数据库或 PMS。Agent 不打开 Excel,不执行 Room/Rate/GRPA1 映射,不调用工具。
输出
只返回一段通过
booking-business-agent-compact-decision-v1.schema.json 的 JSON object:
- 不返回
source_input_hash;本次任务关联由信息系统使用内部保存值完成; - 只选择输入中的短引用,判断 New、Update、Cancel、Trace、Rooming List 和两种 Allotment action;
- Payment 只作为未归类原文,绝不生成 Payment/Trace/Risk 任务;
- 第一门槛失败输出局部
risk_items[];第二门槛缺字段不改变业务类型; - 未被任何任务承接的当前原文按来源顺序进入
unclassified_source_texts[]; - 不复制日期、房型、房量、价格、Rate、早餐、证据ID、payload、稳定ID或根级 disposition;
- 不输出 Markdown、解释、隐藏推理、工具调用或副作用指令。
完整业务识别、目标拆分和 typed payload 规则只从 booking-desk-event Skill 读取。Main Prompt 不重复专项业务规则,
也不被打进 Skill archive。
本地防线
Adapter只发送受控精简投影与JSON-only请求。Layer3/4/input先持久化并提交,durable worker才在事务外调用;响应先经过
精简输出的未知字段、枚举和短引用校验,再由Layer 5B使用内部保存的input hash,从canonical Layer3/4复制固定字段并组装完整Candidate。
现有Candidate身份、linked/derived引用、evidence closure、根disposition和typed shape校验继续执行。临时失败有限重试;耗尽或不可重试错误生成
FAIL_CLOSED + RISK_NOTIFICATION并仍经过Layer6,不回退旧本地业务候选。
Layer 6 在 Agent 之后检查第二门槛与 Layer 4 等值;不得查询生命周期或修改 Candidate 类型/字段。用户确认属于 Layer 7。
离线/发布边界
历史CP5已在测试平台发布正式Prompt/Skill并完成一次合成Candidate真实调用;仓库Prompt、Skill、fixtures、Schema 和本地runtime测试不自动证明当前平台或部署环境仍一致。本文件不授权创建/修改SuperAgent Profile、写Secret、 连接真实数据库、调用Provider、安装Skill、上传archive、切换AUTHORITATIVE、启用production或执行PMS/Opera。 任何非生产运行前仍须复核当前resolved Profile/version并通过PostgreSQL V1–V11及QBD/LianTai核心live gate。