beabigegg
69b81d9241
feat: implement kanban real-time sync and fix workload cache
## Kanban Real-time Sync (NEW-002)
- Backend:
- WebSocket endpoint: /ws/projects/{project_id}
- Project room management in ConnectionManager
- Redis Pub/Sub: project:{project_id}:tasks channel
- Task CRUD event publishing (5 event types)
- Redis connection retry with exponential backoff
- Race condition fix in broadcast_to_project
- Frontend:
- ProjectSyncContext for WebSocket management
- Reconnection with exponential backoff (max 5 attempts)
- Multi-tab event deduplication via event_id
- Live/Offline connection indicator
- Optimistic updates with rollback
- Spec:
- collaboration spec: +1 requirement (Project Real-time Sync)
- 7 new scenarios for real-time sync
## Workload Cache Fix (NEW-001)
- Added cache invalidation to all task endpoints:
- create_task, update_task, update_task_status
- delete_task, restore_task, assign_task
- Extended to clear heatmap cache as well
## OpenSpec Archive
- 2026-01-05-add-kanban-realtime-sync
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 20:28:42 +08:00
..
2025-12-29 01:13:21 +08:00
2025-12-29 00:31:34 +08:00
2025-12-28 23:41:37 +08:00
2025-12-29 21:21:18 +08:00
2025-12-29 22:59:00 +08:00
2025-12-29 20:45:07 +08:00
2025-12-29 22:03:05 +08:00
2025-12-30 06:58:30 +08:00
2025-12-30 20:52:08 +08:00
2025-12-30 20:52:08 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-04 21:49:52 +08:00
2026-01-05 20:28:42 +08:00