Files
life-echo/api/docs/traceable-memoir-lineage.md

21 lines
953 B
Markdown
Raw Normal View History

# 回忆录可追溯证据
Library artifact 评测只接受严格证据闭包。
## 严格闭包
- Chapter必须有 `chapters.current_evidence_snapshot_id` 指向的 `chapter_evidence_snapshots` 行,且同时包含可绑定 transcript 的 `segment_ids` 与至少一类 memory evidence id。
- Story必须有 `StoryEvidenceLink`,且能绑定到 transcript segments。
- 缺闭包时,`EvalTraceService``EvidenceClosureMissing`;不再拼接最近会话全文或从旧 JSON 镜像补齐。
## Phase C 表
- `chapter_evidence_snapshots`:一行对应一次物化闭包,`version_no` 递增。
- `chapter_evidence_links`:按当前快照整批替换章节侧结构化 evidence id。
- `chapters.current_evidence_snapshot_id` 是章节评测唯一入口。
## Synthetic vs Library
- Synthetic replay 只评估重放 transcript不绑定用户库 memory。
- Library chapter/story 使用严格闭包;缺闭包即不可评测。