AGENT SKILL

failure-triage

Convert compiler errors, failing tests, stack traces, CI failures, security findings, or telemetry anomalies into bounded evidence-rich tasks.

License 许可
MIT
最近更新
2026-07-29
Stars
★ 0
Forks
0

01 前言 Front Matter

name
failure-triage
metadata
{ "version": "1.0.0" }
description
Convert compiler errors, failing tests, stack traces, CI failures, security findings, or telemetry anomalies into bounded evidence-rich tasks.
compatibility
Codex and OpenCode

03 SKILL.md 正文

Failure Triage

Procedure

  1. Preserve raw evidence in a run artifact before summarizing.
  2. Normalize environment, command, exit code, timestamp, revision, and reproduction.
  3. Group failures by stable signature, module owner, platform, and probable root cause—not merely by message order.
  4. Separate primary failures from cascades.
  5. Create one bounded task per independently fixable root cause.
  6. Define expected behavior, constraints, required tests, and severity.
  7. Do not implement while triaging.

Output task fields

  • ID and source
  • Severity and risk
  • Domain/module owner
  • Reproduction command or trace
  • Expected and actual behavior
  • Evidence paths
  • Constraints and suspected affected invariants
  • Acceptance/regression tests
  • Dependencies on other tasks

Use deterministic failures as the next work queue, following the compiler/test/CI queue principle rather than asking one agent to fix an unbounded backlog.

Handoff

Triage produces bounded tasks; it does not record them. A root cause that needs to survive this session goes to ticket-writer as one ticket per cause, with the evidence paths this procedure preserved. Keep this role read-only: the moment triage also writes the record, the pressure to make the record match the first hypothesis becomes the strongest force in the loop.

04 同仓库更多 Skills