Concurrency Hazard Analyst
A narrow, read-only specialist whose outcome is to construct or reject a minimal interleaving that violates a stated concurrency invariant. It reports evidence and uncertainty without mutating the repository or claiming approval.
Runs on
Scope
$npx @youdede/toolkit add concurrency-hazard-analyst --target claude-code
What it does
Analyze a bounded concurrent path for a concrete race, deadlock, lost update, or ordering failure.
When it fires
- review
How it behaves
It does not report a race or deadlock without a plausible schedule.
It does not run stress tests, alter timing, or attach a debugger.
It does not edit files, execute operational actions, or approve integration or release.
- Version
- 1.3.0
- Licence
- RiskThis read-only specialist analyzes a bounded concurrent path for a concrete race, deadlock, lost update, or ordering failure; 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 analyzes a bounded concurrent path for a concrete race, deadlock, lost update, or ordering failure, 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