amplify_suggest_pattern_key
Suggest existing pattern keys for a lesson to avoid duplicate keys and ensure frequency aggregation. Returns up to 3 ranked keys or a new key suggestion.
Instructions
v1.5.0 — Suggest an existing pattern_key (or propose a new one) for a lesson before recording it. Use this before amplify_learn when you suspect the lesson is a recurring pattern. Prevents the failure where two sessions invent two different keys for the same lesson and the frequency counter never aggregates. Returns up to 3 existing keys ranked by trigram similarity, or a new key suggestion if none clear the threshold.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name. | |
| title | Yes | The lesson title you intend to record. | |
| description | Yes | The lesson description (helps disambiguate). |