feat(library): 整库发布身份、写集合与收尾边界
build / build (push) Successful in 1m45s

执行时真实时钟与持久授权回读(撤销/过期即停并保留预备份)、写集合写前落盘、
租约与 attempt 身份、恢复队列与原发送身份分离、成功收尾必须释放维护后再登记终态。
This commit is contained in:
姚章浩
2026-11-01 11:35:10 +08:00
parent 5afd8c0140
commit 8d838d9cb4
82 changed files with 4809 additions and 551 deletions
+18
View File
@@ -0,0 +1,18 @@
package libraryrelease
// ObjectWrite identifies a physical object, not a row ID or a guessed orphan.
// Existing objects are read-only. This protocol refuses differing overwrites.
type ObjectWrite struct {
BeforeVersionID string `json:"before_version_id,omitempty"`
ResourceID string `json:"resource_id"`
Provider string `json:"provider"`
BackendID string `json:"backend_id"`
Bucket string `json:"bucket"`
Key string `json:"key"`
Locator string `json:"locator"`
SHA256 string `json:"sha256"`
Bytes int64 `json:"bytes"`
Existing bool `json:"existing"`
BeforeETag string `json:"before_etag,omitempty"`
OwnerToken string `json:"owner_token"`
}