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), dismissVisualAcSuggestion. Status transitions follow a matrix: backlog→ready_for_work (author; grove: requires ≥1 AC, red-team check when the project requires it — the goal parks in checking_ac and becomes ready_for_work, checking_ac_failed (hole in AC set) or checking_ac_errored (check did not run)); ready_for_work|checking_ac_errored→in_progress (executor, no checks); in_progress→done (file-evidence on every AC + session_history) | blocked | cancelled. A visible-UI goal with an outstanding visualAcSuggestion returns an advisory before ready_for_work freezes the AC contract: accept it through goal-add-criterion(visualEvidenceSuggested=true), or retry this same update with dismissVisualAcSuggestion=true. The first MCP dismissal persists the choice and notifies Product Events with the goal title and link, full proposed AC, and why screenshot proof was useful; UI, repeat, and no-active dismissals are silent, and notification failures do not undo the dismissal. backlog→in_progress and backlog→done are rejected. 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, ready_for_work, in_progress, blocked, done, cancelled (checking_ac* выставляет система) | |
| deadline | No | Новый дедлайн (ISO 8601) | |
| estimate | No | Новая оценка | |
| priority | No | Новый приоритет (1–5) | |
| description | No | Новое описание | |
| attemptCommit | No | git SHA коммита попытки (7–64 hex). Когда развёрнутая ревизия содержит его (предок, не равенство), post-deploy пробы цели стартуют сами по событию деплоя; повторная установка = новая попытка (отметки доставки и пробы сбрасываются); "" снимает | |
| dismissVisualAcSuggestion | No | Отклонить advisory visual-AC; для ready_for_work это явный выбор «продолжить без предложения» |