thomasmueller commented on code in PR #2745:
URL: https://github.com/apache/jackrabbit-oak/pull/2745#discussion_r2903813544


##########
AGENTS.md:
##########
@@ -0,0 +1,236 @@
+# AGENTS.md - AI Agent Instructions for Apache Jackrabbit Oak
+
+## Project Overview
+
+Apache Jackrabbit Oak is a scalable, high-performance hierarchical content 
repository
+implementing the JCR (Java Content Repository) specification. It is a 
multi-module Maven
+project with ~47 modules written in Java 11.
+
+## General Guidelines
+
+- When working on a specific area, first read the area-specific documentation 
before
+  making changes (see doc links in the module tables below)
+- New code must have high test coverage — all critical paths must be covered 
by tests
+- Write self-descriptive, easy-to-read code. Avoid trivial comments. Only add 
comments
+  where the logic is complex and not obvious from the code itself
+- Use feature toggles for non-trivial changes. If the change is a bug fix, the 
toggle
+  should be enabled by default. If the change introduces a new feature, the 
toggle should
+  be disabled by default
+
+## Build Commands
+
+```bash
+# Full build (skip tests for speed)
+mvn clean install -DskipTests
+
+# Fast build (no tests, no coverage)
+mvn clean install -Pfast
+
+# Build a single module
+mvn clean install -pl oak-core -DskipTests

Review Comment:
   > That does not work.
   
   OK, feel free to propose a solution that
   * doesn't run all the tests locally for each trivial change, because that 
would be wasting time. The tests are anyway run on Jenkins before we merge.
   * and at the same time ensures that no test ever breaks.
   
   In my view, this is just impossible. So I'm now merging what we have. If you 
find a way to solve this riddle, that would be great!



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to