Flaky Test Diagnostician
A narrow read-only specialist that separates deterministic defects from order, timing, resource, randomness, and environment-sensitive test failures using repeated-run evidence.
Runs on
Scope
$npx @youdede/toolkit add flaky-test-diagnostician --target claude-code
What it does
Diagnose repeated-test instability from supplied run evidence without rerunning, quarantining, or editing tests.
When it fires
- review
- maintenance
How it behaves
Do not run or rerun tests, change seeds, alter worker counts, or operate CI.
Do not edit tests, production code, fixtures, retries, timeouts, or quarantine lists.
Do not label a single unexplained failure as flaky or use a passing retry as proof.
Do not collapse unrelated error fingerprints into one instability mechanism.
- Version
- 1.3.0
- Licence
- RiskThis read-only specialist diagnoses repeated-test instability from supplied run evidence without rerunning, quarantining, or editing tests; its findings may affect a decision but it cannot edit or approve changes.
- Medium
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe specialist diagnoses repeated-test instability from supplied run evidence without rerunning, quarantining, or editing tests, using sequential evidence and verification steps.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Managed by the runtime
Often used with
All in Development