🗜️ Wringer
The vendor-neutral AI-DLC harness — a control plane for AI-driven development, for product managers, designers and engineers.
Put every change through the wringer. The harness runs the gates, keeps the receipts, and never writes the code itself.
Quickstart · v0 spec · 90-day roadmap · Security · vs LangGraph · Build plan · RFCs
Everyone else in this space is selling capability and asking for trust. Wringer is built on the opposite premise: trust nothing — including itself. Not the worker's exit code, not the agent's summary, not even the tests the agent wrote — and soon, provably, not even its own ledgers. That stance came out of a real eight-hour burn, it is welded into eight invariants a fleet already obeys, and it gets more valuable with every step frontier models take — because autonomy without receipts is exactly what everyone is about to be terrified of.
Wringer (CLI: wring) compiles intent — tickets, PRDs, Slack messages — into verified outcomes: reviewed merge requests with evidence. It treats loops and graphs of loops as first-class, portable primitives, and runs the same workflow definition on your laptop today and on durable runtimes (Temporal first) tomorrow.
Every cloud's harness locks you to its runtime, its identity system, its gateway. Nobody owns the neutral layer. That's the bet — Kubernetes-vs-managed-containers, replayed one layer up.
A real session, not a mock-up: a planted bug, one worker turn, the gates
green — and a bundle on disk to check the claim against. Regenerate it with
scripts/demo.sh; the recorded transcript is committed beside it at
docs/demo.cast.json.
What ships first
Proof beats orchestration. v0.1.0 is a standalone evidence compiler — one command:
One command that proves whether this change is mergeable, and leaves behind evidence a human or agent can inspect.
A real run, pasted unedited from a scratch Python repo (ruff and pytest as the two declared gates, with a bug planted in the code):
$ wring verify
✓ lint passed 0.0s
✗ test failed 0.1s
--- gates/002_test/stdout.log ---
def test_add():
> assert add(2, 2) == 4
E assert 5 == 4
E + where 5 = add(2, 2)
FAILED test_calc.py::test_add - assert 5 == 4
1 failed in 0.01s
Evidence written to:
.wringer/runs/20260730-210750-b3ec/
Next:
open .wringer/runs/20260730-210750-b3ec/summary.md
rerun wring verify --gate test
Exit code 1, and a bundle on disk that a human or an agent can read: summary.md for the person reviewing, timestamped evidence.jsonl for the machine, diff.patch and status.txt for what was being verified, per-gate logs for what happened. wring explain replays the diagnosis without an LLM; wring verify --json emits one object for an agent to act on. The full transcript — and what is still unbuilt — is in the quickstart.
It runs your project's declared gates (build · test · lint) in order and writes a portable evidence bundle — manifest.json, evidence.jsonl, summary.md, diff.patch, status.txt, and per-gate stdout/stderr/result.json — around any session: Claude Code, Codex CLI, Gemini CLI, or a human. No LLM and no network in any command that proves anything — verify, run, resume, fleet and plan cannot reach one. Nothing leaves your machine without a flag you type: wring judge --send, wring spec --send and wring deliver --send are the three that send, each writes the exact bytes to disk first, and each needs an endpoint your repo declared. Two commands fetch, because fetching is what they are for: wring get clones, wring issue reads one issue. Every socket in the program lives in two functions you can find with one grep. After an AI coding session, wring verify leaves a cleaner, more reviewable truth trail than the agent's own summary. The binding implementation contract is SPEC_VERIFY_V0.md — including the release bar: Wringer verifies Wringer, in CI, with the demo bundle committed, before v0.1.0 tags.
⚠️
.wringer.yamlis code.wring verifyruns the commands a repository declares, through a shell, with your privileges — the same trust you extend to itsMakefile. Read a stranger's.wringer.yamlbefore runningwring verifyin their repo. Gates are not sandboxed in v0.1; see SECURITY.md, which also explains why an evidence bundle should be read before you share it.
Then the loop closes: wring run is just a loop that keeps calling wring verify until the evidence says stop — worker (your existing coding agent; Wringer never ships its own) → gates → isolated rubric judge → iterate or exit → MR with the receipts attached. v0.1.0 no later than September 30, 2026 — see the 90-day roadmap and the quickstart.
Wringer verifies Wringer
The claim is checkable, not rhetorical. This repo declares its own gates in
.wringer.yaml, CI runs wring verify on every push and
uploads the bundle, and a real one is committed at
.wringer.example/ — manifest, timestamped event log,
summary, diff, and both gates' logs, exactly as produced:
$ wring verify
✓ lint passed 0.1s
✓ test passed 17.6s
Evidence written to:
.wringer/runs/20260730-231645-a57c/
That is the run committed at
.wringer.example/runs/20260730-231645-a57c/ — the
same id, so the transcript and the bundle are the same event rather than two
similar ones. That bundle is the answer to "how do I know?" — read it rather
than trust the badge.
The loop is real now — wring run
wring verify proves a change; wring run closes the loop around it. While
the gates fail it writes the failure into a brief, hands it to your coding
agent as a subprocess, and verifies again. Wringer still never calls an LLM
itself. Captured from a scratch repo with a planted bug and a scripted worker:
$ wring run
iteration 1/3
✗ test failed 0.2s
→ worker 0.0s (exit 0)
iteration 2/3
✓ test passed 0.1s
Converged in 2 iterations.
Loop evidence: .wringer/loops/20260730-234410-7c70/
A worker's exit code never ends the loop — the evidence decides — and a worker
that changes nothing stops it without re-running the gates to prove the
obvious. wring run never touches git. Contract:
SPEC_RUN_V0.md; walkthrough in the
quickstart.
Describe what you want built — wring spec
The front door for someone who does not write the config. A product manager
writes a PRD in plain language; wring spec drafts acceptance criteria, gates
and a build plan as a file; a human reads and approves that file; wring plan compiles it into work the fleet already knows how to run.
$ wring spec PRD.md --send
Drafted wringer.spec.yaml — CSV export on the reports page
4 criteria (1 need a human) · 2 proposed gates · 2 tasks
1 required question it could not answer for you
approved: false ← nothing runs until you change this by hand
The dangerous failure here is not a bad build; it is a confident build of
the wrong thing. So: approved: false is an interlock no flag, environment
variable or model reply may flip — there is deliberately no --yes —
anything the drafter had to assume comes back as a question that blocks
planning until a person answers it in the file, and gates are proposed as a
diff rather than installed, because a harness that quietly widens its own
definition of "verified" is worth nothing. Criteria no test can decide are
carried as human: true and are then never sent to a judge at all.
The whole loop, captured end to end — PRD in, verified change out, receipts
attached — is docs/pm-loop.md. Contract:
SPEC_INTENT_V0.md.
An issue in, a reviewed branch out — wring deliver
$ wring deliver --task csv-export --send
Branch: wringer/csv-export
Commit: 6a56db91b556
Pushed: yes
MR: https://github.com/acme/reports/pull/7
Until this slice Wringer never wrote git history at all. It does now, and the power is bought with five conditions rather than assumed: only a branch it created · never the default branch · no force push assemblable anywhere in the program · dry run by default — the patch, commit message, branch name, MR body and literal commands land on disk with git untouched — and a ledger event appended before every git write, so a process killed mid-delivery still says what it was attempting. The MR body carries the gate table and the run id; it never carries gate logs, because a bundle may hold whatever a gate printed and an MR body is public.
wring get <url> clones a repo into a declared workspace and records where
it came from. wring issue <url> turns an issue into a file — which is
how untrusted text from the internet should be handled, and why wring spec
needed no changes to accept one. The captured loop is
docs/issue-to-mr.md. Contract:
SPEC_GET_V0.md.
The format is targetable, not just readable
The bundle is the interface, so it is published as JSON
Schema — manifest.json, each evidence.jsonl event, and each
gate's result.json, in draft 2020-12. Write a tool against the schema
rather than against this implementation. A test fails the build if the code
ever writes a field the schema does not declare.
It is not a Python tool
Wringer is written in Python; nothing about it is for Python. It runs the
commands your repo already declares. docs/beyond-python.md
is the receipt — real captured output from a Make project whose test suite is
a shell script, and a Node project's detected gates, neither containing a line
of Python.
Put an agent's edits through it
wring verify --json exists so an agent can act on the result rather than
read prose about it. examples/claude-code-hook/
wires that into a coding session: after every edit, the gates run; if one
fails, the agent is handed the structured verdict and wring explain's
diagnosis and fixes it before carrying on. Passing gates say nothing.
That is the v0.1 shape of the v0.2 loop — worker, gate, evidence — with the
loop still driven by the agent rather than by wring run.
Why
The substrate is converging. Every serious AI-DLC implementation lands on the same five-layer architecture — and the frontier labs are each selling their piece of it. The code layer is commoditizing. What stays defensible is governance, deterministic verification, audit trails, and execution speed on top of the substrate.
Wringer is:
- Verified, not vibed. Deterministic gates (build / test / lint / custom linters) always run before any LLM judge. A loop cannot claim "done" without passing its declared verifier.
- A graph of loops. A node isn't a function call — it's a loop-bearing agent with a contract: budget, verifier, exit conditions. The graph wires those loops into an organization with typed edges and explicit inter-loop feedback paths.
- Physically worker/judge separated. The judge sees the rubric, the diff, and the gate outputs — never the worker's chain of reasoning. Engine guarantee, with tests.
- Auditable as a byproduct. Every run emits intent → plan → steps → evidence → delivery as queryable JSONL plus OpenTelemetry GenAI traces, with a per-loop cost ledger.
- Vendor-neutral by construction. The Graph IR references capabilities, never vendor resources. Adapters map capabilities to runtimes; a conformance suite proves each mapping.
Already using LangGraph, CrewAI, or Microsoft Agent Framework? Read the honest comparison — they're compile targets and peers here, not competitors.
A loop is a contract
loop:
kind: repair # repair | evaluator_optimizer | convergence | explore | evolve
budgets:
max_iterations: 6
max_cost_usd: 4.00
max_wall_clock: 45m
max_tokens: 800k
verify: # gates run in order, cheapest first
- gate: build
- gate: test
- gate: lint.custom.architecture-boundaries
- judge: rubric.acceptance-criteria # only if gates pass
exit:
on_pass: continue
on_budget_exhausted: escalate.human
on_oscillation: escalate.human # same-failure-signature repeated N times
on_plateau: best_effort_deliver
evidence: full # every iteration captured to the run bundle
Anti-thrash machinery is core, not optional: failure-signature hashing, score-plateau detection, judge-disagreement tracking, per-loop cost ledgers. The schema is an open spec — RFC discussion here.
A graph is an organization
flowchart LR
I([Intent<br/>issue · PRD · Slack]) --> S[agent_step<br/>scope]
S --> P[agent_step<br/>plan]
P --> H{human<br/>approve?}
H -- low-risk auto --> L
H -- approved --> L
subgraph L [loop: repair]
direction LR
W[worker<br/>writes code] --> G[gates<br/>build · test · lint]
G -- fail --> W
G -- pass --> J[judge<br/>isolated context]
J -- revise --> W
end
J -- pass --> D([deliver<br/>MR + evidence bundle])
L -. budget exhausted /<br/>oscillation .-> E{escalate<br/>to human}
The worker never sees the judge; the judge never sees the worker's chain of reasoning. Feedback edges are declared, not implied, so coupled-loop conflicts (speed loop vs quality loop) are inspectable instead of emergent.
Architecture (the north star)
The full five-layer architecture — protocol wires (ACP/MCP/A2A), swappable runtime/gateway/identity/memory planes, sandbox layer, self-evolution loop — is specified in the build plan. We are shipping it inside-out: the differentiated core first, the plumbing when the loop has earned it. Execution order is governed by ROADMAP.md.
┌─────────────────────────────────────────────────────────────────┐
│ L1 INTENT GitHub/GitLab issues · Linear · Jira · Slack │
├─────────────────────────────────────────────────────────────────┤
│ L2 HARNESS wringer-ir · wringer-engine · wringer-loops · wringer-verify │
│ wringer-context · wringer-policy │
├─────────────────────────────────────────────────────────────────┤
│ L3 WIRES ACP → coding agents · MCP → tools · │
│ A2A → other agents │
├─────────────────────────────────────────────────────────────────┤
│ L4 PLANES runtime · gateway · identity · model · memory │
│ (adapters — all swappable, conformance-tested) │
├─────────────────────────────────────────────────────────────────┤
│ L5 SANDBOX Docker/Podman · VM · gVisor · microVM │
├─────────────────────────────────────────────────────────────────┤
│ CROSS-CUTTING OTel GenAI traces · cost ledger · audit JSONL │
└─────────────────────────────────────────────────────────────────┘
Roadmap
| When | What | Proof |
|---|---|---|
| Days 1–30 | v0.1.0 — the evidence compiler (spec): wring init · wring verify · wring explain, evidence bundles, Python/pipx. Then the loop closes: wring run = verify-in-a-loop with your existing agent as worker |
Wringer verifies Wringer in CI + committed demo bundle |
| Days 31–60 | Durable execution (SQLite event log, wring resume), anti-thrash (oscillation + plateau detection), cost ledger, OTel GenAI traces |
crash-and-resume on camera |
| Days 61–90 | Graph of loops (scope → plan → repair → deliver), one human interrupt node, Wringer ships a Wringer PR |
the dogfooded PR, public |
Q3 2026 OKR: a GitHub issue becomes a passing MR for Python repos under $2.00 LLM spend. Q4 2026: TypeScript targets + the Temporal adapter. Everything else in the plan — gateway plane, policy, context autogen, skills, self-evolution — is deferred behind the working loop, with reasons.
Design principles (the short version)
- The harness never writes code.
- Separate the worker from the judge.
- Deterministic gates are the contract.
- Vendor-agnostic at every layer — no lock-in, ever.
- Loops are contracts; graphs are organizations.
- Audit trail as byproduct.
- Cost per task is a first-class metric.
- Build to delete.
The full eleven, with rationale, are in the plan.
Contributing
The highest-value contributions right now are design review and prior art on the open RFCs — the loop-contract schema, the gate plugin interface, and the evidence-bundle format. Code has started landing (wring init and wring verify work — see AGENTS.md for state and setup); green tests are the only law. See CONTRIBUTING.md.
License
Apache-2.0. Vendor-neutral, conformance-tested, built to be donated.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wringer-0.2.0.tar.gz.
File metadata
- Download URL: wringer-0.2.0.tar.gz
- Upload date:
- Size: 190.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf4309b5cda44642f7674eec37ffa98fc82733749fed411481cb5dc0920c4660
|
|
| MD5 |
1ac1a2d4fb557388a97a8f75e42a7a7a
|
|
| BLAKE2b-256 |
45d2339fecdc2ec7133936dd8d5fda8f3f2af80f0e41979f570e8e6a386a04f1
|
Provenance
The following attestation bundles were made for wringer-0.2.0.tar.gz:
Publisher:
release.yml on marcoakes/wringer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wringer-0.2.0.tar.gz -
Subject digest:
bf4309b5cda44642f7674eec37ffa98fc82733749fed411481cb5dc0920c4660 - Sigstore transparency entry: 2335000688
- Sigstore integration time:
-
Permalink:
marcoakes/wringer@6cf02a42d510e2d78d475babc4eda3e5ea3b9194 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/marcoakes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6cf02a42d510e2d78d475babc4eda3e5ea3b9194 -
Trigger Event:
push
-
Statement type:
File details
Details for the file wringer-0.2.0-py3-none-any.whl.
File metadata
- Download URL: wringer-0.2.0-py3-none-any.whl
- Upload date:
- Size: 128.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb2a0686f4522897c7f89a56b74634d3203f239e90e89ba1769ea9a530d82797
|
|
| MD5 |
9a2b6d7310acb5687507297ddbd5af96
|
|
| BLAKE2b-256 |
b3934142870d373c85da04014af3adca050314616eb8532a149a919211c987ca
|
Provenance
The following attestation bundles were made for wringer-0.2.0-py3-none-any.whl:
Publisher:
release.yml on marcoakes/wringer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wringer-0.2.0-py3-none-any.whl -
Subject digest:
fb2a0686f4522897c7f89a56b74634d3203f239e90e89ba1769ea9a530d82797 - Sigstore transparency entry: 2335000696
- Sigstore integration time:
-
Permalink:
marcoakes/wringer@6cf02a42d510e2d78d475babc4eda3e5ea3b9194 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/marcoakes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6cf02a42d510e2d78d475babc4eda3e5ea3b9194 -
Trigger Event:
push
-
Statement type: