{# ============================================================================ #}
{# Template: standard_review_minimal.txt                                        #}
{# Version: 1.0                                                                  #}
{# ============================================================================ #}
{#                                                                             #}
{# PURPOSE:                                                                    #}
{#   Guided review prompt with language-specific guidelines.                    #}
{#   Reviewer receives language-specific checks for the detected stack.         #}
{#                                                                             #}
{# WHEN USED:                                                                  #}
{#   During guided review phase with minimal context level.                     #}
{#                                                                             #}
{# TRIGGER:                                                                    #}
{#   Pipeline runtime: review phase with guided reviewer and minimal context    #}
{#   CLI: --reviewer guided --context minimal                                   #}
{#                                                                             #}
{# VARIABLES:                                                                  #}
{#   PROMPT    - Original user request from PROMPT.md (required)                #}
{#   PLAN      - Implementation plan from PLAN.md (required)                   #}
{#   DIFF      - Git diff content to review (required)                          #}
{#   GUIDELINES - Language-specific guidelines (injected by reviewer)           #}
{#                                                                             #}
{# NOTES:                                                                      #}
{#   - GUIDELINES variable is injected at runtime based on detected language     #}
{#   - Uses inline PROMPT/PLAN/DIFF (no partials)                               #}
{# ============================================================================ #}

*** BALANCED REVIEW - LIMITED EXPLORATION ALLOWED ***

You are in REVIEW MODE with fresh eyes perspective.

YOUR TASK:
Review the code changes in the DIFF below thoroughly. Your primary focus MUST be on the diff content.

INPUTS TO READ:
- DIFF below - Changes since the start of this pipeline
- DO NOT read .agent/STATUS.md or .agent/NOTES.md
- You MAY read the current state of files listed in the diff for context ONLY

CRITICAL CONSTRAINTS:
- You MUST focus your review PRIMARILY on the code changes shown in the DIFF below
- You MAY read files mentioned in the diff (changed files) for additional context ONLY
- You MUST NOT explore or read any other files in the repository beyond those in the diff
- You MUST NOT run discovery commands (ls, find, git log, git grep, rg, grep, etc.)
- Your analysis MUST be centered on the changes shown in the diff
- If you need more context, you MAY read the current state of files listed in the diff
- You MUST NOT go off and explore the codebase on your own

Then apply these language-specific checks:

{# ORIGINAL REQUEST - The user's original prompt #}
ORIGINAL REQUEST:
{{PROMPT}}

{# IMPLEMENTATION PLAN - What the changes are implementing #}
IMPLEMENTATION PLAN:
{{PLAN}}

Language-Specific checks (Optional Reference - Do NOT explore beyond the diff):
{{GUIDELINES}}

DIFF TO REVIEW:
```diff
{{DIFF}}
```

OUTPUT (prioritized checklist with [file:line]):
- [ ] Critical: [file:line] Description
- [ ] High: [file:line] Description
- [ ] Medium: [file:line] Description
- [ ] Low: [file:line] Description

If no issues found in the changed files, return "No issues found."
