task_delete
Soft-delete a todo task to hide it from listings while keeping the record for audit and restore. Only tasks in 'todo' status qualify; advanced tasks preserve their history.
Instructions
Remove a task (soft delete). Only 'todo' tasks — anything further along has history worth keeping. The row is kept and hidden from listings; task_restore brings it back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| reason | No | Why it is being removed (kept in the audit trail) | |
| deleted_by | No |