Files
PROJECT-CONTORL/openspec/changes/archive/2026-01-11-update-api-consistency/proposal.md
beabigegg df50d5e7f8 chore: archive remaining OpenSpec proposals
Archived proposals:
- add-trigger-conditions-weekly-subscription: Trigger conditions and weekly subscription
- update-api-consistency: WebSocket auth, optimistic locking, workload defaults

All implementations were already complete in previous commits (f5f870d).
Updated tasks.md with implementation summary.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 18:47:14 +08:00

906 B

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.