The Unified and Autonomous Development Platform
docs: Document field injection preference
Robin Shend7f09bf8b818
diff --git a/AGENTS.md b/AGENTS.mdindex 0c42e11add..3e8c4dd621 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -13,6 +13,9 @@ files are generated automatically.Do not add tests for trivial or minor changes unless the user explicitly asksfor them.+Prefer field injection over constructor injection wherever possible for+`@Singleton` services and Wicket components/pages.+Users may continue privileged work in an existing session after theirprivileges are revoked. Revoked privileges must be denied in a new session.Do not report continued access within the existing session as a security bug