mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
Add more additive, public, non-destructive event kinds to the REASONABLE signer policy so common apps stop prompting for every action. New kinds: 16 (generic repost), 20 (picture post), 42 (public chat message), 1111 (NIP-22 comment), 9802 (highlight), and 30315 (user status) — all in the same risk class as the original 1/6/7 set. Kinds that can spend money, overwrite account config (profile, contacts, relay/mute/bookmark lists), delete content, or leak private data still prompt. Decryption also stays ASK. Refactors reasonableDecision() to a documented REASONABLE_SIGN_KINDS set backed by quartz KIND constants, and adds NostrSignerPermissionLedgerTest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WMrHZfwN5tM4ecvdz7xigo