peppa/openspec/changes/archive/2026-11-24-pep-250-access-requests/tasks.md
peppa-bot 89b7fa4f17
All checks were successful
peppa/lint lint: success за 1с
peppa/typecheck typecheck: success за 47с
peppa/build build: success за 32с
peppa/test test: success за 1395с
peppa-ci / ci (pull_request) Successful in 25m10s
PEP-250: архив изменения, требования в openspec/specs/access-hub; память проекта
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 11:28:11 +00:00

19 lines
1.3 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 Таблица `access_requests` + миграция 0031
- [x] 1.2 `core/access-requests.ts`: запрос, повтор, проверка адреса, список, отмена, вид для владельца, выдача и отказ
- [x] 1.3 Сообщение владельцу: мастер-чат, Telegram с кнопками, push
## 2. Агент и решения
- [x] 2.1 `runner/access-requests.ts`: решение доходит до агента (живой / остановленный)
- [x] 2.2 MCP: `request_access`, `list_requests`, `cancel_request`; автозапрос из `call_connection`; `declare_needs use: agent`
- [x] 2.3 Бот: кнопка `ar:<id>:no`
## 3. Экран
- [x] 3.1 «Подключения»: блок «Агенты просят доступ»; карточка запроса с тремя действиями
- [x] 3.2 Переводы ru/kk/en, словарь
## 4. Правила, тесты, завершение
- [x] 4.1 `template/RULES.md`: `request_access` вместо ключей в секретах
- [x] 4.2 Тест `access-requests.test.ts`: запрос, выдача, отказ, повтор, чужой, адрес внутрь
- [x] 4.3 Память, архив, PR