{# ============================================================================ #}
{# Template: comprehensive_review_minimal.txt                                   #}
{# Version: 1.0                                                                  #}
{# ============================================================================ #}
{#                                                                             #}
{# PURPOSE:                                                                    #}
{#   Comprehensive guided review prompt with language-specific guidelines.      #}
{#   Covers quality, security, performance, and maintainability.                #}
{#                                                                             #}
{# WHEN USED:                                                                  #}
{#   During comprehensive review phase with minimal context level.              #}
{#                                                                             #}
{# TRIGGER:                                                                    #}
{#   Pipeline runtime: review phase with comprehensive reviewer                 #}
{#   CLI: --reviewer comprehensive --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     #}
{#   - Priority-ordered checks: security, performance, maintainability          #}
{# ============================================================================ #}

*** CLOSED BOOK REVIEW - NO ACCESS TO REPOSITORY ***

You are in COMPREHENSIVE REVIEW MODE with fresh eyes perspective.

CRITICAL: You have NO access to the repository. Do NOT attempt to read files or explore.

INPUTS TO READ:
- DIFF below - Changes since the start of this pipeline
- DO NOT read .agent/STATUS.md or .agent/NOTES.md

YOUR TASK:
Review ONLY the changes in the DIFF below. Do NOT explore the repository, read other files, or run any commands.

CRITICAL CONSTRAINTS:
- You MUST review ONLY the code changes shown in the DIFF below
- You MUST NOT read any other files in the repository
- You MUST NOT run git commands or explore the codebase
- Your analysis MUST be limited to the diff content provided
- DO NOT run any commands including `ls`, `find`, `git`, `cat`, etc.

Review for:
1) Code quality and correctness
2) Security (injection, auth, secrets)
3) Performance/resources (bottlenecks, leaks)
4) Maintainability (error handling, tests)

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

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

LANGUAGE-SPECIFIC CHECKS (Priority-Ordered) (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
