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.
49 lines
1.5 KiB
Markdown
49 lines
1.5 KiB
Markdown
---
|
|
description: "Records a persistence type transition and its compatibility acknowledgement."
|
|
kind: persistence-change
|
|
---
|
|
|
|
# 2026-09-14-workspace-changes-event
|
|
|
|
English | [中文](2026-09-14-workspace-changes-event.zh.md)
|
|
|
|
## Summary
|
|
|
|
Adds the log-only workspace/changes event that records the files a top-level turn changed.
|
|
|
|
## Table of Contents
|
|
|
|
- [Declaration](#declaration)
|
|
- [Compatibility](#compatibility)
|
|
- [Verification](#verification)
|
|
- [Dev Note](#dev-note)
|
|
|
|
<a id="declaration"></a>
|
|
## Declaration
|
|
|
|
```yaml persistence-change
|
|
schemaVersion: 1
|
|
id: 2026-09-14-workspace-changes-event
|
|
baseline: false
|
|
changes:
|
|
- root: "event:workspace/changes"
|
|
previous: null
|
|
after: "e308ccf867a5398e316e0af8cb6ce238a8d33a63b9b384c8250a686786285f72"
|
|
decision: same-version
|
|
```
|
|
|
|
<a id="compatibility"></a>
|
|
## Compatibility
|
|
|
|
A new root in the same Session format version. Existing logs contain no such event and stay valid; readers that predate it refuse a log carrying it, as every required-on-read event does. The event is appended only by the Web bundle's workspace-changes plugin and is never model-visible; the Web changed-files card is its only consumer and reads the latest event per turn.
|
|
|
|
<a id="verification"></a>
|
|
## Verification
|
|
|
|
pnpm exec vitest run packages/deliverables/workspace-changes packages/client/ui-deliverables: 165 tests passed; snapshots/web/changed-files-turn replays the recorded event through the Web profile.
|
|
|
|
<a id="dev-note"></a>
|
|
## Dev Note
|
|
|
|
None.
|