Dashboardopencode-loreLive compaction SSE lifecycle

Live compaction SSE lifecycle

Category: architecture
Confidence: 1.00
ID: 01a095c5-7e62-7625-be27-9d2b4d34225c
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 12jkHalvlU1AgzD2H
Created: 2026-09-10 23:38:16
Updated: 2026-09-12 13:19:03

Content

Chose a complete Anthropic SSE lifecycle for successful or null live-compaction summaries, but an errored stream without message_stop when summary generation rejects, over converting failures into successful empty turns because clients could then accept an empty compaction and wipe context. While pending, emit protocol-safe ping events; success/null follows message_start → content_block_start → ping* → content_block_delta → content_block_stop → message_delta → message_stop.

Move to: