peppa/openspec/changes/archive/2026-11-12-pep-11-mcp-update-task/specs/remote-mcp/spec.md
Асель 4e20f76767 PEP-11: update_task in the remote MCP
- edit a task's title and/or description by key through the owner-scoped
  manager tools; goal, status and other fields kept, no agent started;
  uses core updateTask (event log, NOTIFY) and returns the updated card
- test: title only, description only, both; goal/status/sessions intact;
  empty call and another user's task refused (54 e2e total, green)
- verified on prod: tools/list over HTTPS includes update_task
- OpenSpec: pep-11 archived into spec remote-mcp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 21:52:46 +05:00

21 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Spec Delta: remote-mcp
## ADDED Requirements
### Requirement: Редактирование задачи
MCP SHALL позволять менять название и описание задачи проекта пользователя независимо
друг от друга, не меняя цель, статус и прочие поля и не запуская и не останавливая
агента; ответ содержит обновлённую карточку задачи.
#### Scenario: Только название
- **WHEN** клиент вызывает `update_task` с ключом и новым `title`
- **THEN** меняется только название; описание, цель и статус прежние, сессий не прибавилось
#### Scenario: Только описание
- **WHEN** клиент вызывает `update_task` с ключом и новым `description`
- **THEN** меняется только описание; название, цель и статус прежние
#### Scenario: Без полей или чужая задача
- **WHEN** не передано ни `title`, ни `description`, или задача из чужого проекта
- **THEN** ошибка, задача не меняется