Learn something
crbro_learnStore a fact, decision, pattern, preference, error, or debt in long-term memory, merging duplicates and recording sources so future recalls stay accurate.
Instructions
Write a fact, decision, pattern, preference, error or debt to a neuron (created when the topic matches none). Recall first: it may exist. A replacement passes supersedes; retiring without one is crbro_revise; deleting is crbro_forget. A value that can change names its source (file, key, URL, person). Repeating a fact merges metadata, never verifies it (crbro_revise status=verified does). One claim per fact: past ~600 characters the answer suggests splitting; a huge neuron, crbro_revise move_to. Credentials become markers: crbro_secret them, store only the name. Returns neuron_id, action, shelf_life, near_duplicates, supersedes_unmatched (still live).
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>",
"content": "<content>"
},
"name": "crbro_learn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | error = a mistake with its fix; debt = a deliberate deferral with its ceiling and revisit trigger. | |
| topic | No | Topic name, e.g. "OctoChat"; or pass neuron_id. | |
| domain | No | Set on a new neuron, or replacing "general". | |
| content | Yes | Self-contained: recalled without this conversation. For a changeable value, say where it came from (file, key, URL, person). | |
| keywords | No | Facts, expected: 2-5 words a future question may use that the text lacks (synonyms, other language, generic name). | |
| temporal | No | Facts: current state (default) or a historical record. | |
| neuron_id | No | Exact id from crbro_recall; skips name matching. | |
| rationale | No | Decisions: why. Indexed with it. | |
| reference | No | Facts: where to check it (relative file, URL, person). Data, never fetched. | |
| confidence | No | Facts: 0-1, default 1. | |
| shelf_life | No | Facts: volatile (versions, ports, hosts, config, roles) to permanent (history). Inferred if omitted. | |
| supersedes | No | Ids or exact text of the facts this replaces; unmatched ones stay live. | |
| keywords_replace | No | Replace, not merge, the keywords of an identical fact. |