cuba_alarma
Report errors immediately to auto-detect recurring patterns and boost similar-error retrieval, helping AI coding agents flag warnings and learn from failures.
Instructions
Report errors immediately. Auto-detects patterns (≥3 similar = warning). Hebbian: similar errors get boosted for easier retrieval.
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": {
"error_type": "<error_type>",
"error_message": "<error_message>"
},
"name": "cuba_alarma"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Context: {file, function, stack_trace, line} | |
| project | No | Project name (default: 'default') | |
| error_type | Yes | Error category: TypeError, ConnectionError, etc. | |
| allow_secret | No | Refused when the text looks like a live credential (token, password, URL with embedded creds). Set true only for a false match — the text is then stored verbatim, in clear, and reachable by search, export and every client. | |
| error_message | Yes | Full error message |