From f375d2354ba0fa1185d323d230a90504110c9341 Mon Sep 17 00:00:00 2001 From: Christian Gunderman Date: Tue, 12 May 2026 21:33:32 -0700 Subject: [PATCH] fix(bot): restrict critique skill to only fix scoped flaws --- tools/gemini-cli-bot/.gemini/skills/critique/SKILL.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/gemini-cli-bot/.gemini/skills/critique/SKILL.md b/tools/gemini-cli-bot/.gemini/skills/critique/SKILL.md index 0bbbf86b82..8aeaf07743 100644 --- a/tools/gemini-cli-bot/.gemini/skills/critique/SKILL.md +++ b/tools/gemini-cli-bot/.gemini/skills/critique/SKILL.md @@ -114,8 +114,12 @@ above: 4. **Strict Scope Constraint**: You are STRICTLY FORBIDDEN from modifying or staging any file that was not already staged by the investigation phase. You must ONLY critique and fix the files explicitly included in - `git diff --staged`. Do not attempt to complete pending tasks from the - memory ledger or introduce unrelated refactoring to unstaged files. + `git diff --staged`. Furthermore, within those staged files, you must ONLY + fix the specific logical or technical flaw you identified. You are + STRICTLY FORBIDDEN from performing unrelated refactoring, changing type + signatures, or modifying code outside the immediate scope of the required fix. + Do not attempt to complete pending tasks from the memory ledger or introduce + unrelated "cleanups". 5. Re-stage the file with `git add`. **CRITICAL: You MUST use `git add` to stage your fixes.**