Merged
Conversation
janisz
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Extends the
acs-triageworkflow to perform deep CI failure root cause analysis for issues classified asCI_FAILURE. When a CI failure is triaged, the workflow now automatically reads thestackrox-ci-failure-investigatoragent methodology from the cloned stackrox repository and performs a thorough investigation (4-5 minutes per issue), producing root cause, failure category, affected components, risk assessment, and a proposed fix.The deep analysis is informational only — it enriches JIRA triage comments and reports but does not influence team assignment. To accommodate the deeper investigation, the workflow timeout has been increased from 300s to 1800s and the max issues per run reduced from 20 to 5.
Changes
reference/constants.md— Timeout 300→1800s, max issues 20→5, added deep analysis constants and failure category enum.claude/commands/triage.md— Phase 1a verifies investigator agent availability; Phase 4a restructured into Stage 1 (shallow pattern matching) + Stage 2 (deep root cause analysis); Phase 5 unchangedtemplates/jira-comment.md— Added conditional "CI Failure Root Cause Analysis" section with exampletemplates/triage-report.md— Extended CI Failures section with deep analysis fields.ambient/ambient.json— Updated config (timeout, maxIssues) and systemPromptCLAUDE.md— Documented deep analysis feature, updated constraints, added external dependencyFIELD_REFERENCE.md— Addedci_analysis.deep_analysis.*field definitions.claude/commands/comment-issues.md— Updated CI failure comment example with deep analysisValidation
/triageagainst a known CI_FAILURE issueAI-assisted development prompts
This PR was developed with AI assistance. Below are the prompts used: