Skip to content

Commit 567f9fc

Browse files
committed
[AI] Updated ai/global/agent-roles.instructions.md
1 parent f6f6832 commit 567f9fc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ai/global/agent-roles.instructions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ After all code changes are pushed and all required CI checks pass, **before** en
8484
gh pr edit <number> --repo <owner/repo> --add-label Blocked
8585
```
8686

87+
#### Conflict Resolution: Simplify/Code Review vs. Static Analyzer
88+
89+
If a change proposed by `/simplify` (Phase A) or a finding raised by `/code-review` (Phase B) would conflict with a rule enforced by the build-time static analyzer stack (Roslynator, SonarAnalyzer, Meziantou, Threading, Security Code Scan, and others; see [task-workflow.instructions.md](task-workflow.instructions.md#never-truncate-testcommit-commands-mandatory)) or by `FunFair.CodeAnalysis` (see [dotnet-owned-packages.instructions.md](dotnet-owned-packages.instructions.md)), the static analyzer's rule always wins: do not apply the conflicting simplify/code-review suggestion, and keep the analyzer-compliant code as-is.
90+
8791
#### Phase C: Security review (up to `MAX_REVIEW_ITERATIONS` rounds)
8892

8993
1. Update Workflow board to **AI Security Review** (if board data present).

0 commit comments

Comments
 (0)