- PEP-5: statusLine hook (cost, context, 5h/7d limit windows), transcript tokens, sessions.usage, usage strip over every page, runner usage, bot /status, MCP get_usage - PEP-43: project/story budgets in settings, watchdog pause (Escape, question to the PM: extend x2 / remove limit / stop), start/resume guard, budget on the story card - PEP-47: project metrics tab (cycle time, first pass, review returns, questions, runner hours, PM wait, limits, spend by week/agent/epic), MCP get_metrics - PEP-48: event authors (actor columns, AsyncLocalStorage context), question_answered, /journal for superadmins, project journal tab, authors in the story feed - Migration 0007_usage_audit; OpenSpec changes archived Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
764 B
Markdown
16 lines
764 B
Markdown
# Tasks: PEP-48
|
||
|
||
## 1. Данные и core
|
||
- [x] 1.1 Колонки автора в `events` + индекс, миграция 0010
|
||
- [x] 1.2 core/actor.ts (контекст автора), запись автора во всех вставках событий, `question_answered`
|
||
- [x] 1.3 core/audit.ts: `listJournal`, подписи автора
|
||
|
||
## 2. Источники автора
|
||
- [x] 2.1 Веб-действия, `/mcp` (клиент OAuth), бот, MCP агента, хук, вачдог, CLI
|
||
|
||
## 3. Интерфейсы
|
||
- [x] 3.1 Веб: `/journal` (суперадмин), вкладка «Журнал» проекта, автор в ленте стори, пункт меню
|
||
|
||
## 4. Тесты
|
||
- [x] 4.1 journal.test.ts: сценарии спеки
|