LilCaddie: a small robot caddie in a purple cap, carrying a bag with a terminal and a wrench in it

Leave your coding agents working. Come back to work that passes.

LilCaddie is the caddie for your coding agents. It carries what they forget, keeps the scorecard, and does not let them call the job finished until the checks pass. It plugs into Claude Code, Codex, OpenCode, Gemini CLI and GitHub Copilot CLI, and keeps memory, context and the state of the work in one SQLite file outside the harness, so the work survives a session and continues in another tool.

Early. On npm as lilcaddie. What is built and what is not.

start phase: example evidence:done completed sent back
Exit gate evidence:done passed
$ lilcaddie start example --goal "Try lilcaddie"
Started r_mx0kibdq60f5e8 (example).

$ lilcaddie advance
retry: Gates failed (attempt 1 of 4).
✗ evidence:done — Found 0 "done" evidence record(s) in this phase; 1 required. Do the work, then record what you observed with the evidence_add tool (kind "done"), including the actual output.
[exit 2]

$ lilcaddie evidence add done "Ran the example by hand"
Recorded "done" evidence #1.

$ lilcaddie advance
completed: All exit gates of the final phase passed.

The example loop from lilcaddie init, with the output the real CLI prints, shortened.

More work, less hand-holding, wherever you are

Start a piece of work from your phone, through a harness with a remote mode such as Claude Code's Remote Control. On your machine, more than one harness can take part in it, each on its own subscription. They share one record of what was learned and done, so they work as one, and you are asked only for what is yours to decide.

  • Leave it working

    An agent on its own says it is done when it is not, or goes round until the usage is spent. lilcaddie checks the work itself at every gate, and every loop has a budget. When something needs you, the run stops and waits.

  • Use every subscription you have

    Claude Code, Codex, Gemini CLI, OpenCode and Copilot CLI read the same memory and the same place in the work, through the same tools. Hit a limit in one and carry on in another, with nothing left behind.

  • Several agents, one goal

    A queue gives each piece of a large task to one taker, in a checkout of its own, so agents do not repeat or overwrite each other. What each learns is there for the next, and what they say to each other is recorded.

  • Know what happened while you were away

    Every action goes into a hash-chained record built to show an edit. A change to a file you protect fails the phase, or is refused by the hooks. lilcaddie approve is run at a terminal on your machine and refuses to run inside an agent's session, so work started from a phone waits there for you.

This is the direction lilcaddie is built toward. A model has driven it in Claude Code, and one such session was steered from a phone through Remote Control. The other three harnesses, and two harnesses on one goal, have not been tried yet.

Three things your harness does not keep for you

lilcaddie is the control plane for coding agents, built as an extension of the agent harness. The harness still runs the model. lilcaddie keeps three things in one SQLite file outside it, so the work survives a session and continues in another tool.

  • Memory

    Lessons, decisions and the full history of every run, in a hash-chained ledger any harness can read.

  • Context

    Where the work stands, what the application is, and where the names in the task are defined, given to the agent before it reads a file. A person approves the notes that say what the application is for.

  • Loop-engineering

    An agent harness runs a loop: prompt, act, stop. lilcaddie decides what happens around it: what the agent is told on entry, what must be true before it may stop, what happens when it is not, and what comes next.

The loop is data, and lilcaddie enforces it

  • Gates

    A phase ends only when deterministic checks pass: a command's exit code, a file, recorded evidence, protected paths left untouched. A failing gate tells the agent what to do, and the agent is sent back.

  • Bounded autonomy

    A pure policy decides: advance, retry, go back, escalate. Reversible decisions proceed; irreversible ones wait for a human. Every loop has budgets, so nothing runs forever.

  • An orchestrator that only routes

    Between loops it reads recorded outputs, artifacts and gate results and picks the next loop. It never asks a model what to do next.

  • Deterministic artifacts

    Reports rendered from the ledger: the same records give the same bytes, and an edited report fails its gate.

How the pieces fit

lilcaddie You, in a terminal lilcaddie-mcp An agent calls its twenty-nine tools lilcaddie hook The harness calls lilcaddie The engine judges the gates, applies the policy, picks the next loop .lilcaddie/state/lilcaddie.db one SQLite file: a hash-chained ledger and the current state
Three thin interfaces sit over one engine. None of them holds state: each command, tool call or hook opens the project, does one thing and closes it.

Your work isn't tied to one harness or one subscription

A harness that keeps an agent's memory keeps it in its own place and its own format. Change tools, run out of usage or let a subscription lapse, and what the agent learned stays behind. lilcaddie takes memory out of the harness so that it belongs to your repository instead.

  • Memory lives with the repository

    Lessons, decisions and the history of every run are in .lilcaddie/state/lilcaddie.db, a SQLite file in your working copy. It needs no account and no service, and no provider holds it.

  • Any provider can pick it up

    Every harness reaches the same store through the same MCP tools. A new session calls loop_status first and is told the current phase, its gates and what earlier sessions learned, whichever model is behind it.

  • Carry the work where you want to go

    Start in one harness and continue in another when you hit a limit, prefer a different model for a phase, or change subscriptions. The gates judge the work the same way wherever it was done.

Claude Code Codex OpenCode Gemini CLI lilcaddie.db
Every harness reaches the one file through the same MCP tools. A solid line has been driven by a model; a dotted one has not been tried.

So far a model has driven a loop through these tools in Claude Code only. Codex, Gemini CLI, OpenCode and Copilot CLI are expected to work from the protocol and have not been tried.

Watch what a run reached for

lilcaddie's hooks record every tool call an agent makes during a run. The dashboard draws them on a run's page as a network laid over the map of your code: the agent in the middle, its tools around it, and beyond them every file lilcaddie has indexed, gathered by where it is in the repository and joined by its imports. Each call travels as a pulse from the agent, through the tool, to what it reached, and on, more faintly, along that file's imports.

Everything this run reached for.

  • Tool
  • File
  • Document
  • Script
  • A call that failed
  • Dim: not reached in this run
This run is made up: a small bug fix, as the hooks would have recorded it. The picture is the dashboard's own, drawn by the same code. Point at a node to name it and see how often it was reached. In lilcaddie view it is drawn from a run's own record, each call as it happens.
  • See it live

    While a run is working, each new call is played as it is recorded. You can see where the agent is spending its calls, and which parts of the repository it has not opened.

  • Play it back

    A finished run replays from its first call, in half a minute at most however long it took. A call that failed travels in red, so the test that failed before the fix is there to see.

  • A record, not a mind

    It shows what an agent asked its tools for, never what a model computed. Of a command only the program and its subcommand are named, and nothing outside the repository is named at all.

A harness with no hooks installed records none of its own tools, so only lilcaddie's are drawn. A code map of more than 600 files is not drawn whole: only the files the run touched are there, with what they import and what imports them.

What it adds to your harness

lilcaddie plugs into the harness you already use through MCP, hooks, skills and commands. The harness still runs the model. These are the things lilcaddie adds around it.

Flows: a ready-made way of working

A flow is a loop, the gates that judge each phase, one skill per phase telling the agent exactly what to do, the commands that start it, and a report template. lilcaddie ships nine. lilcaddie init installs feature and onboard; install the others when you want them.

report reproduce root cause plan fix run tests code review security accessibility verify audit shipping approval the last gate is a person
The bug flow. lilcaddie does not move a run out of a phase until that phase's gates pass, so the fix is not reached before a failing test has reproduced the bug.
Flow For
feature Building something new, from an idea
bug Fixing something broken
incident An outage, or a failure nobody can explain yet, from triage to a postmortem
migration Moving to another library, framework or version, behaviour unchanged
tech-debt Restructuring code, behaviour unchanged
product-idea Deciding whether an idea is worth building
security Assessing a codebase by OWASP standards
onboard Recording what the application is, for every later session
teach Making a cheaper model follow an instruction file as well as a stronger one
tune Making a loop's instructions or a skill better, one measured change at a time
perf Making one algorithm faster, verified against a reference and timed against the original
spike Finding out whether new work can be done, and what it would cost, before building it
testing Making a test suite worth trusting: flaky tests fixed, the pyramid, real-world scenarios and an adversarial review
pr-sync A pull request with review comments and conflicts: synced with its base, each comment investigated and answered
quick A small change: at most ten files, and no dependency, migration, deployment or secret
lilcaddie flow list
lilcaddie flow install bug --set test_command="pnpm test"
lilcaddie start bug --goal "Login fails for emails with a plus sign"

Agents that talk to each other

A session sends a message to another agent, in any harness, with the agent_send tool; you send one with lilcaddie hub send. Every message goes through the hub: one process per project that records the message in the ledger, then hands it at once to everyone listening as the name it is for. lilcaddie a2a serves the same agents over the Agent2Agent protocol (v1.0), so an agent that is not lilcaddie's can reach them.

A session, in any harness agent_send You, in a terminal lilcaddie hub send An agent not lilcaddie's Agent2Agent, lilcaddie a2a The hub lilcaddie hub 1. The record one entry for each message 2. The agent it is for handed over by its hooks
A message is recorded before it is delivered, so the record has it even when nobody was listening. Who it is from is set by the interface that sent it, not by the agent.
lilcaddie hub                              # the hub, until stopped
lilcaddie hub send codex "Check line 88"   # a message, from you
lilcaddie hub listen                       # print messages as they are sent
lilcaddie a2a --caller reviewer            # the same agents, over Agent2Agent

Know before you rely on it: the hub is tested on Windows only. Handing a message to a session through its hooks is tested with documented payloads and has not run in any harness, and a session that is idle is not reached. No outside agent has called the Agent2Agent server yet; it refuses v0.3 callers and keeps its tasks in memory. Every Agent2Agent token is one named caller's, and a caller sees only the tasks it sent. The sender's name is a guardrail, not a security boundary.

Every repository and worktree on one page

lilcaddie view opens a local page you can read at three widths. Applications lists every repository you have added, with the work under way in each. Work shows one repository checkout by checkout: the branch each git worktree is on, the bug or feature running in it, and how many files are changed and not committed. A click on any item opens the run, told from start to finish in plain words. With Worktrunk installed, each checkout also shows its pull request, its checks and its marker.

Your applications Its checkouts (git worktrees) One run shop blog api main nothing running fix/feed Bug · working · 3 files changed feature/tags Feature · working Reproduce passed Root cause passed Fix being worked on Verify not reached
lilcaddie keeps its record inside a working copy, so each checkout has its own. The viewer reads them side by side, and only in the repositories you put on your list.
lilcaddie view                                # this repository
lilcaddie view --add ../another-repository    # put another one on your list
git worktree add ../blog.fix-feed -b fix/feed   # or: wt switch --create fix/feed

The Applications and Work pages have been seen with a demonstration repository, in headless Chrome on Windows. Worktrunk's part is read from the output its documentation describes and has not been tried with Worktrunk itself.

Teaching a cheaper model

The teach flow takes an instruction file (a prompt, a skill, an agent definition) and rewrites it until a cheaper model does the work as well as a stronger one. The stronger model is the teacher, and its score on a benchmark is the bar. The cheaper one is the student. It has been driven end to end in tests with stand-in models; there has been no run with real models yet.

A sandbox for lilcaddie's tools and its record

A Docker container that holds lilcaddie and this repository, and nothing else of yours. Your harness runs on your machine, logged in as it always is. What moves into the container is lilcaddie's MCP server and the database it writes to: every tool call the agent makes is served there, and the loop state, evidence, ledger and memory are kept in a Docker volume, not in a file in the repository. The repository does not choose the image that runs, and lilcaddie's own containers are given your repository read-only, but for where its reports go. It is a guardrail, not a wall: an agent that can run docker on your machine can reach the volume. These measures are made with best effort and none is a guarantee: nothing is perfect, and lilcaddie does not promise that an agent is prevented from doing anything, or that your code, keys or machine are secure.

Your machine The sandbox (a Docker container) Your harness logged in as it always is Your terminal lilcaddie status · approve lilcaddie's MCP server answers every tool call The record in a Docker volume, not the repository tool calls commands
The agent can ask lilcaddie to record something. The file the record is kept in is not in the repository it works in.
lilcaddie sandbox build        # once: the image
lilcaddie setup --sandbox      # keep this repository's record in the sandbox

The harness in the sandbox too

An agent on your machine runs as you: it can read your signing key, watch your terminal and change any program you run. lilcaddie sandbox run starts the harness itself in the container, which is meant to keep it away from that. It lowers the risk and does not remove it.

The run gets What that is meant to keep from it
A copy of the repository Your repository and its .git are not mounted. What the run commits comes back as a new branch, and lilcaddie names the files on it your machine would run once merged. --in-place mounts the repository itself, with those files read-only
A home of its own Nothing of your home directory: not your signing keys, your harness logins or your SSH keys. Keys are passed in only if you have set them
A network of its own, or a list of hosts The network is set up so that one container does not reach another. --network allow lets the run reach only the hosts its harness calls and those you add, through a proxy that is its one way out; --network none cuts it off
A read-only image The image's files are read-only. It is built at versions lilcaddie names, from Debian's dated archive, on a base image named by its digest, and is started from the identity recorded at the build. lilcaddie sandbox scan runs Trivy over it
Limits, and an end No Linux capabilities, not root, 4 GB of memory, 512 processes, 2 processors. A run idle for 60 minutes is stopped, and what it printed is kept
lilcaddie sandbox scan                            # known vulnerabilities in the image
lilcaddie sandbox run -- claude                   # log in once, with /login
lilcaddie sandbox run --network allow -- claude   # reach the model's hosts and nothing else
lilcaddie run --loop change --goal "Fix the flaky retry test" --network allow

lilcaddie run is the driver: it starts the harness round after round on a copy, and lilcaddie judges the gates after each. Only a person starts it, it works only in the sandbox, and a driven round approves nothing: a run that needs you waits.

It can take its work from the queue, one piece after another or several at the same time. Runs that go side by side each get a record of their own, so none waits on another; the record comes back as a bundle and the work as a branch. A run that stops for you there is kept: you read it, answer it and have it driven on by naming it, and what you approve is its branch at one commit.

lilcaddie run --from-queue --at-once 3   # three pieces, each in a container of its own
lilcaddie sandbox kept                   # the runs that wait for you, and the branch each is on
lilcaddie approve --kept <run-id>       # answer one on its own record
lilcaddie run --kept <run-id>           # drive it on from where it stopped

Know before you rely on it: lilcaddie's server and record in the container have been used by Claude Code, and Claude Code has worked inside it and been driven there; no other harness has. The network is open unless you ask for the list with --network allow, which only Claude Code has been run through. A gate's command still runs the agent's own tests on your machine.

Setup

You need Node 22.18 or newer on your PATH. No C++ toolchain is needed: the SQLite driver ships prebuilt binaries.

  1. Install it

    npm install -g lilcaddie

    That puts two commands on your PATH: lilcaddie, for you, and lilcaddie-mcp, the MCP server an agent harness starts.

    To work on lilcaddie itself, build a clone instead: git clone <this repository>, then mise run setup, or pnpm install and pnpm build. The CLI is then apps/cli/dist/lilcaddie.js.

  2. Install it for yourself

    Once, for every repository on your machine:

    lilcaddie install

    It finds the harnesses you have and, for each, adds the MCP server and the hooks to that harness's own settings in your home directory, writes out lilcaddie's own commands and help skill, and puts launchers named lilcaddie and lilcaddie-mcp in ~/.lilcaddie/bin. From a clone, run node apps/cli/dist/lilcaddie.js install --add-to-path, which also puts that folder on your own PATH. --dry-run says what it would do; lilcaddie uninstall takes it out again. These settings follow each harness's documentation and have not been run in a real harness from the home directory.

  3. Check it

    In a new terminal:

    lilcaddie help
  4. Set up a repository

    In the repository you want to work in:

    lilcaddie setup

    It works out which harnesses you use and, for each, creates .lilcaddie/, connects the harness as install does, writes the repository's skills and commands, builds the code map and the application profile, and puts a short block in CLAUDE.md, AGENTS.md or GEMINI.md. --project writes the MCP entry and the hooks into the repository's own files instead of your settings, for a team that commits them. --dry-run says what it would do. After upgrading lilcaddie, lilcaddie update brings a repository, and your own installation, in line.

  5. Watch it

    lilcaddie view

    A local page of the project: an inbox of what is waiting on you, an overview, every run, token use, each workflow as a live diagram, and the decisions, prompts and activity recorded across runs. Its Docs page is the guide: setup, every command, how-to guides, custom loop examples, security and the sandbox.

How to use it

Run your first loop by hand. An agent does the same thing through MCP tools: it reads the status, does the phase, records what it observed, and asks to advance.

Your first loop

In the repository you want to work in:

lilcaddie init
lilcaddie start example --goal "Try lilcaddie"
lilcaddie advance

init creates .lilcaddie/loops/example.json, a loop with one phase whose exit gate is "evidence of kind done was recorded". Nothing has been recorded, so advance answers "not yet" and exits with code 2. init also installs the feature and onboard flows. Record the evidence and advance again:

lilcaddie evidence add done "Ran the example by hand"
lilcaddie advance

The run completes and renders a report at .lilcaddie/reports/<run-id>.md. Everything that happened is in the ledger:

lilcaddie ledger query
lilcaddie ledger verify

Write your own loop

A loop is one JSON file in .lilcaddie/loops/. It is data, never code, and it is checked strictly: an unknown key is an error, so a typo is reported instead of producing a phase with no exit checks.

.lilcaddie/loops/bugfix.json
{
  "name": "bugfix",
  "description": "Reproduce a bug, fix it, prove it.",
  "phases": [
    {
      "id": "reproduce",
      "instructions": "Write a failing test that reproduces the bug. Record the failing run as evidence.",
      "gates": [
        {"type": "command", "run": "npm test", "expectExit": 1},
        {"type": "evidence", "kind": "reproduction"}
      ]
    },
    {
      "id": "fix",
      "instructions": "Fix the bug without changing the test.",
      "protect": ["test/**"],
      "gates": [{"type": "command", "run": "npm test"}],
      "onFail": {"retry": 3, "then": "escalate"},
      "outputs": {
        "summary": {
          "type": "string",
          "description": "One sentence: what was wrong."
        }
      }
    }
  ]
}
lilcaddie validate
lilcaddie start bugfix --goal "Login fails for emails with a plus sign"

The gates you can use

Type Passes when
command The command exits 0, or expectExit, in time
file A file matches the glob ("absent": true inverts)
grep The pattern is found, or is not
evidence Enough records of that kind exist in this phase. With "observed": true, only runs lilcaddie saw pass itself, since the last edit
approval A human ran lilcaddie approve
artifact The artifact is rendered and unedited
output A required output is set and valid. Added for you, one per output
unchanged Protected paths match their hashes at phase entry. Added for you by protect
scope Nothing outside the allowed paths changed in the phase. Added for you by allow
custom Your own check in .lilcaddie/gates/<name>.mjs says so

A gate fails closed. A command that times out or crashes, a gate that throws: all are failures. Nothing unevaluated ever counts as passed.

A gate has three outcomes, not two: it passed, it failed, or it could not be judged at all, because a scanner is not installed or there is no git repository to compare against. The third still fails, but no retry is spent on it: the run goes straight to a person. A new gate can be tried with "mode": "observe", which records what it finds and never blocks, until you trust it.

Evidence lilcaddie saw itself

Evidence an agent records is the agent's word. A gate with "observed": true counts only a command lilcaddie ran itself:

lilcaddie observe --kind test-run -- npm test

lilcaddie records the exit code it saw and a fingerprint of the working tree. The run counts only while nothing has been edited since, which needs a git repository; a run made before the last change proves nothing about the code as it is now. An agent does the same with the evidence_observe tool.

Name the run a gate asks for with "commands": ["npm test"] and only a run of exactly that command counts. With the hooks installed, an agent that starts it in its own shell is refused once and told to run it through lilcaddie. Nothing is ever recorded from the agent's own shell.

Rules that belong to the project

protect belongs to a phase, and allow is its inverse: the only paths a phase may change. An invariant belongs to the project. Set under invariants.protect in .lilcaddie/config.json, it holds in every phase of every loop, compared with how the files stood when the run started. Overriding one is a human-only command, for one run and a limited time, with a reason that is recorded:

lilcaddie break-glass --reason "This run rotates the staging secret." --path .env

A run is also held to what judged it when it started: its loop, the policy, the invariants, its custom gates and .lilcaddie/approvers.json. Change one of them mid-run and the run stops, because the shortest way past a failing gate would otherwise be to edit the gate. A person accepts a meant change, other than to the loop, with lilcaddie repin; a changed loop means aborting the run and starting another.

Check the record

lilcaddie ledger verify checks that the chain of hashes is intact and prints the head hash. Keep that hash somewhere the store cannot be written from, and lilcaddie ledger verify --expect-head <hash> later checks that the history still ends where yours did. lilcaddie conformance runs nine numbered checks: the chain is intact, nothing advanced past a failing gate, no agent recorded what only a person may, the tables agree with the ledger. With a key from lilcaddie key init, enrolled with lilcaddie key enroll, what you approve is signed. Give the key a passphrase: lilcaddie asks for it at the terminal and takes it from nowhere else, so the key file alone is not enough to sign. Without one, a signature shows only that the key was used. These measures are made with best effort and none is a guarantee: nothing is perfect, and lilcaddie does not promise that an agent is prevented from doing anything, or that your code, keys or machine are secure. On your own machine an agent runs as you.

When gates fail

By default a phase may fail its gates 3 times and be retried; the fourth failure escalates the run to a human. A run stops after 30 gate evaluations in total. An escalated run waits for you: look at lilcaddie status, then lilcaddie approve to let it continue or lilcaddie abort to end it. approve refuses to run inside an agent process.

Chain loops together

With .lilcaddie/orchestrator.json, lilcaddie chooses the next loop from what has been recorded. Routes are tried in order and the first whose when holds wins.

.lilcaddie/orchestrator.json
{
  "routes": [
    {"id": "done", "when": {"run": "bugfix", "status": "completed"}, "to": "$done"},
    {"id": "bug", "when": {"output": "triage.kind", "equals": "bug"}, "to": "bugfix"},
    {"id": "first", "to": "triage"}
  ]
}
lilcaddie route --dry-run   # which route would match, and why; changes nothing
lilcaddie route             # take it

Connect an agent

Point the harness's MCP configuration at the built server, with your repository as the working directory.

MCP

For Claude Code, in .mcp.json at the repository root:

{
  "mcpServers": {
    "lilcaddie": {
      "command": "node",
      "args": ["/path/to/lilcaddie/apps/mcp/dist/bin.js"]
    }
  }
}

This command prints that entry for any of the four harnesses (claude, codex, gemini, opencode), in the format each one reads:

lilcaddie mcp config claude --command node --arg /path/to/lilcaddie/apps/mcp/dist/bin.js

The agent then has twenty-nine tools:

Tool Does
loop_status Where the work stands and what to do now. Called first, every session
loop_route Lets the orchestrator choose the next loop
loop_start Starts a named loop
gate_check Evaluates the gates without moving the run
loop_advance Declares the phase finished; lilcaddie judges and decides
evidence_add Records something observed
evidence_observe Has lilcaddie run a command and record the result it saw itself
output_set Sets a declared output
decision_record Records a choice, with reversibility and confidence
memory_write Keeps a lesson for future sessions
memory_recall Searches what earlier sessions learned, and what is attached to a file
memory_retire_request Asks for a memory to be retired; a person approves or turns it down
map_search Finds where a class, function or type is defined
map_file Outlines a file: definitions, imports, importers, attached memory
map_refs Finds where a name is used (matched by name)
map_affected Lists the files that depend on a file
map_refresh Brings the code map up to date and reports what it holds
app_context What the application is: packages, commands, structure, written notes
artifact_render Renders an artifact
ledger_query Reads the history
agent_send Sends a message to another agent, in any harness, under the session's own name
work_list The queue: what is ready to take, what waits, who holds what
work_propose Proposes a piece of work. It waits for a person to accept it
work_claim Takes a piece of ready work for a time
work_release Gives claimed work back to the queue
work_done Marks work done, on a run of this record that completed

There is deliberately no tool for approving anything.

Hooks, if you want them

MCP tools rely on the agent choosing to call them. Hooks make the harness call lilcaddie: the status is injected when a session starts, the agent is sent back if it tries to stop while gates fail, and an edit to a protected file is refused before it happens. A command a gate wants observed is sent through lilcaddie observe, and searches are answered from the code map.

lilcaddie hooks install claude

Your other settings and hooks are kept, and lilcaddie hooks uninstall claude takes out exactly what it added. Installing is refused inside an agent process: a stop hook governs every session in the repository, so a person decides.

Know before you install them: every hook has run inside Claude Code, in two short sessions, and none in Codex or Gemini CLI. Each hook call starts a process and takes about 120 ms. Hooks always exit 0 and fail open, so a broken hook never traps the agent.

What is built, and what is not

lilcaddie is early. The engine and its three interfaces exist and are tested; the sandbox is built and has served lilcaddie's tools to one real session, and Claude Code has worked inside it; the autonomous driver is built for the sandbox only and has driven Claude Code there, and no other harness.

Area State
Store: SQLite, append-only hash-chained ledger Built, tested
Loops, ten gate types, policy Built, tested
Observed evidence, observe mode, allow, the "could not be judged" outcome Built, tested; freshness and allow need git
Invariants and break-glass; pinning of policy and custom gates Built, tested
Ledger head anchoring, conformance, signed approvals Built, tested. Signing is opt-in; the passphrase prompt was run on a Windows console only
Engine: runs, evidence, outputs, decisions, human approval Built, tested
Orchestrator: routes, epochs, hop budget, no-progress halt Built, tested
Memory and deterministic artifacts Built, tested
Activity record of every tool call and command Built, tested
lilcaddie CLI Built, tested; used on this repository
Code map: TS, JS, Java, Kotlin, C#, Rust, Zig, HTML, Python, Go Built, tested; used on this repository
MCP server, twenty-nine tools Built, tested; driven by a model in Claude Code
Hub (lilcaddie hub): agents' messages recorded, then handed at once to subscribers Built, tested on Windows only
Messages handed to a session by its hooks: at start, with a prompt, after a tool call, before it stops Built, tested with documented payloads; not run in any harness, and a session that is idle is not reached
Who a message is from: set by the interface, not by the agent, and recorded with which interface sent it Built, tested. A guardrail, not a security boundary: a process that can write the project's files can still forge a message
A2A server (lilcaddie a2a): each agent reachable over Agent2Agent v1.0 with @a2a-js/sdk Built, tested with the SDK's own client on Windows; no outside agent has called it, v0.3 callers are refused, and tasks are kept in memory
MCP with Codex, Gemini CLI, OpenCode, Copilot CLI Expected from the protocol; not tried
Hook adapters Built, tested with documented payloads; every hook run in Claude Code, none in Codex or Gemini CLI
Custom gates from .lilcaddie/gates/ Built, tested
sync of skills and commands to each harness Built, tested; layouts for Codex, Gemini CLI, OpenCode, Copilot CLI not tried
JSON Schemas, validate, hooks install, mcp config Built, tested
setup: harness detection, MCP entry, commands, skills Built, tested; run on Windows only
Commands from agents.toml (shared with dotagents) Built, tested against local and file:// git sources; not against GitHub
Six flows: feature, bug, migration, tech-debt, product-idea, security Built; each driven end to end in tests with stand-in tools
Application profile, app_context, context-file block Built, tested; used on this repository. Block seen loaded by Claude Code
onboard flow Built, tested; run once from /lilcaddie-onboard in Claude Code; approved by a person
teach flow: a student model taught to a teacher model's benchmark score Built; driven end to end in tests with stand-in models. No run with real models yet
tune flow: one change to a loop's instructions or a skill, measured on past runs Built, tested; run once start to finish with a real agent and a person, where one added sentence won and was applied; on four cases, twice each: the size of the gain is not shown
incident, quick, spike, testing and pr-sync flows, and the gates they add Built; each driven end to end in tests with stand-ins; none run by a model, on a real incident, a real suite or a real pull request
Security phase in every flow; Semgrep, Trivy, Gitleaks Built; tests use stand-ins. Run by hand with the real three, Windows only
Viewer (lilcaddie view): twelve pages, live, read-only, on 127.0.0.1 Built, tested; used on this repository, in Chrome on Windows only
A run's page draws what the run reached for, as a network that lights up and can be played back Built, tested; seen in headless Edge on Windows with this repository's own runs. Not watched while a run was working, and the one on this page is a made-up run
Viewer's Agents page: who is talking to whom, tasks handed over, the messages Built, tested; seen once in headless Edge on Windows with messages sent by hand, none sent by an agent in a harness
Viewer's Applications and Work pages: the repositories on your list, and each checkout's branch and run Built, tested; seen in headless Chrome on Windows with a demonstration repository. Worktrunk's part not tried: it is read from its documented output
Prompts and token use, recorded by the hooks Built, tested; tokens are read for Claude Code only
Several agents, seen from a phone: the viewer under a name of your own network, a Who is working page, a phase for one agent, file reservations Built, tested; not opened from a phone, and no two harnesses have worked a run under it
Autonomous driver (lilcaddie run) Built, tested, in the sandbox only; only Claude Code has been driven by it
Runs side by side on records of their own (--own-record, run --from-queue --at-once) Built, tested; two runs went at once in real containers, with a shell script as the agent; --at-once itself has not been typed, and no harness has been run this way
A run that stopped on a record of its own, read, answered and driven on (--kept, sandbox kept) Built, tested; one run was kept, read, approved, driven on to completion and settled in real containers, with a shell script as the agent; abort --kept has not been tried, nor any harness
Docker sandbox (lilcaddie sandbox) Built, tested; lilcaddie's server and record in it, used by Claude Code once; Claude Code has worked inside it; no other harness has
Sandbox: the files your machine runs afterwards read-only to the agent; the image at chosen versions Built, tested; run once in a real container on Windows. A run works on a copy unless --in-place. The network is open unless --network allow, which only Claude Code has been run through, and a gate's command still runs the agent's own tests on your machine
Secrets taken out of prompts, recorded calls, memories, goals and evidence Built, tested. By shape and by your environment's own values only: a secret of no known shape is kept
A server that refuses once lilcaddie is rebuilt under it Built, tested. The refusal was seen with a stand-in build folder, not yet in a harness session
Published packages Published on npm: the CLI as lilcaddie, and the MCP server on its own as @lilcaddie/mcp
Tested on Windows 11 on the machine it is written on; CI runs the suite on Linux and Windows

Built and tested Not yet proven in real use Not built