Status: proposed · ADR-4 · Filed 2026-04-17
Decision
Add an optional type filter to semantic_recall (e.g., type=[‘decision’,‘retro’,‘spec’,‘journal’,‘todo’,‘note’]) that narrows results to specific artifact classes. Also expose a namespace filter (already a column on the remember path).
Rationale
semantic_recall is the only recall verb and it’s polymorphic across all artifact types. As memory density grows, callers need to ask ‘recall only decisions about X’ or ‘recall only failure-mode notes’. The metadata is already there on every row (namespace, source table). Exposing it as filters is a small backend change with large retrieval precision gains.
Alternatives Considered
Keep recall flat, rely on semantic matching. Add full-text search alongside semantic. Expose filters only via the REST API, not the MCP verb.