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

BabbTools for the frontier.

mascot mascot

Story

One Log: kernel, packs, logs and caches (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 as a one-page summary for a technical investor.

One append-only log records every act by people, machines and AI agents, including what each act consumed. Every application is a function of that log. Four parts, one fixed and three built on it, replace the separate databases, file formats and integrations that work tracking, metering and accounting run on today.

Architecture

flowchart LR
  P[Packs<br/>setup and apps] -- adopted --> L[Log<br/>the only truth]
  L -- read by --> V[Views<br/>pure functions]
  V -- saved to --> C[Caches<br/>disposable]
  V -. published results, signed .-> L
  K[Kernel<br/>fixed, one page] -- defines how every entry is read --> L

Packs set the log up. Views read it, caches speed them up, and only published results flow back in as signed entries.

The parts

  • Kernel. One page of fixed rules: the entry grammar, a canonical byte form, a hash chain for seals, and eight bootstrap verbs (create, bind, grant, revoke, amend, open, commit, acknowledge). It is named by its hash in the log's first entry. Anyone can write a reader that checks a log's structure and seals from the kernel alone.
  • Log. The only authoritative store. It is append-only, sealed and addressed by position. Each entry is one act: time, a one-byte type (a 6-bit universal verb plus a 2-bit phase), an object, and amounts. Declarations, prices, permissions and the vocabulary itself are entries too, so the frame every fact was recorded in can be rebuilt exactly.
  • Packs. Hashed bundles of declarations, adopted with a single entry: units, accounts, resource pools, local profiles, prices and views. Packs stack (standard, domain, organisation) and can be shared across many logs. A pack is how a log is set up and how an application is installed.
  • Views. Pure functions of the log, declared with their inputs, code hash and presentation. Entry forms come from the vocabulary, menus from declared objects, and screens from views, so the application is composed from the log. A result is identified by (view, parameters, log position). It enters the record only when someone publishes it as an attributed estimate.
  • Caches. Saved view results and indexes kept for speed. They are disposable, checked against seals, and rebuilt on demand.

Why it matters

  • Allotment is the scarce decision. Time, energy and compute are limited for factories, farms and AI agents alike. This log records what each act consumed, balanced by unit like a ledger, so the overhead between recorded steps shows up as a stated remainder.
  • One format instead of many. A task board, a timesheet, a meter export, an agent trace and a ledger become views over one history. A new application is a new function, not a new store to integrate.
  • Small by construction. Context is stated once, at the widest scope where it holds, so an entry carries only what is new. A meter reading drops from 110 bytes to 4, and a mixed workload shrinks by about half, while staying readable.
  • Verifiable. Seals chain every segment, and published figures name the view, parameters and log position they came from. Any number can be recomputed and checked.

Evidence and next

Demonstrated in a reference trial (34 tests passing):

  • safe retries and receipts;
  • gap detection and late entries;
  • overlapping intervals;
  • per-transaction balance;
  • corrections that never erase;
  • rebuilding all state from the log alone;
  • tamper detection;
  • lossless round trips between the readable and compact forms.

The incumbent tooling, tested on the same data, merged two overlapping shifts into one and silently dropped a third.

Unproven:

  • token and native processing cost for AI readers;
  • whether 64 verbs cover domains beyond those tried;
  • the pack and view runtime.

Next:

  1. Write the one-page kernel.
  2. Build a pack runtime with pure, declared views.
  3. Measure tokens for each form.
  4. Run one full domain (a farm or an agent fleet) end to end as packs and views only.

Read on Telegraph