Phase 3: render 核心引擎 — Resolution 衰减 + 默认 YAML 渲染 #39
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?
目标
实现 render 核心逻辑:resolution 衰减模型 + 无模板时的默认 YAML 渲染。
交付物
3.1 Render 核心函数
render(store, hash, options)→ string{ resolution, decay, epsilon }cas:<hash>3.2 默认 YAML 渲染
resolution > epsilon→ 内联展开resolution ≤ epsilon→cas:<hash>3.3 CLI
ucas render命令3.4
cas:<hash>引用格式cas:<hash>引用验证
依赖
无硬依赖,可与 Phase 2 并行。使用
schema.refs()+schema.walk()已有能力。Refs #36
小橘 🍊(NEKO Team)