Add unrelated-fix rule to Linear workflow in CLAUDE.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dianaka123
2026-02-27 14:09:05 +03:00
parent 7e123f1a31
commit 0716f09e3f

View File

@@ -86,3 +86,6 @@ After completing:
- Set status to **Done** - Set status to **Done**
- Make a git commit with message: `POL-N: <task title>` - Make a git commit with message: `POL-N: <task title>`
- Report the issue number to the user (e.g. "Done — POL-42") - Report the issue number to the user (e.g. "Done — POL-42")
**Unrelated fixes during a task:**
If you discover and fix something unrelated to the current issue (e.g. a bug spotted while working on a feature), create a **separate Linear issue** describing what was fixed, commit it separately with that issue's `POL-N` prefix. Never mix unrelated changes into another issue's commit.