SuperAPI AI Directory

emergency-priority2-receipt

General & other

View repository

Updated 10-16 08:40

About this skill

emergency-priority2-receipt

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

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

env -u HTTPS_PROXY -u HTTP_PROXY bun "$(cc-plugin-root pushover-commander)/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.

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the priority-2 alert repeat until acknowledged? If it stopped early or never fired, fix the retry/expire handling.
  2. Did the receipt poll detect the ack or expiry? If polling hung or missed the ack, fix the poll loop.

Only update if the issue is real and reproducible — not speculative.