Pay down a refactor
Apply one convention across a whole repo, file by file, without stopping other work to do it.
- 5
- Stages in the plan-to-verify walk
- $70.52
- Cost of the real task cited as proof
From a real task: filed, then merged.
The work
Name the convention and where it should apply. An agent finds every place the old pattern still lives, applies the new one, and opens a pull request for the change. A review agent checks the diff against the rule. Agents then merge it.
Why it stalls
A repo-wide convention change touches too many files for one sitting, and too few files at a time to feel worth scheduling. So it keeps losing to work with a deadline attached.
Plan, code, review, merge, verify
- plan
Reads the convention and finds every site in the repo where the old pattern still applies.
- code
Applies the new convention site by site, and adds a check that stops the old pattern from creeping back.
- review
Checks each changed site against the stated rule. Matching the old code it replaced isn't the bar.
- merge
Merges the change, limited to the convention named.
- verify
Confirms the old pattern is gone and the new check catches it if it comes back.
What you need on hand
- The convention, stated as a rule
- Where it should and should not apply
- Optional: an approval gate, if a person must review the diff
Proof, not a promise
A real task: filed, then merged. Two reports answering the same question, one of them telling you not to trust it →
Two ready-to-file briefs for this job
Related jobs
Cover untested code
Point an agent at a file with no tests, and get a real test suite back instead of a promise to write one later.
Keep the docs true
Have an agent check a doc page against the code it describes, and fix the parts that drifted.
Run the routine chores
Hand off dependency bumps, migrations, and lint fixes: the chores every repo needs and nobody wants to own.
Try it on one repository for two weeks.
File a task. An agent builds it. You see the cost of each task.