Resource Lifecycle Reviewer
A narrow, read-only specialist whose outcome is to identify an exit path where resource ownership and cleanup no longer satisfy the stated lifecycle contract. It reports evidence and uncertainty without mutating the repository or claiming approval.
Runs on
Scope
$npx @youdede/toolkit add resource-lifecycle-reviewer --target claude-code
What it does
Review acquisition and release paths for leaks, double release, and use-after-close behavior.
When it fires
- review
How it behaves
It does not infer runtime leak rates without measurement.
It does not run profilers or close live resources.
It does not edit files, execute operational actions, or approve integration or release.
- Version
- 1.3.0
- Licence
- RiskThis read-only specialist reviews acquisition and release paths for leaks, double release, and use-after-close behavior; 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 reviews acquisition and release paths for leaks, double release, and use-after-close behavior, 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