# We ran a company on an append-only ledger for 66 days. Here is the audit.

> Source: <https://dev.to/orange_black_1c98182920bb/we-ran-a-company-on-an-append-only-ledger-for-66-days-here-is-the-audit-pel>
> Published: 2026-11-25 15:09:09+00:00

**Recommendation:** Give every agent write turn a lease over the paths it will touch and deny overlapping sessions outright; add a reaper so dead sessions' leases don't starve the queue.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

*12,873 events. 868 closed tasks. Zero revenue. A few things we got right, and one seam we chose not to hide.*

Most "AI agent" posts show you the happy path: a prompt, a plan, a pull request. This one is the audit trail — including the part where the audit fails.

For the last 66 days we've run a one-person company where the work is done by agents and every action lands in a single append-only ledger. Not a task board. Not a Notion database. One JSONL file, one writer, one hash per event.

Here's what actually happened, what the mechanisms caught, and what they couldn't.

Two roles produce value:

Three more roles are mechanisms, not headcount:

Every task must belong to a project on a whitelist. A task with no project is a draft: it can't be dispatched, and it can't spend. That single rule killed a whole class of "orphan work" that used to appear out of nowhere.

Over 66 days: **907 tasks delegated, 868 closed** — 773 done, 84 abandoned, 13 superseded. As I write this, five are open — three the agents can work, two waiting on a human.

Every event is a JSON object with `seq`, `prev`, and `hash`. The hash covers the event's canonical content plus the previous event's hash. Rewrite one line and every line after it stops matching.

We actually verified the whole file, line by line, before writing this post:

`prev` pointer doesn't match the line before it
The 78 failures are not tampering. On 2026-11-16 we merged a ledger from a second machine. The merge appended 78 records in their original order, renumbered them, and kept their old `prev` pointers. They're real events; they just don't cryptographically chain to their new neighbors. The merge metadata records exactly what happened — source machine, divergence point, 78 appended, 213 noise events filtered.

We could have re-hashed those 78 records to make the file look clean. We didn't. A ledger that quietly repairs itself is worse than one with a visible seam, because the seam is the only place where you can still see the truth of what happened.

This matters more than it sounds. If you're going to let agents move money, the books have to be able to say "I don't know" — and keep saying it after you've moved on.

Agents don't just think; they write. Two sessions editing the same directory will happily clobber each other, and the damage is silent — tests pass, files look plausible, work disappears.

So every write turn acquires a lease over the paths it intends to touch. If another live session holds an overlapping lease, the second one is denied — not queued, not merged, denied.

**895 leases acquired, 759 released normally** over 66 days. The remaining turns either died mid-flight or were cleaned up by a reaper. The reaper matters: a lease held by a dead session is a lock with no owner, and it will starve the queue.

The cost is real: parallelism is lower than it could be. The benefit is that "it worked on my machine" never becomes "which version of the file is real."

Nine categories of action can't be taken by an agent alone: payments, contracts, pricing exceptions, external publishing, refunds, customer-data export, deletions, legal/PR, and over-budget spend.

Each one produces a card. A card is a single decision with a recommendation, the evidence behind it, the tradeoffs, and what happens if you don't answer. When it's answered, the approval is a one-time token: it works once and expires.

Numbers: **629 cards asked, 505 answered.** Median response time: **3.5 minutes**. Longest: **8.6 days**.

The 124 unanswered cards are not a failure of the mechanism. They're a map of where the company was waiting on a person.

Here's the part most write-ups skip.

**Revenue: zero.** There are **0 `deal` events** in 12,873 records. Not "we forgot to log them." Zero. In 66 days the company has not been paid once.

**Cost attribution: 8%.** This month's compute bill was **¥1,242**. Only about **8%** of it can be traced to a project. The other 92% is "unattributed" — real spend with no owner. An audit trail that can't attribute spend is only half an audit trail.

**The content line was idle.** A brief for the first piece was written on 2026-11-18. Then nothing. No in-flight task, no draft, no publish date. The project was marked "running," and by the system's own definition it was spinning: a project with no work in flight.

**The daily brief stopped on 11-14.** The machinery that writes the daily summary kept running; the artifact stopped appearing. Nobody noticed for five days, because nothing was watching the watcher.

None of these are exotic failures. They are the ordinary ones a demo hides: nobody owned the number, nobody read the output, nobody was selling.

Put together: the constraint system worked. The demand engine didn't exist. We built a company that can tell you, precisely and verifiably, that nothing is happening.

Auditability is not traction.

A hash-chained ledger, write leases, and approval gates are *constraints*. They stop an agent from doing damage. They do not create a reason for anyone to pay you. You can have a perfectly auditable company with zero customers — we are the existence proof.

What the ledger is genuinely good at is making the absence of progress impossible to hand-wave. "We're making progress" dies the moment you can count `deal` events and get zero. That's worth something: it shortens the distance between a comfortable story and an uncomfortable fact.

But it only helps if someone reads it. For five days, nobody did.

Small things. The kind of things an audit is supposed to surface.

Three rules we'd keep:

We do a **$300 diagnosis**: one page, three days, every conclusion with a pointer you can open. The conclusion is allowed to be "don't build this."

`hello@blackorange.org` — subject: diagnose.

*The ledger is at 12,873 events as of 2026-11-19. It'll be a different number by the time you read this, and the seam will still be there.*
