收口MCP提交为V4契约
This commit is contained in:
@@ -56,13 +56,14 @@ MCP endpoint 与后端业务 Service 同进程,不再通过 HMAC REST 调用
|
||||
| `th_hotel_query_object_detail` | 只读 | 不写订单、不写任务、不写 OPERA |
|
||||
| `th_hotel_list_message_conversation_tasks` | 只读 | 不创建任务、不修改任务 |
|
||||
| `th_hotel_list_message_conversation_messages` | 受控读取 | 读取正文会写后端访问审计 |
|
||||
| `th_hotel_submit_task_results` | 写入 | 写 AI 过渡层、订单、任务和任务卡 |
|
||||
| `th_hotel_submit_task_results` | 写入 | 只接受 M002 V4 payload;写 AI 过渡层、V4 订单任务、V4 任务卡或 V4 来源通知,不写旧 V2/V3 任务 |
|
||||
|
||||
写入工具要求:
|
||||
|
||||
- dev/test 可以用于联调。
|
||||
- prod 必须经过上线审批后启用。
|
||||
- 生产建议保留独立开关,例如 `MCP_ENABLE_SUBMIT_TASK_RESULTS=true`。
|
||||
- 旧 V2/V3 submit payload 必须返回 `MCP_SUBMIT_V4_REQUIRED`,不能进入业务写入 Service。
|
||||
- 日志必须能定位调用方、request id、trace id 和 source message,但不能输出正文和 Secret。
|
||||
|
||||
## 5. 邮件正文和附件边界
|
||||
|
||||
Reference in New Issue
Block a user