Skip to content

OLS-3669: instruct analysis agent to use skills before raw commands#343

Open
tremes wants to merge 1 commit into
openshift:mainfrom
tremes:prompt
Open

OLS-3669: instruct analysis agent to use skills before raw commands#343
tremes wants to merge 1 commit into
openshift:mainfrom
tremes:prompt

Conversation

@tremes

@tremes tremes commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Update the analysis prompt template to prioritize skill-based workflows over ad-hoc kubectl/oc commands. The agent now looks for SKILL.md files in skill directories first and follows their structured instructions, falling back to raw commands only when no matching skill exists.

Also improve root cause diagnosis guidance: the agent is now instructed to trace the full causality chain rather than stopping at the first failure.

Update the analysis prompt template to prioritize skill-based
workflows over ad-hoc kubectl/oc commands. The agent now looks
for SKILL.md files in skill directories first and follows their
structured instructions, falling back to raw commands only when
no matching skill exists.

Also improve root cause diagnosis guidance: the agent is now
instructed to trace the full causality chain rather than stopping
at the first failure.

Co-Authored-By: Claude <noreply@anthropic.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 17, 2026
@openshift-ci

openshift-ci Bot commented Jul 17, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 18279042-4543-4390-8443-69fad5698a2f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Jul 17, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign joshuawilson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tremes
tremes marked this pull request as ready for review July 17, 2026 11:26
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 17, 2026
@openshift-ci
openshift-ci Bot requested review from onmete and xrajesh July 17, 2026 11:26
@openshift-ci

openshift-ci Bot commented Jul 17, 2026

Copy link
Copy Markdown

@tremes: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@tremes tremes changed the title feat: instruct analysis agent to use skills before raw commands OLS-3669: instruct analysis agent to use skills before raw commands Jul 20, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 20, 2026

Copy link
Copy Markdown

@tremes: This pull request references OLS-3669 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Update the analysis prompt template to prioritize skill-based workflows over ad-hoc kubectl/oc commands. The agent now looks for SKILL.md files in skill directories first and follows their structured instructions, falling back to raw commands only when no matching skill exists.

Also improve root cause diagnosis guidance: the agent is now instructed to trace the full causality chain rather than stopping at the first failure.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants