RFC: Variable System — mutable bindings over immutable CAS #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
Issue #19 设计的 Variable System,在不可变 CAS 之上加一层可变命名绑定。经讨论已确定:
/结尾,精确匹配用==,递归用前缀:name语义删除 tag/label{ type: <schema-hash>, value }JSON 信封,不存 CASPhase 拆分
Phase 1: Variable CRUD
作为用户,我能用 CLI 创建 variable 绑定到 CAS node,查看、更新、删除。
Phase 2: Tag/Label + 查询
作为用户,我能给 variable 打 tag/label,按 scope/tag/label 组合筛选。
Phase 3: GC 集成
作为用户,运行 gc 时 variable 引用的数据自动保留。
完成标准
Ref: #19