Prompt·Architecture and hidden complexity·A07
Timers and connections nobody closes
Finds timers, listeners and connections that nobody clearly owns or shuts off.
Prompt
Map external side effects and resource lifecycles across this application: connections, subscriptions, listeners, timers, streams, cache entries and background workers. Find unclear ownership, incomplete cleanup and operations that outlive their intended scope. Prioritize evidenced leaks or correctness risks over stylistic patterns.
- What it returns
- Each resource with where it is created, who should release it, and the path where it is not released.
- Skip it when
- Short-lived scripts and one-off server functions that keep nothing running between calls.
- Changes
- Changes nothing
- Sessions
- One session
- Tools
- Repository access; memory snapshots help confirm.
- Also called
- Side-effect and resource ownership
Related prompts
More in Architecture and hidden complexity.