feat: add durable safe retries with uncertainty tracking and SDK examples
This commit is contained in:
@@ -14,6 +14,8 @@ type AttemptEvidence struct {
|
||||
Outcome string `db:"outcome"`
|
||||
// ErrorCode 可选稳定错误分类;无错误分类时为空。
|
||||
ErrorCode *string `db:"error_code"`
|
||||
// Retryable 原失败报告的安全重试声明;证据本身不触发重试。
|
||||
Retryable bool `db:"retryable"`
|
||||
// Payload 结果或证据引用 JSON 文本,保留数字精度。
|
||||
Payload core.JSON `db:"payload"`
|
||||
// RequestDigest 结果语义摘要,排除会话身份与原始秘密。
|
||||
|
||||
Reference in New Issue
Block a user