Built for Hermes Agent · v0.6.1

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.

Automate the work. Preserve control.

I
Exact-head

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.

Diaktoros poster: the four agent seats — triage, fixer, reviewer, adjudicator — around a pull request, with policy, CI, ledger, and watchdog controls.
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.

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.

  1. IssueA maintainer-selected issue enters the loop.
  2. TriageLabels and routes it. Touches no code.
  3. FixerImplements, checks, and pushes through the broker.
  4. ReviewerApproves, or requests changes that wake the fixer.
  5. 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 and unattended_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.

  1. 01Isolation
    Agents hold no GitHub credentials.
  2. 02Policy
    Writes pass deterministic gates.
  3. 03Ledger
    State and decisions survive every turn.
  4. 04Recovery
    The watchdog detects, retries, and reconciles.
  5. 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.

  1. 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.

    Read round 1

  2. Fixer · revision 1Nov 2, 15:31 UTC

    Drey answered every finding and pushed a fix. The nested-artifact cases were fixed; the root-level ones were not yet.

    Read the fixer’s answers

  3. Reviewer · round 2Nov 2, 15:48 UTC

    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.

    Read round 2

  4. Fixer · revision 2Nov 2, 15:55 UTC

    Drey answered again and pushed a second fix, with a root-level regression test that failed against the old filter and passed against the new one.

    Read the fixer’s answers

  5. Reviewer · round 3Nov 2, 16:25 UTC

    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.

    Read round 3

  6. AdjudicatorNov 2, 16:27 UTC

    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.

    Read the ruling

  7. Follow-upNov 2, 17:33 UTC

    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.

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.

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.

Read the thread

Graded homework.

Problem. The maintainer’s own fix needed an independent review.

What the reviewer did. Reviewed it on the same terms as any fixer PR — and approved it.

Resolution. The loop grading the hand that built it, with the evidence on the PR.

See #614

It files issues on itself.

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.

Browse the issues

05 / New in v0.7.0

First light on Mac.
Secrets in their place.

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.

Read the macOS guide

Secrets in their place.

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.

See #2374

06 / Install

Two commands.

From the Hermes plugin catalog — the reviewed release at its pinned commit.

hermes plugins install diaktoros
hermes dk setup --repo "owner/repository"

Updates come through the catalog: hermes plugins update diaktoros moves to the release it has reviewed.

Let agents do the work.
Keep the decision.

Built for maintainers who want more throughput without pretending autonomy is the same thing as trust.

Read the protocol