peppa/openspec/changes/archive/2026-11-12-pep-7-autonomy/tasks.md
Асель 00c8f79a36 PEP-7: autonomous mode — board moves start agents, PM only for stoppers
- web board (Backlog / In progress / Review / Done) with drag-and-drop and
  buttons; moveTask starts an agent on In progress, stops on Backlog/Done
- routine proposals go straight to apply; request_approval/ask_pm only for
  architectural stoppers (RULES.md, MCP hints, template pushed to Gitea)
- Stop hook keeps the agent going (decision: block, max 2 in a row,
  sessions.auto_nudges reset by a human answer) instead of pinging the PM
- review: ready-for-review message with Accept (acceptTask → done, session
  stopped) in Telegram and web; a text reply goes back to the agent
- mock-claude honours Stop-hook block; 6 new e2e tests (48 total, green)
- OpenSpec: pep-7 archived (task-autonomy, web-workspace board)

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

17 lines
1.2 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.

# Tasks: PEP-7
## 1. Цикл агента
- [x] 1.1 `sessions.auto_nudges` (миграция); Stop-хук: ревью → сигнал с «Принять», работа → автопродолжение (≤2), иначе сигнал; сброс счётчика; проверка: CJM ниже
- [x] 1.2 runner: `acceptTask`, `moveTask` (старт/стоп сессий); бот: кнопка «Принять» для ревью; проверка: тесты бота
- [x] 1.3 RULES.md и подсказки MCP под автономный цикл; залить шаблон в Gitea
## 2. Доска
- [x] 2.1 Доска на странице проекта (колонки, DnD, кнопки) + server action; проверка в браузере на стенде/моке
## 3. Проверка
- [x] 3.1 mock-claude понимает `decision: block`; CJM: proposal без одобрения → apply → review → «Принять»; лимит автопродолжений; перенос карточки запускает и останавливает сессию; весь набор зелёный
- [x] 3.2 Выкатка веба и бота; `openspec validate`