dev-loops
AI agents collapsed the time it takes to write code. The hours now leak in the coordination around it — author to reviewer, reviewer to CI, CI back to a human — while work waits to be handed over. dev-loops keeps the next step always known, so whoever is free pulls it from the visible state, and it turns the waiting between actions into something you can measure.
The core idea
One move per cycle
Safe pauses
Example
You ask it to stop mid-edit. It tags the request stop_at_next_safe_gate, finishes the step in flight, and pauses the moment that step lands clean. You get a tidy stopping point at a clean boundary.
Mid-flight steering
Example
Halfway through, you say "don't touch the auth module." It lands as a hard_constraint the remaining steps must honor; the rule takes effect from the next move on, with progress preserved.
Parallel review
Same evidence in, one verdict out
Self-healing
refinement.maxCopilotRounds), or stop and ask a human.Failure detected, one recovery move, resume
Self-improving
Each merge feeds the next issue
Verified done
A human merges
"Done" is real
Green is checked
Why a state graph
The delay pattern
What one interrupt actually triggers
Handoff cost
What the receiver pays for, every time
Why it's worse with mixed actors
The attention bottleneck
Observable state
The fix is making the state of the work explicit, so picking it up becomes a continuation of work already in motion.
Keep these four current and the next actor — human or agent — starts immediately, with nothing to reconstruct.
State that turns pickup into continuation
The measurement loop
A loop you can actually run
From idea to instrument
Owner & next step are a board
Decisions leave a trail
Automate only where it's safe
Why it pays off
Quality
Waiting time
Throughput
The takeaway
Keep the next step known so the next actor pulls it, and measure how long the work waits.