sandbox/openspec/changes/sbx-1-hello/specs/hello-file/spec.md
peppa-bot 766b89cde0 SBX-1: hello.txt с приветствием и его проверка
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:52:21 +00:00

15 lines
862 B
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.

## ADDED Requirements
### Requirement: Файл приветствия
В корне репозитория SHALL лежать файл `hello.txt` в UTF-8 с приветствием на русском языке.
#### Scenario: Файл содержит приветствие
- **GIVEN** рабочая копия репозитория на основной ветке
- **WHEN** открываешь файл `hello.txt` в корне
- **THEN** в нём строка «Привет! Это песочница Пеппы.»
#### Scenario: Файл пропал или пуст
- **GIVEN** в рабочей копии нет `hello.txt` или он пустой
- **WHEN** запускаются проверки `bash scripts/test-site.sh`
- **THEN** проверки падают с сообщением «hello.txt: нет приветствия»