peppa/openspec/specs/onboarding/spec.md
Асель 53ac7efdcc PEP-30/41/31: project memory, agent model per story with escalation, first-run checklist
- PEP-30: .peppa/memory.md in the project repo (core/memory.ts), agent MCP get_memory/remember
  (dedupe, 12k size limit, replace to compact), runner appends memory + last finished stories
  to the launch rules, RULES.md rule, memory on the project «Спеки» tab.
- PEP-41: agent settings platform → project → story (provider, model, effort, escalation model
  after N failures, fallback provider); Claude --effort / Codex model_reasoning_effort;
  sticky escalation relaunches a live runner on the stronger model (sendWithEscalation from
  CI feedback and the reviewer); fallback provider when the main one has no working
  subscription; web panels, MCP PM `agent`, CLI `peppa project agent`.
- PEP-31: first-run checklist on the home page (core/onboarding.ts), hide button,
  «Агенты не запустятся» warning on the project page when its pool has no working subscription.

No migrations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 07:44:24 +05:00

31 lines
2.0 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.

# onboarding Specification
## Purpose
Чек-лист первого запуска на Главной и предупреждение, когда агенты проекта не запустятся (PEP-31).
## Requirements
### Requirement: Чек-лист первого запуска
Главная SHALL показывать новому пользователю чек-лист с прогрессом: подписка агента (только
суперадмину), Telegram, eGov (необязательно, если вход через eGov настроен), проект, стори,
стори в работе. Шаги отмечаются по данным; чек-лист исчезает, когда обязательные шаги
выполнены или пользователь нажал «Скрыть».
#### Scenario: Новый пользователь
- **GIVEN** пользователь без проектов и без привязки Telegram
- **WHEN** он открывает Главную
- **THEN** виден чек-лист «0 из 4» со ссылками «Привязать Telegram», «Создать проект»
#### Scenario: Всё сделано
- **GIVEN** у пользователя привязан Telegram, есть проект, стори и запущенная сессия
- **THEN** чек-листа на Главной нет
### Requirement: Предупреждение о подписке проекта
Страница проекта SHALL предупреждать, если у пула подписок проекта нет рабочей подписки:
агенты не запустятся.
#### Scenario: Пул в лимите
- **GIVEN** у проекта PAY пул с одной подпиской в статусе `auth_error`
- **WHEN** участник открывает проект
- **THEN** над вкладками плашка «Агенты не запустятся» с причиной