rea-ci-tests-audit
MOmorluto/rea486k近 7 天新增 8,943 个 star
[omh] Build or CI failure to triage: classify build, typecheck…
This is an OMH build-failure-triage workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
build-failure-triage exists so a failed check becomes an evidence-backed minimal handoff, clustered by cause and origin, instead of ad hoc debugging or a false-green claim; the posture is adapted from ECC's build-fix and PR-test-analysis surfaces.
omh-verification-gate.omh-code-review.omh-production-audit.omh-reliability-review.omh-app-debugging.Good example:
Bad example:
pre_existing or unknown one.gh is authenticated (gh run view <id> --log-failed); otherwise ask for the smallest fresh command output or CI job URL.omh-verification-gate for fresh evidence instead of re-triaging stale failures.Use when Hermes must inspect a failing build, typecheck, lint, test, CI, or DCO signal and prepare the smallest evidence-backed remediation handoff without redesigning the system.
Strong routing signals: `build-failure-triage`, `build failure triage`, `build failure`, `build-failure`, `build fix`, `build failed`, `build failing`, `compile error`, `compilation error`, `typecheck failed`, `typecheck failure`, `type check failed`, `tsc failed`, `lint failed`, `lint failure`, `test failed`, `test failure`, `tests failed`, `ci failed`, `ci failure`, `github actions failed`, `pr checks failed`, `pr check failure`, `dco failed`, `dco failure`, `pytest failed`, `pytest failure`, `cargo build failed`, `npm build failed`, `ビルド失敗`, `ビルドが失敗`, `コンパイルエラー`, `型チェック失敗`, `テストが落ちる`, `빌드 실패`, `배포 파이프라인`, `파이프라인 깨짐`, `파이프라인 실패`, `배포 실패`, `CI 실패`, `빌드 고쳐`, `컴파일 에러`, `타입체크 실패`, `테스트 실패`, `체크 실패`, `DCO 실패`, `сборка упала`, `ci красный`, `ci упал`, `почини сборку`, `ошибка сборки проекта`, `тесты падают`, `билд не проходит`, `пайплайн упал`, `почему падает ci`, `красный ci`, `ошибка компиляции`, `ошибку компиляции`, `构建失败`, `編譯錯誤`, `编译错误`, `类型检查失败`, `测试失败`, `build gagal`, `bantu perbaiki error kompilasi`, `cek penyebab pipeline CI gagal`, `typecheck gagal`, `tolong beresin lint yang gagal`, `tes gagal di CI`, `build thất bại`, `giúp sửa lỗi biên dịch`, `kiểm tra nguyên nhân pipeline CI thất bại`, `typecheck thất bại`, `hãy sửa lỗi lint thất bại`, `kiểm thử thất bại trên CI`
Category: verification
Phase: build-failure-triage
Quality tier: build-failure-triage-gated
Reasoning demand: standard
Quality bar:
introduced when the same command passes at the merge-base or the failure points at a line the diff added or changed; pre_existing only when an observed run of the same command fails the same way at the merge-base in a clean detached worktree (git worktree add --detach <dir> <merge-base>, removed afterwards), never by stashing or checking out the tree the user is working in; otherwise unknown. An observed merge-base run outranks a diff-line reading: a check that fails the same way at the merge-base is pre_existing even when its failure points at a line the diff changed. Name the proof beside the origin: a merge-base run is an observation, a diff-line reading is an inference. A failing test is introduced only after one rerun at head fails again; with no rerun, or a green one, its origin stays unknown and the missing evidence is the failure rate, measured at head and at the merge-base with the same command and the same N. A head rate near the merge-base rate is pre_existing; a higher head rate is introduced, with the two rates as its proof, and its remediation is a root-cause investigation (omh-app-debugging), not a one-line fix. For a cluster of that last kind the verdict is NEEDS_MORE_LOGS naming the missing root cause with omh-app-debugging as the next step, never FIX_READY.gh run list --branch <base> --workflow <name> --json conclusion,headSha,url, gh pr checks <n>). A pull_request run builds the merge ref refs/pull/<n>/merge, not the PR head (gh run view <id> --json headSha returns the PR head), so read the commit it built from its checkout log, gh run view <id> --log | grep -m1 'HEAD is now at' (the run-level log is refused while any job is still running, and so is --job <job-id> --log; read that job's log through the API instead, gh api --allow-escape-sequences repos/{owner}/{repo}/actions/jobs/<job-id>/logs | grep -m1 'HEAD is now at'), which names the merge commit and the base sha it merged into, and compare against that commit when the base moved.introduced clusters; a pre_existing cluster gets its own follow-up handoff outside this change's fix. Clusters of different origins still share one verdict: NEEDS_MORE_LOGS while any cluster that can run locally is unknown, naming the missing rerun or merge-base run (or the failure rate, for a test), even beside introduced ones; otherwise FIX_READY when at least one is introduced; otherwise, with every cluster pre_existing, ROUTE_TO_VERIFICATION_GATE. A cluster that is environmental or credentialed cannot run at the merge-base, so it never counts as unknown: it is BLOCKED_BY_ENVIRONMENT, which takes the verdict ahead of FIX_READY and behind NEEDS_MORE_LOGS.Required inputs:
Expected outputs:
Artifact expectations:
Artifact contracts:
This label denotes the machine-enforcement level, not a skill quality score and not an observed evidence state.
build_failure_triage_plan/v1; enforcement_level: guidance_only; consumer_id: noneSafety rules:
Use the current host's own tools and subagent/task mechanism when available;
otherwise run the same lanes sequentially or name the unavailable capability.
A prepared plan, handoff, checklist, or skill installation is not execution,
review, CI, merge-readiness, or merge evidence. Record actual tool results, or
not_observed / not_available, in the record; never invent dispatch or host
accounting.
Treat supplied context as advisory, not proof of hidden memory reads or writes.
State scope, constraints, verification, and the stop condition before work.
Reply in the user's own words and the host's own voice: the host's persona owns
reply language, tone, speech level, and sentence endings, progress updates
included (where it sets no language, use the one the user wrote in), and OMH
shapes structure and content only; OMH's record terms
(surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in
records and tool calls, never in the sentence the user reads unless they ask
about one; and when a real unresolved user decision or a useful briefing discussion
remains, offer one specific, content-linked question. Completed work needs no question;
omit unrelated non-action footers and generic offers to continue.
Supporting paths are relative to this skill directory; sibling skill paths are
relative to its parent. Resolve them from the host-provided skill base directory
({baseDir} on hosts that provide it), never a hardcoded install location.
A named workflow not installed here is unavailable, not permission to emulate
its host-specific capabilities. Verify through the real surface before done.
MOmorluto/rea486k近 7 天新增 8,943 个 star
MOmorluto/rea486k近 7 天新增 8,943 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star