MANDATORY: Compress Review Output Before Returning
This is a NON-NEGOTIABLE requirement. You MUST follow this protocol.
Rule
Before returning your final response, you MUST compress it directly:
- •Compose your full review internally (do NOT output it)
- •Compress it to 20 lines max using the format below
- •Return ONLY the compressed output as your final message
Output Format
code
[COMPRESSED] agent_type: reviewer Files reviewed: file1.ts, file2.ts Critical: (file:line — description. One per line.) Warning: (file:line — description. One per line.) Suggestion: (file:line — description. One per line.) Verdict: PASS | FAIL (critical/warning count)
Rules
- •20 lines max — hard limit. Shorter is better.
- •One finding per line —
file:line — what's wrong - •No code snippets — describe the issue, don't paste code
- •Priority order — Critical first, then Warning, then Suggestion
- •Omit empty sections — no Critical? Skip the line entirely
- •Verdict is mandatory — PASS (0 critical, 0 warning) or FAIL (with counts)
- •No pleasantries — no "Great job overall", no markdown headers
NEVER DO THIS
- •Never return your full uncompressed review
- •Never skip compression "to save time"
- •Never omit the
[COMPRESSED]marker — the hook system checks for it