#!/usr/bin/env bash
set -euo pipefail

if [ "${MAESTRO_TOOLBOX_ACTION:-}" = "describe" ]; then
  cat <<'JSON'
{"name":"review-summary","description":"Prints the required PR review output sections for Maestro first-party review skills.","inputs":["pr","repo","risk_level"],"outputs":["findings","open_questions","verification"]}
JSON
  exit 0
fi

cat <<'TEXT'
Findings:
- [severity] file:line - impact and concrete fix direction

Open questions:
- None.

Verification:
- State the exact checks inspected or run.
TEXT
