DOC-FULL-000 P0 | Document Runtime 完整架构文档 v2 【status:todo】 #49
Loading…
x
Reference in New Issue
Block a user
No description provided.
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?
目标
docs/document-runtime-architecture.md
关键设计决策
D1: Rust 只保存 materialId,不保存 readingTargetType
D2: V1 保留 deprecated,V2 新增独立模块
D3: clientSessionId 由 Rust 生成 UUID
D4: iOS 控制 tick 节奏,Rust 计算 delta
D5: Position JSON 使用 camelCase
D6: progress clamp 到 0~1
D7: ack 后立即从 buffer 删除事件
必须包含
DOC-FULL-000 P0 | Document Runtime 完整架构设计文档to DOC-FULL-000 P0 | Document Runtime 完整架构文档 v2DOC-FULL-000 P0 | Document Runtime 完整架构文档 v2to DOC-FULL-000 P0 | Document Runtime 完整架构文档 v2 【status:todo】审查结论:document runtime 当前有文件类型识别/MaterialType/PreviewMode/DocumentInfo(基本)/Markdown解析/Text解析/ImageMeta/Search(V1 Markdown+Text)/NoteAnchor(V1)/ReadingEvent(V1)/ReadingPosition(V1)/EventBuffer(V1基础)/iOS构建/UniFFI绑定/docs。但 V2 核心模型(ReadingSession/EventV2/ActiveTimeTracker)不存在,EventBuffer 缺 ack/failed,Position 缺 camelCase+clamp,PDF/EPUB/Office 为 stub,测试覆盖不足 V2。
本 Issue: docs/ 目录存在(7文件),但缺架构总文档 document-runtime-architecture.md。需冻结 V1→V2 迁移策略和设计决策 D1-D7。
状态: status:todo
工作类型: work:docs
完成
docs/document-runtime-architecture.md 已创建。包含:
完成情况 ✅
交付物
docs/document-runtime-architecture.md(265行)冻结的 7 个设计决策
文档包含
代码证据
后续依赖
本文档为 DOC-FULL-001~006 的实现依据。