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

if [ "${MAESTRO_TOOLBOX_ACTION:-}" = "describe" ]; then
  cat <<'JSON'
{"name":"release-readiness","description":"Prints the required release verification report skeleton.","inputs":["repo","revision","environment"],"outputs":["decision","evidence","blockers","next_action"]}
JSON
  exit 0
fi

cat <<'TEXT'
Decision:
Evidence:
Unavailable sources:
Blockers:
Next action:
Withheld or out of scope:
TEXT
