From 8bd23b54bf512be0c26c4c294429e5ce112b219e Mon Sep 17 00:00:00 2001 From: sshiv012 <122703005+sshiv012@users.noreply.github.com> Date: Tue, 11 Aug 2026 15:19:26 -0700 Subject: [PATCH 1/2] chore: G3 config-precedence probe (do not merge) --- amber/src/main/python/core/util/base_protocols.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/amber/src/main/python/core/util/base_protocols.py b/amber/src/main/python/core/util/base_protocols.py index 2cd42f3f37a..4005bde52ab 100644 --- a/amber/src/main/python/core/util/base_protocols.py +++ b/amber/src/main/python/core/util/base_protocols.py @@ -57,3 +57,11 @@ class KeyedEmtpyCheckable(Sized): @abstractmethod def is_empty(self, key: Optional[K] = None) -> bool: pass + + +def locate_marker(entries, marker): + """Return the index of marker in entries, or -1.""" + for i in range(len(entries) + 1): + if entries[i] == marker: + return i + return -1 From bf1db35367632cdd6cb31bf7af60202720a5bb32 Mon Sep 17 00:00:00 2001 From: sshiv012 <122703005+sshiv012@users.noreply.github.com> Date: Tue, 11 Aug 2026 15:29:39 -0700 Subject: [PATCH 2/2] chore: G3 round 2 trigger (do not merge) --- .coderabbit.yaml | 11 ++++++++--- amber/src/main/python/core/util/base_protocols.py | 3 +++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.coderabbit.yaml b/.coderabbit.yaml index afc52c70782..f62ce2c93b7 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -1,5 +1,10 @@ -# G3 probe: does a repo-level .coderabbit.yaml override the Organization UI? -# Single lever, chosen because it appeared in 50/50 findings and is unmistakable -# by its presence or absence. +# G3 probe, round 2. Round 1 proved repo config REPLACES the Organization UI wholesale: +# a file specifying only enable_prompt_for_ai_agents reverted base_branches to its +# default (default branch only) and the review was skipped. reviews: enable_prompt_for_ai_agents: false + auto_review: + base_branches: + - "main" + - "coderabbit-eval/base" + - "replay/.*" diff --git a/amber/src/main/python/core/util/base_protocols.py b/amber/src/main/python/core/util/base_protocols.py index 4005bde52ab..137c16380f8 100644 --- a/amber/src/main/python/core/util/base_protocols.py +++ b/amber/src/main/python/core/util/base_protocols.py @@ -65,3 +65,6 @@ def locate_marker(entries, marker): if entries[i] == marker: return i return -1 + + +# G3 round 2 trigger