Skip to content

failure-analysis

Analyze a build failure for a Python package in the RHAI pipeline and produce a structured diagnosis report

Plugin: python-package-skills | Internal

Contract

Skill Contract canonical-skill-v1

Diagnose the root cause of a Python package build failure from log excerpts and package context. Produce a structured analysis report with evidence, recommended fix, and confidence rating.

Identity

Functions
analyze
Success
  • Produces .failure-analysis-output.md with root cause, evidence, recommended fix, and confidence sections.

Optimization Targets

task_success deterministic

Invariants

Must Preserve
  • Do not modify the repository or commit any changes.
  • Focus on source-based build solutions over pre-built shipping.
Fixed Context
toolsBash, Read, Grep, Glob
knowledgetask_inputtask_private

Traceability

Usage

/failure-analysis