Source adapter contract for MemPalace (RFC 002). Mirrors what ``mempalace/backends/base.py`` does for the write side: it defines the read-side surface every source adapter must implement. A source adapter extracts content from a specific origin (filesystem, git, Slack, Cursor …)
# Source: https://github.com/MemPalace/mempalace | License: MIT | Copyright 2026 MemPalace Contributors # Provided via justclaw.it.com; keep this notice with the code. """Source adapter contract for MemPalace (RFC 002). Mirrors what ``mempalace/backends/base.py`` does for the write side: it defines the read-side surface every source adapter must implement. A source adapter extracts content from a specific origin (filesystem, git, Slack, Cursor …) and yields typed records (``SourceItemMetadata`` / ``DrawerRecord``) that core routes into the palace. This module is spec scaffolding. The first-party miners (``mempalace/miner.py`` and ``mempalace/convo_miner.py``) are migrated onto it in a follow-up PR; in this PR we publish the contract so third-party adapters can begin building against a st ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key