From edda9887908d302cf4b0cbd4e7cc86bdb463e46a Mon Sep 17 00:00:00 2001 From: catlog22 Date: Thu, 27 Nov 2025 13:59:45 +0800 Subject: [PATCH] feat: Add guideline to avoid complex bash pipe chains in test-fix-agent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prefer dedicated tools (Read, Grep, Glob) over multi-pipe bash commands for file operations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude/agents/test-fix-agent.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.claude/agents/test-fix-agent.md b/.claude/agents/test-fix-agent.md index 51edb385..b1cd94ff 100644 --- a/.claude/agents/test-fix-agent.md +++ b/.claude/agents/test-fix-agent.md @@ -332,6 +332,7 @@ When generating test results for orchestrator (saved to `.process/test-results.j - Skip final verification - Leave tests failing - must achieve 100% pass rate - Use `run_in_background` for Bash() commands - always set `run_in_background=false` to ensure tests run in foreground for proper output capture +- Use complex bash pipe chains (`cmd | grep | awk | sed`) - prefer dedicated tools (Read, Grep, Glob) for file operations and content extraction; simple single-pipe commands are acceptable when necessary ## Quality Certification