kage_learn
Store a learning from your coding session as reusable, git-tracked memory. Record insights even for files not yet created by enabling allow_missing_paths.
Instructions
Capture an actual reusable learning from the current session as repo-local memory. Prefer this over diff proposal when the agent knows what was learned. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway (e.g. a file you are about to create).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| learning | Yes | ||
| title | No | ||
| type | No | ||
| evidence | No | ||
| verified_by | No | ||
| tags | No | ||
| paths | No | ||
| stack | No | ||
| graph_nodes | No | ||
| allow_missing_paths | No | ||
| discovery_tokens | No | Approximate token cost of producing this knowledge (exploration + reasoning). Stored on the packet so recall receipts can report replay value; a conservative per-type default is estimated when omitted. |