From b437f2b8b8766c37f9ce661c99f6f9ddf3bd2c4e Mon Sep 17 00:00:00 2001 From: peppa-bot Date: Thu, 26 Nov 2026 19:52:27 +0000 Subject: [PATCH] =?UTF-8?q?SBX-1:=20=D0=B0=D1=80=D1=85=D0=B8=D0=B2=20chang?= =?UTF-8?q?e,=20=D1=81=D0=BF=D0=B5=D0=BA=D0=B0=20hello-file,=20=D0=BF?= =?UTF-8?q?=D0=B0=D0=BC=D1=8F=D1=82=D1=8C=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- .peppa/memory.md | 1 + .../2026-11-26-sbx-1-hello}/.openspec.yaml | 0 .../2026-11-26-sbx-1-hello}/design.md | 0 .../2026-11-26-sbx-1-hello}/proposal.md | 0 .../specs/hello-file/spec.md | 0 .../2026-11-26-sbx-1-hello}/tasks.md | 0 openspec/specs/hello-file/spec.md | 19 +++++++++++++++++++ 7 files changed, 20 insertions(+) rename openspec/changes/{sbx-1-hello => archive/2026-11-26-sbx-1-hello}/.openspec.yaml (100%) rename openspec/changes/{sbx-1-hello => archive/2026-11-26-sbx-1-hello}/design.md (100%) rename openspec/changes/{sbx-1-hello => archive/2026-11-26-sbx-1-hello}/proposal.md (100%) rename openspec/changes/{sbx-1-hello => archive/2026-11-26-sbx-1-hello}/specs/hello-file/spec.md (100%) rename openspec/changes/{sbx-1-hello => archive/2026-11-26-sbx-1-hello}/tasks.md (100%) create mode 100644 openspec/specs/hello-file/spec.md 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: нет приветствия»