peppa/openspec/changes/archive/2026-11-24-pep-270-proposal-daily-limit/tasks.md
peppa-bot f421ea60c7 PEP-270: задачи агентов — предложения, не больше 5 в сутки на проект
- MCP create_task агента: origin agent + «Предложено» (раньше — задача человека, диспетчер брал её сам)
- AgentLimits.perDay (5, скользящие 24 ч), proposalRoom/proposalsToday; сверх — отказ агенту,
  находки приёмки — в недельную сводку; событие proposal_limited
- CLI agent-limits perDay=N, правило агентам в template/RULES.md, тест proposal-daily-limit

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

13 lines
802 B
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.

## 1. Ядро
- [x] 1.1 Origin `agent` (TASK_ORIGINS, ORIGIN_LABEL + переводы, тип NewTask, комментарий схемы)
- [x] 1.2 `perDay` в AgentLimits (по умолчанию 5, 0–50), `proposalsToday`, `proposalRoom`
- [x] 1.3 CLI `peppa project agent-limits … perDay=N`
## 2. Пути создания
- [x] 2.1 MCP агента `create_task`: origin agent, proposed, отказ сверх предела, событие `proposal_limited`
- [x] 2.2 `fileStories`: не больше остатка суточного предела, остальное — в недельную сводку
## 3. Проверка
- [x] 3.1 Тест `proposal-daily-limit.test.ts` по сценариям
- [x] 3.2 typecheck, lint, тесты agent-task-origin; память; archive; PR