对齐Debug EML V4入站模型

This commit is contained in:
andy
2026-07-20 19:53:44 +07:00
parent 626e87abdb
commit 038fdc3c8d
17 changed files with 175 additions and 37 deletions

View File

@@ -476,6 +476,7 @@ AgentBus 新业务 frame
- `FAILED` SourceMessage 不进入 dispatch。
- dispatch 成功不代表已经创建订单或任务。
- 任务创建仍由 SuperAgent 后续调用本系统任务结果通知接口或 MCP 写入工具触发。
- Debug EML 虽然不进入生产 dispatch但 V4 smoke 默认复用实时 AgentBus V4 Open API subject`th-hotel-agentbus-source-message`。历史 `th-hotel-debug-eml-upload` profile 如仍需排查旧 V2/V3 页面问题,必须通过环境变量显式指定,不能作为 M002 V4 smoke 默认 profile。
M011 CP3 已在 worker 调用 SuperAgent Open API 前增加可配置的 Booking Excel 附件预处理:

View File

@@ -142,6 +142,8 @@ SuperAgent 不应知道或依赖内部 SourceMessage Inbox ID也不需要为
M011 已在 Debug EML 和 AgentBus 自动分发链路中接入 Booking Excel 附件预处理。该能力发生在 TH Hotel 后端调用 SuperAgent Open API 前,不属于 SuperAgent 调本系统的 `task-results` 请求体字段,但会影响 SuperAgent 实际看到的邮件 payload。
Debug EML 是人工调试入口,不进入 AgentBus 生产 dispatch。M002 V4 smoke 下Debug EML 默认使用实时 AgentBus V4 Open API subject期望 SuperAgent 后续按本契约调用 `task-results` 或 MCP 写入 V4 业务结果;历史 Debug V2/V3 profile 只能显式配置用于旧链路排查,不得作为 V4 smoke 默认入口。
处理边界:
- 后端只处理邮件附件中的 `.xls` / `.xlsx`,识别并排除 `PASSENGER_ROSTER` 人员名单类 Excel。