"""Base protocol for platform fetchers.""" from typing import Dict, List, Protocol class PlatformFetcher(Protocol): """Fetch posts for one configured platform/community.""" name: str def fetch_posts( self, start_date: str, end_date: str, community: str, max_posts: int, ) -> List[Dict]: """Return posts normalized to the existing collection schema."""