From c18ae0c382eddb87c5751044e710fc17c9700f58 Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Fri, 1 May 2026 14:12:56 -0700 Subject: [PATCH] fix(bot): forbid metrics changes and require policy changes only --- tools/gemini-cli-bot/brain/metrics.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/gemini-cli-bot/brain/metrics.md b/tools/gemini-cli-bot/brain/metrics.md index dd90716743..c3d72c1c46 100644 --- a/tools/gemini-cli-bot/brain/metrics.md +++ b/tools/gemini-cli-bot/brain/metrics.md @@ -95,5 +95,10 @@ Before proposing an intervention, accurately identify the blocker: ### 6. Record Findings & Propose Actions - Use the Memory & State format provided in the common rules. -- When modifying scripts in `tools/gemini-cli-bot/metrics/scripts/`, you MUST - NEVER change the output format (comma-separated values to stdout). +- **Action Priority**: Your ONLY goal is to propose actionable policy, reflex, + or workflow changes (e.g., in `.github/workflows/` or + `tools/gemini-cli-bot/reflexes/scripts/`) that resolve the identified root + cause. +- **No Metrics Changes**: You are STRICTLY FORBIDDEN from modifying the + measurement scripts in `tools/gemini-cli-bot/metrics/scripts/`. Your role is + to fix the underlying repository issues, not to change how they are measured.