goal-update
Partial update of a goal — only the fields you pass are changed; omitted fields are untouched. Updatable: title, status, priority (1-5), description, type, tags, deadline, estimate, mode, attemptCommit (git SHA of the attempt commit; once a deployed revision contains it, post-deploy probes of this goal run automatically and record machine verdicts — pass "" to clear). Status transitions are validated (backlog→in_progress→done|cancelled; blocked→in_progress). Grove mode enforces gates: in_progress requires ≥1 AC, done requires file-evidence on every AC + session_history. Returns the updated goal with all fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Режим цели: standard или grove. Иммутабелен после mode_locked_at | |
| tags | No | Новые теги | |
| type | No | Новый тип: goal, milestone, task, habit | |
| title | No | Новое название (макс. 500) | |
| goalId | Yes | UUID цели | |
| status | No | Новый статус: backlog, in_progress, blocked, done, cancelled | |
| deadline | No | Новый дедлайн (ISO 8601) | |
| estimate | No | Новая оценка | |
| priority | No | Новый приоритет (1–5) | |
| description | No | Новое описание | |
| attemptCommit | No | git SHA коммита попытки (7–64 hex). Когда развёрнутая ревизия содержит его (предок, не равенство), post-deploy пробы цели стартуют сами по событию деплоя; повторная установка = новая попытка (отметки доставки и пробы сбрасываются); "" снимает |