Files
Cursor Agent fac4623d46 fix: allow 'error' tone for task.completed activity in schema
The OrchestrationThreadActivity union only accepted tone 'info' for
task.completed, but ProviderRuntimeIngestion produces tone 'error' when
a task fails. This caused Schema.decodeUnknownSync to throw when reading
back failed task activities, crashing the snapshot query for that thread.

Add a second union member for task.completed with tone 'error' so both
successful and failed task completions validate correctly.
2026-03-24 20:44:51 +00:00
..