find_lessons
Retrieve procedural rules and lessons for a query, optionally scoped to a project. Returns lessons with surface IDs, excluding explicit lessons from other projects while keeping generic rules.
Instructions
Standalone 'what procedural rules apply to X'. find_lessons(query, project?) → lessons with surface_id; project scope excludes explicit lessons from other projects while retaining generic rules. FOLLOW them, then mark_lesson_followed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | max lessons to return (default 5) | |
| query | No | topic to filter by (empty = recent lessons across all projects) | |
| project | No | optional project name; explicit lessons from other projects are excluded while generic cross-project rules remain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |