peppa/openspec/changes/pep-71-egov-only-login/tasks.md
Асель 57d7857d94 PEP-71: login only through eGov, unknown IIN registers an account
Gitea and password login are gone from the web; the first eGov login creates a
Peppa account (login from the certificate name). Projects of self-registered
owners run agents only on a subscription pool, never on the machine login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:57:02 +05:00

15 lines
1.2 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 `registerEgovUser` + `egovLoginBase` (транслит кириллицы и казахских букв), `completeEgovFlow` регистрирует неизвестный ИИН, `lastLoginAt`
- [x] 1.2 `mayUseMachineLogin` и проверка в `startSession`: без пула агенты самозарегистрированного владельца не запускаются
## 2. Веб
- [x] 2.1 `/login` — только eGov; удалить `/auth/start`, `/auth/callback`, `/auth/password`
- [x] 2.2 «Настройки»: учётка и привязка ИИН только без ИИН; убрать смену пароля и отвязку
- [x] 2.3 «Пользователи»: список с ИИН, отключить/включить; убрать создание и сброс пароля
- [x] 2.4 Справка и AGENTS.md
## 3. Проверка
- [x] 3.1 Тесты `egov.test.ts`: регистрация, повторный вход, суффикс логина, логин из имени, машинный вход
- [x] 3.2 typecheck, e2e
- [ ] 3.3 Выкатка; привязать ИИН PM к его учётке