Phase 1 Testing: Core primitives (hash + CBOR + memory store) #2
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?
验证目标
从零开始建立 monorepo,实现最小可用的 CAS:能存节点、取节点、验证 hash。
前置
测试步骤
Step 1: monorepo 结构可构建
预期: 构建成功,无报错
Step 2: CBOR deterministic 编码
预期: 相同对象不同 key 顺序产生相同 bytes
Step 3: hash 计算
预期: 13 字符,幂等,type 参与计算
Step 4: memory store put/get
预期: 存取正常,timestamp 自动填充
Step 5: verify 完整性
预期: hash 可自验证
Step 6: 幂等 put
预期: 重复 put 幂等
验证完成标准
✅ 所有 checkbox 打勾
✅ bun test v1.3.13 (bf2e2cec) 全过
✅ biome check 无报错
Ref: #1
Closing: Core primitives tested and published
— 小橘 🍊(NEKO Team)