vault_learn
Captures non-obvious learnings into an Obsidian vault: auto-routes them to the right note, domain MOC, daily note, and knowledge index, and returns a diff.
Instructions
Records a learning in the vault. Call it whenever something non-obvious and reusable comes up during the session — an architecture decision, a pattern, a gotcha, a configuration trap — without asking first where to save it: the server decides on its own between appending to the existing note that already covers the subject and creating a new one (the bias is to create), and propagates on its own to the domain MOC and the daily note (and to the knowledge index when the domain is new), all in a single commit. Show the returned diff to the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for the note's frontmatter. | |
| links | No | Related wiki-links, without the brackets. | |
| titulo | Yes | Short title for the learning; it becomes the filename. | |
| dominio | Yes | Domain under `02-wiki/`, e.g. nestjs, docker, patterns. A new domain requires confirm_novo_dominio. | |
| insight | Yes | The learning itself, in markdown. | |
| projeto | No | Name of the project under `03-projects/` this learning belongs to; it goes into the daily note's capture line. | |
| contexto | Yes | Where and why this came up. | |
| confirm_novo_dominio | No | Confirms creating a domain that does not yet exist under `02-wiki/`. |