聊天区存在几类非正文 timeline divider:上下文压缩、session fork、模型切换、goal 校验目标。这些消息用于解释会话状态变化,不属于 assistant 正文。新的 turn 视图模型见 conversation-turn-view-model.md,持久化存储规范见 conversation-transcript-storage.md。
/compact 后本地立即插入 context_compaction started divider,用户应马上看到“上下文正在压缩”状态;完成后同一 divider 更新为 completed。inputId,此时用“最新的本地 running compact divider + 非本地 operationId”作为兜底匹配。context_compaction 与 goal_verification timeline 已经是专用进度反馈,对应 active work 期间底部 ChatLoading 必须隐藏。session_fork 与 model_change 只是说明性 divider,本身不续住主轮 running 状态。session_fork 与 model_change 不冻结 assistant 耗时。session_fork 和 goal_verification 来自 agent / snapshot 的 synthetic timeline,需要随 snapshot 恢复。model_change 是 renderer 本地 UI timeline,用来标记模型切换发生的位置;transcript v2 后,新发生的 model change 应写入 agent 侧 part.type="timeline"。它仍不注入 agent 上下文,也不作为 agent message 持久化。ZCodePersistedMessage.id 保存协议侧原始 messageId。snapshot 恢复时优先使用该 id,避免实时消息与恢复消息使用不同 id。id 时,UI 根据 timeline 语义生成 fallback id:
context_compaction: operationIdgoal_verification: targetId + goalIteration;verificationId 只表示 verifier attemptsession_fork: parentSessionId + targetMessageId + targetCheckpointId本规范只调整消息投影、恢复去重和 ChatView 渲染,不改变任务实时链路:
desktop-continuous direct realtime。web-remote-replayable snapshot / gap 恢复。同一 Host 的模型选择 View 因 selection 变化重新读取时,历史 model-change divider 使用现有 hook 保留的同 owner catalog 解析 Provider 名称。完整 View 的 effectiveSelection 和发送校验仍只消费 ready 状态;跨 Host/服务切换不沿用旧目录。真正缺失或已删除的 Provider 仍展示其 ID,不把暂时 loading 当作 Provider 消失。
已有会话配置尚未恢复时,工具栏不得借用新任务默认模型。模型菜单的展示与滚动动画按 workspace/session 隔离;配置首次恢复直接显示当前名称,不把恢复当作用户切换模型来播放旧、新名称并存的动画。已知草稿选择可继续展示,真实空选择和读取失败仍保留现有修复入口。