docs: translate development guide and agent rules to English
test / test (push) Has been cancelled

development.md and agent-rules.mdc in English; progress.md and roadmap.md stay Russian as internal docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
mixeme
2026-08-08 10:58:38 +03:00
parent c92f4bc616
commit 1382f8b5f4
4 changed files with 119 additions and 115 deletions
+16 -16
View File
@@ -1,24 +1,24 @@
---
description: Правила работы агента в репозитории SelfPost (ранее spec §12)
description: Agent rules for the SelfPost repository (formerly spec §12)
alwaysApply: true
---
# Правила для агентов
# Agent rules
1. **Без git-коммитов** без явной инструкции в промпте.
2. После правок Go: `go build`, `go vet`; исправить все проблемы. `go test`,
когда тесты есть.
3. Перед «готово» для контейнерной задачи: образ собирается, контейнер стартует.
4. Итерации: минимальный скелет, затем фичи.
5. Требования безопасности — `docs/security.md`; внедрять с фичей, не откладывать.
6. Не делать out-of-scope (`docs/product.md`); не менять зафиксированные
допущения без согласования.
7. Крупные задачи — план до кода, если пользователь не утвердил план ранее.
8. Совместимость лицензий новых Go-зависимостей (permissive или GPL-family для
1. **No git commits** without an explicit instruction in the prompt.
2. After Go changes: `go build`, `go vet`; fix all issues. Run `go test` when
tests exist.
3. Before calling a container task done: the image builds and the container starts.
4. Iterate: minimal skeleton first, then features.
5. Security requirements — `docs/security.md`; implement with the feature, not deferred.
6. Do not implement out-of-scope items (`docs/product.md`); do not change fixed
assumptions without agreement.
7. For large tasks: propose a plan before coding unless the user already approved one.
8. Check licence compatibility of new Go dependencies (permissive or GPL-family for
AGPL-3.0).
Маршрутизация моделей — `docs/progress.md` § «Модель по типу работы».
Предрелизная **ревизия** безопасности (не авторство) — Fable.
Model routing — `docs/progress.md` § «Model by task type». Pre-release security
**review** (not authorship) — Fable.
Протокол коммитов, CHANGELOG и закрытия фазы — `docs/progress.md` § «Коммиты»
и «Протокол закрытия фазы».
Commit protocol, CHANGELOG, and phase closure — `docs/progress.md` § «Commits»
and «Phase closure protocol».