01
Ralph loops
Persistence across bounded runs, backed by durable artifacts.
dev-loops · v1
Delivery handoffs can lose context, hide waits, and carry approvals based on stale evidence. dev-loops makes each handoff an explicit state with one legal next move.
The landscape
01
Persistence across bounded runs, backed by durable artifacts.
02
Selection pressure through measurable outcomes and keep-or-revert decisions.
03
Explicit branches, waits, cycles, and boundaries between policy and judgment.
The reframe
The graph follows the work. The current state determines who can move it forward.
↖──────────────── refresh from the world ────────────────↙
The public contract
| Dimension | Question | What it unlocks |
|---|---|---|
target | Which artifact is active? | Stable identity |
ownership | Who carries durable responsibility? | Strategy family |
nextActor | Who should act now? | Concrete handoff |
status | Active, waiting, blocked, approval-ready, merge-ready, done? | Route, wait, or stop |
authorization | Is this mutation authorized? | Safe boundary |
Composition
Delivery progression
A single cycle
1
Read the artifact, head, checks, threads, ownership, and approvals.
2
Interpret one state and its allowed transitions.
3
Execute one bounded mutation or wait.
4
Rebuild truth before choosing again.
The v1 backend boundary
The stable Tracker interface supports a registered provider. GitHub ships as the built-in default.
PRs, review threads, CI, Copilot review, head SHAs, and merge truth use GitHub in v1.
Responsibility
Applicability
Learning
Findings return the change to another bounded cycle.
Retrospectives and escaped defects harden later runs.
Takeaway
The state graph preserves authority across worker and evidence changes, and every loop returns to it.
Facts survive sessions.
Every route has a reason.
Human authority remains explicit.