peppa/openspec/changes/pep-242-template-sync/tasks.md
2026-11-23 06:02:58 +00:00

17 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. Шаблон уходит в Gitea сам
- [ ] 1.1 `runner/template-sync.ts`: `syncTemplate` (клон, замена, сравнение, коммит и push; создание репозитория)
- [ ] 1.2 CLI `peppa template push [--alert]` и `peppa template check`
- [ ] 1.3 `scripts/platform-deploy.sh`: после успешной выкатки — `peppa template push --alert` образом цели, сбой выкатку не откатывает
- [ ] 1.4 `templateSyncTick` в вачдоге: отстаёт — одно сообщение суперадмину на коммит
## 2. Блок секретов существующим проектам
- [ ] 2.1 `addSecretsBlock` — чистая функция с отказом по причинам
- [ ] 2.2 `connectCi(…, { secretsOnly })` + `peppa ci connect <KEY> --secrets-only`
## 3. Тесты и документация
- [ ] 3.1 Тест `template-sync.test.ts`: выкатка отправляет шаблон, сверка, «только блок» не трогает остальной скрипт, отказ без якоря
- [ ] 3.2 AGENTS.md, docs/SERVER.md: шаблон уходит сам; шаги для dika, qazaq-legacy-foundation-web, freetravel, executive-ai