memory_lookup
Retrieve engineering memory entries by memory type and optional anchor path to surface prior incidents, ownership, and patterns before editing relevant files.
Instructions
Retrieve engineering-memory entries for one or more memory types, optionally narrowed to specific anchor paths. Use before editing a security-sensitive or historically buggy file to surface prior incidents, ownership, and patterns tied to it. Reads agents/memory/<type>/*.yml plus the agents/memory/intake/*.jsonl signal log. Read-only. Returns the v1 retrieval envelope: a status field plus per-type slices carrying the matched entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Memory types to scan, e.g. `historical-patterns`, `incident-learnings`, `ownership`. At least one required. | |
| keys | No | Optional anchor paths or globs to match entries against (e.g. a file you are about to edit). | |
| limit | No | Maximum entries to return per type. Defaults to 5. | |
| with_package | No | When true, also include memory shipped with the agent-config package, not just the consumer project's own. |