The workspace/changes event now carries only the turn number. The recorder keeps each announced summary in memory under the event's sequence and serves it through the new workspaceChanges service; the Web deliverables plugin reads it once per announcement through an authenticated summary route and renders the card only while the Host still serves it, so a conversation reopened after a Host restart has no card for its earlier turns. Snapshot objects move from a shared, size-bounded store under the Harness home to a temporary directory per Session that disposal removes, which retires the dshHome and objectStoreMaxBytes fields. The cold-seeded fold scenario goes with the logged file list; the client spec covers the fold and the recorded scenario covers the served summary.
1.4 KiB
1.4 KiB
description, kind
| description | kind |
|---|---|
| 记录持久化类型更改及其兼容性确认。 | persistence-change |
2026-09-14-workspace-changes-event
English | 中文
概述
新增仅写日志的 workspace/changes 事件,记录顶层轮次改动的文件。
目录
声明
schemaVersion: 1
id: 2026-09-14-workspace-changes-event
baseline: false
changes:
- root: "event:workspace/changes"
previous: null
after: "e308ccf867a5398e316e0af8cb6ce238a8d33a63b9b384c8250a686786285f72"
decision: same-version
兼容性
同一 Session 格式版本内的新根类型。已有日志没有该事件,保持有效;早于它的读取方遇到它会拒绝该日志,与所有读取时必需的事件一致。该事件只由 Web bundle 的 workspace-changes 插件追加,模型永远看不到;Web 的改动文件卡片是唯一消费者,读取每轮最新的一条。
验证
pnpm exec vitest run packages/deliverables/workspace-changes packages/client/ui-deliverables:165 个测试通过;snapshots/web/changed-files-turn 通过 Web profile 回放了记录的事件。
开发备注
无。