Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .cursor/rules/pr-only-workflow.mdc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
description: All code changes ship through pull requests, never direct to master
alwaysApply: true
---

# PR-only workflow

Все правки в этом репозитории идут **только через Pull Request**.

## Обязательно

1. Не коммитить и не пушить напрямую в `master` / `main`.
2. Создать ветку от актуального `master` (`fix/…`, `feat/…`, `chore/…`).
3. Коммиты в ветку → `gh pr create` → дождаться CI → merge PR.
4. Релизы/теги — после merge в `master` (или отдельным PR на bump версии + тег по согласованию).
5. Hotfix на прод-пакет: ветка → PR → merge → тег/release workflow; не править zip в обход git.

## Исключения

Только если пользователь **явно** сказал коммитить/пушить в `master` в этом сообщении.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.idea
.DS_Store
.cursor/
.cursor/*
!.cursor/rules/
!.cursor/rules/**

# VSCode
.vscode
Expand Down
12 changes: 12 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Sendex — agent / contributor notes

## Workflow

All changes go through a **Pull Request**. Do not commit or push directly to `master`.

1. Branch from up-to-date `master` (`fix/…`, `feat/…`, `chore/…`).
2. Commit on the branch, open a PR, wait for CI, merge.
3. Releases/tags after merge (or a version-bump PR, then tag).
4. Do not ship transport zips outside git + the release workflow.

Exception: only if the user explicitly asks to commit/push to `master` in that message.
Loading