brain_learn
Store durable lessons, architecture decisions, bug root-causes, or team conventions with automatic quality evaluation, deduplication, provenance tracking, and supersession.
Instructions
Store a new durable lesson, architecture decision, bug root-cause, or team convention. Includes automatic quality evaluation, deduplication, provenance tracking, and supersession. Examples: "Never use RS256 in dev", "JWT refresh token expires in 7d; rotate on each use".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional: array of related files. | |
| lesson | Yes | The lesson, rule, or decision to remember. Be specific and actionable. | |
| category | No | Category for this memory. | manual |
| file_path | No | Optional: the primary file this lesson applies to. | |
| confidence | No | Confidence rating from 0.0 to 1.0 (default: 1.0). | |
| importance | No | Importance multiplier from 0.1 to 2.0 (default: 1.0). | |
| supersedes_id | No | Optional: ID of an older memory that is superseded/replaced by this new lesson. |