15 lines
906 B
Markdown
15 lines
906 B
Markdown
# Change: Update API Consistency for WebSocket Auth, Workload Defaults, and Task Locking
|
|
|
|
## Why
|
|
Several API behaviors are currently ambiguous or inconsistent (WebSocket auth handshake messaging, optimistic locking conflict payloads, and workload heatmap defaults). These gaps can confuse clients and reduce product completeness.
|
|
|
|
## What Changes
|
|
- Clarify WebSocket authentication error handling and client expectations.
|
|
- Standardize optimistic locking conflict responses for task updates.
|
|
- Define workload heatmap default inclusion rules and Sunday week-window behavior.
|
|
- Align workload heatmap `hide_empty` defaults and caching behavior.
|
|
|
|
## Impact
|
|
- Affected specs: user-auth, task-management, resource-management
|
|
- Affected code: backend WebSocket router, task update endpoint, workload service/router, workload cache; frontend workload views may require adjustments depending on default behavior.
|