mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 00:37:41 +00:00
Tier 1 connect path. BuzzHeldAttestations (commons) stores the OwnerAttestations this device received, keyed by the agent pubkey each authorizes (verify-passing only). AuthCoordinator.buzzAugmented appends the owner-signed auth tag to an account's NIP-42 AUTH event when that account's key has a held attestation and the relay speaks the Buzz dialect — and only that account's AUTH, never the Concord stream-key AUTHs sharing the template, and never on non-Buzz relays. So an un-enrolled agent key gets virtual membership while its owner stays a member. AgentAttestationScreen gains a 'Hold an attestation' section (paste the auth tag JSON, verified against the current account, stored/removed) alongside the existing owner-side issuance. Store is in-memory for now — persisting per-account is a follow-up. 4 store tests added. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8KBSw6smQRyXLiWHeDsZ8