Beta
Start for free

From one PR that was sent back,
you know which prompt and setup to fix next.

Rework comes from two places: changes requested in review and failed CI, and each gets fixed a different way. Follow one PR that was sent back all the way to where it started.

Pull request detail. Result of the first CI run, The sessions that produced the PR, The list of checks, Commits matched to sessions

Pull request detail. Which session made it and which check failed, on one screen.

  1. Result of the first CI run
  2. The sessions that produced the PR
  3. The list of checks
  4. Commits matched to sessions

Pull request detail (sample data)

Follow one PR that was sent back to where it started

1

Scene

The CTO of a small team doing spec-driven client work wrote that the more they handed to AI, the more code piled up, people's reviews couldn't keep pace, and the loop of reviews and fixes never ended.

The snag

You can't tell whether work comes back because of CI or because of review.

Count rework separately for CI and for review

The quality dashboard shows the share of PRs whose first CI run passed and rework after review as separate numbers, week by week.

Decide: Which of the two to reduce first

Evidence: Quality dashboard

Quality dashboard. Share of PRs whose first CI run passed, Reverted PRs, Rework after review, Failed checks by workflow
  1. Share of PRs whose first CI run passed
  2. Reverted PRs
  3. Rework after review
  4. Failed checks by workflow

Quality dashboard (sample data)

Evidence: Trace

Trace. Waterfall, The step that errored, Attributes of the selected step
  1. Waterfall
  2. The step that errored
  3. Attributes of the selected step

Trace (sample data)

2

Scene

The head of a company with several repositories wrote that AI gets things wrong consistently and in ways that are hard to spot: the code runs, the types check, and the PR diff looks fine.

Check what the AI tried, one step at a time

Open the trace of the session that made the PR, and the tools the AI called, with the command and result of the step that failed, appear in time order.

Decide: Rewrite the prompt, or split the issue into smaller ones

3

Scene

Once you've fixed a prompt or a skill, it's time to check whether rework actually went down.

Check whether rework went down after the fix

Compare first-run CI pass and rework after review over the 14 days before and after each member started using it. A before-and-after difference doesn't prove cause.

Decide: The next part of the setup to change

Evidence: Harness element

Harness element. 14 days before and 14 days after first use, The change in first-run CI pass, Who uses it, Recent sessions that used it
  1. 14 days before and 14 days after first use
  2. The change in first-run CI pass
  3. Who uses it
  4. Recent sessions that used it

Harness element (sample data)

Frequently asked questions

Can I compare which agents cause more rework?

You can filter by agent. It isn't proof of cause, just a hint about where to look first.

Won't this turn into blaming whoever caused the rework?

Harnessforce doesn't rank members. Lists of people are in name order by default.

Read next

At your next retro, count rework as two kinds.

Install the GitHub App and counting starts from your past PRs and CI results.