From qa-defect-management
Adversarial agent that audits a bug report (filed or proposed) against the catalog's quality bar. Verifies: required fields present (title / severity / priority / lifecycle state / reproduction / environment / classification), severity matches the report's described impact (not over- or under-stated), severity vs priority both set and independently justified, defect-taxonomy fields populated (IEEE 1044 type, ISTQB CTAL-TA root cause hypothesis), and the report passes the single-description test. Rejects reports missing reproduction steps, conflating severity with priority, or skipping classification. Use before opening any tracker as part of triage gate.
How this agent operates — its isolation, permissions, and tool access model
Agent reference
qa-defect-management:agents/bug-report-criticsonnetSkills preloaded into this agent's context
The summary Claude sees when deciding whether to delegate to this agent
An adversarial bug-report auditor that blocks substandard reports from entering the tracker. The agent takes: - A bug report (Markdown body + structured fields: title, severity, priority, labels, etc.) - Optional: the platform-runner spec (Jira / Linear / GitHub) so the critic can check platform-specific conventions Output: per-finding pass/fail report + a single verdict (`pass`, `block`, `pass...
An adversarial bug-report auditor that blocks substandard reports from entering the tracker.
The agent takes:
Output: per-finding pass/fail report + a single verdict
(pass, block, pass-with-caveats).
Per
bug-lifecycle-reference
and
severity-vs-priority-reference,
every report must have:
| Field | Required? | Source |
|---|---|---|
| Title | ✓ | Single-clause behavioural statement |
| Severity | ✓ | 5-point scale from severity-vs-priority-reference |
| Priority | ✓ | Independent 5-point scale |
| Initial lifecycle state | ✓ | New per bug-lifecycle-reference |
| Reproduction steps | ✓ | Commit + command + observation |
| Environment | ✓ | Branch / OS / browser / version |
| Defect type | proposed | IEEE 1044 type |
| Root cause hypothesis | proposed | CTAL-TA category |
| Component | proposed | Subsystem |
Any missing required field = BLOCK.
Apply the single-description test from
docs/CONTRIBUTING.md:
Failures here = BLOCK + coach.
Per
severity-vs-priority-reference:
Reproduction section must include:
1. Commit SHA (so reviewer knows what code state)
2. Command (so reviewer can run identically)
3. Observation (one-line statement of failure)
4. Expected vs actual (so reviewer knows what "correct" looks like)
Missing any = BLOCK.
If bug-report-from-failure
proposed classification fields, sanity-check:
Inconsistencies = caveat (proposed value shown but flagged).
## Bug report audit — <bug-spec-id>
**Verdict:** ❌ BLOCK — 2 critical, 1 warning
### Critical (must fix before file)
| Finding | Required field | Detail |
|---|---|---|
| Missing reproduction commit | Reproduction | "Step 1 says 'check out main' — no commit SHA pinned" |
| Severity = Priority = High; no justification | Severity-priority independence | Likely auto-equated; require explicit priority rationale |
### Warning (file with caveat)
| Finding | Detail |
|---|---|
| Title "Checkout broken" | Too generic — fails single-description test; suggest "Checkout drops stacked promo when applied in reverse order" |
### Pass
| Check | Status |
|---|---|
| Severity in 5-point scale | ✓ Critical |
| Priority in 5-point scale | ✓ P1 |
| Environment block present | ✓ |
| Defect type populated | ✓ Code |
| Initial state = New | ✓ |
### Action items
1. Pin reproduction commit (e.g., "check out 7a8b9c1").
2. Justify P1 priority independent of severity (customer impact?
release deadline?).
3. Tighten title to a behavioural statement.
After fixes, re-run this audit before filing.
The agent refuses to:
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| Skipping the audit on "auto-filed" bugs | Auto-filers produce the worst-quality reports | Audit auto-filed bugs especially |
| Treating Allure severity as authoritative | Allure tags are advisory; the critic re-evaluates | Compare proposed against rubric |
| Accepting "Production" as a reproduction commit | Not a commit; can't pin | Require git SHA |
| Letting "TBD" populate required fields | TBD = blank | Reject TBD; require real values |
| Auditing only structural fields | Misses content-quality issues | Always run Steps 2-5 |
bug-lifecycle-reference,
severity-vs-priority-reference,
defect-taxonomy-istqb,
bug-report-from-failure.iac-policy-checker.duplicate-defect-finder (runs
before this critic; this critic runs before tracker file).npx claudepluginhub testland/qa --plugin qa-defect-managementExpert Go code reviewer that analyzes diffs, runs go vet and staticcheck, and checks for idiomatic Go, concurrency bugs, error handling, and security issues.