This is an automated email from the ASF dual-hosted git repository.
squakez pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 6d2144c930be chore: agent quality expectations
6d2144c930be is described below
commit 6d2144c930be44409ffc6995324f32520bf27d18
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Thu May 28 09:06:41 2026 +0200
chore: agent quality expectations
---
AGENTS.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/AGENTS.md b/AGENTS.md
index c2e6fddaeaad..63ec7fa9770f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -83,6 +83,16 @@ When creating a PR, **always identify and request reviews**
from the most releva
- All code must pass formatting checks (`mvn formatter:format impsort:sort`)
before pushing.
- All generated files must be regenerated and committed (CI checks for
uncommitted changes).
+### Quality Expectations
+
+- Even if static analysis is not executed during contribution validation,
contributions should avoid introducing new static code analysis issues such as:
+ - code smells
+ - maintainability regressions
+ - CWE (Common Weakness Enumeration)
+ - Top OWASP vulnerabilities and security flows
+ - Avoid usage of deprecated code
+- Changes should aim to preserve or improve overall code quality.
+
### Asynchronous Testing: Use Awaitility Instead of Thread.sleep
Do **NOT** use `Thread.sleep()` in test code. It leads to flaky, slow, and
non-deterministic tests.