brain_learn
Save durable lessons, architecture decisions, bug root-causes, and team conventions with automatic attribution, deduplication, contradiction detection, and supersession tracking for future recall.
Instructions
Store a new durable lesson, architecture decision, bug root-cause, or team convention. Includes automatic multi-agent attribution, quality evaluation, deduplication, contradiction detection, and supersession tracking. Examples: "Never use RS256 in dev", "JWT refresh token expires in 7d; rotate on each use".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Optional: agent name creating this memory (e.g. "claude-code", "cursor", "antigravity"). Auto-detected if omitted. | |
| 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. | |
| importance_level | No | Optional: importance level (default: automatically detected from content). |