THE PROBLEM
Long-running agents silently corrupted shared workspaces
When users edited documents while an agent executed multi-step tool calls, race conditions caused lost updates and broken references.
- Introduced scoped execution locks with automatic lease expiry and clean rollback.
- Streamed every tool input, output, and latency span to the UI via Redis Streams + SSE.