memory_lesson_search
Search procedural memory for lessons similar to your task to find what worked, what to avoid, and past user corrections. Call at task start.
Instructions
Search learned lessons (procedural memory) by similarity to the task
at hand. Call at the START of a task: what worked, what to avoid, what
the user corrected before. Heed polarity - entries — known
dead-ends. A lesson describes the run it came from, not this one:
apply it where today's specifics match, or it anchors you on a
stale framing — re_verify: true marks one whose subject facts
have changed since, so re-derive that one.
Returns: {count, entries: [{task, aspect, lesson, about, polarity, outcome, confidence, score, re_verify, re_verify_reason}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The task at hand, described the way it would have been logged. | |
| top_k | No | Max entries returned. | |
| verbose | No | Full provenance metadata; default entries are compact. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||