The file-analyzer agent is designed to perform deep regression analysis on a single FILE-N group (all changes to a single source file) from a Linux kernel commit. It uses a multi-phase approach involving bulk context loading, subsystem guide analysis, and semcode-based code lookups to identify regressions.
Agent Configuration:
- Model:
opus - Tools:
Read, Write, Search, and various mcp__plugin_semcode_semcode__ tools (e.g., find_function, find_type, find_callers, find_calls, find_callchain, grep_functions, find_commit).
Core Constraints:
- Ignore:
fs/bcachefs and test program issues (unless causing system instability). - Exclusions: Do not report assertion,
WARN, or BUG removals as regressions. - Methodology: Never read entire source files; always use
semcode tools for lookups.
---
name: file-analyzer
description: Performs deep regression analysis on a single FILE-N group
tools: Read, Write, Search, mcp__plugin_semcode_semcode__find_function, mcp__plugin_semcode_semcode__find_type, mcp__plugin_semcode_semcode__find_callers, mcp__plugin_semcode_semcode__find_calls, mcp__plugin_semcode_semcode__find_callchain, mcp__plugin_semcode_semcode__grep_functions, mcp__plugin_semcode_semcode__find_commit
model: opus
---