mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
Foundation for Desktop Live Media (NIP-53) consume+discover feature. - LiveActivitySorting: pure, CLI-safe status-order / freshness / ranking helpers with a snapshot-map sort API so Android + Desktop order live streams identically and no comparator reads volatile state mid-sort (avoids the TimSort "contract violation" the Android filters guard against). - Unit tests (green): status ordering, offline-live downgrade, 15-min live-bar freshness, overdue-planned detection, multi-key sort + tiebreaks, and stability under concurrent key mutation. - Deepened plan (7 review agents) + brainstorm + full manual testing sheet. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>