dev-loops

Introducing dev-loops

A coordination runtime for AI-assisted development. The next step is always known, so whoever is free pulls it from the visible state, and a person merges by default.

The problem

Coordination Is the Cost

  • Code generation is fast now, so most of an AI-assisted workflow's time sits in the coordination around the code.
  • Someone notices a change is ready, rebuilds context to review it, checks that the tests ran, decides the next step is safe.
  • Each of those is a small wait, and together the waits make up most of the lead time.

Where the hours leak

Code written
→wait to notice
Review
→wait to fix
Fix
→wait for CI
CI
→wait for approval
Merge

Why it caps throughput

Manual Handoffs Compound

  • Every change carries a handful of transitions: is it ready, who reviews it, did review pass, is CI green, is it safe to merge.
  • Each one a person handles by hand is an interrupt with its own switching cost.
  • Their number is the transitions per change times the volume, so hand-run coordination acts like a power over the throughput.
  • A person's effective load grows far faster than the change count, and that caps how much an AI-assisted team can ship.

Load grows on the volume

More changes
→x transitions each
Manual handoffs
→interrupts
Human load

The idea

The Next Step Is Always Known

Pull, like a Kanban board

  • The system computes the next action; whoever is free pulls it from the visible state.
  • Every change runs the same draft, review, and green-CI path — the changes that build dev-loops itself run it too.

A person merges by default

  • The loop prepares the change and reports it ready.
  • A human makes the final call, and you choose how much autonomy to grant.

Work starts from an artifact

  • A change begins from a short local plan or a tracked issue.
  • That artifact is the spec, carried through review to merge.

What it does to the work

One Decision per Change

  • Each transition becomes a decision the system takes and records.
  • Every change follows the same path, so there is no bespoke ceremony to design and no question about what happens next.
  • A person is pulled in where one is genuinely needed: the merge, and anything the loop flags as ambiguous.
  • What is left for the human is roughly one bounded decision per change.

The repeatable path

Draft
→
Review
→
Green CI
→human
Merge

What it means for the engine

Model-Agnostic by Construction

  • The next action is always computed and visible, and every change runs the same draft, review, and green-CI gate.
  • The loop fails closed when a step is ambiguous, and a person merges by default.
  • Those guardrails bound what any single step can get wrong, so a strong open-source model can drive most or all of the work.

What that buys you

  • Cheaper to run, and self-hostable on models you control.
  • Frees you from depending on a single vendor.
  • The gate holds the quality bar where you set it, whichever model fills each step.

Model routing is configuration: roles map to tiers, tiers map per harness to concrete models — routine work on the cheap tier, planning and review on the strong one, swappable with a config edit.

The project's own history

A Cadence That Holds

570+

pull requests merged in the project's first ten weeks.

~10/day

across the most recent two weeks.

26

releases tagged in the same stretch, through a 1.0 release candidate.

Straight from the repository's git log, as of July 19, 2026. The cadence holds because the transitions land as machine decisions, with the human's part staying that one bounded call at the merge.

Recover, then sharpen

Self-Healing, Self-Improving

Failure routes to a recovery move

  • A failed check or a fail-closed tool response is recorded and routed.
  • The loop re-derives the next action and retries, until it converges or stops and asks a person.
  • The run resumes from the progress it already had.
Check fails
→
Re-derive & retry
→
Converge or ask

Every change tightens the next one

  • Grilling locks the spec before work starts.
  • Review angles and review-fix rounds tighten the change itself.
  • A retrospective records advisory findings the conductor can open as new tracked issues.
Grill locks spec
→
Review & fix
→
Retro → follow-ups

Set it up

Install and Run a Loop

Install

Claude Code, from inside the editor:

/plugin marketplace add mfittko/dev-loops /plugin install dev-loops@dev-loops

Pi, pinned to a version:

pi install npm:dev-loops@<version>

Run a loop with a direct command (Claude Code; on Pi the same set hangs off one command: /dev-loops start …):

/loop-start 112 /loop-auto 112 /loop-continue 112 /loop-continue /loop-start-spike "…"

Read-only state commands:

/loop-info 112 /loop-status

Plain language works too — start dev loop on issue 112 routes through the same deterministic router; the loop selects its internal strategy itself.

Three choices shape the posture

  • Where work starts. strategy reads local-first for a plan in the repo, or tracker-first for a tracked issue (github-first is a deprecated accepted alias).
  • Automated review. refinement.maxCopilotRounds sets the review rounds; set 0 to turn Copilot off.
  • Autonomy. autonomy.humanMergeOnly keeps the merge a human's call. Begin with the defaults and dial each setting toward what your team is comfortable with.