peppa/openspec/changes/archive/2026-11-20-pep-218-bugsink-errors/tasks.md
peppa-bot 895ffb6180 PEP-218: память проекта, архив change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 20:17:36 +05:00

21 lines
1.4 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.

## 1. Адаптер и мок
- [x] 1.1 `@peppa/bugsink`: listProjects, searchIssues (state/q/sort/cursor), listEvents, getEvent, issueTags, eventCounts (issue, project), mute/unmute/reopen, кадры стека с кодом (`stackFrames`)
- [x] 1.2 `mock-bugsink`: те же эндпоинты, теги событий, контекст кадра, `down`
## 2. Ядро
- [x] 2.1 `core/bugsink-errors.ts`: кэш 45 с с откатом на старое, `errorScope`, `errorsOverview`, `listErrors`, `errorDetail`
- [x] 2.2 Действия: решено, приглушить/вернуть, завести задачу (`ingestIssue` + `decideIncident`)
## 3. Веб
- [x] 3.1 `/observability?tab=errors` — сводка и список с фильтрами (суперадмин)
- [x] 3.2 Вкладка «Баги» проекта — ошибки его проектов Bugsink
- [x] 3.3 Карточка `/errors/<id>`: стек, теги, события, задача, «Открыть в Bugsink», действия; «Продакт» без техники
- [x] 3.4 Переводы en/kk, словарь
## 4. MCP
- [x] 4.1 `list_errors`, `get_error`, `resolve_error` с `markUntrusted`
## 5. Проверка
- [x] 5.1 Тест `bugsink-errors.test.ts`: сводка, список, права, недоступный Bugsink, действия
- [x] 5.2 Проверки (lint, typecheck, тесты), браузер на моке и живом Bugsink