From 0716f09e3ffa4fd8dc67f749bc897d3ec80036b3 Mon Sep 17 00:00:00 2001 From: Dianaka123 Date: Fri, 27 Feb 2026 14:09:05 +0300 Subject: [PATCH] Add unrelated-fix rule to Linear workflow in CLAUDE.md Co-Authored-By: Claude Opus 4.6 --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index c461370..519b38d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -86,3 +86,6 @@ After completing: - Set status to **Done** - Make a git commit with message: `POL-N: ` - 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.