emergency-priority2-receipt · git:20260605.94ba233 · 2026-06-05 · sha256 963eb4f6e8683ae4

emergency-priority2-receipt git:20260605.94ba233A

Immutable. This exact content never changes and is served at /api/v1/blob/963eb4f6e8683ae4.

---
name: emergency-priority2-receipt
description: Send a Pushover EMERGENCY (priority 2) alert that repeats until acknowledged, then poll the receipt until the user acks or it expires. Use when something is urgent and must not be missed - production breakage, a blocked autonomous loop needing immediate input, an alarm-until-acknowledged notification. For routine notifications use send-notification. TRIGGERS - emergency alert, urgent pushover, alarm until acknowledged, priority 2, wake me up.
---

# emergency-priority2-receipt

Priority-2 emergency notification with receipt polling, via the TS core `pushover_core.ts emergency`.

```bash
env -u HTTPS_PROXY -u HTTP_PROXY bun "${CLAUDE_PLUGIN_ROOT}/skills/_lib/pushover_core.ts" emergency \
  --title "Title" --message "what happened + the one action needed" \
  [--retry 30] [--expire 300] [--sound piano] [--attach report.png] [--app main|test]
```

## Behavior (verified on a physical device 2026-05-30)

- priority 2 **requires** `retry` (≥ 30 s) and `expire` (≤ 10800 s) — Pushover returns HTTP 400 without them. The core supplies defaults (30 / 300) automatically.
- The response returns a `receipt`; the core polls `/1/receipts/{receipt}.json` every 5 s and prints `{acknowledged, acknowledged_at, expired}` when you ack (verified ack at t+35 s) or it expires.
- `sound=piano` is a custom sound on this account; `pianobar` is the built-in fallback — use `custom-sounds resolve piano pianobar`.
- Attach a `render-incident-report-image` PNG for full detail; keep `--message` ≤ 1024.