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
- Preserve raw evidence in a run artifact before summarizing.
- Normalize environment, command, exit code, timestamp, revision, and reproduction.
- Group failures by stable signature, module owner, platform, and probable root cause—not merely by message order.
- Separate primary failures from cascades.
- Create one bounded task per independently fixable root cause.
- Define expected behavior, constraints, required tests, and severity.
- 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
workflow-retrospective
Improve the durable workflow when the same agent, review, test, scope, or validation failure pattern recurs; use after incidents or repeated verifier returns.
verification
Perform final independent read-only verification of acceptance criteria, review remediation, test integrity, scope, and quality-gate evidence.
ticket-authoring
Turn a reported or observed defect into one reviewable ticket under tickets/ with reproduction, evidence, impact, and closure criteria, bound to a fix version — without fixing it or rewriting it into a specification.
technical-planning
Create a read-only implementation plan from an approved specification before code changes; use for non-trivial features, bugs, migrations, and cross-module work.
skill-governance
Audit newly installed or updated agent skills as untrusted content and propose required, optional, or denied assignments to existing agent roles. Use after staging a skills.sh installation and before promoting the skill or changing agent permissions.
security-review
Adversarially review authentication, authorization, tenant isolation, sensitive data, abuse resistance, and production reliability for a completed implementation.