inat/openspec/changes/ina-2-business-card-site/tasks.md
Peppa 63b5a4ecd8 INA-2: план изменения (proposal, design, spec, tasks)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 13:59:13 +00:00

21 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. Каркас проекта и проверки
- [ ] 1.1 `package.json` (pnpm), TypeScript, Biome, `tsconfig.json`/`tsconfig.build.json`, `.gitignore`
- [ ] 1.2 `.peppa/project.json` → `checks` (install, lint, typecheck, test, build) и `deploy`
## 2. Переводы и страница
- [ ] 2.1 `locales/ru.json`, `kk.json`, `en.json` с заглушками и одинаковыми ключами; загрузка и проверка ключей
- [ ] 2.2 Рендер HTML главной: три блока, title, description, адаптивный CSS, экранирование
- [ ] 2.3 HTTP-сервер: `/`, `/healthz`, 404, 405, порт из `$PORT`
## 3. Деплой и документация
- [ ] 3.1 `Dockerfile`, проверка `docker build` и `curl /healthz` (если docker доступен)
- [ ] 3.2 `docs/glossary.md` — понятия сайта; README — как запустить
## 4. Тесты и проверка
- [ ] 4.1 Тесты по сценариям спеки (страница, заглушки, переводы, healthz, 404/405, вёрстка)
- [ ] 4.2 Все проверки `bash .gitea/peppa-check.sh <check>` зелёные, `openspec validate ina-2-business-card-site`