diff --git a/.peppa/memory.md b/.peppa/memory.md index f0da349..c81b107 100644 --- a/.peppa/memory.md +++ b/.peppa/memory.md @@ -10,3 +10,4 @@ ## Соглашения - Тексты страницы — только в `site/i18n/{ru,kk,en}.json` (в HTML ключи `data-i18n`), слова — из `docs/glossary.md`; список «Нельзя» продублирован в `scripts/test-site.sh` (`banned`) — меняй оба. Технические детали — в `
` «Подробнее». +- `hello.txt` в корне (SBX-1) — файл проекта, не страница: правило i18n к нему не относится; его проверяет `scripts/test-site.sh`. diff --git a/openspec/changes/sbx-1-hello/.openspec.yaml b/openspec/changes/archive/2026-11-26-sbx-1-hello/.openspec.yaml similarity index 100% rename from openspec/changes/sbx-1-hello/.openspec.yaml rename to openspec/changes/archive/2026-11-26-sbx-1-hello/.openspec.yaml diff --git a/openspec/changes/sbx-1-hello/design.md b/openspec/changes/archive/2026-11-26-sbx-1-hello/design.md similarity index 100% rename from openspec/changes/sbx-1-hello/design.md rename to openspec/changes/archive/2026-11-26-sbx-1-hello/design.md diff --git a/openspec/changes/sbx-1-hello/proposal.md b/openspec/changes/archive/2026-11-26-sbx-1-hello/proposal.md similarity index 100% rename from openspec/changes/sbx-1-hello/proposal.md rename to openspec/changes/archive/2026-11-26-sbx-1-hello/proposal.md diff --git a/openspec/changes/sbx-1-hello/specs/hello-file/spec.md b/openspec/changes/archive/2026-11-26-sbx-1-hello/specs/hello-file/spec.md similarity index 100% rename from openspec/changes/sbx-1-hello/specs/hello-file/spec.md rename to openspec/changes/archive/2026-11-26-sbx-1-hello/specs/hello-file/spec.md diff --git a/openspec/changes/sbx-1-hello/tasks.md b/openspec/changes/archive/2026-11-26-sbx-1-hello/tasks.md similarity index 100% rename from openspec/changes/sbx-1-hello/tasks.md rename to openspec/changes/archive/2026-11-26-sbx-1-hello/tasks.md diff --git a/openspec/specs/hello-file/spec.md b/openspec/specs/hello-file/spec.md new file mode 100644 index 0000000..50942fc --- /dev/null +++ b/openspec/specs/hello-file/spec.md @@ -0,0 +1,19 @@ +# hello-file Specification + +## Purpose +TBD - created by archiving change sbx-1-hello. Update Purpose after archive. + +## 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: нет приветствия»