comment_delete
Remove a comment while preserving an audit trail. Hides it from lists and task views to retract incorrect or stale feedback. Restorable if needed.
Instructions
Remove a comment (soft delete). The row is kept for the audit trail but hidden from comment_list and task_get. Use this to retract a comment that turned out to be wrong or stale. Reversible with comment_restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Comment ID to remove | |
| reason | No | Why the comment is being removed (recommended — it stays in the audit trail) | |
| deleted_by | No | Who removed it (optional) |