Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(projection): attach mid-turn error items to their turn

2 months ago

a00704b
Authored
mweinbach7/6/2026, 4:53:49 PM
Error items were always projected with turnId null, so a failed
turn/completed could not be linked to its cause, and thread/read
journal reconstruction (which drops items without a turnId) silently
lost the error bubble when a failed chat was reopened.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parent257bb2d

3 files changed
  • docs/websocket-protocol.md+5−1
  • src/server/projection/conversationProjectionFeedItems.ts+6−2
  • test/jsonrpc/projectors/error-items.test.ts+108−0