Files
romanett 1f44b75b1b Update code-style agent guidance for CodeAnalysisTreatWarningsAsErrors=true (#4690)
## Proposed changes

#4680 turned on `CodeAnalysisTreatWarningsAsErrors` in `common.props`,
but `.github/agents/opc-ua-codestyle-enforcer.agent.md` still said it
was `false` and told agents not to turn it on. That means
analyzer-cleanup runs could undo the setting.

- Repository context (line 16): the value is now listed as `true`, with
a note that CA warnings fail the build.
- Rule-promotion checklist (line 312): agents are now told to keep the
setting enabled. Rules that are meant to stay unenforced belong at
`suggestion`/`silent`/`none` in `.editorconfig`, and agents must clear
all hits before raising a rule to `warning`.

## Related Issues

- Fixes #4685

## Types of changes

- [x] Documentation Update (if none of the other choices apply)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 09:37:10 +02:00
..