release: sync test ā main
Merged
SW
6mo ago+207+207+012345678901234567890123456789-23-23-01234567890123456789
Promotes test to main.
Included
- feat(tasks): enhance delete task functionality with account resolution and access control (#487)
š¤ Generated with Claude Code
Summary by cubic
Add account resolution and access control to task deletion in both the API and the MCP tool. This secures deletes by enforcing ownership and improves error clarity (403/404) with UUID validation.
- New Features
- Enforce ownership in
deleteTaskby requiringresolvedAccountId; throw 403 on mismatchedaccount_id. - Resolve account via
resolveAccountIdin the MCPdelete_tasktool; return specific errors for "Task not found" and "Access denied". - Add
validateDeleteTaskRequestto parse JSON, require UUIDid, and validate auth; handler now returns 403 for access denied and 404 for missing tasks. - Tighten
deleteTaskBodySchematouuid(); update tests and add coverage for request validation and auth paths.
- Enforce ownership in