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.
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. |