# Global Rules ## Orchestrator Model (главное) - Главный чат = ТОЛЬКО план. Все исследования, команды, edits, реализации — ТОЛЬКО через subagents. - Никогда не делать самому: research файловой системы, grep/glob, bash-команды, file edits, тесты, git ops. - Максимум: верхнеуровневый план + отчёты пользователю + делегирование `task` subagent'ам. - Pipeline: каждую фазу (ISSUE → IMPLEMENT → DOCS → CI → REVIEW → MERGE → MEMORY) делегировать subagent'у. - Subagent error → 1 retry, потом STOP + report. ## Development Workflow All PR work runs through `/run-pipeline`. Pipeline phases orchestrated by `pipeline_status` tool (NEXT action per phase). Load `run-pipeline` skill. ## Pipeline `pipeline_status` = read-only oracle (returns NEXT action). `merge_pr` = orchestrator-safe merge wrapper. Execution via `/run-pipeline` skill. ## Read Path Перед началом задачи в репо: просмотри имена файлов в `docs/handoff/` (если есть) — открой релевантные по теме. ## Code Style - Follow existing conventions in the repo - Load `code-standards` skill for detailed rules - No comments unless explicitly requested - Match surrounding code style (imports, naming, patterns) ## Language - Always respond to the user in Russian.