From 35c39e7bfe73d7f2762ac94b4eedf929ed7cfe93 Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Wed, 16 Sep 2026 19:18:23 +0200 Subject: [PATCH] refactor(rules): scope refactoring checks to affected behavior --- shared/rules/refactoring.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/rules/refactoring.md b/shared/rules/refactoring.md index d1a7f14..fbec635 100644 --- a/shared/rules/refactoring.md +++ b/shared/rules/refactoring.md @@ -94,9 +94,9 @@ After a refactoring: -* Build the affected project or solution. -* Run relevant tests. -* Check for new warnings. +* Choose verification using `general.md`'s Verification rules, based on the affected behavior and callers. +* Build or run tests when they add needed confidence; a full solution build or test suite is not automatic. +* Investigate new warnings from the selected checks. * Verify affected code paths. * Review the diff for accidental behavior changes. * Check that unrelated files were not modified unnecessarily.