peppa/openspec/changes/archive/2026-11-14-pep-26-code-reviewer/tasks.md
Асель b6bcbeb695 PEP-26: archive OpenSpec change pep-26-code-reviewer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 04:59:32 +05:00

11 lines
1.1 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-26
- [x] 1.1 Схема: `review_settings`, `code_reviews`; миграция `pnpm db:generate`
- [x] 1.2 core `reviews.ts`: настройки ревьюера, очередь и захват ревью, последнее ревью стори, число итераций; Gitea `pullDiff`
- [x] 1.3 runner: `claude-print.ts` (общий запуск `claude -p`, триаж на нём), `reviewer.ts` — промпт, разбор, `runCodeReview`, `requestReview` (решение при `update_task(review)`), применение итога, `reviewTick` в вачдоге
- [x] 1.4 MCP `update_task(review)` через ревьюер; Stop-хук не подгоняет при ожидающем ревью; `get_task` показывает ревью
- [x] 1.5 Веб: «⋯ Настройки проекта → Ревьюер» (вкл/выкл, лимит, правила), ревью в карточке стори
- [x] 1.6 Шаблон: пример `lint` в `checks`
- [x] 1.7 testkit: `mock-reviewer`, `.diff` в `mock-gitea`, `reviewer.test.ts` по сценариям спеки
- [x] 1.8 AGENTS.md, «Помощь», `openspec validate`