peppa/openspec/changes/pep-108-voice-stories/tasks.md
Асель e1abca0be9 PEP-108: proposal — local speech recognition for voice stories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 21:43:27 +05:00

19 lines
1.4 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. Сервис распознавания
- [ ] 1.1 Сервис `transcribe` (speaches 0.8.3-cpu) в `infra/docker-compose.yml`, том моделей, 127.0.0.1:3185
- [ ] 1.2 `scripts/transcribe-up.sh`: up, ожидание health, скачивание модели, смоук, строки для `.env`; `.env.example`
- [ ] 1.3 Поднять на Mac Пеппы, прописать `PEPPA_TRANSCRIBE_*` в `.env`, перезапустить бота и веб
## 2. Бот
- [ ] 2.1 `PEPPA_TRANSCRIBE_TIMEOUT_SEC` (300 по умолчанию) в `transcribe.ts`
- [ ] 2.2 `parseStoryText`: «в проекте PAY …»
- [ ] 2.3 `/help` и «Привязано» про голос — только при настроенной расшифровке (`voiceStoriesEnabled` в `@peppa/shared`)
## 3. Веб
- [ ] 3.1 `OwnBotSteps`: шаг 4 «Напишите боту задачу» (+ голос, если настроен)
- [ ] 3.2 «Настройки → Telegram» и `/help`: голосом — если настроено
## 4. Проверки
- [ ] 4.1 Тест «Голосовое в своём боте» (own-bot.test.ts), «Голос не настроен» (bot.test.ts), парсер
- [ ] 4.2 Живая проверка: голосовое через настоящий сервис (бот → speaches) на Mac Пеппы
- [ ] 4.3 typecheck, тесты, сборка; браузер — шаги бота в «Настройках»