add_learning
Record a durable decision, mistake, or how-to lesson with optional repo scope and detail so future sessions can recall and apply it.
Instructions
Record a durable lesson so future sessions recall it. type: decision|mistake|howto.
``statement`` is the lesson in one crisp sentence; ``detail`` the why/correction/better-way;
``scope`` the repo it applies to as its git remote ``owner/repo`` (e.g. ``the-dsvolk/qmx``)
— omit it for a global lesson. A bare repo name is mapped to the one known ``owner/repo``
it matches, and rejected with the options if it matches none or several.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"statement": "<statement>"
},
"name": "add_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| scope | No | ||
| topic | No | ||
| detail | No | ||
| statement | Yes | ||
| importance | No |