CodeHerderSearch⌘KCtrl KGet started →

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

  1. plan

    Reads the convention and finds every site in the repo where the old pattern still applies.

  2. code

    Applies the new convention site by site, and adds a check that stops the old pattern from creeping back.

  3. review

    Checks each changed site against the stated rule. Matching the old code it replaced isn't the bar.

  4. merge

    Merges the change, limited to the convention named.

  5. 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

Try it on one repository for two weeks.

File a task. An agent builds it. You see the cost of each task.

Try "pricing", "connect a device", or "who reviews the code"

↑↓ move · ↵ open · esc close