HARNESS · a repository, not a product

Always on.

A chatbot answers and forgets. A dashboard shows and never learns. The lab works the long loop and TEAM works the quick one — and the harness is what keeps either one running when no one is at the keyboard.

It is not a thing you open. It is the code the things you open stand in: one repository, five parts, each a file you can read.

00 · What this is

Five parts, one repository.

Registry

Every tool an agent can reach, declared once and versioned. The card maker, the docent, the gate, arailctl, 3DEval. A tool that is not in the registry does not exist to the crew.

Model

The resident model, pinned. An 8–14B model lives in memory and is never evicted — not when QueueLLM streams a frontier model off disk overnight, not when Nucleus bakes. The policy is a file, enforced at load.

Context

The World, injected. DDaC compiles the mounted World into the wire payload the model reads; the harness orders it so the parts that never change sit first and stay cached, and the parts that just happened sit last. Nothing is pasted by hand.

Guardrails

The standing rules. Output is grammar-constrained from the registry's own schemas, so a tool call cannot be malformed. Everything a crew produces passes the same gate a World passes. It describes; it never prescribes.

Loop

Wake, look, decide, act, record. An agent wakes on a schedule or a change, reads what the World holds, chooses from the registry, acts within the rules, and writes a ledger line with a hash. Then it sleeps.

01 · Where it sits

The products stand in it.

How it is wired: PaperAgents, the charter, declares residents, tools, schedules, store policy and correction rules and provisions the nanobot gateway; the gateway wakes residents — Router, Docent · Buddy, TEAM crew, Paper Agent teams, 3DEval — who stand in qukaizen-harness; the harness reads DDaC and runs on QueueLLM with ARAIL and the Vault as stores; Paperclip AI is an optional substrate; a gold ledger loop returns rulings to the charter.

DDaC presses the World. QueueLLM runs the model. PaperAgents declares the team and pactl validate checks the declaration before it runs. 3DEval measures the run and coaches the next one. The harness is the floor they all stand on — the only code in the stack that every other frame imports and none of them owns.

02 · A night in the lab

Nobody asked.

  1. 23:40

    Three entries in the Grade 4 Mathematics World clear the gate. The manifest hash changes. The harness notices.

  2. 23:41

    The TEAM crew wakes. Registry: card maker. Context: the three new entries, their sources, their cross-references. Rule: cite the glossary. It deals a nine-card deck, runs the gate on its own output, and publishes to the shelf. Ledger line written, sha256 beside it.

  3. 23:52

    The docent re-reads the World so tomorrow's question gets tomorrow's answer.

  4. 01:00

    Buddy wakes. Registry: 3DEval. Context: the Eval Literacy World and last night's run. It records a candidate model on the machine it runs on, reads the three axes, and files a note: the smaller model held correctness when the context was tightened. The resident model never moved; QueueLLM streamed the candidate from disk around it.

  5. 02:10

    A PaperAgents team, declared in TOML and validated before it ran, reconciles yesterday's receipts into the Finance World as sourced terms. One expense is flagged, not filed. The record is kept.

  6. 07:30

    You rule on the flagged expense once. The ruling becomes a rule. The next one clears itself.

Nobody asked. The loop ran.

03 · The standing rules

What runs unattended, and what never does.

04 · Who stands in it

Four residents.

Buddy

The lab's resident colleague. Runs the Autoresearch loop and 3DEval between your sessions.

TEAM crew

Teach · Explain · Automate · Maintain, on a schedule. Mints decks for any World on the shelf; keeps the docent current; re-runs the gate on every build.

PaperAgents teams

Declared in TOML, validated like code, instantiated on the harness one member at a time.

3DEval experiments

The coach reads a recorded run and the harness runs the next one it suggests, tuned to the machine.

A repository, not a product.

cdarnell/qukaizen-harness · Apache-2.0 · five modules, zero product imports

The products are the things you open. This is the floor.

Dictionary →