a digital person for bluesky

Add allowed_handles config to filter which users bot responds to

When bot.allowed_handles is configured, only mentions from those
handles will be processed. Empty list means respond to all (default).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Changed files
+6
+6
bsky.py
··· 234 234 'mention_preview': mention_text[:100] if mention_text else '' 235 235 }) 236 236 237 + # Check if handle is in allowed list (if configured) 238 + allowed_handles = get_config().get('bot.allowed_handles', []) 239 + if allowed_handles and author_handle not in allowed_handles: 240 + logger.info(f"[{correlation_id}] Skipping mention from @{author_handle} (not in allowed_handles)") 241 + return True # Remove from queue 242 + 237 243 # Retrieve the entire thread associated with the mention 238 244 try: 239 245 thread = atproto_client.app.bsky.feed.get_post_thread({