IOS-INFO-000 P0 | iOS 学习信息采集总设计文档 【审查: 致命 F1-F4 需解决】 #66
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?
审查发现
F1: ReadingEventCollector.open/close 被注释 — 事件链路断裂
F2: 无上传队列
F3: 继续学习硬编码
F4: 位置恢复仅本地缓存
文档内容
职责边界、V1/V2迁移、ReadingMaterialContext、RuntimeAdapter、UploadItem、本地上传队列、export/ack时机、阅读页生命周期、App前后台、继续学习、进度恢复、分析页、错误处理、测试
IOS-INFO-000 P0 | iOS 学习信息采集总设计文档to IOS-INFO-000 P0 | iOS 学习信息采集总设计文档 【审查: 致命 F1-F4 需解决】完成报告
交付
docs/ios-learning-info-design.md— iOS 学习信息采集总设计,解决 F1-F4:F1 修复方案: V1 ReadingEventCollector → V2 ReadingRuntimeSessionManager
pushReadingEvent(ReadingEvent.materialOpened)→pushMaterialOpenedV2(sessionId, materialId, ts)exportPendingEvents()→exportPendingEventsV2(limit, ts)clearExportedEvents(count)→ackEventsV2(eventIds)+markEventsFailedV2(eventIds)activeSeconds(累计) →activeSecondsDelta(增量)F2 修复方案: ReadingEventUploadQueue
F3 修复方案: ContinueLearningService
F4 修复方案: ReadingPositionRestoreService
文档包含: 职责边界、V1→V2映射表、ReadingMaterialContext/RuntimeAdapter/UploadItem 协议定义、生命周期时机表、错误处理策略、离线策略