---
description: Retrieve relevant project memories
argument-hint: "<query>"
---
You are retrieving project memories relevant to: $ARGUMENTS

Project memories live in `.pi/memory/`.

If `.pi/memory/INDEX.md` does not exist, respond exactly: `No project memories exist yet.`

If a scout/subagent tool is available, delegate this retrieval task to a scout-style agent. Otherwise, perform the retrieval yourself using `read`, `grep`, and `find`.

Retrieval strategy:
1. Start with `.pi/memory/INDEX.md`.
2. Use the Retrieval Map to identify likely topic files.
3. Read only relevant Topic File sections.
4. Return Memory IDs, topic paths, short excerpts, and why each memory is relevant.

Do not synthesize a final answer to the user's broader task. This prompt is for retrieval only.
