brain_confirm_ci
Confirm whether a CI job passed or failed and which topics it covered. The Brain adjusts lesson confidence automatically for smarter predictions.
Instructions
Close the CI feedback loop: tell the Brain whether a CI job passed or failed and which topics it covered. The Brain adjusts lesson confidence automatically — confirmed failures get +15%, false positives (brain predicted failure but CI passed) get −10%. Called automatically by cachly-action at the end of every pipeline. Also use manually after a deploy to confirm or refute the brain's last prediction.
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": {
"instance_id": "<instance_id>",
"job_status": "<job_status>",
"topics": "<topics>"
},
"name": "brain_confirm_ci"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Optional: "github_actions", "gitlab_ci", etc. | |
| topics | Yes | Topics touched by this CI run (e.g. ["auth:jwt", "deploy:k8s"]) | |
| job_status | Yes | Outcome of the CI job | |
| instance_id | Yes | Brain instance ID | |
| scan_topics | No | Topics the brain predicted would fail (from the scan response). Used to detect false positives. |