Triage Framekit CI
Collect live evidence first:
.agents/skills/triage-ci/scripts/collect-ci.sh OWNER/REPO --pr PR_NUMBER
.agents/skills/triage-ci/scripts/collect-ci.sh OWNER/REPO --run RUN_ID
Diagnose and fix
- Confirm the live head SHA, workflow, job, step, conclusion, actor, and event.
- Read the failed or slow step logs. Distinguish queue time, setup, build extraction, tests, and query execution.
- Reproduce the exact command with the repository toolchain before changing YAML or source.
- Identify whether the failure is source, toolchain, permissions, external account state, or flaky infrastructure.
- Apply the smallest bounded fix with a regression assertion where possible.
- Invoke
$validate-framekit, push when requested, and collect the replacement remote run.
Do not claim a CI improvement from local success alone. If the user says “fix the CI and merge,” wait for all required terminal checks before merging; repository policy and explicit user authorization still control the merge.