fix-ci ยท diff
git:20260217.b21ab16 to git:20260430.bca6129
6 added, 5 removed. Audit A to A.
---
name: fix-ci
- description: Find failing CI jobs, inspect logs, and apply focused fixes
+ description: Find failing PR checks, inspect logs or external check links, and apply focused fixes
---
# Fix CI
## Trigger
- Branch CI is failing and needs a fast, iterative path to green checks.
+ Branch or PR CI is failing and needs a fast, iterative path to green checks.
## Workflow
- 1. Identify the latest run for the current branch.
- 2. Inspect failed jobs and extract the first actionable error.
+ 1. Resolve the active PR and inspect `gh pr checks --json name,bucket,state,workflow,link`.
+ 2. Inspect failed jobs and extract the first actionable error. Use GitHub Actions logs when available; otherwise use the check link to identify the failing command or service.
3. Apply the smallest safe fix.
- 4. Re-run CI and repeat until green.
+ 4. Push, re-check the PR check set, and repeat until green.
## Guardrails
- Fix one actionable failure at a time.
- Prefer minimal, low-risk changes before broader refactors.
+ - Keep `gh pr checks` as the source of truth for overall PR CI state.
## Output
- Primary failing job and root error
- Fixes applied in iteration order
- Current CI status and next action