IN DESIGN · NOTHING TO INSTALL YET

Agents that learnfrom your real work.

harness is a thin layer around Claude Code and Codex. It gives every session a verdict and a cause, then turns the lessons into better rules, skills and prompts. Practice in, improvement out.

agents
2
hook events
3
logs rewritten
0
CLAUDE CODECODEX

SIGNAL LOST

Your agents can't tell what worked.

Claude Code and Codex already keep rules and memories between sessions. What they lack is a verdict: which sessions worked, which failed, and why. Without it, rules change by feel.

ERR_SESSION_LOST

Sessions vanish

Claude Code deletes transcripts after 30 days unless told otherwise, and renaming a project folder orphans its sessions. Unfinished work disappears quietly.

ERR_SILENT_SUCCESS

Success is silent

When an agent gets it right, people simply move on. Silence is not a verdict, so nothing ever tells your setup what worked.

ERR_RULES_BY_FEEL

Rules grow by feel

CLAUDE.md and AGENTS.md change after the session that annoyed you most, not after the evidence of a month of work.

THE LOOP

Practice in. Improvement out.

Five stages, run on your own sessions. The link that session viewers and reflection tools leave open is the middle one: from a verdict, to its cause, to a change you can measure.

STAGE 01 / 05

Work

Run Claude Code or Codex as you always do. harness listens through their own hooks and changes nothing in how you work.

ONE SESSION, ONE RECORD

A verdict you can query.

Two fields instead of one: whether the work is finished, and whether it worked. A cause says what to change, and a source says who decided.

SESSION RECORD#0042

agent
codex
session
019a7f3e-…-e1c4
task
landing · harness.octolab.org
status
done
outcome
partial
cause
rule-ignored → AGENTS.md §2
source
human · confidence 1.0
harness — sketch of the planned CLIPREVIEW
harness wip
maintainer release notes 2d claude -r 4f1c
indexit forum topics 5h codex resume 019a
harness landing page 1h claude -r 9b2d
harness label 9b2d done success
✓ landing page · done · success
harness review --week
12 sessions · 7 success · 3 partial · 2 fail
rule-missing ×2 → AGENTS.md:
“run the tests before saying done”
accept? [y/N] y

A sketch of the planned command line on made-up sessions. The commands and their output will change.

THIN BY DESIGN

A layer, not a replacement.

harness wraps the agents you already use. It reads, marks and proposes; the agents and their files stay theirs.

01

Logs stay untouched

Transcripts stay exactly as Claude Code and Codex wrote them. Marks live in a store of their own, keyed by session.

02

One hook, two agents

Both expose SessionStart, Stop and SessionEnd. One command serves them; only the readers of their logs differ.

03

No questions mid-work

The end of a session never blocks. A verdict is one word, given when you choose to give it.

04

Local first

harness has no server. Marks and transcripts stay on your machine; a judge, if you want one, runs through an agent you already use.

05

Evidence over vibes

Git tells silence apart: a commit or a merged pull request is not a diff left alone for days.

06

You hold the pen

harness proposes changes to your rules and skills. It never rewrites them on its own.

TWO ENGINES

One harness for both.

The two agents keep their sessions in different places but share the hook events that matter. harness reads each in its own way and speaks to both the same.

Claude Code

sessions
~/.claude/projects/<path>/<id>.jsonl
resume
claude --resume <id>
hooks
SessionStart · Stop · SessionEnd
watch out
transcripts expire after 30 days by default

Codex

sessions
~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl
resume
codex resume <id>
hooks
SessionStart · Stop · SessionEnd
watch out
hooks run only after you trust them in /hooks

FLIGHT PLAN

Seven burns to self-improvement.

Each phase is useful on its own, so data starts to pile up long before there is anything to look at.

  1. 00

    Foundationnow

    This site and the plan. Do one thing today: raise cleanupPeriodDays, so Claude Code keeps transcripts past 30 days.

  2. 01

    Core

    A store of marks and readers for both logs: one list of the sessions of Claude Code and Codex.

  3. 02

    Hooks

    One hook for both agents: wip by default at the end, a name on resume, a one-word verdict on request.

  4. 03

    WIP board

    Every unfinished session across both agents, with its resume command — and the sessions a renamed folder lost.

  5. 04

    Auto marks

    Layered signals: rejected edits and corrections, git state, then an opt-in daily judge for the rest, with its confidence.

  6. 05

    Review

    A local queue to confirm marks in minutes a week, and the success rate per agent, project and cause.

  7. 06

    Self-improvement

    Failures grouped by cause become proposed edits to rules, skills and prompts, each measured afterwards.

PART OF LIFEOS

Links of one chain.

harness is not alone. Agents that are your colleagues need somewhere to work with you, and a way to get better at it.

LifeOS

Software for the human side: a better place for your digital subconscious.

AgentOS

An operating system for agents, where you work with them as partners and colleagues. In early design.

harness

Where those colleagues learn from practice: real sessions in, better rules out. You are here.

Built in the open.

harness is being designed in public. Watch the repository to see the first phase land, or open an issue with the lesson your agents keep getting wrong.