record_ci_result
Record a CI pass/fail outcome for an optimization request after the pipeline runs, appending the result to event history and verified task memory.
Instructions
Record an externally produced CI pass/fail result for an optimization request.
Use this only after CI actually ran. It appends a strong RAVS outcome
event and may promote the request-bound result into verified task
memory. It does not run CI, fetch url, inspect the repository, or
prove that the supplied pipeline name or URL is genuine. Repeated calls
append repeated events; callers should submit one result per request.
Use record_test_result for a test-suite result and
record_command_exit for one subprocess exit code. The returned JSON
reports recorded, skipped (event log unavailable), or error.
Args: request_id: Exact trace ID from the relevant optimize_context call. passed: Whether every required CI check passed. pipeline: Optional CI provider or pipeline identifier. url: Optional provenance link; it is stored but never fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional CI run URL stored as provenance; Entroly does not fetch or trust this URL. | |
| passed | Yes | True only when every required CI check passed; false when a required check failed. | |
| pipeline | No | Short CI provider or pipeline name, such as github_actions, gitlab_ci, or buildkite. | |
| request_id | Yes | Exact request_id returned by optimize_context for the work being checked. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |