openshift-eng/ai-helpers/payload-results-yaml
Claude Code and agent skill by openshift-eng/ai-helpers
- community
Checking that the SKILL.md file is still in the repository.
State management for agentic payload triage actions — you must use this skill whenever reading or writing the payload results YAML file
Install
npx vskill@latest install openshift-eng/ai-helpers/payload-results-yamlSKILL.md
The same SKILL.md was published earlier as openshift-eng/ai-helpers/payload-results-yaml.
Payload Results YAML
This skill defines the schema for the payload-results-{tag}.yaml file and provides the operations for reading and writing it. All skills in the payload triage pipeline must use this skill when interacting with the results file.
When to Use This Skill
Use this skill whenever you need to:
- Create a new results file (during
payload-analysis) - Read candidates or their actions (during
payload-revert,payload-experiment) - Append an action to a candidate (during
stage-payload-reverts,payload-experimental-reverts) - Update an action's status (during
payload-experimental-revertsPhase 2)
File Location
The file is always written to and read from the current working directory:
Where {tag} is the full payload tag with colons and slashes replaced by hyphens (e.g., payload-results-4.22.0-0.nightly-2026-02-25-152806.yaml).
Schema
metadata
Written once by payload-analysis. Never modified by downstream skills.
| Field | Type | Description | |
|---|---|---|---|
payload_tag | string | Full payload tag being analyzed | |
version | string | OCP version (e.g., "4.22") | |
stream | string | "nightly" or "ci" | |
architecture | string | "amd64", "arm64", "multi", etc. | |
release_controller_url | string | URL to the payload on the release controller | |
analyzed_at | string | ISO 8601 timestamp of when the analysis was performed | |
force_accept_recommended | bool | true when all failures are temporary infrastructure issues, no more than 2 blocking jobs failed, and no payload has been accepted in the stream for 18+ hours. Determined by payload-analysis Step 6.4. |
failing_jobs[]
All failed blocking jobs in the payload. Written once by payload-analysis. Never modified by downstream skills. This is the authoritative list of failures — every failed blocking job appears here regardless of whether a candidate PR has been identified.
| Field | Type | Description | |
|---|---|---|---|
job_name | string | Full periodic job name | |
prow_url | string | Prow URL for the failing run | |
is_aggregated | bool | Whether this is an aggregated job | |
underlying_job_name | string | For aggregated jobs, the underlying periodic job name; "" otherwise | |
failure_type | string | "test", "install", "upgrade", or "infra" | |
root_cause_summary | string | Brief description of the failure mode | |
streak_length | int | Consecutive payloads this job has been failing | |
originating_payload_tag | string | The payload where this job first started failing in the current streak | |
failure_pattern | string | Pass/fail history across the lookback window, most recent first (e.g., "F F F S F F") | |
cluster_profile | string | Optional. Exact CI cluster profile name (for example azure4, hypershift-aws, hypershift-aks). Required on infra jobs. Copy it from the job's cluster_profile; do not invent a name from the cloud vendor or the job name. | |
ship_status | object | Optional. SHIP Status observation for failure_type: infra jobs (and when infra is suspected). Omit the key entirely when SHIP read tools (get_outages_during / list_components) are not in the tool list. Do not write action: skipped as a stand-in for missing tools. |
failing_jobs[].ship_status (optional)
Recorded by payload-analysis steps 6.5 (read) and 6.6 (write, only when record_payload_infra_outage exists). Downstream skills must not invent slugs.
| Field | Type | Description | ||||
|---|---|---|---|---|---|---|
component_slug | string | SHIP Status component from the root-cause map (e.g. downstream-ci, boskos, boskos-hypershift, prow, build-farm). build-farm only when that CI cluster itself failed, never as a default from spec.cluster. | ||||
sub_component_slug | string | SHIP Status sub-component (e.g. ci-config, gcp, build04) | ||||
cluster_profile | string | Optional. Same exact cluster profile as on the job. Required on every infra ship_status observation. | ||||
window_start | string | RFC3339 UTC start of the job's Prow run (same bound passed to get_outages_during) | ||||
window_end | string | RFC3339 UTC end of the job's Prow run (job completion, or --as-of if missing) | ||||
observed_health | string | Health overlapping the job run window from get_outages_during (healthy if none; otherwise the overlapping outage severity). Never live "now" status from get_infrastructure_status. | ||||
existing_outage_id | int or null | Outage id overlapping the job window, or null if none | ||||
queried_at | string | RFC3339 UTC timestamp of the read | ||||
action | string | Required when ship_status is present. pending \ | created \ | linked \ | skipped | |
outage_id | int or null | Filled after a Chai-hosted write | ||||
dashboard_url | string or null | Outage URL after create/link | ||||
reason | string | Skip/error detail (unmapped, already_recorded, …) |
candidates[]
Each entry represents a PR or an RHCOS RPM change identified as a candidate cause of payload failures. Top-level candidate fields are written once by payload-analysis and are read-only to downstream skills. The actions sub-array is mutable (see below).
Candidates reference failing jobs by job_name via the failing_jobs string array, linking back to the top-level failing_jobs[] entries.
Common fields (required on every candidate, regardless of type):
| Field | Type | Description | |
|---|---|---|---|
type | string | "pr" or "rhcos_rpm" — determines which type-specific fields below apply | |
confidence_score | int | 0-100 confidence that this candidate caused the failures | |
rationale | string | Explanation of why this candidate is suspected, with itemized rubric signals | |
failing_jobs | array of strings | Job names from the top-level failing_jobs[] that this candidate is blamed for | |
actions | array | Actions taken on this candidate (see below). rhcos_rpm candidates cannot be reverted, so this is normally [] for them |
`type: "pr"` fields:
| Field | Type | Description | |
|---|---|---|---|
pr_url | string | GitHub PR URL | |
pr_number | int | PR number | |
component | string | OCP component name | |
title | string | PR title |
`type: "rhcos_rpm"` fields:
| Field | Type | Description | |
|---|---|---|---|
rhcos_tag | string | RHCOS image stream tag (rhel-coreos or rhel-coreos-10) | |
rhcos_name | string | Human-readable RHCOS version name | |
package | string | RPM package name (or the logical source package when subpackages are deduped) | |
old_version | string | Previous RPM version | |
new_version | string | New RPM version | |
changelog_evidence | string | The specific changelog entry or entries relating to the failure, or "none" |
RHCOS RPM candidates cannot be reverted through the normal PR process — downstream skills that stage or filter reverts (e.g. stage-payload-reverts, /ci:payload-revert) MUST exclude candidates with type: "rhcos_rpm", regardless of confidence_score.
candidates[].actions[]
Actions taken on a candidate. New entries are appended by downstream skills. Existing entries may be updated in place (e.g., status, result_summary, payload_jobs) by the Update Action Status operation. An empty array means no action has been taken.
| Field | Type | Description | |
|---|---|---|---|
type | string | "revert" or "experiment" | |
status | string | See status values below | |
revert_pr_url | string | URL of the revert PR (draft or real) | |
revert_pr_state | string | "draft", "open", "merged", "closed" | |
result_summary | string | Brief description of the outcome | |
jira_key | string | TRT JIRA key (e.g., "TRT-1234"), or "" | |
jira_url | string | TRT JIRA URL, or "" | |
payload_jobs | array | Payload validation jobs triggered (see below) |
Status values:
| Status | Meaning | |
|---|---|---|
"open" | Pre-existing revert PR found open during analysis | |
"merged" | Pre-existing revert PR already merged | |
"staged" | Revert PR and JIRA created, payload jobs triggered (used by type: "revert") | |
"pending" | Experiment dispatched, payload jobs running, results not yet collected | |
"passed" | Payload jobs passed with the revert — candidate confirmed as cause | |
"failed" | Payload jobs still fail with the revert — candidate is innocent | |
"inconclusive" | Mixed or unfinished results | |
"skipped_conflict" | Revert has merge conflicts, skipped | |
"deferred" | Jobs skipped due to triggering limits, or candidate exceeded max experiment count |
candidates[].actions[].payload_jobs[]
Payload validation jobs triggered against the revert PR.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ci/skills/payload-results-yaml/SKILL.md
Popularity
- Repository stars
- 114
- Repository forks
- 307
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openshift-eng/ai-helpers/payload-results-yaml)