peppa/openspec/changes/archive/2026-11-27-pep-261-access-request-buttons/tasks.md
peppa-bot 92e7c6f85f
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 50с
peppa/build build: success за 36с
peppa/bundle bundle: success за 0с
peppa/test test: success за 1586с
peppa-ci / ci (pull_request) Successful in 28m31s
PEP-261: тест кнопок выдачи, AGENTS.md, память, archive change
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 06:15:39 +00:00

12 lines
906 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 `rights`/`term` в выдаче по запросу (`grantFor`, `grantAccessFromExisting`, `connectAndGrantAccess`), `grantAccessByButton`, кнопки в `announceAccessRequest` и `accessRequestKeyboard`
- [x] 1.2 Текст агенту о решении — со сроком; подсказка `request_access` при `expired`/`idle_revoked`
## 2. Каналы
- [x] 2.1 Бот: `ar:<id>:r|f`, `ar:<id>:r|f:<срок>`, `ar:<id>:back`
- [x] 2.2 Веб: кнопки в «Агенты просят доступ», права и срок на карточке запроса; переводы en/kk
## 3. Проверка
- [x] 3.1 Тест `access-request-buttons.test.ts` (Telegram: чтение на 1 день → вызов → истёк; чужой; нет подключения; веб-карточка)
- [x] 3.2 lint, typecheck, затронутые тесты