decision_clear
Clear decision-journal entries from a task or project's note, preserving all other content and sibling blocks.
Instructions
Clear the decision-journal entry from a task or project's note. Strips only the decision-journal fenced block; any other user prose and sibling fences (e.g. waiting-on) are preserved. Idempotent: returns noChange:true when the target has no decision recorded. Do NOT use this to delete the target — prefer task_delete / project_delete. Returns { targetKind, targetId, cleared:true } or { targetKind, targetId, noChange:true }. Side effects: writes the target's note via task_update / project_update; sets meta.syncPending = true. Example: { "targetKind": "project", "targetId": "abc" }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | Yes | ID of the task or project. | |
| targetKind | Yes | Whether the target is a task or a project. |