> ## Documentation Index
> Fetch the complete documentation index at: https://prism.ntecdev.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# ADR-4: semantic_recall needs type + namespace filters

> Add an optional type filter to semantic_recall (e.g., type=['decision','retro','spec','journal','todo','note']) that narrows results to specific artifact classe

<Info>**Status:** `proposed` · **ADR-4** · Filed 2026-04-17</Info>

## 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.
