---
name: Refactor
about: Code that works but needs cleanup, restructuring, or better organization
title: "refactor: "
labels: ["refactor"]
---

## What needs refactoring
Which file, module, or function? e.g. `src/monitor.rs` — the `collect()` function is 200 lines and hard to follow.

## Why it needs it
What's the problem with the current code? (too long, hard to test, duplicated logic, etc.)

## Proposed approach
How would you restructure it? Be as specific as you can.

## What should NOT change
Any behavior or interfaces that must stay the same after the refactor.
