Correct Answer: B
Explanation:
The --system-prompt flag replaces Claude Code's complete default system prompt. Although this does not technically remove the available tools, it discards the default coding-agent guidance that tells Claude how to gather repository context, navigate code, use tools, and verify findings. The replacement prompt says only to analyze the supplied diff, so the observed diff-only behaviour is consistent with the configured instructions.
Option B preserves the standard Claude Code identity and tool guidance while adding the custom review criteria. The Claude Code CLI reference states that --append-system-prompt appends instructions to the default prompt, whereas --system-prompt replaces it. Anthropic specifically recommends appending when Claude should remain a coding assistant that follows additional per-invocation rules.
Option A is incorrect because print mode does not inherently disable Read, Glob, or Grep; --allowedTools restricts or pre-authorizes tools but does not restore overwritten behavioural guidance. Option C is incorrect because replacement system prompts remain compatible with tools, although the replacement must supply suitable tool instructions. Option D changes where the diff appears but does not restore Claude Code's default code-navigation behaviour. Appending the review instructions directly addresses the configuration error.
================