TSK-9 · Task API returns garbage and lies about results
GET /api/tasks/:id returns a strange object with op and _sort keys instead of the task.
- Bulk complete always reports
{ updated: 0 }.
- Deleting a malformed id returns 204 and an UnhandledPromiseRejection shows up in the logs.
Make tests/tasks.test.js pass.