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

if [ "${MAESTRO_TOOLBOX_ACTION:-}" = "describe" ]; then
  cat <<'JSON'
{"name":"incident-timeline","description":"Prints the required incident triage timeline and mitigation sections.","inputs":["incident","start_time","surface"],"outputs":["timeline","blast_radius","mitigation","next_action"]}
JSON
  exit 0
fi

cat <<'TEXT'
Current state:
Blast radius:
Timeline:
- Known:
- Inferred:
- Unknown:
Mitigation:
Verification:
Next action:
Withheld or unavailable evidence:
TEXT
