learn_pattern
Save validated working patterns to the knowledge base when search results lack relevance, ensuring future sessions can reuse them. Only trusted models write directly; others stage for review.
Instructions
Save a validated working pattern to the RAG knowledge base.
Call this after a successful operation when search_sg_docs returned low relevance (< 60%), indicating the pattern was not well-documented. The pattern will be available in future sessions.
Model trust gates: only Opus/Fable can write directly. Other models stage candidates for review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |