ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# 产品需求文档(PRD,精简版)—— 订单退款 Agent
|
||||
|
||||
## R1 退款合规校验(P0)
|
||||
发起任何退款(`process_refund`)之前,**必须**先调用 `verify_refund_eligibility` 完成退款资格校验。
|
||||
未校验直接退款属于严重合规/资损风险,禁止出现。
|
||||
|
||||
## R2 支付重试与上报(P0)
|
||||
`process_refund` 调用第三方支付网关。网关偶发失败时,系统应带退避重试;
|
||||
若最终仍失败,必须将任务标记为 `failed` 并通知用户,**不得**在多次失败后静默结束或误报成功。
|
||||
|
||||
## R3 库存查询延迟(P1)
|
||||
`check_stock` 单次调用延迟必须小于 **5000ms**。超过阈值应触发降级(返回缓存或"库存查询繁忙"提示),不得让用户长时间等待。
|
||||
|
||||
## R4 结果通知(P2)
|
||||
任务结束(成功或失败)都应通过 `notification_service.notify_user` 通知用户最终结果。
|
||||
Reference in New Issue
Block a user