/ Stream
build 2026.12.03 · --:--:-- UTC · RSS

BabbTools for the frontier.

mascot mascot

Story

The Log and the Books: one record of work (November 2026)

Created by: AI service unspecified

Source document

Exported from the shareable document of the same name, 2026-11-24. Written 2026-11-23. Two stray edits in the live document (a typed "I’m" and a paragraph split mid-word) are repaired here.

The idea

Every undertaking records its acts in one append-only Log. Everything else (balances, task boards, timelines, run traces, efficiency figures) is rebuilt from that Log and is never stored as the truth. This applies to a factory, a farm, a company or an AI agent.

The problem it solves. Work runs on limited time, energy and compute, and demand on them keeps growing. The people running an undertaking need to see where those resources went: to keep output the same with less input, or to find spare capacity they could use to grow. Today that picture is spread across task trackers, time clocks, meters, invoices and logs that don't agree with each other.

One record, many readings. People, machines and agents all write small entries into the same Log. The Books hold the balances of everything that is spent, and they are worked out from the Log. So are every board, report and chart, which we call Views. If a View is lost, or its rules change, it is rebuilt from the same history.

The act. Each entry describes an act, or one end of an act. An act answers:

  • When, and by whose clock.
  • What kind of act it was.
  • On what: the machine, task, account or run it was directed at.
  • How much, and drawn from where: the energy, compute, tokens, material or money it used.
  • How it is known: measured, estimated, or claimed by a person.

Time is the envelope. Time is the scarcest resource and the common measure of efficiency, but it doesn't add up the way spending does. Two tool calls running side by side for ten seconds took ten seconds, not twenty. Energy, compute, tokens, material and money do add up, so they balance like accounts. The Log keeps both: the elapsed time of each act, and what it consumed. Comparing the two gives utilisation and parallelism directly.

Making an entry

An entry carries only what is new: when, which act, on what, and how much. Everything else is said once, at the widest level where it holds.

Say things once. Meaning sits in layers, and each layer is stated only once:

LayerHoldsStated
CodebookVerbs, phases, units and the rules for each kindonce, for every system
RegisterMachines, tasks, accounts, people, agents, poolsonce per thing
SessionWho is recording, by which clock, in which timezoneonce per session
RunWhat a stretch of entries shares: actor, meter, cadenceonce per run
EntryTime, act, object, amountson every entry
NotesAnything not yet foreseen, until it is promotedonly when needed

The higher a fact sits, the less it costs. A machine's name, stated once in the Register, is never repeated on the entries that mention the machine. A note that keeps recurring is promoted upward, so the load each entry carries shrinks over time.

Verbs and phases: one byte. The kind of act is a verb from a shared list of 64, in eight blocks: System, Identity, Structural, Exchange, Work, Observe, Schedule, Learning. The verbs are universal, so an operator at a lathe, a pump and an AI agent doing comparable things use the same verb. A two-bit phase says where in the act the entry falls: an instant, the beginning, the end, or one sample in a series. A verb (6 bits) and a phase (2 bits) fit in one byte. Clocking on at a machine is ATTEND-begin. A model call is QUERY-begin and QUERY-end. A meter reading in a series is MEASURE-sample.

Profiles. The familiar single letters (T for tasks, B for presence, F for state changes, D for derived signals, A for notes) become Profiles. A profile is a local dialect of a universal verb. It adds the rules that verb needs in this setting: how begin and end pair up, which details are required, what must stay private. New meaning goes into verbs first. A new letter is added only for a genuinely local set of rules.

One entry, three spellings. The same entry can be written three ways, and each decodes exactly to the others:

  • Readable line: one self-contained line per entry, for people, shell tools and history.
  • Run form: a header states what is shared, and each row then carries only what changes. A meter reading drops from about 110 bytes to 4 (38J), and a mixed day of work shrinks by about half. It stays readable by people, tools and AI models without unpacking.
  • Binary: packed bit fields for devices and the wire. A thousand readings fit in under 900 bytes.

What every entry must be able to say:

The entry must sayUsually stated
When, and by whose clockonce per session
Which act, and how it behaves when replayedin the Codebook
On what: a declared objectonce, in the Register
Which version it changed, when an object has several writerson the entry
How much, and drawn from whereamounts on the entry; the pool per run
How it is known: measured, estimated or claimedby the verb and the run
What class of resource did it: which model, machine or gradein the Register; on the entry only if it differed
If derived: who derived it, how, and from whaton the deriving entry

Books, depth and trust

The Books are worked out from the Log, never written into it. Entries record movements, and balances are computed.

The Books. Every quantity is a movement from one account to another, and each transaction balances on its own, per unit. If two errors arrive together in one upload, they don't cancel each other out. A run's energy, a tool call's compute and a customer's invoice are each balanced in their own unit. No entry restates a balance, which would cost bytes on every line. Instead, a Close seals each period with a fixed-size fingerprint (a hash) of all its balances. Anyone can replay the period and check that fingerprint. Saved balances exist only as caches outside the Log, to be dropped and rebuilt at will. A correction is a new entry that points to the one it replaces. Nothing is ever erased.

Depth. One tool call hides hundreds of system actions, and those hide millions more, down to the processor's registers. No Log keeps all of that, and none needs to. Each stream declares how deep it records. Below that depth, the parent act's entry carries the totals, plus a count of the acts it did not record one by one. The gap between what a parent used and what its recorded children account for is stated as a remainder. In a trial agent task, every token was accounted for, while 2.5 CPU-seconds and about 55 joules fell between the recorded steps. That was the agent's own overhead, now visible as a number.

Views and named concepts. Every report, board and chart is a View computed from the Log. Many carry the names of the people whose ideas they apply:

  • Bundy: worked intervals.
  • Frick: state changes.
  • Dey: continuous signals.
  • Pacioli: balances.
  • Erlang: queues and waiting.
  • Gantt: plan against actual.
  • Shewhart: quality and variation.

There could be hundreds of these, and that is fine, because a View never changes the Log. Each one declares what it reads and how it computes. A few concepts go further and change how entries are made. Pacioli requires that every quantity balances. Bundy requires that the clock, not the worker, supplies the time. Babbage requires recording what class of resource did the work, so cheaper ways of doing it can be found. Lovelace requires that a View's result never becomes a fact: it enters the Log only as a signed estimate, naming who made it, how, and from what.

Text and wire. The 95 printable ASCII characters are the alphabet for what the Log says. The 33 control characters, inherited from the teleprinter, are the grammar for sending, receiving and confirming entries:

  • separators for segment, run, entry and field;
  • ACK and NAK for receipts;
  • SYN for clock sync;
  • XON and XOFF to pause and resume a device.

Control characters are used on the wire and in device frames, where one byte can replace a whole entry. They never appear in the readable Log, where they would be invisible and would break everyday tools.

Trust. The Log is append-only and sealed in a chain, so any change to history can be detected. Every submission gets a receipt. A retry returns the original receipt, while two identical things that really happened twice stay two entries. Each recorder numbers its entries, so the Log can show what it never received. A recorder may write on another's behalf only with a grant: a host for its agents, for example, but never one operator for another.

Where it stands

The core design is agreed, and much of it already runs in a trial. Four questions are still open.

Agreed:

  • One append-only Log. The Books and all Views are rebuilt from it.
  • Verbs from one shared list of 64, with Profiles as local dialects.
  • Objects, actors, units, pools and clocks declared once in the Register.
  • Each transaction balanced on its own. Movements, never balances. A Close by hash.
  • Corrections appended, never erased, for every kind of entry.
  • Declared recording depth, with stated remainders.
  • Three spellings of one entry, each decoding exactly to the others.
  • Control characters on the wire only.

Running in the trial. Twenty-three conformance tests and eleven notation tests pass. They cover receipts and retries, gaps, late entries, overlapping punches, balanced postings, corrections, rebuilding from the Log alone, and sealing. In the same trial, today's tooling merged two operators' overlapping 20- and 40-minute shifts into a single 10-minute interval, and silently dropped a third operator's punch.

Still open:

  • [ ] Should the phase be its own two-bit part of every entry's type, with paired verbs such as start/finish kept as one-off claims?
  • [ ] Should today's letters formally become Profiles that map onto the shared verbs?
  • [ ] In the readable form, should a verb be spelled as a block letter and digit (exact), or as a short symbol (more readable)?
  • [ ] When one operator is clocked on at two machines at once, should their hours be split between the machines, or flagged as counted twice?

Every change from today's system is traced, term by term, to the exact line it changes in the current specifications.

Read on Telegraph