Your agents write the code. Diaktoros keeps the work moving.
An autonomous development loop for Hermes that takes issues through implementation, independent code review, fixes, CI checks, and dispute resolution—while keeping the final merge in human hands.
Every review and write is bound to the commit it was meant for.
II
Policy-driven
Deterministic gates define what agents may do. The model never does.
III
Human authority
Agents can propose, critique, fix, and rule. Only a person merges.
540
Fixer PRs merged
54%
Written by the loop
991
PRs merged, total
1,063
Issues closed
Written by the loop means PRs authored by the fixer seat and merged, as a share of all merged PRs. Counts load live from the GitHub API on every visit; the checked-in snapshot fills any gap. On small screens the three most meaningful figures are shown.
Counts update live from GitHub on every visit; the checked-in snapshot fills gaps.
The orchestration coreIsolated agents · strict bounds · durable recovery
01 / The handoff
Four seats. One bounded loop.
Each turn starts with a fresh sandbox and the exact context it needs. The host owns state, limits, retries, and writes; the agents own judgment inside their lane.
Turn noise into work.
Triage reads an incoming issue, applies only allowed labels, and routes it without touching code.
Constrained taxonomy. Labels come from the maintainer’s allowlist.
One scoped write. No closing, editing, reviewing, or pushing.
Issue context only. The sandbox begins empty by design.
Human-selected entry. Maintainers decide what moves into fixing.
Propose, prove, answer.
The fixer implements the requested change, checks it, and publishes through a broker that enforces every boundary.
No credentials. The agent cannot reach GitHub directly.
Bounded changes. File count, size, and protected-path rules are host-enforced.
Exact-head push. A moved branch causes a refusal, never an overwrite.
Answers travel forward. Every finding gets a concrete response for the next review.
Verify before verdict.
The reviewer reads the full change, runs relevant checks, and issues one evidence-backed decision.
Independent seat. Review runs apart from the authoring agent.
Evidence required. Findings include severity, command output, and source location.
Binary handoff. Approve, or request changes that wake the fixer.
No false green. A partial view can never produce approval.
End the endless round.
When the verdict budget is exhausted, the adjudicator resolves the dispute instead of buying another cycle.
Reads both sides. Findings and the fixer’s published answers arrive together.
Three rulings. Accept, reject, or respec the disputed goal.
Read-only workspace. The deciding seat cannot alter the change.
Human conclusion. Its ruling reaches the operator; it still cannot merge.
How a pull request moves
The same four seats, as a path. Read it left to right; the two notes underneath are the parts a straight line would hide.
IssueA maintainer-selected issue enters the loop.
→
TriageLabels and routes it. Touches no code.
→
FixerImplements, checks, and pushes through the broker.
→
ReviewerApproves, or requests changes that wake the fixer.
→
Human mergeOnly a person merges. The loop never does.
Reviewer requests changes → back to Fixer. Each round costs a verdict, and the verdict budget caps the rounds — the loop cannot argue forever.
Budget exhausted → Adjudicator. It reads the findings and the fixer’s answers together and rules accept, reject, or respec. Its ruling reaches the operator; it still cannot merge.
CI routing depends on the PR and the settings. With fix_ci on andunattended_fixer_push on, red CI on a fixer-authored PR goes to the fixer while CI-fix capacity remains; once the budget is spent, or a CI-fix turn ends without a new head, the head is held — not reviewed, not re-sent — until the checks pass or a new head is pushed. A review-only red head is likewise held with nothing spent. With fix_ci off, or on without unattended_fixer_push, red CI on a fixer PR waits for a review instead. And where the loop posts its diaktoros/review check and the branch requires it (hermes dk protect), that check must be green before a person merges — protection itself is opt-in, not automatic.
02 / The trust boundary
Autonomy with hard edges.
Diaktoros keeps the creative work inside disposable sandboxes and the irreversible decisions inside deterministic infrastructure.
A confident answer is not proof. A clean diff is not permission. A model’s intent is not a boundary. The host verifies all three.
01Isolation Agents hold no GitHub credentials.
02Policy Writes pass deterministic gates.
03Ledger State and decisions survive every turn.
04Recovery The watchdog detects, retries, and reconciles.
05Authority The system never merges.
03 / Case study
When the agents disagree.
A real review cycle from November 2, 2026. The roles, in one line: the fixer writes the change, the reviewer independently checks it, the adjudicator ends a dispute when the verdict budget runs out, and a human merges. PR #1624 fixed a backup bug — and the reviewer nearly stopped it three times.
Reviewer · round 1Nov 2, 15:21 UTC
Vex requested changes on the first head. Finding F1 (P1, blocks): the name-only filter silently dropped real files — a legitimate artifacts/42/Cargo.lock among them — so a backup could succeed while losing data on restore. Vex proved it with a reproduction script.
Vex requested changes again. F1 was still open: root-level lookalikes — an empty user.lock, a file named .x.abcd1234 — were still silently dropped from a successful backup.
F1: fixed. But Vex still requested changes on finding F2 (P2): a first-write temp file still present at archive time was archived as litter, and two real lock files — .onboarding.lock and conflict-scan.lock — were missing from the exclusion list.
Tuck ruled ACCEPT, with all 3 verdicts counted. F2 was correct, but it did not block: the worst case was litter, not data loss or a failed backup. The dispute ended instead of buying another round.
The remaining concern was not dropped. It became issue #1651 — and was since closed by PR #1710. A person merged #1624. The loop never merges.
3Reviewer rounds
2Fixer revisions
1Adjudication
1Follow-up issue
This cycle is written from the PR’s public reviews, answers, and ruling — not from a simulation. hermes dk history --pr N rebuilds cycles like this one from the loop’s ledger, audit log, and GitHub; the cycles published from it are below.
Replay a cycle from the record
Each cycle here is the command’s own export, published as is: every round, finding, verdict and ruling the loop recorded, with gaps shown as gaps. Text that only the loop’s host saw is not published.
ID
Severity
Category
Raised
Outcome
04 / In the wild
Proof, not promises.
Diaktoros maintains itself the way it maintains your repo. The numbers below are read live from the repository when the API answers, and fall back to the checked-in snapshot otherwise — the freshness note above says which path supplied them.
540
Fixer PRs merged
54%
Written by the loop
991
PRs merged, total
1,063
Issues closed
1
PRs open now
276
Issues open now
1,368
Commits, last 12 months
just now
Last activity
11
Stars
3
Forks
v0.6.1
Current release
2026-11-03
Page updated
Counts update live from GitHub on every visit; the checked-in snapshot fills gaps.
What the second opinion caught
A second reviewer model, the shadow, reviews heads beside the reviewer. When it asks for changes the reviewer did not, the arbiter rules. These are the loop’s own counts, published from its run ledger.
0Approved by the reviewer, stopped before merge
0Times the arbiter sided with the reviewer instead
Reviewer model
Verdicts
Approve share
Shadow asked for changes
Arbiter: upheld / overruled
Dates
Watch a real run.
Problem. PR #530 drew three red CI checks from the reviewer.
What the fixer did. Traced it to a hand-built test fixture missing a new attribute.
Resolution. A one-line fixture change, production code untouched; the reviewer approved with all six checks green.
One night’s hunt surfaced 11 real bugs in the loop’s own code; five were fixed by morning. The loop then filed twelve self-audit issues — and keeps closing them. Not every run succeeds; the record is public either way.
v0.7.0 brings an experimental native macOS backend, and reads every seat’s secrets the way Hermes intends. Read the v0.7.0 notes
First light on Mac.
A native macOS backend, contributed by @vitaliy-blprnt, runs turns under Seatbelt on fixed-size APFS images with its own process supervision: no VM, and no unsandboxed fallback. It’s a development opt-in, off unless the host sets DIAKTOROS_NATIVE_MACOS=1. The catalog install stays Linux-only until the backend meets its acceptance bar, and reports from Mac users help it get there.
As the Hermes catalog review recommended, Diaktoros reads profile secrets through Hermes’s agent.secret_scope instead of loading a profile’s .env into the environment, so under a multiplexing gateway one profile’s keys never reach another’s turns. It does so when Hermes provides both the scope and its profile-source hydration; otherwise it keeps the old .env load. The loop also makes fewer GitHub calls.