Files
cms-website/docs/adr/ADR-011-冻结RenderSnapshot.md
T
浅念 07483b5ae2 docs: ADR 001–015 落档 + README
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-20 20:56:26 +08:00

7 lines
555 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ADR-011:构建 = 冻结 Render Snapshot
- **状态**:已采纳(spec §3,阶段 0)
- **决策**:Astro 构建输入是冻结的 Render Snapshot(build_input_snapshots),禁止查询数据库、禁止在线拉内容、禁止 Seed fallback。
- **理由**:构建可复现是静态站点的核心承诺——同一次 Build 产物必须确定性一致;禁止运行时数据访问从机制上杜绝"构建结果依赖当时的库状态"。
- **权衡**:构建前多一步快照物化;换来 Build 可重放、可缓存、可审计。