peppa/openspec/changes/archive/2026-11-20-pep-225-live-websocket/tasks.md
peppa-bot cfdd66a631
All checks were successful
peppa/build build: success за 14с
peppa/lint lint: success за 1с
peppa/test test: success за 649с
peppa/typecheck typecheck: success за 22с
PEP-225: память проекта, архив change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 21:38:23 +05:00

18 lines
1.6 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 Хаб: новые области (`attention`, `version`, `observe`, `subs`, `login:`, `me`), `parts` и строки задач в `change`, версия `v` и `since`, поставщики данных от веба
- [x] 1.2 `runner/live-ws.ts`: протокол, права, лимиты, пинг, терминал через сокет
- [x] 1.3 `apps/web/server.ts` + регистрация канала в `instrumentation.ts`, проверка cookie без `next/headers`
- [x] 1.4 Запуск: `package.json`, `install-launchd.sh`, `live-deploy.sh` (переустановка агента веба)
## 2. Клиент
- [x] 2.1 `lib/live.ts`: одно соединение, подписки со счётчиком, переподключение, догон, SSE-запасной путь, скрытая вкладка
- [x] 2.2 `LiveRefresh` на канале: острова, пропуск рендера, индикатор
- [x] 2.3 Доска и шапка задачи — точечно; чаты — только свой чат
- [x] 2.4 `AttentionBadge`, `VersionWatch`, `AgentSteps`, `RunnerTerminal` на канале
- [x] 2.5 Убрать `AutoRefresh` и опросы: observability, подписки, `SubscriptionSetup`, `OpenBotButton`
## 3. Проверка
- [x] 3.1 Тесты: права, своя/чужая область, догон, терминал через сокет, лимиты
- [x] 3.2 Замер 50 вкладок (`scripts/bench-live.ts`), цифры в PR
- [x] 3.3 typecheck, lint, тесты; браузер (в том числе узкий экран и обрыв связи)